whyred: Add initial overlays

This commit is contained in:
Vasishath Kaushal 2018-06-06 20:23:45 +05:30
parent 3b6496a2c8
commit af3342e2d6
11 changed files with 1299 additions and 0 deletions

View file

@ -14,6 +14,12 @@
# limitations under the License.
#
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \

View file

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015-2016 The CyanogenMod Project
2017 The LineageOS 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.
-->
<resources>
<!-- Should we filter any display modes which are unampped? -->
<bool name="config_filterDisplayModes">true</bool>
<!-- All the capabilities of the LEDs on this device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following capabilities present:
LIGHTS_RGB_NOTIFICATION_LED = 1
LIGHTS_RGB_BATTERY_LED = 2
LIGHTS_MULTIPLE_NOTIFICATION_LED = 4 (deprecated)
LIGHTS_PULSATING_LED = 8
LIGHTS_SEGMENTED_BATTERY_LED = 16
LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
LIGHTS_BATTERY_LED = 64
For example, a device with notification and battery lights that supports
pulsating and RGB control would set this config to 75. -->
<integer name="config_deviceLightCapabilities">105</integer>
<integer name="config_deviceHardwareKeys">64</integer>
<integer name="config_deviceHardwareWakeKeys">64</integer>
<bool name="config_haveHigherAspectRatioScreen">true</bool>
</resources>

View file

@ -0,0 +1,414 @@
<?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.
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Flag indicating whether the we should enable the automatic brightness in Settings.
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
<bool name="config_automatic_brightness_available">true</bool>
<!-- Screen brightness used to dim the screen when the user activity
timeout expires. May be less than the minimum allowed brightness setting
that can be set by the user. -->
<integer name="config_screenBrightnessDim">1</integer>
<!-- Default screen brightness setting.
Must be in the range specified by minimum and maximum. -->
<integer name="config_screenBrightnessSettingDefault">128</integer>
<!-- Minimum screen brightness setting allowed by the power manager.
The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
for debouncing the light sensor. Different constants are used to debounce the light sensor
when adapting to brighter or darker environments. This parameter controls how quickly
brightness changes occur in response to an observed change in light level that exceeds the
hysteresis threshold. -->
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">6000</integer>
<!-- The maximum range of gamma adjustment possible using the screen
auto-brightness adjustment setting. -->
<fraction name="config_autoBrightnessAdjustmentMaxGamma">200%</fraction>
<!-- Period of time in which to consider light samples in milliseconds. -->
<integer name="config_autoBrightnessAmbientLightHorizon">16000</integer>
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<bool name="config_unplugTurnsOnScreen">true</bool>
<!-- 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>
<!-- MMS user agent string -->
<string name="config_mms_user_agent" translatable="false">Android-Mms/2.0</string>
<!-- MMS user agent prolfile url -->
<string name="config_mms_user_agent_profile_url" translatable="false"
>http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
<!-- 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>"usb\\d"</item>
<item>"rndis\\d"</item>
</string-array>
<!-- 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>"wlan0"</item>
<item>"wigig0"</item>
</string-array>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
should be empty. -->
<string-array translatable="false" name="config_tether_bluetooth_regexs">
<item>"bnep\\d"</item>
<item>"bt-pan"</item>
</string-array>
<!-- Array of allowable ConnectivityManager network types 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>
<!-- Dhcp range (min, max) to use for tethering purposes -->
<!-- USB is 192.168.42.1 and 255.255.255.0
Wifi is 192.168.43.1 and 255.255.255.0
BT is limited to max default of 5 connections. 192.168.44.1 to 192.168.48.1
with 255.255.255.0
P2P is 192.168.49.1 and 255.255.255.0
Wigig is 192.168.50.1 and 255.255.255.0
Wigig P2P is 192.168.51.1 and 255.255.255.0
-->
<string-array name="config_tether_dhcp_range">
<item>192.168.42.2</item>
<item>192.168.42.254</item>
<item>192.168.43.2</item>
<item>192.168.43.254</item>
<item>192.168.44.2</item>
<item>192.168.44.254</item>
<item>192.168.45.2</item>
<item>192.168.45.254</item>
<item>192.168.46.2</item>
<item>192.168.46.254</item>
<item>192.168.47.2</item>
<item>192.168.47.254</item>
<item>192.168.48.2</item>
<item>192.168.48.254</item>
<item>192.168.49.2</item>
<item>192.168.49.254</item>
<item>192.168.50.2</item>
<item>192.168.50.254</item>
<item>192.168.51.2</item>
<item>192.168.51.254</item>
</string-array>
<!-- 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,4,300000,true</item>
<item>mobile_supl,3,0,2,300000,true</item>
<item>mobile_dun,4,0,2,300000,true</item>
<item>mobile_hipri,5,0,3,300000,true</item>
<item>mobile_fota,10,0,2,300000,true</item>
<item>mobile_ims,11,0,2,300000,true</item>
<item>mobile_cbs,12,0,2,300000,true</item>
<item>bluetooth,7,7,2,-1,true</item>
<item>ethernet,9,9,4,-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>
<item>"9,1"</item>
</string-array>
<!-- Whether WiFi display is supported by this device.
There are many prerequisites for this feature to work correctly.
Here are a few of them:
* The WiFi radio must support WiFi P2P.
* The WiFi radio must support concurrent connections to the WiFi display and
to an access point.
* The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix"
remote submix module. This module is used to record and stream system
audio output to the WiFi display encoder in the media server.
* The remote submix module "audio.r_submix.default" must be installed on the device.
* The device must be provisioned with HDCP keys (for protected content).
-->
<bool name="config_enableWifiDisplay">true</bool>
<!-- Set to true if the wifi display supports compositing content stored
in gralloc protected buffers. For this to be true, there must exist
a protected hardware path for surface flinger to composite and send
protected buffers to the wifi display video encoder.
If this flag is false, we advise applications not to use protected
buffers (if possible) when presenting content to a wifi display because
the content may be blanked.
This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
flag is set for wifi displays.
-->
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
<bool translatable="false" name="config_wifi_dual_band_support">true</bool>
<!-- Boolean indicating whether Hotspot 2.0/Passpoint and ANQP queries is enabled -->
<!-- Boolean indicating whether the wifi chipset has background scan support -->
<bool translatable="false" name="config_wifi_background_scan_support">true</bool>
<!-- Wifi driver supports batched scan -->
<bool translatable="false" name="config_wifi_batched_scan_supported">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>
<!-- Indicate whether closing the lid causes the device to go to sleep and opening
it causes the device to wake up.
The default is false. -->
<bool name="config_lidControlsSleep">true</bool>
<!-- Enables or disables fading edges when marquee is enabled in TextView.
Off by default, since the framebuffer readback used to implement the
fading edges is prohibitively expensive on most GPUs. -->
<bool name="config_ui_enableFadingMarquee">false</bool>
<!-- ComponentName of a dream to show whenever the system would otherwise have
gone to sleep. When the PowerManager is asked to go to sleep, it will instead
try to start this dream if possible. The dream should typically call startDozing()
to put the display into a low power state and allow the application processor
to be suspended. When the dream ends, the system will go to sleep as usual.
Specify the component name or an empty string if none.
Note that doze dreams are not subject to the same start conditions as ordinary dreams.
Doze dreams will run whenever the power manager is in a dozing state. -->
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
<!-- If true, the doze component is not started until after the screen has been
turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
device from the display on/off state.
When false, autosuspend_disable() will be called before the display is turned on
and autosuspend_enable() will be called after the display is turned off.
This mode provides best compatibility for devices using legacy power management
features such as early suspend / late resume.
When true, autosuspend_display() and autosuspend_enable() will be called
independently of whether the display is being turned on or off. This mode
enables the power manager to suspend the application processor while the
display is on.
This resource should be set to "true" when a doze component has been specified
to maximize power savings but not all devices support it.
Refer to autosuspend.h for details.
-->
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
<!-- Power Management: Specifies whether to decouple the interactive state of the
device from the display on/off state.
When false, setInteractive(..., true) will be called before the display is turned on
and setInteractive(..., false) will be called after the display is turned off.
This mode provides best compatibility for devices that expect the interactive
state to be tied to the display state.
When true, setInteractive(...) will be called independently of whether the display
is being turned on or off. This mode enables the power manager to reduce
clocks and disable the touch controller while the display is on.
This resource should be set to "true" when a doze component has been specified
to maximize power savings but not all devices support it.
Refer to power.h for details.
-->
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
May be less than the minimum allowed brightness setting
that can be set by the user. -->
<integer name="config_screenBrightnessDoze">17</integer>
<!-- Whether device supports double tap to wake -->
<bool name="config_supportDoubleTapWake">true</bool>
<!-- Configure mobile tcp buffer sizes in the form:
rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
If no value is found for the rat-name in use, the system default will be applied.
-->
<string-array name="config_mobile_tcp_buffers">
<item>umts:131072,262144,1452032,4096,16384,399360</item>
<item>hspa:131072,262144,2441216,4096,16384,399360</item>
<item>hsupa:131072,262144,2441216,4096,16384,399360</item>
<item>hsdpa:131072,262144,2441216,4096,16384,399360</item>
<item>hspap:131072,262144,2441216,4096,16384,399360</item>
<item>edge:16384,32768,131072,4096,16384,65536</item>
<item>gprs:4096,8192,24576,4096,8192,24576</item>
<item>1xrtt:16384,32768,131070,4096,16384,102400</item>
<item>evdo:131072,262144,1048576,4096,16384,524288</item>
<item>lte:524288,1048576,8388608,262144,524288,4194304</item>
</string-array>
<!-- Configure wifi tcp buffersizes in the form:
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
<string name="config_wifi_tcp_buffers" translatable="false">524288,2097152,8388608,262144,524288,4194304</string>
<!-- Flag specifying whether VoLTE is available on device -->
<bool name="config_device_volte_available">true</bool>
<!-- Flag specifying whether VoLTE should be available for carrier: independent of
carrier provisioning. If false: hard disabled. If true: then depends on carrier
provisioning, availability etc -->
<bool name="config_carrier_volte_available">true</bool>
<!-- Flag specifying whether VoLTE is available on device -->
<bool name="config_device_vt_available">true</bool>
<!-- Enable video pause workaround when enabling/disabling the camera. -->
<bool name="config_useVideoPauseWorkaround">true</bool>
<!-- Flag specifying whether WFC over IMS is available on device -->
<bool name="config_device_wfc_ims_available">true</bool>
<!-- Flag specifying whether WFC over IMS should be available for carrier: independent of
carrier provisioning. If false: hard disabled. If true: then depends on carrier
provisioning, availability etc -->
<bool name="config_carrier_wfc_ims_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>
<!-- Config determines whether to update phone object when voice registration
state changes. Voice radio tech change will always trigger an update of
phone object irrespective of this config -->
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<!-- Is the device capable of hot swapping an ICC Card -->
<bool name="config_hotswapCapable">true</bool>
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
<!-- Integer parameters of the wifi to cellular handover feature
wifi should not stick to bad networks -->
<integer name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-100</integer>
<integer name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz">-100</integer>
<integer name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-100</integer>
<integer name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz">-100</integer>
<!-- Flag indicating if the speed up audio on mt call code should be executed -->
<bool name="config_speed_up_audio_on_mt_calls">true</bool>
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>28</item>
<item>10</item>
</integer-array>
<!-- Vibrator pattern for feedback about touching a virtual key -->
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>28</item>
<item>8</item>
</integer-array>
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
<integer-array name="config_keyboardTapVibePattern">
<item>28</item>
</integer-array>
<!-- Control the behavior when the user long presses the home button.
0 - Nothing
1 - Menu key
2 - Recent apps view in SystemUI
3 - Launch assist intent
4 - Voice Search
5 - In-app Search
This needs to match the constants in
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
-->
<integer name="config_longPressOnHomeBehavior">3</integer>
<!-- Operating volatage for bluetooth controller. 0 by default-->
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>
<!-- Enable overlay for all location components. -->
<string name="config_networkLocationProviderPackageName" translatable="false">com.qualcomm.location</string>
<string name="config_fusedLocationProviderPackageName" translatable="false">com.qualcomm.location</string>
<!-- Define Google play service package for FRP-->
<string name="config_persistentDataPackageName" translatable="false">com.google.android.gms</string>
<!-- Default list of files pinned by the Pinner Service -->
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
<item>"/system/framework/arm64/boot-framework.oat"</item>
<item>"/system/framework/arm64/boot-framework.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/arm64/boot.vdex"</item>
<item>"/system/framework/arm64/boot-core-libart.oat"</item>
<item>"/system/framework/arm64/boot-core-libart.vdex"</item>
</string-array>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool>
</resources>

View file

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<device name="Android">
<item name="none">0</item>
<item name="screen.on">88</item>
<item name="screen.full">300</item>
<array name="cpu.clusters.cores">
<value>4</value>
<value>4</value>
</array>
<array name="cpu.speeds.cluster0">
<value>633600</value>
<value>902400</value>
<value>1113600</value>
<value>1401600</value>
<value>1536000</value>
<value>1612800</value>
</array>
<array name="cpu.active.cluster0">
<value>11</value>
<value>18</value>
<value>34</value>
<value>45</value>
<value>52</value>
<value>56</value>
</array>
<array name="cpu.speeds.cluster1">
<value>1113600</value>
<value>1401600</value>
<value>1747200</value>
<value>1804800</value>
</array>
<array name="cpu.active.cluster1">
<value>75</value>
<value>108</value>
<value>170</value>
<value>193</value>
</array>
<item name="cpu.awake">4</item>
<item name="cpu.idle">3</item>
<item name="battery.capacity">4000</item>
<item name="bluetooth.active">80</item>
<item name="bluetooth.at">2</item>
<item name="bluetooth.on">2</item>
<item name="wifi.on">2</item>
<item name="wifi.active">175</item>
<item name="wifi.scan">180</item>
<item name="dsp.audio">45</item>
<item name="dsp.video">60</item>
<item name="camera.flashlight">200</item>
<item name="camera.avg">550</item>
<item name="gps.on">100</item>
<item name="radio.active">140</item>
<item name="radio.scanning">45</item>
<array name="radio.on">
<value>8</value>
<value>6</value>
</array>
</device>

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2015 The Android Open Source Project
** 2017 The LineageOS 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.
*/
-->
<resources>
<!-- IDs for each color mode. The values must match the corresponding constants in
android.view.Display -->
<integer-array name="color_mode_ids">
<item>0</item>
<item>-1</item>
<item>-1</item>
</integer-array>
</resources>

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 2015, 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.
*/
-->
<resources>
<!-- Set the automatic brightness mode on by default -->
<bool name="def_screen_brightness_automatic_mode">true</bool>
</resources>

View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009-2012 Broadcom Corporation
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>
<bool name="profile_supported_hfpclient">true</bool>
<bool name="profile_supported_avrcp_controller">true</bool>
<bool name="profile_supported_sap">true</bool>
</resources>

View file

@ -0,0 +1,621 @@
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!--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.-->
<carrier_config_list>
<!-- Below are some sample filters for various scenarios.
You can have multiple carrier_config blocks.
blocks for various filters. For more info visit DefaultCarrierConfigService.java
<carrier_config mcc="1234">
//Configs applicable for mcc=1234 and any mnc
</carrier_config>
<carrier_config mcc="1234" mnc="678">
//Configs applicable for mcc=1234 and mnc=678
</carrier_config>
<carrier_config device="msm8996">
//Configs applicable for msms8996.
</carrier_config>-->
<carrier_config>
<boolean name="apn_expand_bool" value="true" />
<boolean name="world_phone_bool" value="true" />
<boolean name="allow_adding_apns_bool" value="true" />
<boolean name="hide_preferred_network_type_bool" value="false" />
<boolean name="show_cdma_choices_bool" value="true" />
<boolean name="allow_video_call_in_low_battery" value="true" />
<boolean name="config_enable_display_14digit_imei" value="false" />
<!-- Determines whether UI extensions for video calls should be used or not -->
<boolean name="video_call_use_ext" value="true" />
<!-- Determines if a customized video ui support is required or not -->
<boolean name="use_custom_video_ui" value="false" />
<boolean name="config_hide_preview_in_vt_confcall" value="false" />
<boolean name="config_carrier_cs_retry_available" value="false" />
<!-- Controls modify call capabilities
FALSE - default capabilities will be retained
TRUE - remove modify call capabilities which will hide modify call button -->
<boolean name="remove_modify_call_capability" value="false" />
<!-- Config to show/hide Video quality toast -->
<boolean name="show_video_quality_toast" value="true"/>
<!-- Config to show/hide call session event toast like player start/stop -->
<boolean name="show_call_session_event_toast" value="true"/>
<!-- Config to show/hide data usage toast -->
<boolean name="show_data_usage_toast" value="true"/>
</carrier_config>
<carrier_config mcc="222" mnc="01">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
</carrier_config>
<carrier_config mcc="405" mnc="840">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="854">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="855">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="856">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="857">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="858">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="859">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="860">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="861">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="862">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="863">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="864">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="865">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="866">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="867">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="868">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="869">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="870">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="871">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="872">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="873">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="405" mnc="874">
<boolean name="config_display_wfc_mode" value="false" />
<int name="carrier_default_wfc_ims_mode_int" value="2" />
<boolean name="video_call_use_ext" value="false" />
<boolean name="use_custom_video_ui" value="true" />
<boolean name="config_hide_preview_in_vt_confcall" value="true" />
<boolean name="config_carrier_specific_network_type_display" value="true"/>
<boolean name="remove_modify_call_capability" value="true" />
<boolean name="config_dds_switch_alert_dialog_supported" value="true"/>
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="450" mnc="05">
<boolean name="allow_video_call_in_low_battery" value="false" />
<boolean name="config_carrier_cs_retry_available" value="true" />
</carrier_config>
<carrier_config mcc="450" mnc="06">
<boolean name="allow_video_call_in_low_battery" value="false" />
</carrier_config>
<carrier_config mcc="450" mnc="08">
<boolean name="allow_video_call_in_low_battery" value="false" />
<boolean name="config_carrier_cs_retry_available" value="true" />
</carrier_config>
<carrier_config mcc="460" mnc="00">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
<boolean name="check_mobile_data_for_cf" value="true" />
<boolean name="config_enable_callbarring_over_ims" value="true" />
<boolean name="config_spn_override_enabled" value="true" />
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
<boolean name="config_disable_clir_over_ut" value="true" />
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="460" mnc="01">
<boolean name="config_spn_override_enabled" value="true" />
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
</carrier_config>
<carrier_config mcc="460" mnc="02">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
<boolean name="check_mobile_data_for_cf" value="true" />
<boolean name="config_enable_callbarring_over_ims" value="true" />
<boolean name="config_spn_override_enabled" value="true" />
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
<boolean name="config_disable_clir_over_ut" value="true" />
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="460" mnc="03">
<boolean name="ascii_7_bit_support_for_long_message" value="true" />
<boolean name="cdma_cw_cf_enabled_bool" value="true" />
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
</carrier_config>
<carrier_config mcc="460" mnc="04">
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
</carrier_config>
<carrier_config mcc="460" mnc="05">
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
<boolean name="config_show_orig_dial_string_for_cdma" value="true" />
</carrier_config>
<carrier_config mcc="460" mnc="06">
<boolean name="config_spn_override_enabled" value="true" />
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
</carrier_config>
<carrier_config mcc="460" mnc="07">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
<boolean name="check_mobile_data_for_cf" value="true" />
<boolean name="config_enable_callbarring_over_ims" value="true" />
<boolean name="config_spn_override_enabled" value="true" />
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
<boolean name="config_disable_clir_over_ut" value="true" />
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="460" mnc="08">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
<boolean name="check_mobile_data_for_cf" value="true" />
<boolean name="config_enable_callbarring_over_ims" value="true" />
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
<boolean name="config_disable_clir_over_ut" value="true" />
<boolean name="show_video_quality_toast" value="false"/>
<boolean name="show_call_session_event_toast" value="false"/>
<boolean name="show_data_usage_toast" value="false"/>
</carrier_config>
<carrier_config mcc="460" mnc="09">
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
</carrier_config>
<carrier_config mcc="460" mnc="10">
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
</carrier_config>
<carrier_config mcc="460" mnc="11">
<boolean name="ascii_7_bit_support_for_long_message" value="true" />
<boolean name="cdma_cw_cf_enabled_bool" value="true" />
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
<boolean name="config_show_orig_dial_string_for_cdma" value="true" />
</carrier_config>
<carrier_config mcc="460" mnc="12">
<boolean name="ascii_7_bit_support_for_long_message" value="true" />
<boolean name="cdma_cw_cf_enabled_bool" value="true" />
<boolean name="allow_emergency_numbers_in_call_log_bool" value="true"/>
<boolean name="config_show_orig_dial_string_for_cdma" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="030">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="070">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="080">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="030">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="150">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="170">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="280">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="380">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="410">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="560">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="680">
<boolean name="config_enable_display_14digit_imei" value="true" />
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="260">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="160">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="200">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="210">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="220">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="230">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="240">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="250">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="270">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="300">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="310">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="490">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="530">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="580">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="590">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="640">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="660">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
<carrier_config mcc="310" mnc="800">
<boolean name="config_enable_mms_with_mobile_data_off" value="true" />
</carrier_config>
</carrier_config_list>

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 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.
-->
<resources>
<!-- Whether to enable ETWS settings (Japan) -->
<bool name="show_etws_settings">true</bool>
<!-- Whether to enable CMAS settings (United States) -->
<bool name="show_cmas_settings">true</bool>
<!-- Whether to enable channel 50 settings (Brazil) -->
<bool name="show_brazil_settings">true</bool>
</resources>

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 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.
-->
<!-- Telecomm resources that may need to be customized
for different hardware or product builds. -->
<resources>
<!-- Flag indicating if the tty is enabled -->
<bool name="tty_enabled">true</bool>
</resources>

View file

@ -0,0 +1,38 @@
<?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.
-->
<!-- NOTE: Many variables that used to be in this file have been migrated to
CarrierConfigManager.java. Please consider whether new variables belong
there before adding to this file. Variables here should be more closely
related to devices than to networks. -->
<!-- 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 hac is enabled -->
<bool name="hac_enabled">true</bool>
<!-- Show enabled lte option for lte device -->
<bool name="config_enabled_lte" translatable="false">true</bool>
<!-- Show Preferred Network Type options in No SIM case -->
<bool name="config_no_sim_display_network_modes">true</bool>
</resources>