summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2014-07-15 11:05:18 -0700
committerEino-Ville Talvala <etalvala@google.com>2014-07-16 10:19:15 -0700
commit8227caaabfdb6c693bac125cffbe559993450258 (patch)
treef37549e680426c0844aaa90a9cdadd001028c90c /data
parentc796b681e52fbb792da9a5b4f30e935cc927c1d7 (diff)
downloadframeworks_native-8227caaabfdb6c693bac125cffbe559993450258.zip
frameworks_native-8227caaabfdb6c693bac125cffbe559993450258.tar.gz
frameworks_native-8227caaabfdb6c693bac125cffbe559993450258.tar.bz2
Add XML files for new camera2 hardware features
Bug: 15415688 Change-Id: I1ea9f65b03c4fa06a5004f9d1d485935742001c8
Diffstat (limited to 'data')
-rw-r--r--data/etc/android.hardware.camera.full.xml23
-rw-r--r--data/etc/android.hardware.camera.raw.xml21
2 files changed, 44 insertions, 0 deletions
diff --git a/data/etc/android.hardware.camera.full.xml b/data/etc/android.hardware.camera.full.xml
new file mode 100644
index 0000000..a05dcbe
--- /dev/null
+++ b/data/etc/android.hardware.camera.full.xml
@@ -0,0 +1,23 @@
+<?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 set of features required for a full-capability camera2 device -->
+<permissions>
+ <feature name="android.hardware.camera.any" />
+ <feature name="android.hardware.camera.level.full" />
+ <feature name="android.hardware.camera.capability.manual_sensor" />
+ <feature name="android.hardware.camera.capability.manual_post_processing" />
+</permissions>
diff --git a/data/etc/android.hardware.camera.raw.xml b/data/etc/android.hardware.camera.raw.xml
new file mode 100644
index 0000000..7f31960
--- /dev/null
+++ b/data/etc/android.hardware.camera.raw.xml
@@ -0,0 +1,21 @@
+<?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 set of features required for a camera2 device that supports raw sensor output -->
+<permissions>
+ <feature name="android.hardware.camera.any" />
+ <feature name="android.hardware.camera.capability.raw" />
+</permissions>