summaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authorPraneeth Bajjuri <praneeth@ti.com>2018-07-20 22:11:07 +0000
committerPraneeth Bajjuri <praneeth@ti.com>2018-09-10 17:13:23 -0500
commitb68d16448b294a12c60c1618622a116b3164cd5a (patch)
tree0ab0905382b1af1f7a0dc9eb7dd54c53e7fd68e2 /overlay
parent158acbd0254481305b3020b93c785ff9c687d5ea (diff)
downloadbeagle-x15-b68d16448b294a12c60c1618622a116b3164cd5a.tar.gz
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')
-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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2011, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. -->
+<resources>
+
+ <!-- Enable multi-user. -->
+ <bool name="config_enableMultiUserUI">true</bool>
+ <!-- Arbitrary max 8 users. -->
+ <integer name="config_multiuserMaximumUsers">8</integer>
+
+ <!-- This device is not "voice capable"; it's data-only. -->
+ <bool name="config_voice_capable">false</bool>
+
+ <!-- This device does not allow sms service. -->
+ <bool name="config_sms_capable">false</bool>
+
+ <!-- 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">
+ </string-array>
+
+ <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
+ <!-- [1,7,9] for TYPE_WIFI, TYPE_BLUETOOTH and TYPE_ETHERNET-->
+ <integer-array translatable="false" name="config_tether_upstream_types">
+ <item>9</item>
+ </integer-array>
+
+ <!-- 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>"ethernet,9,9,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>"9,1"</item>
+ </string-array>
+
+ <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
+ <bool translatable="false" name="config_wifi_dual_band_support">true</bool>
+
+ <!-- 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">
+ </string-array>
+
+ <!-- Separate software navigation bar required on this device. -->
+ <bool name="config_showNavigationBar">true</bool>
+
+ <!-- Whether WiFi display is supported by this device.
+ There are many prerequisites for this feature to work correctly.
+ Here are a few of them:
+ * The WiFi radio must support WiFi P2P.
+ * The WiFi radio must support concurrent connections to the WiFi display and
+ to an access point.
+ * The Audio Flinger audio_policy.conf file must specify a rule for the "r_submix"
+ remote submix module. This module is used to record and stream system
+ audio output to the WiFi display encoder in the media server.
+ * The remote submix module "audio.r_submix.default" must be installed on the device.
+ * The device must be provisioned with HDCP keys (for protected content).
+ -->
+ <bool name="config_enableWifiDisplay">false</bool>
+
+ <!-- Default list of files pinned by the Pinner Service -->
+ <string-array translatable="false" name="config_defaultPinnerServiceFiles">
+ <item>"/system/framework/arm/boot-framework.oat"</item>
+ <item>"/system/framework/arm/boot-framework.vdex"</item>
+ <item>"/system/framework/oat/arm/services.odex"</item>
+ <item>"/system/framework/oat/arm/services.vdex"</item>
+ <item>"/system/framework/arm/boot.oat"</item>
+ <item>"/system/framework/arm/boot.vdex"</item>
+ <item>"/system/framework/arm/boot-core-libart.oat"</item>
+ <item>"/system/framework/arm/boot-core-libart.vdex"</item>
+ </string-array>
+
+</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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+ <!-- Turn off GPS as a default. -->
+ <string name="def_location_providers_allowed" translatable="false"></string>
+ <!-- Disable lock screen -->
+ <bool name="def_lockscreen_disabled">true</bool>
+ <!-- Keep screen on always -->
+ <bool name="def_stay_on_while_plugged_in">true</bool>
+</resources>