sanders: BRINGUP A NEW LINEAGE TREE

Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
chirayu19091997
2018-12-15 14:27:53 +00:00
committed by ronaxdevil
parent 54422cfb9b
commit 9910e9f435
68 changed files with 1035 additions and 670 deletions

View File

@@ -23,50 +23,41 @@
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
<bool name="config_automatic_brightness_available">true</bool>
<!-- Minimum screen brightness setting allowed by the power manager.
The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">3</integer>
<!-- Default screen brightness setting.
Must be in the range specified by minimum and maximum. -->
<integer name="config_screenBrightnessSettingDefault">88</integer>
<!-- Indicate whether to allow the device to suspend when the screen is off
due to the proximity sensor. This resource should only be set to true
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
Otherwise, the device may fail to wake out of suspend reliably.
The default is false. -->
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N 1 zones as follows:
Zone 0: 0 <= LUX < array[0]
Zone 1: array[0] <= LUX < array[1]
...
Zone N: array[N - 1] <= LUX < array[N]
Zone N + 1 array[N] <= LUX < infinity
Must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLevels">
<item>2</item>
<item>10</item>
<item>1</item>
<item>6</item>
<item>12</item>
<item>25</item>
<item>50</item>
<item>90</item>
<item>100</item>
<item>150</item>
<item>200</item>
<item>300</item>
<item>400</item>
<item>80</item>
<item>120</item>
<item>175</item>
<item>250</item>
<item>350</item>
<item>500</item>
<item>800</item>
<item>750</item>
<item>1000</item>
<item>1300</item>
<item>1400</item>
<item>2000</item>
<item>3000</item>
<item>4000</item>
<item>8000</item>
<item>3500</item>
<item>6000</item>
<item>10000</item>
<item>15000</item>
<item>20000</item>
<item>30000</item>
<item>65535</item>
</integer-array>
<!-- Array of output values for LCD backlight corresponding to the LUX values
@@ -75,25 +66,29 @@
This must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>3</item>
<item>11</item>
<item>40</item>
<item>62</item>
<item>74</item>
<item>85</item>
<item>102</item>
<item>102</item>
<item>102</item>
<item>102</item>
<item>128</item>
<item>7</item>
<item>10</item>
<item>13</item>
<item>16</item>
<item>22</item>
<item>28</item>
<item>34</item>
<item>43</item>
<item>52</item>
<item>61</item>
<item>72</item>
<item>83</item>
<item>94</item>
<item>105</item>
<item>117</item>
<item>129</item>
<item>141</item>
<item>153</item>
<item>170</item>
<item>166</item>
<item>179</item>
<item>238</item>
<item>255</item>
<item>255</item>
<item>255</item>
<item>256</item>
<item>192</item>
<item>205</item>
<item>218</item>
</integer-array>
<!-- Vibrator pattern for feedback about a long screen/key press -->
@@ -241,19 +236,8 @@
<!-- Default LED off time for notification LED in milliseconds. -->
<integer name="config_defaultNotificationLedOff">5000</integer>
<!-- Is the battery LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveBatteryLed">true</bool>
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveNotificationLed">true</bool>
<!-- Does the battery LED support multiple colors?
Used to decide if the user can change the colors -->
<bool name="config_multiColorBatteryLed">false</bool>
<!-- Do the battery/notification LEDs support pulsing?
Used to decide if we show pulse settings -->
<bool name="config_ledCanPulse">true</bool>
<!-- Default color for notification LED is white. -->
<color name="config_defaultNotificationColor">#ff0000ff</color>
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<bool name="config_unplugTurnsOnScreen">true</bool>
@@ -297,7 +281,7 @@
<bool name="config_enableMultiUserUI">true</bool>
<!-- Indicate whether the SD card is accessible without removing the battery. -->
<bool name="config_batterySdCardAccessibility">true</bool>
<bool name="config_batterySdCardAccessibility">false</bool>
<!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
autodetected from the Configuration. -->
@@ -322,8 +306,8 @@
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
<!-- Disable AOD by default -->
<bool name="config_dozeAlwaysOnEnabled">false</bool>
<!-- Enable doze powersaving -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- Power Management: Specifies whether to decouple the interactive state of the
device from the display on/off state.
@@ -362,29 +346,21 @@
provisioning, availability etc -->
<bool name="config_carrier_wfc_ims_available">true</bool>
<!-- Flag specifying whether VT is available on device -->
<bool name="config_device_vt_available">true</bool>
<!-- ImsService package name to bind to by default, if config_dynamic_bind_ims is true -->
<string name="config_ims_package">org.codeaurora.ims</string>
<!-- Flag specifying whether or not IMS will use the ImsResolver dynamically -->
<bool name="config_dynamic_bind_ims">true</bool>
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<!-- Whether device supports double tap to wake -->
<bool name="config_supportDoubleTapWake">false</bool>
<!-- Paths to the libraries that contain device specific key handlers -->
<string-array name="config_deviceKeyHandlerLibs" translatable="false">
<item>/vendor/app/MotoActions/MotoActions.apk</item>
</string-array>
<!-- Indicate whether to allow the device to suspend when the screen is off
due to the proximity sensor. This resource should only be set to true
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
Otherwise, the device may fail to wake out of suspend reliably.
The default is false. -->
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
<string-array name="config_deviceKeyHandlerClasses" translatable="false">
<item>com.moto.actions.KeyHandler</item>
</string-array>
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
<bool name="config_intrusiveNotificationLed">true</bool>
<!-- Default value for proximity check on screen wake
NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)-->
@@ -411,33 +387,38 @@
<!-- Default files to pin via Pinner Service -->
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
<item>"/system/framework/arm64/boot-core-libart.oat"</item>
<item>"/system/framework/arm64/boot-framework.oat"</item>
<item>"/system/framework/arm64/boot.oat"</item>
<item>"/system/framework/boot-core-libart.vdex"</item>
<item>"/system/framework/boot-framework.vdex"</item>
<item>"/system/framework/boot.vdex"</item>
<item>"/system/framework/oat/arm64/services.odex"</item>
<item>"/system/framework/oat/arm64/services.vdex"</item>
<item>"/system/framework/arm64/boot.oat"</item>
<item>"/system/framework/boot.vdex"</item>
<item>"/system/framework/arm64/boot-core-libart.oat"</item>
<item>"/system/framework/boot-core-libart.vdex"</item>
</string-array>
<!-- Should the pinner service pin the Camera application? -->
<bool name="config_pinnerCameraApp">true</bool>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool>
<!-- enable doze powersaving mode -->
<bool name="config_enableAutoPowerModes">true</bool>
<!-- If this is true, device supports Sustained Performance Mode. -->
<bool name="config_sustainedPerformanceModeSupported">true</bool>
<!-- Whether the always on display mode is available. -->
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<!-- Whether the display blanks itself when transitioning from a doze to a non-doze state -->
<!-- Whether the display blanks itself when transition from a doze to a non-doze state -->
<bool name="config_displayBlanksAfterDoze">true</bool>
<!-- Whether device has turbo power charging support -->
<bool name="config_hasTurboPowerCharger">true</bool>
<!-- ImsService package name to bind to by default, if config_dynamic_bind_ims is true -->
<string name="config_ims_package">org.codeaurora.ims</string>
<!-- Flag specifying whether or not IMS will use the ImsResolver dynamically -->
<bool name="config_dynamic_bind_ims">true</bool>
<!-- Whether or not swipe up gesture's opt-in setting is available on this device -->
<bool name="config_swipe_up_gesture_setting_available">true</bool>
<!-- Flag indicating whether we should enable smart battery. -->
<bool name="config_smart_battery_available">true</bool>
</resources>

View File

@@ -1,66 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="none">0</item>
<item name="screen.on">93</item>
<item name="screen.full">216.4</item>
<item name="wifi.on">.6</item>
<item name="wifi.active">103.6</item>
<item name="wifi.scan">33.7</item>
<item name="camera.avg">678.6</item>
<item name="camera.flashlight">172</item>
<item name="gps.on">37</item>
<item name="radio.active">343.4</item>
<item name="radio.scanning">33.3</item>
<item name="screen.on">98.648</item>
<item name="screen.full">193.430</item>
<item name="wifi.on">1.075</item>
<item name="wifi.active">41.638</item>
<item name="wifi.scan">4.446</item>
<item name="camera.flashlight">40.478</item>
<item name="camera.avg">570.594</item>
<item name="gps.on">19.646</item>
<item name="radio.active">182.518</item>
<item name="radio.scanning">41.395</item>
<array name="radio.on">
<value>29</value>
<value>35.5</value>
<value>35</value>
<value>30</value>
<value>25</value>
<value>20</value>
<value>15</value>
<value>10</value>
<value>5</value>
<value>2</value>
<value>3.5</value>
</array>
<item name="modem.controller.idle">8.309</item>
<item name="modem.controller.rx">170.273</item>
<item name="modem.controller.tx">146.062</item>
<item name="modem.controller.voltage">866.419</item>
<item name="bluetooth.controller.idle">1.133</item>
<item name="bluetooth.controller.rx">26.438</item>
<item name="bluetooth.controller.tx">63.683</item>
<item name="bluetooth.controller.voltage">112.528</item>
<array name="cpu.clusters.cores">
<value>4</value>
<value>4</value>
<value>8</value>
</array>
<array name="cpu.speeds.cluster0">
<value>652800</value>
<value>1036800</value>
<value>1401600</value>
<value>1689600</value>
<value>1843200</value>
<value>1804800</value>
<value>1958400</value>
<value>2016000</value>
</array>
<array name="cpu.active.cluster0">
<value>35</value>
<value>45.4</value>
<value>60</value>
<value>77.5</value>
<value>96</value>
<value>105</value>
<value>112</value>
<value>33.802</value>
<value>46.767</value>
<value>59.310</value>
<value>78.318</value>
<value>99.180</value>
<value>112.014</value>
<value>118.914</value>
</array>
<array name="cpu.speeds.cluster1">
<value>652800</value>
<value>1036800</value>
<value>1401600</value>
<value>1689600</value>
<value>1843200</value>
<value>1958400</value>
<value>2016000</value>
</array>
<array name="cpu.active.cluster1">
<value>35</value>
<value>45.4</value>
<value>60</value>
<value>77.5</value>
<value>96</value>
<value>105</value>
<value>112</value>
</array>
<item name="cpu.idle">4</item>
<item name="cpu.awake">7</item>
<item name="cpu.idle">6.198</item>
<item name="battery.capacity">3000</item>
<item name="wifi.controller.idle">0.585</item>
<item name="wifi.controller.rx">65.896</item>
<item name="wifi.controller.tx">130.159</item>
<array name="wifi.controller.tx_levels" />
<item name="wifi.controller.voltage">184.53</item>
</device>