| <?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. |
| */ |
| --> |
| |
| <!-- These resources are around just to allow their values to be customized |
| for different hardware and product builds. --> |
| <resources> |
| <!-- Software blur is too slow on this device. --> |
| <bool name="config_sf_slowBlur">true</bool> |
| |
| <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION. |
| Please don't copy them, copy anything else. --> |
| |
| <!-- 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 connection type], |
| [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,2,-1,true"</item> |
| <item>"mobile,0,0,1,-1,false"</item> |
| <item>"mobile_mms,2,0,2,60000,false"</item> |
| <item>"mobile_supl,3,0,2,60000,false"</item> |
| <item>"mobile_dun,4,0,5,60000,false"</item> |
| <item>"mobile_hipri,5,0,3,60000,false"</item> |
| <item>"bluetooth,7,7,0,-1,true"</item> |
| <item>"ethernet,9,9,9,-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,false"</item> |
| <item>"wifi_p2p,13,1,0,-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> |
| |
| <!-- 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>"rndis0"</item> |
| </string-array> |
| |
| <!-- Array of allowable ConnectivityManager network types for tethering --> |
| <integer-array translatable="false" name="config_tether_upstream_types"> |
| <item>0</item> |
| <item>1</item> |
| <item>5</item> |
| <item>7</item> |
| </integer-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> |
| </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> |
| </string-array> |
| |
| <!-- Boolean indicating whether the wifi chipset has dual frequency band support --> |
| <bool translatable="false" name="config_wifi_dual_band_support">true</bool> |
| |
| <!-- Component name of the service providing network location support. --> |
| <string name="config_networkLocationProvider">com.google.android.location.NetworkLocationProvider</string> |
| |
| <!-- Component name of the service providing geocoder API support. --> |
| <string name="config_geocodeProvider">com.google.android.location.GeocodeProvider</string> |
| |
| <!-- List of file paths for USB host busses to exclude from USB host support. |
| For example, if the first USB bus on the device is used to communicate |
| with the modem or some other restricted hardware, add "/dev/bus/usb/001/" |
| to this list. If this is empty, no parts of the host USB bus will be excluded. |
| --> |
| <string-array name="config_usbHostBlacklist"> |
| <!-- /dev/bus/usb/002 is the external bus. Exclude the others. |
| NOTE: on stingray 002 is the 3G modem, and the external bus is 003, |
| so we have a different variant of this in the stingray overlay. |
| --> |
| <item>/dev/bus/usb/001</item> |
| </string-array> |
| |
| <!-- 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> |
| |
| <!-- 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>10</item> |
| <item>25</item> |
| <item>50</item> |
| <item>100</item> |
| <item>150</item> |
| <item>200</item> |
| <item>700</item> |
| <item>1300</item> |
| <item>2000</item> |
| <item>3000</item> |
| <item>4000</item> |
| <item>5000</item> |
| <item>6000</item> |
| <item>7000</item> |
| <item>8000</item> |
| <item>9000</item> |
| </integer-array> |
| |
| <!-- Array of output values for LCD backlight corresponding to the LUX values |
| in the config_autoBrightnessLevels array. This array should have size one greater |
| than the size of the config_autoBrightnessLevels array. |
| This must be overridden in platform specific overlays --> |
| <integer-array name="config_autoBrightnessLcdBacklightValues"> |
| <item>32</item> |
| <item>32</item> |
| <item>32</item> |
| <item>32</item> |
| <item>64</item> |
| <item>64</item> |
| <item>95</item> |
| <item>95</item> |
| <item>122</item> |
| <item>149</item> |
| <item>176</item> |
| <item>197</item> |
| <item>228</item> |
| <item>255</item> |
| <item>255</item> |
| <item>255</item> |
| <item>255</item> |
| </integer-array> |
| |
| <!-- Array of output values for button backlight corresponding to the LUX values |
| in the config_autoBrightnessLevels array. This array should have size one greater |
| than the size of the config_autoBrightnessLevels array. |
| This must be overridden in platform specific overlays --> |
| <integer-array name="config_autoBrightnessButtonBacklightValues"> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| <item>0</item> |
| </integer-array> |
| |
| <!-- Minimum screen brightness allowed by the power manager. --> |
| <integer name="config_screenBrightnessDim">10</integer> |
| |
| <!-- This device is not "voice capable"; it's data-only. --> |
| <bool name="config_voice_capable">false</bool> |
| |
| <!-- This device does not allow sms service. --> |
| <bool name="config_sms_capable">false</bool> |
| |
| <!-- Enable puk unlockscreen --> |
| <bool name="config_enable_puk_unlock_screen">true</bool> |
| |
| <!-- Max space (in MB) allocated to DownloadManager to store the downloaded files |
| if they are to be stored in DownloadManager's data dir, |
| which typically is /data/data/com.android.providers.downloads/files. --> |
| <integer name="config_downloadDataDirSize">200</integer> |
| |
| <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> |
| <bool name="config_intrusiveNotificationLed">true</bool> |
| |
| |
| <!-- Base "touch slop" value used by ViewConfiguration as a |
| movement threshold where scrolling should begin. |
| |
| Stingray's touch firmware has its own built-in slop that |
| prevents us from lowering this to the preferred value without |
| causing scroll startup to jump. --> |
| <dimen name="config_viewConfigurationTouchSlop">12dp</dimen> |
| |
| <!-- Array of OEM specific USB mode override config. |
| OEM can override a certain USB mode depending on ro.bootmode. |
| Specify an array of below items to set override rule. |
| [bootmode]:[original USB mode]:[USB mode used]--> |
| <string-array translatable="false" name="config_oemUsbModeOverride"> |
| <item>"bp-tools:mtp:acm,usbnet"</item> |
| <item>"bp-tools:mtp,adb:acm,usbnet,adb"</item> |
| <item>"bp-tools:ptp:acm,usbnet"</item> |
| <item>"bp-tools:ptp,adb:acm,usbnet,adb"</item> |
| <item>"bp-tools:rndis:rndis,acm,usbnet"</item> |
| <item>"bp-tools:rndis,adb:rndis,acm,usbnet,adb"</item> |
| <item>"factorycable:mtp:usbnet"</item> |
| <item>"factorycable:mtp,adb:usbnet,adb"</item> |
| <item>"factorycable:ptp:usbnet"</item> |
| <item>"factorycable:ptp,adb:usbnet,adb"</item> |
| </string-array> |
| </resources> |