diff options
author | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2014-04-26 16:01:41 +0200 |
---|---|---|
committer | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2014-04-27 02:10:43 +0200 |
commit | 604472bce94efef6fdeae8cc795507007c4325b3 (patch) | |
tree | 943d9b6467758b3ee51cd3a5a710e50d61aab0eb /overlay-radio |
Initial Shinano import
based on rhine-common 7e2a33e
Diffstat (limited to 'overlay-radio')
3 files changed, 147 insertions, 0 deletions
diff --git a/overlay-radio/frameworks/base/core/res/res/values/config.xml b/overlay-radio/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..8890e2a --- /dev/null +++ b/overlay-radio/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + /* +** Copyright 2009, The Android Open Source Project +** Copyright (C) 2013 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> + + <!-- The duration (in milliseconds) that the radio will scan for a signal + when there's no network connection. If the scan doesn't timeout, use zero --> + <integer name="config_radioScanningTimeout">9000</integer> + + <!-- This string array should be overridden by the device to present a list of network + attributes. This is used by the connectivity manager to decide which networks can coexist + based on the hardware --> + <!-- 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,2,60000,true"</item> + <item>"mobile_hipri,5,0,3,60000,true"</item> + <item>"mobile_fota,10,0,2,60000,true"</item> + <item>"mobile_ims,11,0,2,60000,true"</item> + <item>"mobile_cbs,12,0,2,60000,true"</item> + <item>"bluetooth,7,7,2,-1,true"</item> + </string-array> + + <!-- This string array should be overridden by the device to present a list of radio + attributes. This is used by the connectivity manager to decide which networks can coexist + based on the hardware --> + <!-- 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> + + <!-- Boolean indicating if restoring network selection should be skipped --> + <!-- The restoring is handled by modem if it is true --> + <bool translatable="false" name="skip_restoring_network_selection">true</bool> + + <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. --> + <bool name="config_cellBroadcastAppLinks">true</bool> + + <!-- The default iface on which to monitor data use --> + <string name="config_datause_iface" translatable="false">rmnet0</string> + + <!-- National language single shift tables to enable for SMS encoding. + Decoding is always enabled. 3GPP TS 23.038 states that this feature + should not be enabled until a formal request is issued by the relevant + national regulatory body. Array elements are codes from the table above. + Example 1: devices sold in Turkey must include table 1 to conform with + By-Law Number 27230. (http://www.btk.gov.tr/eng/pdf/2009/BY-LAW_SMS.pdf) + Example 2: devices sold in India should include tables 4 through 13 + to enable use of the new Release 9 tables for Indic languages. --> + <integer-array name="config_sms_enabled_single_shift_tables"> + <item>1</item> + </integer-array> + +</resources> diff --git a/overlay-radio/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay-radio/frameworks/base/packages/SystemUI/res/values/config.xml new file mode 100644 index 0000000..8884a5d --- /dev/null +++ b/overlay-radio/frameworks/base/packages/SystemUI/res/values/config.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2009, The Android Open Source Project +** Copyright (C) 2013 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> + + <!-- Control whether status bar should distinguish HSPA data icon form UMTS + data icon on devices --> + <bool name="config_hspa_data_distinguishable">true</bool> + + <!-- Should "4G" be shown instead of "LTE" when the network is + NETWORK_TYPE_LTE? --> + <bool name="config_show4GForLTE">false</bool> + +</resources> diff --git a/overlay-radio/packages/services/Telephony/res/values/config.xml b/overlay-radio/packages/services/Telephony/res/values/config.xml new file mode 100644 index 0000000..8323f76 --- /dev/null +++ b/overlay-radio/packages/services/Telephony/res/values/config.xml @@ -0,0 +1,30 @@ +<?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> + <!-- 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> + + <!-- Flag indicating if the tty is enabled --> + <bool name="tty_enabled">true</bool> + + <!-- Show enabled lte option for lte device --> + <bool name="config_enabled_lte" translatable="false">true</bool> +</resources> |