Fix ICameraDeviceCallback version in VTS test
am: cccd5bf1dd
Change-Id: I06df275ab155ecb3cdf2e829c6253023ff23a386
This commit is contained in:
commit
ff5bfd5b30
1 changed files with 8 additions and 2 deletions
|
@ -87,7 +87,6 @@ using ::android::hardware::camera::device::V3_2::ICameraDevice;
|
|||
using ::android::hardware::camera::device::V3_2::BufferCache;
|
||||
using ::android::hardware::camera::device::V3_2::CaptureRequest;
|
||||
using ::android::hardware::camera::device::V3_2::CaptureResult;
|
||||
using ::android::hardware::camera::device::V3_2::ICameraDeviceCallback;
|
||||
using ::android::hardware::camera::device::V3_2::ICameraDeviceSession;
|
||||
using ::android::hardware::camera::device::V3_2::NotifyMsg;
|
||||
using ::android::hardware::camera::device::V3_2::RequestTemplate;
|
||||
|
@ -532,7 +531,7 @@ public:
|
|||
|
||||
hidl_vec<hidl_string> getCameraDeviceNames(sp<ICameraProvider> provider);
|
||||
|
||||
struct EmptyDeviceCb : public ICameraDeviceCallback {
|
||||
struct EmptyDeviceCb : public V3_4::ICameraDeviceCallback {
|
||||
virtual Return<void> processCaptureResult(
|
||||
const hidl_vec<CaptureResult>& /*results*/) override {
|
||||
ALOGI("processCaptureResult callback");
|
||||
|
@ -540,6 +539,13 @@ public:
|
|||
return Void();
|
||||
}
|
||||
|
||||
virtual Return<void> processCaptureResult_3_4(
|
||||
const hidl_vec<V3_4::CaptureResult>& /*results*/) override {
|
||||
ALOGI("processCaptureResult_3_4 callback");
|
||||
ADD_FAILURE(); // Empty callback should not reach here
|
||||
return Void();
|
||||
}
|
||||
|
||||
virtual Return<void> notify(const hidl_vec<NotifyMsg>& /*msgs*/) override {
|
||||
ALOGI("notify callback");
|
||||
ADD_FAILURE(); // Empty callback should not reach here
|
||||
|
|
Loading…
Reference in a new issue