diff options
| author | sbrissen <sbrissen@hotmail.com> | 2013-06-04 14:19:37 -0400 |
|---|---|---|
| committer | Daniel Hillenbrand <codeworkx@cyanogenmod.org> | 2013-06-06 00:45:58 +0200 |
| commit | 769c90dd55360c3f66b5fbc38c3dde27a10d1623 (patch) | |
| tree | e4ae4fd7c2ddffac488919e4026cb1f7c10b7937 /overlay-cdma | |
| parent | ecbb0ae23687ec54645633b238323ce058764426 (diff) | |
| download | device_samsung_t0lte-769c90dd55360c3f66b5fbc38c3dde27a10d1623.tar.gz device_samsung_t0lte-769c90dd55360c3f66b5fbc38c3dde27a10d1623.tar.bz2 device_samsung_t0lte-769c90dd55360c3f66b5fbc38c3dde27a10d1623.zip | |
t0lte: merge in t0ltecdma
with minor changes to i605, l900, and r950, this will make the
t0ltecdma repo obsolete.
Change-Id: I5b28c956327856f2aa2bbf244a2b3156743d6097
Diffstat (limited to 'overlay-cdma')
7 files changed, 413 insertions, 0 deletions
diff --git a/overlay-cdma/frameworks/base/core/res/res/values/bools.xml b/overlay-cdma/frameworks/base/core/res/res/values/bools.xml new file mode 100644 index 0000000..e9cdf05 --- /dev/null +++ b/overlay-cdma/frameworks/base/core/res/res/values/bools.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2012 The CyanogenMod Project <http://www.cyanogenmod.org> + + 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. +--> + +<resources xmlns:xliff="urnasis:names:tc:xliff:document:1.2 "> + <!-- <bool name="has_powercontrol_widget">true</bool> --> +</resources> diff --git a/overlay-cdma/frameworks/base/core/res/res/values/config.xml b/overlay-cdma/frameworks/base/core/res/res/values/config.xml new file mode 100755 index 0000000..e95be49 --- /dev/null +++ b/overlay-cdma/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,189 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2011, 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. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + + <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be + autodetected from the Configuration. --> + <bool name="config_showNavigationBar">false</bool> + + <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION. + Please don't copy them, copy anything else. --> + + <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx], + [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] --> + <!-- the 5th element "resore-time" indicates the number of milliseconds to delay + before automatically restore the default connection. Set -1 if the connection + does not require auto-restore. --> + <!-- the 6th element indicates boot-time dependency-met value. --> + <string-array translatable="false" name="networkAttributes"> + <item>"wifi,1,1,1,-1,true"</item> + <item>"mobile,0,0,0,-1,true"</item> + <item>"mobile_mms,2,0,2,60000,true"</item> + <item>"mobile_supl,3,0,2,60000,true"</item> + <item>"mobile_dun,4,0,3,60000,true"</item> + <item>"mobile_hipri,5,0,3,60000,true"</item> + <item>"mobile_bluetooth,7,7,1,-1,true"</item> + <item>"mobile_fota,10,0,2,60000,true"</item> + <item>"mobile_ims,11,0,2,-1,true"</item> + <item>"mobile_cbs,12,0,2,60000,true"</item> + <item>"wifi_p2p,13,1,0,-1,true"</item> + </string-array> + + <!-- An Array of "[ConnectivityManager connectionType], + [# simultaneous connection types]" --> + <string-array translatable="false" name="radioAttributes"> + <item>"1,1"</item> + <item>"0,1"</item> + <item>"7,1"</item> + </string-array> + + <!-- List of regexpressions describing the interface (if any) that represent tetherable + USB interfaces. If the device doesn't want to support tething over USB this should + be empty. An example would be "usb.*" --> + <string-array translatable="false" name="config_tether_usb_regexs"> + <item>"usb0"</item> + <item>"rndis0"</item> + </string-array> + + <integer-array name="config_data_usage_network_types"> + <item>0</item> + <item>2</item> + <item>3</item> + <item>4</item> + <item>5</item> + </integer-array> + + <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering --> + <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or + <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH --> + <integer-array translatable="false" name="config_tether_upstream_types"> + <item>0</item> + <item>1</item> + <item>5</item> + <item>7</item> + </integer-array> + + <!-- If the DUN connection for this CDMA device supports more than just DUN --> + <!-- traffic you should list them here. --> + <!-- If this device is not CDMA this is ignored. If this list is empty on --> + <!-- a DUN-requireing CDMA device, the DUN APN will support --> + <!-- just DUN. --> + <string-array translatable="false" name="config_cdma_dun_supported_types"> + <item>"default"</item> + <item>"dun"</item> + <item>"mms"</item> + <item>"supl"</item> + </string-array> + + <!-- The default iface on which to monitor data use --> + <string name="config_datause_iface">rmnet0</string> + + <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> + <bool name="config_intrusiveNotificationLed">true</bool> + + <!-- Is the battery LED intrusive? Used to decide if there should be a disable option --> + <bool name="config_intrusiveBatteryLed">true</bool> + + <!-- Does the battery LED support multiple colors? Used to decide if the user can change the colors --> + <bool name="config_multiColorBatteryLed">true</bool> + +<!-- Vibrator pattern for feedback about a long screen/key press --> + <integer-array name="config_longPressVibePattern"> + <item>0</item> + <item>1</item> + <item>20</item> + <item>21</item> + </integer-array> + + <!-- Vibrator pattern for feedback about touching a virtual key --> + <integer-array name="config_virtualKeyVibePattern"> + <item>0</item> + <item>1</item> + <item>20</item> + <item>21</item> + </integer-array> + + <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap --> + <integer-array name="config_keyboardTapVibePattern"> + <item>20</item> + </integer-array> + + <!-- Vibrator pattern for feedback about booting with safe mode disabled --> + <integer-array name="config_safeModeDisabledVibePattern"> + <item>0</item> + <item>1</item> + <item>20</item> + <item>21</item> + </integer-array> + + <!-- Vibrator pattern for feedback about booting with safe mode disabled --> + <integer-array name="config_safeModeEnabledVibePattern"> + <item>0</item> + <item>1</item> + <item>20</item> + <item>21</item> + <item>500</item> + <item>600</item> + </integer-array> + + <!-- Vibrator pattern for feedback about hitting a scroll barrier --> + <integer-array name="config_scrollBarrierVibePattern"> + <item>0</item> + <item>15</item> + <item>10</item> + <item>10</item> + </integer-array> + + <!-- Default color for notification LED is white. --> + <color name="config_defaultNotificationColor">#ffffffff</color> + + <!-- Default LED on time for notification LED in milliseconds. --> + <integer name="config_defaultNotificationLedOn">1000</integer> + + <!-- Default LED off time for notification LED in milliseconds. --> + <integer name="config_defaultNotificationLedOff">9000</integer> + + <!-- Allow the menu hard key to be disabled in LockScreen on some devices --> + <bool name="config_disableMenuKeyInLockScreen">true</bool> + + <!-- Disable the home key unlock setting --> + <bool name="config_disableHomeUnlockSetting">false</bool> + + <!-- Workaround for devices with broken keyboards --> + <bool name="config_forceDisableHardwareKeyboard">true</bool> + + <!-- Hardware 'face' keys present on the device, stored as a bit field. + This integer should equal the sum of the corresponding value for each + of the following keys present: + 1 - Home + 2 - Back + 4 - Menu + 8 - Assistant (search) + 16 - App switch + For example, a device with Home, Back and Menu keys would set this + config to 7. --> + <integer name="config_deviceHardwareKeys">7</integer> + + <!-- Boolean to enable Stylus gestures --> + <bool name="config_stylusGestures">true</bool> + +</resources> diff --git a/overlay-cdma/frameworks/base/core/res/res/xml/power_profile.xml b/overlay-cdma/frameworks/base/core/res/res/xml/power_profile.xml new file mode 100755 index 0000000..c2c653f --- /dev/null +++ b/overlay-cdma/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">3100</item> +</device> diff --git a/overlay-cdma/frameworks/base/core/res/res/xml/storage_list.xml b/overlay-cdma/frameworks/base/core/res/res/xml/storage_list.xml new file mode 100755 index 0000000..d9247c5 --- /dev/null +++ b/overlay-cdma/frameworks/base/core/res/res/xml/storage_list.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 2011, 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. +*/ +--> + +<!-- The <device> element should contain one or more <storage> elements. + Exactly one of these should have the attribute primary="true". + This storage will be the primary external storage and should have mountPoint="/mnt/sdcard". + Each storage should have both a mountPoint and storageDescription attribute. + The following attributes are optional: + + primary: (boolean) this storage is the primary external storage + removable: (boolean) this is removable storage (for example, a real SD card) + emulated: (boolean) the storage is emulated via the FUSE sdcard daemon + mtpReserve: (integer) number of megabytes of storage MTP should reserve for free storage + (used for emulated storage that is shared with system's data partition) + + A storage should not have both emulated and removable set to true +--> + +<StorageList xmlns:android="http://schemas.android.com/apk/res/android"> + <storage android:mountPoint="/storage/sdcard0" + android:storageDescription="@string/storage_internal" + android:primary="true" + android:emulated="true" + android:mtpReserve="100" /> + + <storage android:mountPoint="/storage/sdcard1" + android:storageDescription="@string/storage_sd_card" + android:primary="false" + android:removable="true" + android:allowMassStorage="true" /> + + <storage android:mountPoint="/storage/usbdisk0" + android:storageDescription="@string/storage_usb" + android:primary="false" + android:removable="true" /> +</StorageList> diff --git a/overlay-cdma/packages/apps/Phone/res/values/config.xml b/overlay-cdma/packages/apps/Phone/res/values/config.xml new file mode 100755 index 0000000..92c6912 --- /dev/null +++ b/overlay-cdma/packages/apps/Phone/res/values/config.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> + +<!-- Phone app resources that may need to be customized + for different hardware or product builds. --> +<resources> + <!-- Determines if device implements a noise suppression device for in call audio--> + <bool name="has_in_call_noise_suppression">true</bool> + + <!-- Audio parameter for setting noise suppression--> + <string name="in_call_noise_suppression_audioparameter">dualmic_enabled=false=true</string> + + <!-- Sprint Message Wait Indicator Quirk + If true, message wait indicators are hidden by default on this device + unless the user enables it in Call Settings. This quirk is necessary + for the "Phantom Voicemail" issue where notifications that are + impossible to dismiss on the Sprint network. --> + <bool name="sprint_mwi_quirk">true</bool> + + <!-- Determine whether calls to mute the microphone in PhoneUtils + are routed through the android.media.AudioManager class (true) or through + the com.android.internal.telephony.Phone interface (false). --> + <bool name="send_mic_mute_to_AudioManager">true</bool> + + <!-- Determine whether we want to display the OTA activation screen, which + gives the user option to activate or cancel --> + <integer name="OtaShowActivationScreen">0</integer> + <!-- Determine whether we should show the "listen for instructions" screen after + successfully placing the OTA call --> + <integer name="OtaShowListeningScreen">1</integer> +</resources> diff --git a/overlay-cdma/packages/apps/Torch/res/values/config.xml b/overlay-cdma/packages/apps/Torch/res/values/config.xml new file mode 100755 index 0000000..d4611e2 --- /dev/null +++ b/overlay-cdma/packages/apps/Torch/res/values/config.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2011, The CyanogenMod 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. +*/ +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources> + <!-- If there is no sysfs-based control mechanism, enable this --> + <bool name="useCameraInterface">false</bool> + + <!-- Full path to the sysfs toggle --> + <string name="flashDevice">/sys/class/camera/flash/rear_flash</string> + + <!-- Lowest setting --> + <integer name="valueOn">1</integer> + <!-- Middle setting --> + <integer name="valueHigh">10</integer> + <!-- Highest setting, leave -1 if it doesn't exist --> + <integer name="valueDeathRay">15</integer> + +</resources> diff --git a/overlay-cdma/packages/apps/Trebuchet/res/values/config.xml b/overlay-cdma/packages/apps/Trebuchet/res/values/config.xml new file mode 100644 index 0000000..9c8718d --- /dev/null +++ b/overlay-cdma/packages/apps/Trebuchet/res/values/config.xml @@ -0,0 +1,3 @@ +<resources> + <integer name="default_cell_count_y">5</integer> +</resources> |
