summaryrefslogtreecommitdiffstats
path: root/camera/tests
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 /camera/tests
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 'camera/tests')
-rw-r--r--camera/tests/ProCameraTests.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/camera/tests/ProCameraTests.cpp b/camera/tests/ProCameraTests.cpp
index 1a8564e..71813ae 100644
--- a/camera/tests/ProCameraTests.cpp
+++ b/camera/tests/ProCameraTests.cpp
@@ -271,13 +271,11 @@ protected:
free_camera_metadata(request);
}
- // TODO: remove
-
- virtual void notify(int32_t , int32_t , int32_t ) {}
- virtual void postData(int32_t , const sp<IMemory>& ,
- camera_frame_metadata_t *) {}
- virtual void postDataTimestamp(nsecs_t , int32_t , const sp<IMemory>& ) {}
-
+ virtual void notify(int32_t msg, int32_t ext1, int32_t ext2) {
+ dout << "Notify received: msg " << std::hex << msg
+ << ", ext1: " << std::hex << ext1 << ", ext2: " << std::hex << ext2
+ << std::endl;
+ }
Vector<ProEvent> mProEventList;
Mutex mListenerMutex;
@@ -717,6 +715,7 @@ TEST_F(ProCameraTest, CpuConsumerSingle) {
return;
}
+ // FIXME: Note this test is broken because onBufferReceived was removed
mListener->SetEventMask(ProEvent_Mask(BUFFER_RECEIVED));
int streamId = -1;
@@ -783,6 +782,7 @@ TEST_F(ProCameraTest, CpuConsumerDual) {
return;
}
+ // FIXME: Note this test is broken because onBufferReceived was removed
mListener->SetEventMask(ProEvent_Mask(BUFFER_RECEIVED));
int streamId = -1;