From daf9cf42d6cf3932d3193c1beadfd8fd6ca26e64 Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Sat, 19 Feb 2022 00:23:56 +0100 Subject: [PATCH] sm8250-common: import common/kona overlays from nio https://github.com/LineageOS/android_device_motorola_nio at 03bb670fb7e1236ebe54e06351ddaa05fb4e58f6 --- .../lineage/res/res/values/config.xml | 72 + .../dialer/callrecord/res/values/config.xml | 20 + .../apps/Settings/res/values/config.xml | 28 + .../packages/apps/Snap/res/values/config.xml | 31 + resource-overlay/Android.mk | 1 + resource-overlay/common/Android.mk | 1 + .../common/CarrierConfig/Android.mk | 16 + .../common/CarrierConfig/AndroidManifest.xml | 9 + resource-overlay/common/CarrierConfig/NOTICE | 50 + .../common/CarrierConfig/res/xml/vendor.xml | 2451 +++++++++++++++++ .../common/CellBroadcastReceiver/Android.mk | 14 + .../CellBroadcastReceiver/AndroidManifest.xml | 8 + .../common/CellBroadcastReceiver/LICENSE | 181 ++ .../common/CellBroadcastReceiver/NOTICE | 44 + .../res/values/config.xml | 29 + resource-overlay/common/Frameworks/Android.mk | 14 + .../common/Frameworks/AndroidManifest.xml | 21 + resource-overlay/common/Frameworks/LICENSE | 181 ++ resource-overlay/common/Frameworks/NOTICE | 74 + .../res/values-mcc234-mnc15-en-rGB/config.xml | 89 + .../res/values-mcc234-mnc15-en-rIN/config.xml | 89 + .../res/values-mcc234-mnc15/config.xml | 89 + .../res/values-mcc262-mnc02-en-rGB/config.xml | 89 + .../res/values-mcc262-mnc02-en-rIN/config.xml | 89 + .../res/values-mcc262-mnc02/config.xml | 89 + .../res/values-mcc262-mnc04-en-rGB/config.xml | 89 + .../res/values-mcc262-mnc04-en-rIN/config.xml | 89 + .../res/values-mcc262-mnc04/config.xml | 89 + .../res/values-mcc262-mnc09-en-rGB/config.xml | 89 + .../res/values-mcc262-mnc09-en-rIN/config.xml | 89 + .../res/values-mcc262-mnc09/config.xml | 89 + .../res/values-mcc310-mnc004/config.xml | 36 + .../res/values-mcc310-mnc120/config.xml | 37 + .../res/values-mcc310-mnc260/config.xml | 36 + .../res/values-mcc310-mnc410/config.xml | 36 + .../res/values-mcc311-mnc480/config.xml | 45 + .../res/values-mcc454-mnc03/config.xml | 34 + .../res/values-mcc454-mnc04/config.xml | 34 + .../res/values-mcc455-mnc02/config.xml | 34 + .../res/values-mcc455-mnc07/config.xml | 34 + .../res/values-mcc460-mnc03/config.xml | 37 + .../res/values-mcc460-mnc11/config.xml | 37 + .../common/Frameworks/res/values/config.xml | 304 ++ resource-overlay/common/SystemUI/Android.mk | 14 + .../common/SystemUI/AndroidManifest.xml | 9 + resource-overlay/common/SystemUI/NOTICE | 50 + .../common/SystemUI/res/values/config.xml | 41 + resource-overlay/common/Telecomm/Android.mk | 16 + .../common/Telecomm/AndroidManifest.xml | 9 + resource-overlay/common/Telecomm/LICENSE | 181 ++ resource-overlay/common/Telecomm/NOTICE | 94 + .../common/Telecomm/res/values/config.xml | 43 + resource-overlay/common/Telephony/Android.mk | 14 + .../common/Telephony/AndroidManifest.xml | 9 + resource-overlay/common/Telephony/LICENSE | 181 ++ resource-overlay/common/Telephony/NOTICE | 109 + .../common/Telephony/res/values/config.xml | 57 + resource-overlay/common/Wifi/Android.mk | 14 + .../common/Wifi/AndroidManifest.xml | 9 + resource-overlay/common/Wifi/NOTICE | 35 + .../common/Wifi/res/values/config.xml | 65 + resource-overlay/kona/Android.mk | 1 + resource-overlay/kona/Frameworks/Android.mk | 14 + .../kona/Frameworks/AndroidManifest.xml | 8 + resource-overlay/kona/Frameworks/NOTICE | 50 + .../kona/Frameworks/res/values/config.xml | 88 + .../kona/Frameworks/res/xml/power_profile.xml | 246 ++ resource-overlay/kona/Wifi/Android.mk | 14 + .../kona/Wifi/AndroidManifest.xml | 8 + .../kona/Wifi/res/values/config.xml | 17 + sm8250.mk | 18 +- 71 files changed, 6430 insertions(+), 1 deletion(-) create mode 100644 overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml create mode 100644 overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml create mode 100644 overlay-lineage/packages/apps/Settings/res/values/config.xml create mode 100644 overlay-lineage/packages/apps/Snap/res/values/config.xml create mode 100644 resource-overlay/Android.mk create mode 100644 resource-overlay/common/Android.mk create mode 100644 resource-overlay/common/CarrierConfig/Android.mk create mode 100644 resource-overlay/common/CarrierConfig/AndroidManifest.xml create mode 100644 resource-overlay/common/CarrierConfig/NOTICE create mode 100644 resource-overlay/common/CarrierConfig/res/xml/vendor.xml create mode 100644 resource-overlay/common/CellBroadcastReceiver/Android.mk create mode 100644 resource-overlay/common/CellBroadcastReceiver/AndroidManifest.xml create mode 100644 resource-overlay/common/CellBroadcastReceiver/LICENSE create mode 100644 resource-overlay/common/CellBroadcastReceiver/NOTICE create mode 100644 resource-overlay/common/CellBroadcastReceiver/res/values/config.xml create mode 100644 resource-overlay/common/Frameworks/Android.mk create mode 100644 resource-overlay/common/Frameworks/AndroidManifest.xml create mode 100644 resource-overlay/common/Frameworks/LICENSE create mode 100644 resource-overlay/common/Frameworks/NOTICE create mode 100644 resource-overlay/common/Frameworks/res/values-mcc234-mnc15-en-rGB/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc234-mnc15-en-rIN/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc234-mnc15/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc262-mnc02-en-rGB/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc262-mnc02-en-rIN/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc262-mnc02/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc262-mnc04-en-rGB/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc262-mnc04-en-rIN/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc262-mnc04/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc262-mnc09-en-rGB/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc262-mnc09-en-rIN/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc262-mnc09/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc310-mnc004/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc310-mnc120/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc310-mnc260/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc310-mnc410/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc311-mnc480/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc454-mnc03/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc454-mnc04/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc455-mnc02/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc455-mnc07/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc460-mnc03/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values-mcc460-mnc11/config.xml create mode 100644 resource-overlay/common/Frameworks/res/values/config.xml create mode 100644 resource-overlay/common/SystemUI/Android.mk create mode 100644 resource-overlay/common/SystemUI/AndroidManifest.xml create mode 100644 resource-overlay/common/SystemUI/NOTICE create mode 100644 resource-overlay/common/SystemUI/res/values/config.xml create mode 100644 resource-overlay/common/Telecomm/Android.mk create mode 100644 resource-overlay/common/Telecomm/AndroidManifest.xml create mode 100644 resource-overlay/common/Telecomm/LICENSE create mode 100644 resource-overlay/common/Telecomm/NOTICE create mode 100644 resource-overlay/common/Telecomm/res/values/config.xml create mode 100644 resource-overlay/common/Telephony/Android.mk create mode 100644 resource-overlay/common/Telephony/AndroidManifest.xml create mode 100644 resource-overlay/common/Telephony/LICENSE create mode 100644 resource-overlay/common/Telephony/NOTICE create mode 100644 resource-overlay/common/Telephony/res/values/config.xml create mode 100644 resource-overlay/common/Wifi/Android.mk create mode 100644 resource-overlay/common/Wifi/AndroidManifest.xml create mode 100644 resource-overlay/common/Wifi/NOTICE create mode 100644 resource-overlay/common/Wifi/res/values/config.xml create mode 100644 resource-overlay/kona/Android.mk create mode 100644 resource-overlay/kona/Frameworks/Android.mk create mode 100644 resource-overlay/kona/Frameworks/AndroidManifest.xml create mode 100644 resource-overlay/kona/Frameworks/NOTICE create mode 100644 resource-overlay/kona/Frameworks/res/values/config.xml create mode 100644 resource-overlay/kona/Frameworks/res/xml/power_profile.xml create mode 100644 resource-overlay/kona/Wifi/Android.mk create mode 100644 resource-overlay/kona/Wifi/AndroidManifest.xml create mode 100644 resource-overlay/kona/Wifi/res/values/config.xml diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml new file mode 100644 index 00000000..38149c91 --- /dev/null +++ b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml @@ -0,0 +1,72 @@ + + + + + 64 + + + 64 + + + 248 + + + true + + + + restart + restart_recovery + restart_bootloader + restart_fastboot + + diff --git a/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml b/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml new file mode 100644 index 00000000..da46c314 --- /dev/null +++ b/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml @@ -0,0 +1,20 @@ + + + + true + 4 + diff --git a/overlay-lineage/packages/apps/Settings/res/values/config.xml b/overlay-lineage/packages/apps/Settings/res/values/config.xml new file mode 100644 index 00000000..8f3b5bd7 --- /dev/null +++ b/overlay-lineage/packages/apps/Settings/res/values/config.xml @@ -0,0 +1,28 @@ + + + + + + 3 + + + true + diff --git a/overlay-lineage/packages/apps/Snap/res/values/config.xml b/overlay-lineage/packages/apps/Snap/res/values/config.xml new file mode 100644 index 00000000..899dcb64 --- /dev/null +++ b/overlay-lineage/packages/apps/Snap/res/values/config.xml @@ -0,0 +1,31 @@ + + + + + + + true + + + false + + + false + + + true + diff --git a/resource-overlay/Android.mk b/resource-overlay/Android.mk new file mode 100644 index 00000000..5053e7d6 --- /dev/null +++ b/resource-overlay/Android.mk @@ -0,0 +1 @@ +include $(call all-subdir-makefiles) diff --git a/resource-overlay/common/Android.mk b/resource-overlay/common/Android.mk new file mode 100644 index 00000000..5053e7d6 --- /dev/null +++ b/resource-overlay/common/Android.mk @@ -0,0 +1 @@ +include $(call all-subdir-makefiles) diff --git a/resource-overlay/common/CarrierConfig/Android.mk b/resource-overlay/common/CarrierConfig/Android.mk new file mode 100644 index 00000000..55cb8ec0 --- /dev/null +++ b/resource-overlay/common/CarrierConfig/Android.mk @@ -0,0 +1,16 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_PRODUCT_MODULE := true +LOCAL_CERTIFICATE := platform + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res + +LOCAL_PACKAGE_NAME := CarrierConfigResCommon +LOCAL_SDK_VERSION := current + +LOCAL_AAPT_FLAGS := --keep-raw-values + +include $(BUILD_RRO_PACKAGE) diff --git a/resource-overlay/common/CarrierConfig/AndroidManifest.xml b/resource-overlay/common/CarrierConfig/AndroidManifest.xml new file mode 100644 index 00000000..bf04f5aa --- /dev/null +++ b/resource-overlay/common/CarrierConfig/AndroidManifest.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/resource-overlay/common/CarrierConfig/NOTICE b/resource-overlay/common/CarrierConfig/NOTICE new file mode 100644 index 00000000..092b5090 --- /dev/null +++ b/resource-overlay/common/CarrierConfig/NOTICE @@ -0,0 +1,50 @@ +This NOTICE file contains certain notices of software components included +with the software that Qualcomm Technologies, Inc. ("Qualcomm Technologies") +is required to provide you. Notwithstanding anything in the notices in this +file, your use of these software components together with the +Qualcomm Technologies software (Qualcomm Technologies software hereinafter +referred to as "Software") is subject to the terms of your license from +Qualcomm Technologies. Compliance with all copyright laws and software +license agreements included in the notice section of this file are the +responsibility of the user. Except as may be granted by separate express +written agreement, this file provides no license to any patents, +trademarks, copyrights, or other intellectual property. + +Copyright (c) 2018 Qualcomm Technologies, Inc. +All rights reserved. +Qualcomm is a registered trademark and registered service mark of +QUALCOMM Incorporated. All other trademarks and service marks are the +property of their respective owners. +________________________________________ +NOTICES +________________________________________ + +Copyright (c) 2014-2018 The Linux Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted (subject to the limitations in the +disclaimer below) provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE +GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT +HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/resource-overlay/common/CarrierConfig/res/xml/vendor.xml b/resource-overlay/common/CarrierConfig/res/xml/vendor.xml new file mode 100644 index 00000000..08e609db --- /dev/null +++ b/resource-overlay/common/CarrierConfig/res/xml/vendor.xml @@ -0,0 +1,2451 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + connected_mmwave:5GUWB,connected:5g,not_restricted:None,restricted:None + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + + + + + China Mobile + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + China Unicom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + + + + + China Mobile + + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + China Unicom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + China Unicom + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IPV4V6 + IPV4V6 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resource-overlay/common/CellBroadcastReceiver/Android.mk b/resource-overlay/common/CellBroadcastReceiver/Android.mk new file mode 100644 index 00000000..03c3dffa --- /dev/null +++ b/resource-overlay/common/CellBroadcastReceiver/Android.mk @@ -0,0 +1,14 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_PRODUCT_MODULE := true +LOCAL_CERTIFICATE := platform + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res + +LOCAL_PACKAGE_NAME := CellBroadcastReceiverResCommon +LOCAL_SDK_VERSION := current + +include $(BUILD_RRO_PACKAGE) diff --git a/resource-overlay/common/CellBroadcastReceiver/AndroidManifest.xml b/resource-overlay/common/CellBroadcastReceiver/AndroidManifest.xml new file mode 100644 index 00000000..2c2eb6f4 --- /dev/null +++ b/resource-overlay/common/CellBroadcastReceiver/AndroidManifest.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/resource-overlay/common/CellBroadcastReceiver/LICENSE b/resource-overlay/common/CellBroadcastReceiver/LICENSE new file mode 100644 index 00000000..53f3da5e --- /dev/null +++ b/resource-overlay/common/CellBroadcastReceiver/LICENSE @@ -0,0 +1,181 @@ +This text file is provided to comply with the attribution requirements of +the licenses herein, but see NOTICE for license terms of this software. +The Apache 2.0 license can be found at +http://www.apache.org/licenses/LICENSE-2.0.html + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/resource-overlay/common/CellBroadcastReceiver/NOTICE b/resource-overlay/common/CellBroadcastReceiver/NOTICE new file mode 100644 index 00000000..1d903b72 --- /dev/null +++ b/resource-overlay/common/CellBroadcastReceiver/NOTICE @@ -0,0 +1,44 @@ +This NOTICE file contains certain notices of software components included +with the software that Qualcomm Technologies, Inc. ("Qualcomm Technologies") +is required to provide you. Notwithstanding anything in the notices in this +file, your use of these software components together with the +Qualcomm Technologies software (Qualcomm Technologies software hereinafter +referred to as "Software") is subject to the terms of your license from +Qualcomm Technologies. Compliance with all copyright laws and software +license agreements included in the notice section of this file are the +responsibility of the user. Except as may be granted by separate express +written agreement, this file provides no license to any patents, +trademarks, copyrights, or other intellectual property. + +Copyright (c) 2018 Qualcomm Technologies, Inc. +All rights reserved. +Qualcomm is a registered trademark and registered service mark of +QUALCOMM Incorporated. All other trademarks and service marks are the +property of their respective owners. +________________________________________ +NOTICES +________________________________________ + +Copyright (c) 2012, The Linux Foundation. All rights reserved. + +Not a Contribution, Apache license notifications and license are retained +for attribution purposes only. + + Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +________________________________________ + +Note: Any files for which the above Apache License notices are required +to be provided are not contributions. + +A copy of the Apache 2.0 license is included in the file LICENSE +for attribution purposes only. diff --git a/resource-overlay/common/CellBroadcastReceiver/res/values/config.xml b/resource-overlay/common/CellBroadcastReceiver/res/values/config.xml new file mode 100644 index 00000000..ef70652f --- /dev/null +++ b/resource-overlay/common/CellBroadcastReceiver/res/values/config.xml @@ -0,0 +1,29 @@ + + + + + + true + + true + + true + + + diff --git a/resource-overlay/common/Frameworks/Android.mk b/resource-overlay/common/Frameworks/Android.mk new file mode 100644 index 00000000..11fe9455 --- /dev/null +++ b/resource-overlay/common/Frameworks/Android.mk @@ -0,0 +1,14 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_PRODUCT_MODULE := true +LOCAL_CERTIFICATE := platform + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res + +LOCAL_PACKAGE_NAME := FrameworksResCommon +LOCAL_SDK_VERSION := current + +include $(BUILD_RRO_PACKAGE) diff --git a/resource-overlay/common/Frameworks/AndroidManifest.xml b/resource-overlay/common/Frameworks/AndroidManifest.xml new file mode 100644 index 00000000..98514ec4 --- /dev/null +++ b/resource-overlay/common/Frameworks/AndroidManifest.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/resource-overlay/common/Frameworks/LICENSE b/resource-overlay/common/Frameworks/LICENSE new file mode 100644 index 00000000..53f3da5e --- /dev/null +++ b/resource-overlay/common/Frameworks/LICENSE @@ -0,0 +1,181 @@ +This text file is provided to comply with the attribution requirements of +the licenses herein, but see NOTICE for license terms of this software. +The Apache 2.0 license can be found at +http://www.apache.org/licenses/LICENSE-2.0.html + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/resource-overlay/common/Frameworks/NOTICE b/resource-overlay/common/Frameworks/NOTICE new file mode 100644 index 00000000..001a9cee --- /dev/null +++ b/resource-overlay/common/Frameworks/NOTICE @@ -0,0 +1,74 @@ +This NOTICE file contains certain notices of software components included +with the software that Qualcomm Technologies, Inc. ("Qualcomm Technologies") +is required to provide you. Notwithstanding anything in the notices in this +file, your use of these software components together with the +Qualcomm Technologies software (Qualcomm Technologies software hereinafter +referred to as "Software") is subject to the terms of your license from +Qualcomm Technologies. Compliance with all copyright laws and software +license agreements included in the notice section of this file are the +responsibility of the user. Except as may be granted by separate express +written agreement, this file provides no license to any patents, +trademarks, copyrights, or other intellectual property. + +Copyright (c) 2018 Qualcomm Technologies, Inc. +All rights reserved. +Qualcomm is a registered trademark and registered service mark of +QUALCOMM Incorporated. All other trademarks and service marks are the +property of their respective owners. +________________________________________ +NOTICES +________________________________________ + +Copyright (c) 2014-2018 The Linux Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted (subject to the limitations in the +disclaimer below) provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE +GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT +HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +________________________________________ + +Copyright (C) 2018 The Android Open Source Project + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +________________________________________ + +Note: Any files for which the above Apache License notices are required +to be provided are not contributions. + +A copy of the Apache 2.0 license is included in the file LICENSE +for attribution purposes only. diff --git a/resource-overlay/common/Frameworks/res/values-mcc234-mnc15-en-rGB/config.xml b/resource-overlay/common/Frameworks/res/values-mcc234-mnc15-en-rGB/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc234-mnc15-en-rGB/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc234-mnc15-en-rIN/config.xml b/resource-overlay/common/Frameworks/res/values-mcc234-mnc15-en-rIN/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc234-mnc15-en-rIN/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc234-mnc15/config.xml b/resource-overlay/common/Frameworks/res/values-mcc234-mnc15/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc234-mnc15/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc262-mnc02-en-rGB/config.xml b/resource-overlay/common/Frameworks/res/values-mcc262-mnc02-en-rGB/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc262-mnc02-en-rGB/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc262-mnc02-en-rIN/config.xml b/resource-overlay/common/Frameworks/res/values-mcc262-mnc02-en-rIN/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc262-mnc02-en-rIN/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc262-mnc02/config.xml b/resource-overlay/common/Frameworks/res/values-mcc262-mnc02/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc262-mnc02/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc262-mnc04-en-rGB/config.xml b/resource-overlay/common/Frameworks/res/values-mcc262-mnc04-en-rGB/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc262-mnc04-en-rGB/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc262-mnc04-en-rIN/config.xml b/resource-overlay/common/Frameworks/res/values-mcc262-mnc04-en-rIN/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc262-mnc04-en-rIN/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc262-mnc04/config.xml b/resource-overlay/common/Frameworks/res/values-mcc262-mnc04/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc262-mnc04/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc262-mnc09-en-rGB/config.xml b/resource-overlay/common/Frameworks/res/values-mcc262-mnc09-en-rGB/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc262-mnc09-en-rGB/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc262-mnc09-en-rIN/config.xml b/resource-overlay/common/Frameworks/res/values-mcc262-mnc09-en-rIN/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc262-mnc09-en-rIN/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc262-mnc09/config.xml b/resource-overlay/common/Frameworks/res/values-mcc262-mnc09/config.xml new file mode 100644 index 00000000..4629b031 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc262-mnc09/config.xml @@ -0,0 +1,89 @@ + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc310-mnc004/config.xml b/resource-overlay/common/Frameworks/res/values-mcc310-mnc004/config.xml new file mode 100644 index 00000000..1597995d --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc310-mnc004/config.xml @@ -0,0 +1,36 @@ + + + + + + + 6 + diff --git a/resource-overlay/common/Frameworks/res/values-mcc310-mnc120/config.xml b/resource-overlay/common/Frameworks/res/values-mcc310-mnc120/config.xml new file mode 100644 index 00000000..1d381b78 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc310-mnc120/config.xml @@ -0,0 +1,37 @@ + + + + + + + 6 + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc310-mnc260/config.xml b/resource-overlay/common/Frameworks/res/values-mcc310-mnc260/config.xml new file mode 100644 index 00000000..7bd009b7 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc310-mnc260/config.xml @@ -0,0 +1,36 @@ + + + + + + + 3 + diff --git a/resource-overlay/common/Frameworks/res/values-mcc310-mnc410/config.xml b/resource-overlay/common/Frameworks/res/values-mcc310-mnc410/config.xml new file mode 100644 index 00000000..7bd009b7 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc310-mnc410/config.xml @@ -0,0 +1,36 @@ + + + + + + + 3 + diff --git a/resource-overlay/common/Frameworks/res/values-mcc311-mnc480/config.xml b/resource-overlay/common/Frameworks/res/values-mcc311-mnc480/config.xml new file mode 100644 index 00000000..cdc4181f --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc311-mnc480/config.xml @@ -0,0 +1,45 @@ + + + + + + + + + true + + + 6 + + + diff --git a/resource-overlay/common/Frameworks/res/values-mcc454-mnc03/config.xml b/resource-overlay/common/Frameworks/res/values-mcc454-mnc03/config.xml new file mode 100644 index 00000000..8c0a0457 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc454-mnc03/config.xml @@ -0,0 +1,34 @@ + + + + + + + true + diff --git a/resource-overlay/common/Frameworks/res/values-mcc454-mnc04/config.xml b/resource-overlay/common/Frameworks/res/values-mcc454-mnc04/config.xml new file mode 100644 index 00000000..8c0a0457 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc454-mnc04/config.xml @@ -0,0 +1,34 @@ + + + + + + + true + diff --git a/resource-overlay/common/Frameworks/res/values-mcc455-mnc02/config.xml b/resource-overlay/common/Frameworks/res/values-mcc455-mnc02/config.xml new file mode 100644 index 00000000..8c0a0457 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc455-mnc02/config.xml @@ -0,0 +1,34 @@ + + + + + + + true + diff --git a/resource-overlay/common/Frameworks/res/values-mcc455-mnc07/config.xml b/resource-overlay/common/Frameworks/res/values-mcc455-mnc07/config.xml new file mode 100644 index 00000000..8c0a0457 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc455-mnc07/config.xml @@ -0,0 +1,34 @@ + + + + + + + true + diff --git a/resource-overlay/common/Frameworks/res/values-mcc460-mnc03/config.xml b/resource-overlay/common/Frameworks/res/values-mcc460-mnc03/config.xml new file mode 100644 index 00000000..4632f472 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc460-mnc03/config.xml @@ -0,0 +1,37 @@ + + + + + + + 6 + true + diff --git a/resource-overlay/common/Frameworks/res/values-mcc460-mnc11/config.xml b/resource-overlay/common/Frameworks/res/values-mcc460-mnc11/config.xml new file mode 100644 index 00000000..4632f472 --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values-mcc460-mnc11/config.xml @@ -0,0 +1,37 @@ + + + + + + + 6 + true + diff --git a/resource-overlay/common/Frameworks/res/values/config.xml b/resource-overlay/common/Frameworks/res/values/config.xml new file mode 100644 index 00000000..836c703f --- /dev/null +++ b/resource-overlay/common/Frameworks/res/values/config.xml @@ -0,0 +1,304 @@ + + + + + + + 3 + + + 20 + + + 33 + + + 3700 + + + true + + + + "softap0" + "wlan0" + + + + + "usb\\d" + "rndis\\d" + + + + + + 192.168.42.2 + 192.168.42.254 + 192.168.43.2 + 192.168.43.254 + 192.168.44.2 + 192.168.44.254 + 192.168.45.2 + 192.168.45.254 + 192.168.46.2 + 192.168.46.254 + 192.168.47.2 + 192.168.47.254 + 192.168.48.2 + 192.168.48.254 + 192.168.49.2 + 192.168.49.254 + 192.168.50.2 + 192.168.50.254 + 192.168.51.2 + 192.168.51.254 + + + + + + + + "wifi,1,1,1,-1,true" + "mobile,0,0,0,-1,true" + "mobile_mms,2,0,4,60000,true" + "mobile_supl,3,0,2,60000,true" + "mobile_dun,4,0,2,60000,true" + "mobile_hipri,5,0,3,60000,true" + "mobile_fota,10,0,2,60000,true" + "mobile_ims,11,0,2,60000,true" + "mobile_cbs,12,0,2,60000,true" + "bluetooth,7,7,2,-1,true" + "mobile_emergency,15,0,5,-1,true" + "ethernet,9,9,9,-1,true" + + + + + + "1,1" + "0,1" + "7,1" + + + + + "bnep\\d" + "bt-pan" + + + + + + 0 + 1 + 5 + 7 + + + + true + + + true + + + true + + + true + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + Android-Mms/2.0 + + + http://www.google.com/oha/rdf/ua-profile-kila.xml + + + + + true + + + false + + + + + + + true + true + true + + + true + + + + "5gnr:2097152,6291456,16777216,512000,2097152,8388608" + "lte:2097152,4194304,8388608,262144,524288,1048576" + "lte_ca:4096,6291456,12582912,4096,1048576,2097152" + "umts:4094,87380,1220608,4096,16384,1220608" + "hspa:4094,87380,1220608,4096,16384,1220608" + "hsupa:4094,87380,1220608,4096,16384,1220608" + "hsdpa:4094,87380,1220608,4096,16384,1220608" + "hspap:4094,87380,1220608,4096,16384,1220608" + "edge:4093,26280,35040,4096,16384,35040" + "gprs:4092,8760,11680,4096,8760,11680" + "evdo:4094,87380,524288,4096,16384,262144" + + + + + 4 + + true + + + + false + + com.google.android.gms + + + + + + true + + + true + + com.android.systemui/com.android.systemui.doze.DozeService + true + + 17 + false + true + + + + 0 + 1 + 3 + + 256 + 257 + 258 + 259 + 260 + 261 + 262 + 263 + 264 + 265 + + + true + + + 0 + + + 180 + + + false + diff --git a/resource-overlay/common/SystemUI/Android.mk b/resource-overlay/common/SystemUI/Android.mk new file mode 100644 index 00000000..32e2cc47 --- /dev/null +++ b/resource-overlay/common/SystemUI/Android.mk @@ -0,0 +1,14 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_PRODUCT_MODULE := true +LOCAL_CERTIFICATE := platform + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res + +LOCAL_PACKAGE_NAME := SystemUIResCommon +LOCAL_SDK_VERSION := current + +include $(BUILD_RRO_PACKAGE) diff --git a/resource-overlay/common/SystemUI/AndroidManifest.xml b/resource-overlay/common/SystemUI/AndroidManifest.xml new file mode 100644 index 00000000..ff46adf5 --- /dev/null +++ b/resource-overlay/common/SystemUI/AndroidManifest.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/resource-overlay/common/SystemUI/NOTICE b/resource-overlay/common/SystemUI/NOTICE new file mode 100644 index 00000000..092b5090 --- /dev/null +++ b/resource-overlay/common/SystemUI/NOTICE @@ -0,0 +1,50 @@ +This NOTICE file contains certain notices of software components included +with the software that Qualcomm Technologies, Inc. ("Qualcomm Technologies") +is required to provide you. Notwithstanding anything in the notices in this +file, your use of these software components together with the +Qualcomm Technologies software (Qualcomm Technologies software hereinafter +referred to as "Software") is subject to the terms of your license from +Qualcomm Technologies. Compliance with all copyright laws and software +license agreements included in the notice section of this file are the +responsibility of the user. Except as may be granted by separate express +written agreement, this file provides no license to any patents, +trademarks, copyrights, or other intellectual property. + +Copyright (c) 2018 Qualcomm Technologies, Inc. +All rights reserved. +Qualcomm is a registered trademark and registered service mark of +QUALCOMM Incorporated. All other trademarks and service marks are the +property of their respective owners. +________________________________________ +NOTICES +________________________________________ + +Copyright (c) 2014-2018 The Linux Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted (subject to the limitations in the +disclaimer below) provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE +GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT +HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/resource-overlay/common/SystemUI/res/values/config.xml b/resource-overlay/common/SystemUI/res/values/config.xml new file mode 100644 index 00000000..279d6e2e --- /dev/null +++ b/resource-overlay/common/SystemUI/res/values/config.xml @@ -0,0 +1,41 @@ + + + + + true + + + accessibility_display_inversion_enabled:inversion + wind_down_first_time_setup:custom(com.google.android.apps.wellbeing/.screen.ui.GrayscaleTileService) + focus_mode_first_time_setup:custom(com.google.android.apps.wellbeing/.focusmode.quicksettings.FocusModeTileService) + + diff --git a/resource-overlay/common/Telecomm/Android.mk b/resource-overlay/common/Telecomm/Android.mk new file mode 100644 index 00000000..46d09d81 --- /dev/null +++ b/resource-overlay/common/Telecomm/Android.mk @@ -0,0 +1,16 @@ +ifeq ($(TARGET_FWK_SUPPORTS_FULL_VALUEADDS), true) +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_PRODUCT_MODULE := true +LOCAL_CERTIFICATE := platform + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res + +LOCAL_PACKAGE_NAME := TelecommResCommon +LOCAL_SDK_VERSION := current + +include $(BUILD_RRO_PACKAGE) +endif diff --git a/resource-overlay/common/Telecomm/AndroidManifest.xml b/resource-overlay/common/Telecomm/AndroidManifest.xml new file mode 100644 index 00000000..5ecb23a5 --- /dev/null +++ b/resource-overlay/common/Telecomm/AndroidManifest.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/resource-overlay/common/Telecomm/LICENSE b/resource-overlay/common/Telecomm/LICENSE new file mode 100644 index 00000000..53f3da5e --- /dev/null +++ b/resource-overlay/common/Telecomm/LICENSE @@ -0,0 +1,181 @@ +This text file is provided to comply with the attribution requirements of +the licenses herein, but see NOTICE for license terms of this software. +The Apache 2.0 license can be found at +http://www.apache.org/licenses/LICENSE-2.0.html + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/resource-overlay/common/Telecomm/NOTICE b/resource-overlay/common/Telecomm/NOTICE new file mode 100644 index 00000000..0491b865 --- /dev/null +++ b/resource-overlay/common/Telecomm/NOTICE @@ -0,0 +1,94 @@ +This NOTICE file contains certain notices of software components included +with the software that Qualcomm Technologies, Inc. ("Qualcomm Technologies") +is required to provide you. Notwithstanding anything in the notices in this +file, your use of these software components together with the +Qualcomm Technologies software (Qualcomm Technologies software hereinafter +referred to as "Software") is subject to the terms of your license from +Qualcomm Technologies. Compliance with all copyright laws and software +license agreements included in the notice section of this file are the +responsibility of the user. Except as may be granted by separate express +written agreement, this file provides no license to any patents, +trademarks, copyrights, or other intellectual property. + +Copyright (c) 2018 Qualcomm Technologies, Inc. +All rights reserved. +Qualcomm is a registered trademark and registered service mark of +QUALCOMM Incorporated. All other trademarks and service marks are the +property of their respective owners. +________________________________________ +NOTICES +________________________________________ + +Copyright (c) 2012, The Linux Foundation. All rights reserved. + +Not a Contribution, Apache license notifications and license are retained +for attribution purposes only. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +________________________________________ + +Copyright (c) 2012-2016, The Linux Foundation. All rights reserved + +Not a Contribution. + +Licensed under the Apache License, Version 2.0 (the "License"); you +may not use this file except in compliance with the License. You may +obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the License for the specific language governing +permissions and limitations under the License. + +________________________________________ + +Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted (subject to the limitations in the +disclaimer below) provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE +GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT +HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +Note: Any files for which the above Apache License notices are required +to be provided are not contributions. + +________________________________________ + +A copy of the Apache 2.0 license is included in the file LICENSE +for attribution purposes only. diff --git a/resource-overlay/common/Telecomm/res/values/config.xml b/resource-overlay/common/Telecomm/res/values/config.xml new file mode 100644 index 00000000..671dec10 --- /dev/null +++ b/resource-overlay/common/Telecomm/res/values/config.xml @@ -0,0 +1,43 @@ + + + + + + + com.android.incallui.InCallServiceImpl + + + com.android.dialer.DialtactsActivity + + true + diff --git a/resource-overlay/common/Telephony/Android.mk b/resource-overlay/common/Telephony/Android.mk new file mode 100644 index 00000000..81f711f3 --- /dev/null +++ b/resource-overlay/common/Telephony/Android.mk @@ -0,0 +1,14 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_PRODUCT_MODULE := true +LOCAL_CERTIFICATE := platform + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res + +LOCAL_PACKAGE_NAME := TelephonyResCommon +LOCAL_SDK_VERSION := current + +include $(BUILD_RRO_PACKAGE) diff --git a/resource-overlay/common/Telephony/AndroidManifest.xml b/resource-overlay/common/Telephony/AndroidManifest.xml new file mode 100644 index 00000000..7ef1e0f9 --- /dev/null +++ b/resource-overlay/common/Telephony/AndroidManifest.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/resource-overlay/common/Telephony/LICENSE b/resource-overlay/common/Telephony/LICENSE new file mode 100644 index 00000000..53f3da5e --- /dev/null +++ b/resource-overlay/common/Telephony/LICENSE @@ -0,0 +1,181 @@ +This text file is provided to comply with the attribution requirements of +the licenses herein, but see NOTICE for license terms of this software. +The Apache 2.0 license can be found at +http://www.apache.org/licenses/LICENSE-2.0.html + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS diff --git a/resource-overlay/common/Telephony/NOTICE b/resource-overlay/common/Telephony/NOTICE new file mode 100644 index 00000000..64777396 --- /dev/null +++ b/resource-overlay/common/Telephony/NOTICE @@ -0,0 +1,109 @@ +This NOTICE file contains certain notices of software components included +with the software that Qualcomm Technologies, Inc. ("Qualcomm Technologies") +is required to provide you. Notwithstanding anything in the notices in this +file, your use of these software components together with the +Qualcomm Technologies software (Qualcomm Technologies software hereinafter +referred to as "Software") is subject to the terms of your license from +Qualcomm Technologies. Compliance with all copyright laws and software +license agreements included in the notice section of this file are the +responsibility of the user. Except as may be granted by separate express +written agreement, this file provides no license to any patents, +trademarks, copyrights, or other intellectual property. + +Copyright (c) 2018, 2019 Qualcomm Technologies, Inc. +All rights reserved. +Qualcomm is a registered trademark and registered service mark of +QUALCOMM Incorporated. All other trademarks and service marks are the +property of their respective owners. +________________________________________ +NOTICES +________________________________________ + +Copyright (c) 2012, The Linux Foundation. All rights reserved. + +Not a Contribution, Apache license notifications and license are retained +for attribution purposes only. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +________________________________________ + +Copyright (c) 2012-2016, The Linux Foundation. All rights reserved + +Not a Contribution. + +Licensed under the Apache License, Version 2.0 (the "License"); you +may not use this file except in compliance with the License. You may +obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the License for the specific language governing +permissions and limitations under the License. + +________________________________________ + +Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted (subject to the limitations in the +disclaimer below) provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE +GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT +HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +________________________________________ + +Copyright (C) 2018 The Android Open Source Project + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +________________________________________ + +Note: Any files for which the above Apache License notices are required +to be provided are not contributions. + +A copy of the Apache 2.0 license is included in the file LICENSE +for attribution purposes only. diff --git a/resource-overlay/common/Telephony/res/values/config.xml b/resource-overlay/common/Telephony/res/values/config.xml new file mode 100644 index 00000000..820631f3 --- /dev/null +++ b/resource-overlay/common/Telephony/res/values/config.xml @@ -0,0 +1,57 @@ + + + + + + + 1 + + + true + + + true + + + true + + + true + + + true + + + true + + + org.codeaurora.ims + + + org.codeaurora.ims + + + com.google.android.gms + diff --git a/resource-overlay/common/Wifi/Android.mk b/resource-overlay/common/Wifi/Android.mk new file mode 100644 index 00000000..3adf1acc --- /dev/null +++ b/resource-overlay/common/Wifi/Android.mk @@ -0,0 +1,14 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_PRODUCT_MODULE := true +LOCAL_CERTIFICATE := platform + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res + +LOCAL_PACKAGE_NAME := WifiResCommon +LOCAL_SDK_VERSION := current + +include $(BUILD_RRO_PACKAGE) diff --git a/resource-overlay/common/Wifi/AndroidManifest.xml b/resource-overlay/common/Wifi/AndroidManifest.xml new file mode 100644 index 00000000..04df4cbd --- /dev/null +++ b/resource-overlay/common/Wifi/AndroidManifest.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/resource-overlay/common/Wifi/NOTICE b/resource-overlay/common/Wifi/NOTICE new file mode 100644 index 00000000..d3694a55 --- /dev/null +++ b/resource-overlay/common/Wifi/NOTICE @@ -0,0 +1,35 @@ +No Title +This NOTICE file contains certain notices of software components included +with the software that Qualcomm Technologies, Inc. ("Qualcomm Technologies") +is required to provide you. Notwithstanding anything in the notices in this +file, your use of these software components together with the +Qualcomm Technologies software (Qualcomm Technologies software hereinafter +referred to as "Software") is subject to the terms of your license from +Qualcomm Technologies. Compliance with all copyright laws and software +license agreements included in the notice section of this file are the +responsibility of the user. Except as may be granted by separate express +written agreement, this file provides no license to any patents, +trademarks, copyrights, or other intellectual property. + +Copyright (c) 2020 Qualcomm Technologies, Inc. +All rights reserved.  +Qualcomm is a registered trademark and registered service mark of +QUALCOMM Incorporated. All other trademarks and service marks are the property of their respective owners. + +============================================================ + +/* + * Copyright (C) 2019 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + *      http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ diff --git a/resource-overlay/common/Wifi/res/values/config.xml b/resource-overlay/common/Wifi/res/values/config.xml new file mode 100644 index 00000000..c43a6083 --- /dev/null +++ b/resource-overlay/common/Wifi/res/values/config.xml @@ -0,0 +1,65 @@ + + + + + + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + true + + + + + + + + + + true + + + true + + true + + + true + + + 32 + + + false + + + 1000 + diff --git a/resource-overlay/kona/Android.mk b/resource-overlay/kona/Android.mk new file mode 100644 index 00000000..5053e7d6 --- /dev/null +++ b/resource-overlay/kona/Android.mk @@ -0,0 +1 @@ +include $(call all-subdir-makefiles) diff --git a/resource-overlay/kona/Frameworks/Android.mk b/resource-overlay/kona/Frameworks/Android.mk new file mode 100644 index 00000000..b5d09b0f --- /dev/null +++ b/resource-overlay/kona/Frameworks/Android.mk @@ -0,0 +1,14 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_VENDOR_MODULE := true +LOCAL_CERTIFICATE := platform + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res + +LOCAL_PACKAGE_NAME := FrameworksResTarget +LOCAL_SDK_VERSION := current + +include $(BUILD_RRO_PACKAGE) diff --git a/resource-overlay/kona/Frameworks/AndroidManifest.xml b/resource-overlay/kona/Frameworks/AndroidManifest.xml new file mode 100644 index 00000000..ea9c062a --- /dev/null +++ b/resource-overlay/kona/Frameworks/AndroidManifest.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/resource-overlay/kona/Frameworks/NOTICE b/resource-overlay/kona/Frameworks/NOTICE new file mode 100644 index 00000000..51aa1aae --- /dev/null +++ b/resource-overlay/kona/Frameworks/NOTICE @@ -0,0 +1,50 @@ +This NOTICE file contains certain notices of software components included +with the software that Qualcomm Technologies, Inc. ("Qualcomm Technologies") +is required to provide you. Notwithstanding anything in the notices in this +file, your use of these software components together with the +Qualcomm Technologies software (Qualcomm Technologies software hereinafter +referred to as "Software") is subject to the terms of your license from +Qualcomm Technologies. Compliance with all copyright laws and software +license agreements included in the notice section of this file are the +responsibility of the user. Except as may be granted by separate express +written agreement, this file provides no license to any patents, +trademarks, copyrights, or other intellectual property. + +Copyright (c) 2019 Qualcomm Technologies, Inc. +All rights reserved. +Qualcomm is a registered trademark and registered service mark of +QUALCOMM Incorporated. All other trademarks and service marks are the +property of their respective owners. +________________________________________ +NOTICES +________________________________________ + +Copyright (c) 2014-2018,2019 The Linux Foundation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted (subject to the limitations in the +disclaimer below) provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the Linux Foundation nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE +GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT +HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/resource-overlay/kona/Frameworks/res/values/config.xml b/resource-overlay/kona/Frameworks/res/values/config.xml new file mode 100644 index 00000000..38b5de92 --- /dev/null +++ b/resource-overlay/kona/Frameworks/res/values/config.xml @@ -0,0 +1,88 @@ + + + + + + "softap0" + "wigig0" + + + + 6 + + + 28 + + + 36 + + + 3700 + + + + true + + + true + + + true + + + vendor.qti.iwlan + vendor.qti.iwlan + vendor.qti.iwlan + + + + "/apex/com.android.art/javalib/core-oj.jar" + "/apex/com.android.art/javalib/core-libart.jar" + "/apex/com.android.media/javalib/updatable-media.jar" + "/system/framework/framework.jar" + "/system/framework/services.jar" + "/system/bin/surfaceflinger" + "/system_ext/priv-app/SystemUI/SystemUI.apk" + "/vendor/lib64/libcamxexternalformatutils.so" + "/vendor/lib64/libipebpsstriping.so" + "/vendor/lib64/libCB.so" + "/vendor/lib64/libgsl.so" + + + + true + + + true + diff --git a/resource-overlay/kona/Frameworks/res/xml/power_profile.xml b/resource-overlay/kona/Frameworks/res/xml/power_profile.xml new file mode 100644 index 00000000..4088b50b --- /dev/null +++ b/resource-overlay/kona/Frameworks/res/xml/power_profile.xml @@ -0,0 +1,246 @@ + + + + + + + 0 + 119.79 + 430 + + + + 4 + 4 + + + + + 518400 + 614400 + 691200 + 787200 + 883200 + 979200 + 1075200 + 1171200 + 1248000 + 1344000 + 1420800 + 1516800 + 1612800 + 1708800 + 1804800 + + + + + 7 + 8 + 10 + 11 + 12 + 13 + 15 + 16 + 17 + 19 + 21 + 23 + 25 + 29 + 31 + + + + 710400 + 825600 + 844800 + 940800 + 960000 + 1056000 + 1075200 + 1171200 + 1190400 + 1286400 + 1305600 + 1382400 + 1401600 + 1478400 + 1516800 + 1574400 + 1632000 + 1670400 + 1747200 + 1766400 + 1862400 + 1958400 + 1977600 + 2054400 + 2073600 + 2150400 + 2169600 + 2246400 + 2265600 + 2342400 + 2361600 + 2419200 + 2457600 + 2553600 + 2649600 + 2745600 + 2841600 + + + + + 30 + 37 + 53 + 45 + 61 + 51 + 67 + 60 + 76 + 68 + 88 + 72 + 92 + 81 + 102 + 94 + 116 + 100 + 129 + 109 + 133 + 141 + 168 + 149 + 182 + 163 + 224 + 180 + 233 + 198 + 240 + 209 + 249 + 272 + 295 + 330 + 366 + + + + 7.6 + + 0.1 + + 0 + + + 3550 + + 0.1 + 168 + 1.3 + + 24 + 63 + + 650 + 380 + + 10 + + 168 + 6 + + 88 + 8 + + + 6 + 180 + 186 + 3700 + + + 17 + + + 1 + 152 + 190 + 1 + + 3700 + + + .0001 + .001 + .01 + .1 + 1 + + + 135 + 0.6 + 3700 + + diff --git a/resource-overlay/kona/Wifi/Android.mk b/resource-overlay/kona/Wifi/Android.mk new file mode 100644 index 00000000..b1fe113d --- /dev/null +++ b/resource-overlay/kona/Wifi/Android.mk @@ -0,0 +1,14 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_VENDOR_MODULE := true +LOCAL_CERTIFICATE := platform + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res + +LOCAL_PACKAGE_NAME := WifiResTarget +LOCAL_SDK_VERSION := current + +include $(BUILD_RRO_PACKAGE) diff --git a/resource-overlay/kona/Wifi/AndroidManifest.xml b/resource-overlay/kona/Wifi/AndroidManifest.xml new file mode 100644 index 00000000..a3df0ff5 --- /dev/null +++ b/resource-overlay/kona/Wifi/AndroidManifest.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/resource-overlay/kona/Wifi/res/values/config.xml b/resource-overlay/kona/Wifi/res/values/config.xml new file mode 100644 index 00000000..385a3c79 --- /dev/null +++ b/resource-overlay/kona/Wifi/res/values/config.xml @@ -0,0 +1,17 @@ + + + + + + + true + + + true + + + true + + diff --git a/sm8250.mk b/sm8250.mk index 0bbedfa8..2fd170c4 100644 --- a/sm8250.mk +++ b/sm8250.mk @@ -23,6 +23,23 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) # Installs gsi keys into ramdisk, to boot a GSI with verified boot. $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk) +# Overlays +DEVICE_PACKAGE_OVERLAYS += \ + $(LOCAL_PATH)/overlay-lineage + +PRODUCT_ENFORCE_RRO_TARGETS := * + +PRODUCT_PACKAGES += \ + FrameworksResCommon \ + CarrierConfigResCommon \ + CellBroadcastReceiverResCommon \ + SystemUIResCommon \ + TelecommResCommon \ + TelephonyResCommon \ + WifiResCommon \ + FrameworksResTarget \ + WifiResTarget + # A/B AB_OTA_POSTINSTALL_CONFIG += \ RUN_POSTINSTALL_system=true \ @@ -411,7 +428,6 @@ PRODUCT_PACKAGES += \ vendor.qti.hardware.wifi.supplicant@2.0.vendor \ vendor.qti.hardware.wifi.supplicant@2.1.vendor \ vendor.qti.hardware.wifi.supplicant@2.2.vendor \ - WifiResCommon \ wpa_supplicant \ wpa_supplicant.conf