Skip to content
Browse files

stingray: Cellular config from wingray

Change-Id: I60875888d4d6a960cef6ef2190210174e8bfa26a
  • Loading branch information...
1 parent ad0a1e2 commit 846e5ca4d077c63d763ad3e21a8eaeaf3fb12fd9 @TDR TDR committed with romanbb Jan 6, 2012
Showing with 67 additions and 0 deletions.
  1. +67 −0 overlay/frameworks/base/core/res/res/values/config.xml
View
67 overlay/frameworks/base/core/res/res/values/config.xml
@@ -21,6 +21,73 @@
for different hardware and product builds. -->
<resources>
+ <!-- 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>"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>
+
+ <!-- Enable puk unlockscreen -->
+ <bool name="config_enable_puk_unlock_screen">true</bool>
+
<string-array name="config_usbHostBlacklist">
<!-- /dev/bus/usb/003 is the external bus. Exclude the others.
NOTE: on wingray the external bus is 002, so we override the value

0 comments on commit 846e5ca

Please sign in to comment.
Something went wrong with that request. Please try again.