Advertisement
deadman96385

Overlays

Nov 1st, 2016
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.54 KB | None | 0 0
  1. LTE only
  2.  
  3.  
  4. <!-- The duration (in milliseconds) that the radio will scan for a signal
  5. when there's no network connection. If the scan doesn't timeout, use zero -->
  6. <integer name="config_radioScanningTimeout">0</integer>
  7.  
  8. <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION.
  9. Please don't copy them, copy anything else. -->
  10.  
  11. <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
  12. [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
  13. <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
  14. before automatically restore the default connection. Set -1 if the connection
  15. does not require auto-restore. -->
  16. <!-- the 6th element indicates boot-time dependency-met value. -->
  17. <string-array translatable="false" name="networkAttributes">
  18. <item>"wifi,1,1,1,-1,true"</item>
  19. <item>"mobile,0,0,0,-1,true"</item>
  20. <item>"mobile_mms,2,0,2,140000,true"</item>
  21. <item>"mobile_supl,3,0,2,60000,true"</item>
  22. <item>"mobile_dun,4,0,2,60000,true"</item>
  23. <item>"mobile_hipri,5,0,3,60000,true"</item>
  24. <item>"bluetooth,7,7,0,-1,true"</item>
  25. <item>"ethernet,9,9,2,-1,true"</item>
  26. <item>"mobile_fota,10,0,2,60000,true"</item>
  27. <item>"mobile_ims,11,0,2,-1,true"</item>
  28. <item>"mobile_cbs,12,0,2,60000,true"</item>
  29. <item>"wifi_p2p,13,1,0,-1,true"</item>
  30. <item>"mobile_ia,14,0,2,-1,true"</item>
  31. </string-array>
  32.  
  33. <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
  34. <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
  35. <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
  36. <integer-array translatable="false" name="config_tether_upstream_types">
  37. <item>0</item>
  38. <item>1</item>
  39. <item>4</item>
  40. <item>7</item>
  41. <item>9</item>
  42. </integer-array>
  43.  
  44. <!-- Our modem doesn't support this query yet -->
  45. <string name="config_radio_access_family">GSM|WCDMA|LTE</string>
  46.  
  47. <!-- Hardware keys present on the device, stored as a bit field.
  48. This integer should equal the sum of the corresponding value for each
  49. of the following keys present:
  50. 1 - Home
  51. 2 - Back
  52. 4 - Menu
  53. 8 - Assistant (search)
  54. 16 - App switch
  55. 32 - Camera
  56. 64 - Volume rocker
  57. For example, a device with Home, Back and Menu keys would set this
  58. config to 7. -->
  59. <integer name="config_deviceHardwareKeys">XX</integer>
  60.  
  61. <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
  62. This integer should equal the sum of the corresponding value for each
  63. of the following keys present:
  64. 1 - Home
  65. 2 - Back
  66. 4 - Menu
  67. 8 - Assistant (search)
  68. 16 - App switch
  69. 32 - Camera
  70. 64 - Volume rocker
  71. For example, a device with Home, Back and Menu keys would set this
  72. config to 7. -->
  73. <integer name="config_deviceHardwareWakeKeys">XX</integer>
  74.  
  75.  
  76.  
  77. 3G only
  78.  
  79.  
  80. <!-- The duration (in milliseconds) that the radio will scan for a signal
  81. when there's no network connection. If the scan doesn't timeout, use zero -->
  82. <integer name="config_radioScanningTimeout">0</integer>
  83.  
  84. <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION.
  85. Please don't copy them, copy anything else. -->
  86.  
  87. <!-- This string array should be overridden by the device to present a list of network
  88. attributes. This is used by the connectivity manager to decide which networks can coexist
  89. based on the hardware -->
  90. <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
  91. [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
  92. <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
  93. before automatically restore the default connection. Set -1 if the connection
  94. does not require auto-restore. -->
  95. <!-- the 6th element indicates boot-time dependency-met value. -->
  96. <string-array name="networkAttributes">
  97. <item>"wifi,1,1,1,-1,true"</item>
  98. <item>"mobile,0,0,0,-1,true"</item>
  99. <item>"mobile_mms,2,0,2,240000,true"</item>
  100. <item>"mobile_supl,3,0,2,60000,true"</item>
  101. <item>"mobile_dun,4,0,2,-1,true"</item>
  102. <item>"mobile_hipri,5,0,3,60000,true"</item>
  103. <item>"mobile_fota,10,0,2,60000,true"</item>
  104. <item>"mobile_ims,11,0,2,-1,true"</item>
  105. <item>"mobile_cbs,12,0,2,60000,true"</item>
  106. <item>"wifi_p2p,13,1,0,-1,true"</item>
  107. <item>"bluetooth,7,7,0,-1,true"</item>
  108. <item>"mobile_ent1,28,0,2,-1,true"</item>
  109. <item>"mobile_ent2,29,0,2,-1,true"</item>
  110. <item>"mobile_bip,23,0,2,60000,true"</item>
  111. </string-array>
  112.  
  113. <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
  114. <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
  115. <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
  116. <integer-array translatable="false" name="config_tether_upstream_types">
  117. <item>0</item>
  118. <item>1</item>
  119. <item>4</item>
  120. <item>5</item>
  121. <item>7</item>
  122. <item>9</item>
  123. </integer-array>
  124.  
  125. <!-- The RadioAccessFamilies supported by the device.
  126. Empty is viewed as "all". Only used on devices which
  127. don't support RIL_REQUEST_GET_RADIO_CAPABILITY
  128. format is UMTS|LTE|...
  129. -->
  130. <string translatable="false" name="config_radio_access_family">GSM | WCDMA | GPRS | EDGE</string>
  131.  
  132. <!-- Hardware keys present on the device, stored as a bit field.
  133. This integer should equal the sum of the corresponding value for each
  134. of the following keys present:
  135. 1 - Home
  136. 2 - Back
  137. 4 - Menu
  138. 8 - Assistant (search)
  139. 16 - App switch
  140. 32 - Camera
  141. 64 - Volume rocker
  142. For example, a device with Home, Back and Menu keys would set this
  143. config to 7. -->
  144. <integer name="config_deviceHardwareKeys">XX</integer>
  145.  
  146. <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
  147. This integer should equal the sum of the corresponding value for each
  148. of the following keys present:
  149. 1 - Home
  150. 2 - Back
  151. 4 - Menu
  152. 8 - Assistant (search)
  153. 16 - App switch
  154. 32 - Camera
  155. 64 - Volume rocker
  156. For example, a device with Home, Back and Menu keys would set this
  157. config to 7. -->
  158. <integer name="config_deviceHardwareWakeKeys">XX</integer>
  159.  
  160.  
  161.  
  162.  
  163. WIFI only
  164.  
  165.  
  166.  
  167.  
  168. <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION.
  169. Please don't copy them, copy anything else. -->
  170.  
  171. <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
  172. [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
  173. <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
  174. before automatically restore the default connection. Set -1 if the connection
  175. does not require auto-restore. -->
  176. <!-- the 6th element indicates boot-time dependency-met value. -->
  177. <string-array translatable="false" name="networkAttributes">
  178. <item>"wifi,1,1,1,-1,true"</item>
  179. <item>"bluetooth,7,7,0,-1,true"</item>
  180. <item>"ethernet,9,9,2,-1,true"</item>
  181. <item>"wifi_p2p,13,1,0,-1,true"</item>
  182. </string-array>
  183.  
  184. <!-- This device is not "voice capable"; it's data-only. -->
  185. <bool name="config_voice_capable">false</bool>
  186. <!-- This device does not allow sms service. -->
  187. <bool name="config_sms_capable">false</bool>
  188.  
  189. <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
  190. <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
  191. <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
  192. <integer-array translatable="false" name="config_tether_upstream_types">
  193. <item>0</item>
  194. <item>1</item>
  195. <item>5</item>
  196. <item>7</item>
  197. </integer-array>
  198.  
  199. <!-- Hardware keys present on the device, stored as a bit field.
  200. This integer should equal the sum of the corresponding value for each
  201. of the following keys present:
  202. 1 - Home
  203. 2 - Back
  204. 4 - Menu
  205. 8 - Assistant (search)
  206. 16 - App switch
  207. 32 - Camera
  208. 64 - Volume rocker
  209. For example, a device with Home, Back and Menu keys would set this
  210. config to 7. -->
  211. <integer name="config_deviceHardwareKeys">XX</integer>
  212.  
  213. <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
  214. This integer should equal the sum of the corresponding value for each
  215. of the following keys present:
  216. 1 - Home
  217. 2 - Back
  218. 4 - Menu
  219. 8 - Assistant (search)
  220. 16 - App switch
  221. 32 - Camera
  222. 64 - Volume rocker
  223. For example, a device with Home, Back and Menu keys would set this
  224. config to 7. -->
  225. <integer name="config_deviceHardwareWakeKeys">XX</integer>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement