summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorUnsuk Jung <unsuk@google.com>2014-09-02 18:46:59 -0700
committerUnsuk Jung <unsuk@google.com>2014-09-07 01:54:36 +0000
commit0fef06294c1e4f0ebb6ac15ec228e96d1afe1d61 (patch)
treed3268d94ddf9c6e3eb4060af2f3fa96875bbd554 /data
parent253c4720af3ac631ba04eb379aea91ecc3175cd3 (diff)
downloadframeworks_native-0fef06294c1e4f0ebb6ac15ec228e96d1afe1d61.zip
frameworks_native-0fef06294c1e4f0ebb6ac15ec228e96d1afe1d61.tar.gz
frameworks_native-0fef06294c1e4f0ebb6ac15ec228e96d1afe1d61.tar.bz2
Add feature android.hardware.audio.output xml file
Bug: 15318046 Change-Id: I49f0881752493ac0bad238b43ce7e1e147119528
Diffstat (limited to 'data')
-rw-r--r--data/etc/android.hardware.audio.output.xml22
-rw-r--r--data/etc/handheld_core_hardware.xml1
-rw-r--r--data/etc/tablet_core_hardware.xml1
-rw-r--r--data/etc/wearable_core_hardware.xml2
4 files changed, 26 insertions, 0 deletions
diff --git a/data/etc/android.hardware.audio.output.xml b/data/etc/android.hardware.audio.output.xml
new file mode 100644
index 0000000..6ea1234
--- /dev/null
+++ b/data/etc/android.hardware.audio.output.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+
+<!-- This is the standard feature indicating audio output support of the device,
+ as specified in the CDD. ONLY devices that meet the CDD's requirements may
+ declare this feature. -->
+<permissions>
+ <feature name="android.hardware.audio.output" />
+</permissions>
diff --git a/data/etc/handheld_core_hardware.xml b/data/etc/handheld_core_hardware.xml
index f18e4b1..7d70a5d 100644
--- a/data/etc/handheld_core_hardware.xml
+++ b/data/etc/handheld_core_hardware.xml
@@ -23,6 +23,7 @@
devices.
-->
<permissions>
+ <feature name="andriod.hardware.audio.output" />
<feature name="android.hardware.camera" />
<feature name="android.hardware.location" />
<feature name="android.hardware.location.network" />
diff --git a/data/etc/tablet_core_hardware.xml b/data/etc/tablet_core_hardware.xml
index 4db2e57..321b2af 100644
--- a/data/etc/tablet_core_hardware.xml
+++ b/data/etc/tablet_core_hardware.xml
@@ -23,6 +23,7 @@
devices.
-->
<permissions>
+ <feature name="android.hardware.audio.output" />
<feature name="android.hardware.location" />
<feature name="android.hardware.location.network" />
<feature name="android.hardware.sensor.compass" />
diff --git a/data/etc/wearable_core_hardware.xml b/data/etc/wearable_core_hardware.xml
index 09a064a..a9314d2 100644
--- a/data/etc/wearable_core_hardware.xml
+++ b/data/etc/wearable_core_hardware.xml
@@ -60,4 +60,6 @@
<!-- Devices that have low-latency audio stacks suitable for apps like
VoIP may include android.hardware.audio.low_latency.xml. ONLY apps
that meet the requirements specified in the CDD may include this. -->
+ <!-- devices that have audio output capability as specified in the CDD must
+ also include android.hardware.audio.output.xml -->
</permissions>