summaryrefslogtreecommitdiffstats
path: root/include/camera/IProCameraCallbacks.h
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2013-03-04 16:14:23 -0800
committerIgor Murashkin <iam@google.com>2013-03-11 16:32:24 -0700
commitfa4cf9d310685b4c25877cba772ff7da84caf517 (patch)
treed954ae7a991a1dfc084019433f370b46abb1f6c4 /include/camera/IProCameraCallbacks.h
parentce124da179775a81ad7dcc3f33315eca451e66f2 (diff)
downloadframeworks_av-fa4cf9d310685b4c25877cba772ff7da84caf517.zip
frameworks_av-fa4cf9d310685b4c25877cba772ff7da84caf517.tar.gz
frameworks_av-fa4cf9d310685b4c25877cba772ff7da84caf517.tar.bz2
(Camera)ProCamera: Remove unused functions from binder interface
Change-Id: I0582268cef6e84b630bc87c8a03dcd69d54c440d
Diffstat (limited to 'include/camera/IProCameraCallbacks.h')
-rw-r--r--include/camera/IProCameraCallbacks.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/include/camera/IProCameraCallbacks.h b/include/camera/IProCameraCallbacks.h
index fc24026..563ec17 100644
--- a/include/camera/IProCameraCallbacks.h
+++ b/include/camera/IProCameraCallbacks.h
@@ -28,19 +28,14 @@ struct camera_metadata;
namespace android {
-class IProCameraCallbacks: public IInterface
+class IProCameraCallbacks : public IInterface
{
public:
DECLARE_META_INTERFACE(ProCameraCallbacks);
- virtual void notifyCallback(int32_t msgType, int32_t ext1,
- int32_t ext2) = 0;
- virtual void dataCallback(int32_t msgType,
- const sp<IMemory>& data,
- camera_frame_metadata_t *metadata) = 0;
- virtual void dataCallbackTimestamp(nsecs_t timestamp,
- int32_t msgType,
- const sp<IMemory>& data) = 0;
+ virtual void notifyCallback(int32_t msgType,
+ int32_t ext1,
+ int32_t ext2) = 0;
enum LockStatus {
LOCK_ACQUIRED,
@@ -53,12 +48,13 @@ public:
/** Missing by design: implementation is client-side in ProCamera.cpp **/
// virtual void onBufferReceived(int streamId,
// const CpuConsumer::LockedBufer& buf);
- virtual void onResultReceived(int32_t frameId, camera_metadata* result) = 0;
+ virtual void onResultReceived(int32_t frameId,
+ camera_metadata* result) = 0;
};
// ----------------------------------------------------------------------------
-class BnProCameraCallbacks: public BnInterface<IProCameraCallbacks>
+class BnProCameraCallbacks : public BnInterface<IProCameraCallbacks>
{
public:
virtual status_t onTransact( uint32_t code,