diff options
author | Igor Murashkin <iam@google.com> | 2013-02-20 17:41:57 -0800 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2013-02-22 10:50:14 -0800 |
commit | 68c80668304fc92db43bbe2e7cbe9753b6d3865a (patch) | |
tree | 3eac9438f1854b1cfdae70ea76e322122eea10b0 /include/camera/ProCamera.h | |
parent | bfb5d5ef5bae01efac171397260a7152782d92c7 (diff) | |
download | frameworks_av-68c80668304fc92db43bbe2e7cbe9753b6d3865a.zip frameworks_av-68c80668304fc92db43bbe2e7cbe9753b6d3865a.tar.gz frameworks_av-68c80668304fc92db43bbe2e7cbe9753b6d3865a.tar.bz2 |
Camera: ProClient add asynchronous locks and such
Change-Id: I551e5e5e76d9be733fab5224beaa7309268c0f38
Diffstat (limited to 'include/camera/ProCamera.h')
-rw-r--r-- | include/camera/ProCamera.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/camera/ProCamera.h b/include/camera/ProCamera.h index ba5fdc0..2dd01e3 100644 --- a/include/camera/ProCamera.h +++ b/include/camera/ProCamera.h @@ -34,9 +34,10 @@ class ProCameraListener : public CameraListener public: // Lock has been acquired. Write operations now available. virtual void onLockAcquired() = 0; - // Lock has been released with exclusiveUnlock, or has been stolen by - // another client. + // Lock has been released with exclusiveUnlock. virtual void onLockReleased() = 0; + // Lock has been stolen by another client. + virtual void onLockStolen() = 0; // Lock free. virtual void onTriggerNotify(int32_t msgType, int32_t ext1, int32_t ext2) @@ -129,6 +130,8 @@ protected: virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); + virtual void onLockStatusChanged( + IProCameraCallbacks::LockStatus newLockStatus); class DeathNotifier: public IBinder::DeathRecipient { |