summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2018-07-20 17:11:07 -0500
committerPraneeth Bajjuri2018-09-10 17:13:23 -0500
commitb68d16448b294a12c60c1618622a116b3164cd5a (patch)
tree0ab0905382b1af1f7a0dc9eb7dd54c53e7fd68e2 /overlay/frameworks/base
parent158acbd0254481305b3020b93c785ff9c687d5ea (diff)
downloaddevice-ti-beagle-x15-b68d16448b294a12c60c1618622a116b3164cd5a.tar.gz
device-ti-beagle-x15-b68d16448b294a12c60c1618622a116b3164cd5a.tar.xz
device-ti-beagle-x15-b68d16448b294a12c60c1618622a116b3164cd5a.zip
beagle-x15: Initial device support
Based of http://git.ti.com/cgit/cgit.cgi/android/device-ti-am57xevm.git/ Branch: d-oreo-mr1-core-release Initial Android device support for beagle X15 platform. Processor: http://www.ti.com/product/am5728 Hardware Platform: https://beagleboard.org/x15 Schematics and Platform Info: https://elinux.org/Beagleboard:BeagleBoard-X15 Change-Id: I84936c1cc695832889b07f94f16ecdca9d2b00d2 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Mykhailo Sopiha <mykhailo.sopiha@linaro.org> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Signed-off-by: Ruslan Trofymenko <ruslan.trofymenko@linaro.org>
Diffstat (limited to 'overlay/frameworks/base')
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml107
-rw-r--r--overlay/frameworks/base/packages/SettingsProvider/res/values/config.xml24
2 files changed, 131 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..15ddf65
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,107 @@
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 <!-- Enable multi-user. -->
25 <bool name="config_enableMultiUserUI">true</bool>
26 <!-- Arbitrary max 8 users. -->
27 <integer name="config_multiuserMaximumUsers">8</integer>
28
29 <!-- This device is not "voice capable"; it's data-only. -->
30 <bool name="config_voice_capable">false</bool>
31
32 <!-- This device does not allow sms service. -->
33 <bool name="config_sms_capable">false</bool>
34
35 <!-- List of regexpressions describing the interface (if any) that represent tetherable
36 Wifi interfaces. If the device doesn't want to support tethering over Wifi this
37 should be empty. An example would be "softap.*" -->
38 <string-array translatable="false" name="config_tether_wifi_regexs">
39 </string-array>
40
41 <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
42 <!-- [1,7,9] for TYPE_WIFI, TYPE_BLUETOOTH and TYPE_ETHERNET-->
43 <integer-array translatable="false" name="config_tether_upstream_types">
44 <item>9</item>
45 </integer-array>
46
47 <!-- This string array should be overridden by the device to present a list of network
48 attributes. This is used by the connectivity manager to decide which networks can coexist
49 based on the hardware -->
50 <!-- An Array of "[Connection name],[ConnectivityManager connection type],
51 [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
52 <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
53 before automatically restore the default connection. Set -1 if the connection
54 does not require auto-restore. -->
55 <!-- the 6th element indicates boot-time dependency-met value. -->
56 <string-array translatable="false" name="networkAttributes">
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>"9,1"</item>
67 </string-array>
68
69 <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
70 <bool translatable="false" name="config_wifi_dual_band_support">true</bool>
71
72 <!-- List of regexpressions describing the interface (if any) that represent tetherable
73 bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
74 should be empty. -->
75 <string-array translatable="false" name="config_tether_bluetooth_regexs">
76 </string-array>
77
78 <!-- Separate software navigation bar required on this device. -->
79 <bool name="config_showNavigationBar">true</bool>
80
81 <!-- Whether WiFi display is supported by this device.
82 There are many prerequisites for this feature to work correctly.
83 Here are a few of them:
84 * The WiFi radio must support WiFi P2P.
85 * The WiFi radio must support concurrent connections to the WiFi display and
86 to an access point.
87 * The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix"
88 remote submix module. This module is used to record and stream system
89 audio output to the WiFi display encoder in the media server.
90 * The remote submix module "audio.r_submix.default" must be installed on the device.
91 * The device must be provisioned with HDCP keys (for protected content).
92 -->
93 <bool name="config_enableWifiDisplay">false</bool>
94
95 <!-- Default list of files pinned by the Pinner Service -->
96 <string-array translatable="false" name="config_defaultPinnerServiceFiles">
97 <item>"/system/framework/arm/boot-framework.oat"</item>
98 <item>"/system/framework/arm/boot-framework.vdex"</item>
99 <item>"/system/framework/oat/arm/services.odex"</item>
100 <item>"/system/framework/oat/arm/services.vdex"</item>
101 <item>"/system/framework/arm/boot.oat"</item>
102 <item>"/system/framework/arm/boot.vdex"</item>
103 <item>"/system/framework/arm/boot-core-libart.oat"</item>
104 <item>"/system/framework/arm/boot-core-libart.vdex"</item>
105 </string-array>
106
107</resources>
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..3015350
--- /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 always -->
23 <bool name="def_stay_on_while_plugged_in">true</bool>
24</resources>