summaryrefslogtreecommitdiffstats
path: root/overlay
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2012-02-18 23:16:34 +0100
committercodeworkx <daniel.hillenbrand@codeworkx.de>2012-02-18 23:16:34 +0100
commit0656602a0a0106a16fa9efedb3be6175445c92d8 (patch)
tree6530eac9655c7deab11a87fa8d3700e37979ca79 /overlay
parent5572b135954e2673f3ed55391eee115f3b304714 (diff)
downloaddevice_samsung_n7000-0656602a0a0106a16fa9efedb3be6175445c92d8.zip
device_samsung_n7000-0656602a0a0106a16fa9efedb3be6175445c92d8.tar.gz
device_samsung_n7000-0656602a0a0106a16fa9efedb3be6175445c92d8.tar.bz2
update overlay
Diffstat (limited to 'overlay')
-rwxr-xr-xoverlay/frameworks/base/core/res/res/values/config.xml13
-rw-r--r--overlay/frameworks/base/core/res/res/xml/power_profile.xml69
-rw-r--r--[-rwxr-xr-x]overlay/frameworks/base/core/res/res/xml/storage_list.xml13
3 files changed, 87 insertions, 8 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 6b2a993..e6b5cf5 100755
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -202,4 +202,17 @@
<!-- The default iface on which to monitor data use -->
<string name="config_datause_iface">pdp0</string>
+ <!-- Allow the menu hard key to be disabled in LockScreen on some devices -->
+ <bool name="config_disableMenuKeyInLockScreen">true</bool>
+
+ <!-- CM CHANGES START HERE -->
+
+ <!-- LUN file to be used by legacy USB manager.
+ The existence of this file will be used to determine in the
+ legacy USB manager should be started. -->
+ <string name="config_legacyUmsLunFile">/sys/class/android_usb/f_mass_storage/lun0/file</string>
+
+ <!-- Workaround for devices with broken keyboards -->
+ <bool name="config_forceDisableHardwareKeyboard">true</bool>
+
</resources>
diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
new file mode 100644
index 0000000..e6eb4e4
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+**
+** Copyright 2009, 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.
+*/
+-->
+
+<device name="Android">
+ <!-- All values are in mAh except as noted -->
+ <item name="none">0</item>
+ <item name="screen.on">49</item>
+ <item name="bluetooth.active">142</item>
+ <item name="bluetooth.on">0.3</item>
+ <item name="bluetooth.at">35690</item>
+ <item name="screen.full">260</item>
+ <item name="wifi.on">4</item>
+ <item name="wifi.active">120</item>
+ <item name="wifi.scan">220</item>
+ <item name="dsp.audio">88</item>
+ <item name="dsp.video">88</item>
+ <item name="radio.active">185</item>
+ <!-- The current consumed by the radio when it is scanning for a signal -->
+ <item name="radio.scanning">88</item>
+ <item name="gps.on">50</item>
+ <!-- Current consumed by the radio at different signal strengths, when paging -->
+ <array name="radio.on"> <!-- Strength 0 to BINS-1 -->
+ <value>3.4</value>
+ <value>3.4</value>
+ </array>
+ <!-- Different CPU speeds as reported in
+ /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state -->
+ <array name="cpu.speeds">
+ <value>200000</value>
+ <value>500000</value>
+ <value>800000</value>
+ <value>1000000</value>
+ <value>1200000</value>
+ <value>1400000</value>
+ <value>1600000</value>
+ </array>
+ <!-- Power consumption when CPU is idle -->
+ <item name="cpu.idle">1.4</item>
+ <!-- Power consumption due to wake lock held -->
+ <item name="cpu.awake">44</item>
+ <!-- Power consumption at different speeds -->
+ <array name="cpu.active">
+ <value>55.4</value>
+ <value>82.1</value>
+ <value>113.7</value>
+ <value>140.0</value>
+ <value>170.0</value>
+ <value>200.0</value>
+ <value>230.0</value>
+ </array>
+ <!-- This is the battery capacity in mAh -->
+ <item name="battery.capacity">1650</item>
+</device>
diff --git a/overlay/frameworks/base/core/res/res/xml/storage_list.xml b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
index 376d6e3..0bca789 100755..100644
--- a/overlay/frameworks/base/core/res/res/xml/storage_list.xml
+++ b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
@@ -34,20 +34,17 @@
<StorageList xmlns:android="http://schemas.android.com/apk/res/android">
<storage android:mountPoint="/mnt/sdcard"
- android:storageDescription="@string/storage_usb"
+ android:storageDescription="@string/storage_internal"
android:primary="true"
- android:removable="false"
- android:allowMassStorage="true" />
+ android:removable="false" />
- <storage android:mountPoint="/mnt/extsdcard"
+ <storage android:mountPoint="/mnt/emmc"
android:storageDescription="@string/storage_sd_card"
android:primary="false"
- android:removable="true"
- android:allowMassStorage="true" />
+ android:removable="true" />
<storage android:mountPoint="/mnt/usbdisk"
android:storageDescription="@string/storage_usb"
android:primary="false"
- android:removable="true"
- android:allowMassStorage="true" />
+ android:removable="true" />
</StorageList>