diff options
Diffstat (limited to 'overlay/frameworks/base/core/res/res/values')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..009fd1f --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/config.xml | |||
@@ -0,0 +1,104 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- | ||
3 | /* | ||
4 | ** Copyright 2011, The Android Open Source Project | ||
5 | ** | ||
6 | ** Licensed under the Apache License, Version 2.0 (the "License"); | ||
7 | ** you may not use this file except in compliance with the License. | ||
8 | ** You may obtain a copy of the License at | ||
9 | ** | ||
10 | ** http://www.apache.org/licenses/LICENSE-2.0 | ||
11 | ** | ||
12 | ** Unless required by applicable law or agreed to in writing, software | ||
13 | ** distributed under the License is distributed on an "AS IS" BASIS, | ||
14 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
15 | ** See the License for the specific language governing permissions and | ||
16 | ** limitations under the License. | ||
17 | */ | ||
18 | --> | ||
19 | |||
20 | <!-- These resources are around just to allow their values to be customized | ||
21 | for different hardware and product builds. --> | ||
22 | <resources> | ||
23 | |||
24 | <!-- This device is not "voice capable"; it's data-only. --> | ||
25 | <bool name="config_voice_capable">false</bool> | ||
26 | |||
27 | <!-- This device does not allow sms service. --> | ||
28 | <bool name="config_sms_capable">false</bool> | ||
29 | |||
30 | <!-- List of regexpressions describing the interface (if any) that represent tetherable | ||
31 | Wifi interfaces. If the device doesn't want to support tethering over Wifi this | ||
32 | should be empty. An example would be "softap.*" --> | ||
33 | <string-array translatable="false" name="config_tether_wifi_regexs"> | ||
34 | <item>"wlan\\d"</item> | ||
35 | </string-array> | ||
36 | |||
37 | <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering --> | ||
38 | <!-- [1,7,9] for TYPE_WIFI, TYPE_BLUETOOTH and TYPE_ETHERNET--> | ||
39 | <integer-array translatable="false" name="config_tether_upstream_types"> | ||
40 | <item>1</item> | ||
41 | <item>7</item> | ||
42 | <item>9</item> | ||
43 | </integer-array> | ||
44 | |||
45 | <!-- This string array should be overridden by the device to present a list of network | ||
46 | attributes. This is used by the connectivity manager to decide which networks can coexist | ||
47 | based on the hardware --> | ||
48 | <!-- An Array of "[Connection name],[ConnectivityManager connection type], | ||
49 | [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] --> | ||
50 | <!-- the 5th element "resore-time" indicates the number of milliseconds to delay | ||
51 | before automatically restore the default connection. Set -1 if the connection | ||
52 | does not require auto-restore. --> | ||
53 | <!-- the 6th element indicates boot-time dependency-met value. --> | ||
54 | <string-array translatable="false" name="networkAttributes"> | ||
55 | <item>"wifi,1,1,1,-1,true"</item> | ||
56 | <item>"bluetooth,7,7,1,-1,true"</item> | ||
57 | <item>"ethernet,9,9,0,-1,true"</item> | ||
58 | </string-array> | ||
59 | |||
60 | <!-- This string array should be overridden by the device to present a list of radio | ||
61 | attributes. This is used by the connectivity manager to decide which networks can coexist | ||
62 | based on the hardware --> | ||
63 | <!-- An Array of "[ConnectivityManager connectionType], | ||
64 | [# simultaneous connection types]" --> | ||
65 | <string-array translatable="false" name="radioAttributes"> | ||
66 | <item>"1,1"</item> | ||
67 | <item>"7,1"</item> | ||
68 | <item>"9,1"</item> | ||
69 | </string-array> | ||
70 | |||
71 | <!-- Integer indicating the framework scan interval in milliseconds. This is used in the scenario | ||
72 | where the chipset does not support background scanning (config_wifi_background_scan_suport | ||
73 | is false) to set up a periodic wake up scan so that the device can connect to a new access | ||
74 | point on the move. A value of 0 means no periodic scans will be used in the framework. --> | ||
75 | <integer translatable="false" name="config_wifi_framework_scan_interval">0</integer> | ||
76 | |||
77 | <!-- Boolean indicating whether the wifi chipset has dual frequency band support --> | ||
78 | <bool translatable="false" name="config_wifi_dual_band_support">true</bool> | ||
79 | |||
80 | <!-- List of regexpressions describing the interface (if any) that represent tetherable | ||
81 | bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this | ||
82 | should be empty. --> | ||
83 | <string-array translatable="false" name="config_tether_bluetooth_regexs"> | ||
84 | <item>"bt-pan"</item> | ||
85 | </string-array> | ||
86 | |||
87 | <!-- Separate software navigation bar required on this device. --> | ||
88 | <bool name="config_showNavigationBar">true</bool> | ||
89 | |||
90 | <!-- Whether WiFi display is supported by this device. | ||
91 | There are many prerequisites for this feature to work correctly. | ||
92 | Here are a few of them: | ||
93 | * The WiFi radio must support WiFi P2P. | ||
94 | * The WiFi radio must support concurrent connections to the WiFi display and | ||
95 | to an access point. | ||
96 | * The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix" | ||
97 | remote submix module. This module is used to record and stream system | ||
98 | audio output to the WiFi display encoder in the media server. | ||
99 | * The remote submix module "audio.r_submix.default" must be installed on the device. | ||
100 | * The device must be provisioned with HDCP keys (for protected content). | ||
101 | --> | ||
102 | <bool name="config_enableWifiDisplay">true</bool> | ||
103 | |||
104 | </resources> | ||