sm8250-common -> sm7325-common
This commit is contained in:
parent
5404d41486
commit
95b667c5b9
74 changed files with 4210 additions and 3942 deletions
1
resource-overlay/lahaina/Android.mk
Normal file
1
resource-overlay/lahaina/Android.mk
Normal file
|
|
@ -0,0 +1 @@
|
|||
include $(call all-subdir-makefiles)
|
||||
14
resource-overlay/lahaina/Frameworks/Android.mk
Normal file
14
resource-overlay/lahaina/Frameworks/Android.mk
Normal file
|
|
@ -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)
|
||||
8
resource-overlay/lahaina/Frameworks/AndroidManifest.xml
Normal file
8
resource-overlay/lahaina/Frameworks/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Copyright (c) 2019, Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="android.overlay.target">
|
||||
<overlay android:targetPackage="android" android:isStatic="true" android:priority="500"/>
|
||||
</manifest>
|
||||
50
resource-overlay/lahaina/Frameworks/NOTICE
Normal file
50
resource-overlay/lahaina/Frameworks/NOTICE
Normal file
|
|
@ -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.
|
||||
88
resource-overlay/lahaina/Frameworks/res/values/config.xml
Normal file
88
resource-overlay/lahaina/Frameworks/res/values/config.xml
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted 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.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
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
|
||||
-->
|
||||
<resources>
|
||||
<!-- List of regexpressions describing the interface (if any) that represent tetherable
|
||||
Wifi interfaces. If the device doesn't want to support tethering over Wifi this
|
||||
should be empty. An example would be "softap.*" -->
|
||||
<string-array translatable="false" name="config_tether_wifi_regexs">
|
||||
<item>"softap0"</item>
|
||||
<item>"wigig0"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Average Current for bluetooth controller when idle. 0 by default-->
|
||||
<integer translatable="false" name="config_bluetooth_idle_cur_ma">6</integer>
|
||||
|
||||
<!-- Average Current for bluetooth controller when receiving. 0 by default-->
|
||||
<integer translatable="false" name="config_bluetooth_rx_cur_ma">28</integer>
|
||||
|
||||
<!-- Average Current for bluetooth controller when transmitting. 0 by default-->
|
||||
<integer translatable="false" name="config_bluetooth_tx_cur_ma">36</integer>
|
||||
|
||||
<!-- Operating volatage for bluetooth controller. 0 by default-->
|
||||
<integer translatable="false" name="config_bluetooth_operating_voltage_mv">3700</integer>
|
||||
|
||||
|
||||
<!-- WPA3 sap mode is supported on this device. -->
|
||||
<bool name="config_wifi_wap3_sap_mode_enabled">true</bool>
|
||||
|
||||
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
|
||||
on the headphone/microphone jack. When false use the older uevent framework -->
|
||||
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||
|
||||
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
|
||||
autodetected from the Configuration. -->
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
|
||||
<!-- Package names to use with vendor iwlan implementation. -->
|
||||
<string name="config_wlan_data_service_package" translatable="false">vendor.qti.iwlan</string>
|
||||
<string name="config_wlan_network_service_package" translatable="false">vendor.qti.iwlan</string>
|
||||
<string name="config_qualified_networks_service_package" translatable="false">vendor.qti.iwlan</string>
|
||||
|
||||
<!-- Default list of files pinned by the Pinner Service -->
|
||||
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
|
||||
<item>"/apex/com.android.art/javalib/core-oj.jar"</item>
|
||||
<item>"/apex/com.android.art/javalib/core-libart.jar"</item>
|
||||
<item>"/apex/com.android.media/javalib/updatable-media.jar"</item>
|
||||
<item>"/system/framework/framework.jar"</item>
|
||||
<item>"/system/framework/services.jar"</item>
|
||||
<item>"/system/bin/surfaceflinger"</item>
|
||||
<item>"/system_ext/priv-app/SystemUI/SystemUI.apk"</item>
|
||||
<item>"/vendor/lib64/libcamxexternalformatutils.so"</item>
|
||||
<item>"/vendor/lib64/libipebpsstriping.so"</item>
|
||||
<item>"/vendor/lib64/libCB.so"</item>
|
||||
<item>"/vendor/lib64/libgsl.so"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Should the pinner service pin the Camera application? -->
|
||||
<bool name="config_pinnerCameraApp">true</bool>
|
||||
|
||||
<!-- Should the pinner service pin the Home application? -->
|
||||
<bool name="config_pinnerHomeApp">true</bool>
|
||||
</resources>
|
||||
246
resource-overlay/lahaina/Frameworks/res/xml/power_profile.xml
Normal file
246
resource-overlay/lahaina/Frameworks/res/xml/power_profile.xml
Normal file
|
|
@ -0,0 +1,246 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Copyright (c) 2016, The Linux Foundation. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted 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.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
|
||||
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
|
||||
-->
|
||||
|
||||
|
||||
<device name="Android">
|
||||
<!-- Most values are the incremental current used by a feature,
|
||||
in mA (measured at nominal voltage).
|
||||
The default values are deliberately incorrect dummy values.
|
||||
OEM's must measure and provide actual values before
|
||||
shipping a device.
|
||||
Example real-world values are given in comments, but they
|
||||
are totally dependent on the platform and can vary
|
||||
significantly, so should be measured on the shipping platform
|
||||
with a power meter. -->
|
||||
<item name="none">0</item>
|
||||
<item name="screen.on">119.79</item> <!-- ~200mA -->
|
||||
<item name="screen.full">430</item> <!-- ~300mA -->
|
||||
|
||||
<!-- A list of heterogeneous CPU clusters, where the value for each cluster represents the
|
||||
number of CPU cores for that cluster.
|
||||
|
||||
Ex:
|
||||
<array name="cpu.clusters.cores">
|
||||
<value>4</value> // cluster 0 has cpu0, cpu1, cpu2, cpu3
|
||||
<value>4</value> // cluster 1 has cpu4, cpu5, cpu6, cpu7
|
||||
</array> -->
|
||||
<array name="cpu.clusters.cores">
|
||||
<value>4</value> <!-- cluster 0 has cpu0, cpu1, cpu2, cpu3 -->
|
||||
<value>4</value> <!-- cluster 1 has cpu4, cpu5, cpu6, cpu7 -->
|
||||
</array>
|
||||
|
||||
<!-- Different CPU speeds for cluster 0 as reported in
|
||||
/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state.
|
||||
|
||||
There must be one of these for each cluster, labeled:
|
||||
cpu.speeds.cluster0, cpu.speeds.cluster1, etc... -->
|
||||
<array name="cpu.core_speeds.cluster0">
|
||||
<value>518400</value> <!-- 518.4 MHz CPU speed -->
|
||||
<value>614400</value> <!-- 614.4 MHz CPU speed -->
|
||||
<value>691200</value> <!-- 691.2 MHz CPU speed -->
|
||||
<value>787200</value> <!-- 787.2 MHz CPU speed -->
|
||||
<value>883200</value> <!-- 883.2 MHz CPU speed -->
|
||||
<value>979200</value> <!-- 979.2 MHz CPU speed -->
|
||||
<value>1075200</value> <!-- 1075.2 MHz CPU speed -->
|
||||
<value>1171200</value> <!-- 1171.2 MHz CPU speed -->
|
||||
<value>1248000</value> <!-- 1248 MHz CPU speed -->
|
||||
<value>1344000</value> <!-- 1344 MHz CPU speed -->
|
||||
<value>1420800</value> <!-- 1420.8 MHz CPU speed -->
|
||||
<value>1516800</value> <!-- 1516.8 MHz CPU speed -->
|
||||
<value>1612800</value> <!-- 1612.8 MHz CPU speed -->
|
||||
<value>1708800</value> <!-- 1708.8 MHz CPU speed -->
|
||||
<value>1804800</value> <!-- 1804.8 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Current at each CPU speed for cluster 0, as per 'cpu.speeds.cluster0'.
|
||||
Like cpu.speeds.cluster0, there must be one of these present for
|
||||
each heterogeneous CPU cluster. -->
|
||||
<array name="cpu.core_power.cluster0">
|
||||
<value>7</value> <!-- ~7mA -->
|
||||
<value>8</value> <!-- ~8mA -->
|
||||
<value>10</value> <!-- ~10mA -->
|
||||
<value>11</value> <!-- ~11mA -->
|
||||
<value>12</value> <!-- ~12mA -->
|
||||
<value>13</value> <!-- ~13mA -->
|
||||
<value>15</value> <!-- ~15mA -->
|
||||
<value>16</value> <!-- ~16mA -->
|
||||
<value>17</value> <!-- ~17mA -->
|
||||
<value>19</value> <!-- ~19mA -->
|
||||
<value>21</value> <!-- ~21mA -->
|
||||
<value>23</value> <!-- ~23mA -->
|
||||
<value>25</value> <!-- ~25mA -->
|
||||
<value>29</value> <!-- ~29mA -->
|
||||
<value>31</value> <!-- ~31mA -->
|
||||
</array>
|
||||
|
||||
<array name="cpu.core_speeds.cluster1">
|
||||
<value>710400</value> <!-- 710.4 MHz CPU speed -->
|
||||
<value>825600</value> <!-- 825.6 MHz CPU speed -->
|
||||
<value>844800</value> <!-- 844.8 MHz CPU speed -->
|
||||
<value>940800</value> <!-- 940.8 MHz CPU speed -->
|
||||
<value>960000</value> <!-- 960.0 MHz CPU speed -->
|
||||
<value>1056000</value> <!-- 1056 MHz CPU speed -->
|
||||
<value>1075200</value> <!-- 1075.2 MHz CPU speed -->
|
||||
<value>1171200</value> <!-- 1171.2 MHz CPU speed -->
|
||||
<value>1190400</value> <!-- 1190.4 MHz CPU speed -->
|
||||
<value>1286400</value> <!-- 1286.4 MHz CPU speed -->
|
||||
<value>1305600</value> <!-- 1305.6 MHz CPU speed -->
|
||||
<value>1382400</value> <!-- 1382.4 MHz CPU speed -->
|
||||
<value>1401600</value> <!-- 1401.6 MHz CPU speed -->
|
||||
<value>1478400</value> <!-- 1478.4 MHz CPU speed -->
|
||||
<value>1516800</value> <!-- 1516.8 MHz CPU speed -->
|
||||
<value>1574400</value> <!-- 1574.4 MHz CPU speed -->
|
||||
<value>1632000</value> <!-- 1632.0 MHz CPU speed -->
|
||||
<value>1670400</value> <!-- 1670.4 MHz CPU speed -->
|
||||
<value>1747200</value> <!-- 1747.2 MHz CPU speed -->
|
||||
<value>1766400</value> <!-- 1766.4 MHz CPU speed -->
|
||||
<value>1862400</value> <!-- 1862.4 MHz CPU speed -->
|
||||
<value>1958400</value> <!-- 1958.4 MHz CPU speed -->
|
||||
<value>1977600</value> <!-- 1977.6 MHz CPU speed -->
|
||||
<value>2054400</value> <!-- 2954.4 MHz CPU speed -->
|
||||
<value>2073600</value> <!-- 2073.6 MHz CPU speed -->
|
||||
<value>2150400</value> <!-- 2150.4 MHz CPU speed -->
|
||||
<value>2169600</value> <!-- 2169.6 MHz CPU speed -->
|
||||
<value>2246400</value> <!-- 2246.4 MHz CPU speed -->
|
||||
<value>2265600</value> <!-- 2265.6 MHz CPU speed -->
|
||||
<value>2342400</value> <!-- 2342.4 MHz CPU speed -->
|
||||
<value>2361600</value> <!-- 2361.6 MHz CPU speed -->
|
||||
<value>2419200</value> <!-- 2419.2 MHz CPU speed -->
|
||||
<value>2457600</value> <!-- 2457.6 MHz CPU speed -->
|
||||
<value>2553600</value> <!-- 2553.6 MHz CPU speed -->
|
||||
<value>2649600</value> <!-- 2649.6 MHz CPU speed -->
|
||||
<value>2745600</value> <!-- 2745.6 MHz CPU speed -->
|
||||
<value>2841600</value> <!-- 2841.6 MHz CPU speed -->
|
||||
</array>
|
||||
|
||||
<!-- Current at each CPU speed for cluster 1, as per 'cpu.speeds.cluster1'.
|
||||
Like cpu.speeds.cluster1, there must be one of these present for
|
||||
each heterogeneous CPU cluster. -->
|
||||
<array name="cpu.core_power.cluster1">
|
||||
<value>30</value> <!-- ~30mA -->
|
||||
<value>37</value> <!-- ~37mA -->
|
||||
<value>53</value> <!-- ~53mA -->
|
||||
<value>45</value> <!-- ~45mA -->
|
||||
<value>61</value> <!-- ~61mA -->
|
||||
<value>51</value> <!-- ~51mA -->
|
||||
<value>67</value> <!-- ~67mA -->
|
||||
<value>60</value> <!-- ~60mA -->
|
||||
<value>76</value> <!-- ~76mA -->
|
||||
<value>68</value> <!-- ~68mA -->
|
||||
<value>88</value> <!-- ~88mA -->
|
||||
<value>72</value> <!-- ~72mA -->
|
||||
<value>92</value> <!-- ~92mA -->
|
||||
<value>81</value> <!-- ~81mA -->
|
||||
<value>102</value> <!-- ~102mA -->
|
||||
<value>94</value> <!-- ~94mA -->
|
||||
<value>116</value> <!-- ~116mA -->
|
||||
<value>100</value> <!-- ~100mA -->
|
||||
<value>129</value> <!-- ~129mA -->
|
||||
<value>109</value> <!-- ~109mA -->
|
||||
<value>133</value> <!-- ~133mA -->
|
||||
<value>141</value> <!-- ~141mA -->
|
||||
<value>168</value> <!-- ~168mA -->
|
||||
<value>149</value> <!-- ~149mA -->
|
||||
<value>182</value> <!-- ~182mA -->
|
||||
<value>163</value> <!-- ~163mA -->
|
||||
<value>224</value> <!-- ~224mA -->
|
||||
<value>180</value> <!-- ~180mA -->
|
||||
<value>233</value> <!-- ~233mA -->
|
||||
<value>198</value> <!-- ~198mA -->
|
||||
<value>240</value> <!-- ~240mA -->
|
||||
<value>209</value> <!-- ~209mA -->
|
||||
<value>249</value> <!-- ~249mA -->
|
||||
<value>272</value> <!-- ~272mA -->
|
||||
<value>295</value> <!-- ~295mA -->
|
||||
<value>330</value> <!-- ~330mA -->
|
||||
<value>366</value> <!-- ~366mA -->
|
||||
</array>
|
||||
|
||||
<!-- Current when CPU is active -->
|
||||
<item name="cpu.active">7.6</item>
|
||||
<!-- Current when CPU is idle -->
|
||||
<item name="cpu.idle">0.1</item>
|
||||
<!-- Current when CPU is suspend -->
|
||||
<item name="cpu.suspend">0</item>
|
||||
|
||||
<!-- This is the battery capacity in mAh (measured at nominal voltage) -->
|
||||
<item name="battery.capacity">3550</item>
|
||||
|
||||
<item name="wifi.on">0.1</item> <!-- ~3mA -->
|
||||
<item name="wifi.active">168</item> <!-- WIFI data transfer, ~200mA -->
|
||||
<item name="wifi.scan">1.3</item> <!-- WIFI network scanning, ~100mA -->
|
||||
|
||||
<item name="dsp.audio">24</item> <!-- ~10mA -->
|
||||
<item name="dsp.video">63</item> <!-- ~50mA -->
|
||||
|
||||
<item name="camera.flashlight">650</item> <!-- Avg. power for camera flash, ~160mA -->
|
||||
<item name="camera.avg">380</item> <!-- Avg. power use of camera in standard usecases, ~550mA -->
|
||||
|
||||
<item name="gps.on">10</item> <!-- ~50mA -->
|
||||
|
||||
<item name="radio.active">168</item> <!-- ~200mA -->
|
||||
<item name="radio.scanning">6</item>
|
||||
<array name="radio.on"> <!-- Strength 0 to BINS-1 -->
|
||||
<value>88</value> <!-- ~2mA -->
|
||||
<value>8</value> <!-- ~1mA -->
|
||||
</array>
|
||||
|
||||
<item name="modem.controller.idle">6</item>
|
||||
<item name="modem.controller.rx">180</item>
|
||||
<item name="modem.controller.tx">186</item>
|
||||
<item name="modem.controller.voltage">3700</item>
|
||||
|
||||
<array name="memory.bandwidths">
|
||||
<value>17</value> <!-- mA for bucket: 100mb/s-1.5 GB/s memory bandwidth -->
|
||||
</array>
|
||||
|
||||
<item name="wifi.controller.idle">1</item>
|
||||
<item name="wifi.controller.rx">152</item>
|
||||
<item name="wifi.controller.tx">190</item>
|
||||
<array name="wifi.controller.tx_levels">1 <!-- mA -->
|
||||
</array>
|
||||
<item name="wifi.controller.voltage">3700</item>
|
||||
|
||||
<array name="wifi.batchedscan"> <!-- mA -->
|
||||
<value>.0001</value> <!-- 1-8/hr -->
|
||||
<value>.001</value> <!-- 9-64/hr -->
|
||||
<value>.01</value> <!-- 65-512/hr -->
|
||||
<value>.1</value> <!-- 513-4,096/hr -->
|
||||
<value>1</value> <!-- 4097-/hr -->
|
||||
</array>
|
||||
|
||||
<item name="bluetooth.active">135</item> <!-- Bluetooth data transfer, ~56mA -->
|
||||
<item name="bluetooth.on">0.6</item> <!-- Bluetooth on & connectable, but not connected, ~0.1mA -->
|
||||
<item name="bluetooth.controller.voltage">3700</item>
|
||||
|
||||
</device>
|
||||
14
resource-overlay/lahaina/Wifi/Android.mk
Normal file
14
resource-overlay/lahaina/Wifi/Android.mk
Normal file
|
|
@ -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)
|
||||
8
resource-overlay/lahaina/Wifi/AndroidManifest.xml
Normal file
8
resource-overlay/lahaina/Wifi/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--Copyright (c) 2020, Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.wifi.resources.overlay.target">
|
||||
<overlay android:targetPackage="com.android.wifi.resources" android:targetName = "WifiCustomization" android:isStatic="true" android:priority="500"/>
|
||||
</manifest>
|
||||
23
resource-overlay/lahaina/Wifi/res/values/config.xml
Normal file
23
resource-overlay/lahaina/Wifi/res/values/config.xml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (c) 2020 Qualcomm Technologies, Inc.
|
||||
All Rights Reserved.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AX for softap -->
|
||||
<bool translatable="false" name="config_wifiSoftapIeee80211axSupported">true</bool>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AX single user beamformer for softap -->
|
||||
<bool translatable="false" name="config_wifiSoftapHeSuBeamformerSupported">true</bool>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AX single user beamformee for softap -->
|
||||
<bool translatable="false" name="config_wifiSoftapHeSuBeamformeeSupported">true</bool>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AX multiple user beamformer for softap -->
|
||||
<bool translatable="false" name="config_wifiSoftapHeMuBeamformerSupported">true</bool>
|
||||
|
||||
<!-- Wifi driver supports IEEE80211AX TWT (Target Wake Time) for softap -->
|
||||
<bool translatable="false" name="config_wifiSoftapHeTwtSupported">true</bool>
|
||||
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue