summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2015-05-20 20:44:26 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-20 20:44:28 +0000
commitf082bb2a7f6ad064bbd608d079851c9df18ef0f4 (patch)
treebf10c010fae2f28835233f99479999c39a8b34ec /core/java
parent084110bd394b72b42451a266f7e4c5b1348b86de (diff)
parent6664aee15ae2f1183d5c6820bb47c6d7d55806c0 (diff)
downloadframeworks_base-f082bb2a7f6ad064bbd608d079851c9df18ef0f4.zip
frameworks_base-f082bb2a7f6ad064bbd608d079851c9df18ef0f4.tar.gz
frameworks_base-f082bb2a7f6ad064bbd608d079851c9df18ef0f4.tar.bz2
Merge "camera: Add AIDL interface for CameraServiceProxy." into mnc-dev
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/hardware/ICameraService.aidl6
-rw-r--r--core/java/android/hardware/ICameraServiceProxy.aidl30
2 files changed, 35 insertions, 1 deletions
diff --git a/core/java/android/hardware/ICameraService.aidl b/core/java/android/hardware/ICameraService.aidl
index 9201b61..c933f92 100644
--- a/core/java/android/hardware/ICameraService.aidl
+++ b/core/java/android/hardware/ICameraService.aidl
@@ -25,7 +25,11 @@ import android.hardware.camera2.utils.BinderHolder;
import android.hardware.ICameraServiceListener;
import android.hardware.CameraInfo;
-/** @hide */
+/**
+ * Binder interface for the native camera service running in mediaserver.
+ *
+ * @hide
+ */
interface ICameraService
{
/**
diff --git a/core/java/android/hardware/ICameraServiceProxy.aidl b/core/java/android/hardware/ICameraServiceProxy.aidl
new file mode 100644
index 0000000..0bb24bc
--- /dev/null
+++ b/core/java/android/hardware/ICameraServiceProxy.aidl
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2015 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.
+ */
+
+package android.hardware;
+
+/**
+ * Binder interface for the camera service proxy running in system_server.
+ *
+ * @hide
+ */
+interface ICameraServiceProxy
+{
+ /**
+ * Ping the service proxy to update the valid users for the camera service.
+ */
+ oneway void pingForUserUpdate();
+}