OSDN Git Service

Camera: Add XML entries and files for new system features
authorEino-Ville Talvala <etalvala@google.com>
Thu, 20 Nov 2014 23:37:51 +0000 (15:37 -0800)
committerEino-Ville Talvala <etalvala@google.com>
Sat, 22 Nov 2014 04:52:56 +0000 (20:52 -0800)
Add BURST_CAPTURE and READ_SENSOR_SETTINGS.

Bug: 18281970
Change-Id: Ibf596c97fbca46f2ae044b6c87586d76605a5163

data/etc/android.hardware.camera.burst_capture.xml [new file with mode: 0644]
data/etc/android.hardware.camera.full.xml
data/etc/android.hardware.camera.manual_sensor.xml
data/etc/android.hardware.camera.read_sensor_settings.xml [new file with mode: 0644]

diff --git a/data/etc/android.hardware.camera.burst_capture.xml b/data/etc/android.hardware.camera.burst_capture.xml
new file mode 100644 (file)
index 0000000..812754f
--- /dev/null
@@ -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 set of features required for a camera2 device that supports the
+     burst capture capability-->
+<permissions>
+    <feature name="android.hardware.camera.any" />
+    <feature name="android.hardware.camera.capability.burst_capture" />
+</permissions>
index a05dcbe..df0085e 100644 (file)
@@ -20,4 +20,6 @@
     <feature name="android.hardware.camera.level.full" />
     <feature name="android.hardware.camera.capability.manual_sensor" />
     <feature name="android.hardware.camera.capability.manual_post_processing" />
+    <feature name="android.hardware.camera.capability.burst_capture" />
+    <feature name="android.hardware.camera.capability.read_sensor_settings" />
 </permissions>
index 57db5ab..7795067 100644 (file)
@@ -18,4 +18,5 @@
 <permissions>
     <feature name="android.hardware.camera.any" />
     <feature name="android.hardware.camera.capability.manual_sensor" />
+    <feature name="android.hardware.camera.capability.read_sensor_settings" />
 </permissions>
diff --git a/data/etc/android.hardware.camera.read_sensor_settings.xml b/data/etc/android.hardware.camera.read_sensor_settings.xml
new file mode 100644 (file)
index 0000000..d5018f3
--- /dev/null
@@ -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 set of features required for a camera2 device that supports the
+     read sensor settings capability-->
+<permissions>
+    <feature name="android.hardware.camera.any" />
+    <feature name="android.hardware.camera.capability.read_sensor_settings" />
+</permissions>