diff options
author | Praneeth Bajjuri | 2016-04-27 00:14:05 -0500 |
---|---|---|
committer | Praneeth Bajjuri | 2016-04-27 00:14:05 -0500 |
commit | ea94a53a31427ada1f8b6219b4cb0fc6398e5f52 (patch) | |
tree | f3141ed65262469d48dbcee65e79b3fb8178ffcb /overlay/frameworks/base | |
parent | e47dcceeac4e601f3203c61f5230c91fdb69e72d (diff) | |
download | device-ti-am57xevm-ea94a53a31427ada1f8b6219b4cb0fc6398e5f52.tar.gz device-ti-am57xevm-ea94a53a31427ada1f8b6219b4cb0fc6398e5f52.tar.xz device-ti-am57xevm-ea94a53a31427ada1f8b6219b4cb0fc6398e5f52.zip |
AM57xevm: Initial Device project baseline
Initial commit based on jacinto6evm board
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Diffstat (limited to 'overlay/frameworks/base')
-rw-r--r-- | overlay/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.jpg | bin | 0 -> 224580 bytes | |||
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 104 | ||||
-rw-r--r-- | overlay/frameworks/base/core/res/res/xml/storage_list.xml | 56 | ||||
-rw-r--r-- | overlay/frameworks/base/packages/SettingsProvider/res/values/config.xml | 24 |
4 files changed, 184 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.jpg b/overlay/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.jpg new file mode 100644 index 0000000..41e4363 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.jpg | |||
Binary files differ | |||
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> | ||
diff --git a/overlay/frameworks/base/core/res/res/xml/storage_list.xml b/overlay/frameworks/base/core/res/res/xml/storage_list.xml new file mode 100644 index 0000000..4d73c29 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/xml/storage_list.xml | |||
@@ -0,0 +1,56 @@ | |||
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 | <!-- The <device> element should contain one or more <storage> elements. | ||
21 | Exactly one of these should have the attribute primary="true". | ||
22 | This storage will be the primary external storage and should have path="/storage/sdcard0". | ||
23 | Each storage should have both a path and description attribute set. | ||
24 | The following boolean attributes are optional: | ||
25 | |||
26 | primary: this storage is the primary external storage | ||
27 | removable: this is removable storage (for example, a real SD card) | ||
28 | emulated: the storage is emulated via the FUSE sdcard daemon | ||
29 | mtp-reserve: number of megabytes of storage MTP should reserve for free storage | ||
30 | (used for emulated storage that is shared with system's data partition) | ||
31 | |||
32 | A storage should not have both emulated and removable set to true | ||
33 | --> | ||
34 | |||
35 | <StorageList xmlns:android="http://schemas.android.com/apk/res/android"> | ||
36 | <!-- internal emulated storage --> | ||
37 | <storage | ||
38 | android:storageDescription="@string/storage_internal" | ||
39 | android:primary="true" | ||
40 | android:emulated="true" | ||
41 | android:mtpReserve="100" /> | ||
42 | <!-- external SD card --> | ||
43 | <storage android:mountPoint="/storage/sdcard1" | ||
44 | android:storageDescription="@string/storage_sd_card" | ||
45 | android:removable="true" /> | ||
46 | <!-- external USB slots --> | ||
47 | <storage android:mountPoint="/storage/usb0" | ||
48 | android:storageDescription="@string/storage_usb" | ||
49 | android:allowMassStorage="true" | ||
50 | android:removable="true" /> | ||
51 | <!-- external USB slots --> | ||
52 | <storage android:mountPoint="/storage/usb1" | ||
53 | android:storageDescription="@string/storage_usb" | ||
54 | android:allowMassStorage="true" | ||
55 | android:removable="true" /> | ||
56 | </StorageList> | ||
diff --git a/overlay/frameworks/base/packages/SettingsProvider/res/values/config.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/config.xml new file mode 100644 index 0000000..5b8c48b --- /dev/null +++ b/overlay/frameworks/base/packages/SettingsProvider/res/values/config.xml | |||
@@ -0,0 +1,24 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (C) 2007 The Android Open Source Project | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | --> | ||
16 | |||
17 | <resources> | ||
18 | <!-- Turn off GPS as a default. --> | ||
19 | <string name="def_location_providers_allowed" translatable="false"></string> | ||
20 | <!-- DIsable lock screen --> | ||
21 | <bool name="def_lockscreen_disabled">true</bool> | ||
22 | <!-- Keep screen on allways --> | ||
23 | <bool name="def_stay_on_while_plugged_in">true</bool> | ||
24 | </resources> | ||