Lines Matching refs:callbacks
372 sp<TestCameraDeviceCallbacks> callbacks(new TestCameraDeviceCallbacks()); in TEST() local
374 res = service->connectDevice(callbacks, cameraId, String16("meeeeeeeee!"), in TEST()
379 EXPECT_FALSE(callbacks->hadError()); in TEST()
385 /*enabled*/true, callbacks); in TEST()
390 /*enabled*/false, callbacks); in TEST()
412 sp<TestCameraDeviceCallbacks> callbacks(new TestCameraDeviceCallbacks()); in openNewDevice() local
416 … binder::Status res = service->connectDevice(callbacks, deviceId, String16("meeeeeeeee!"), in openNewDevice()
420 auto p = std::make_pair(callbacks, device); in openNewDevice()
480 sp<TestCameraDeviceCallbacks> callbacks = p.first; in TEST_F() local
512 EXPECT_FALSE(callbacks->hadError()); in TEST_F()
539 callbacks->clearStatus(); in TEST_F()
544 EXPECT_TRUE(callbacks->waitForStatus(TestCameraDeviceCallbacks::SENT_RESULT)); in TEST_F()
550 EXPECT_TRUE(callbacks->waitForIdle()); in TEST_F()
551 EXPECT_FALSE(callbacks->hadError()); in TEST_F()
564 callbacks->clearStatus(); in TEST_F()
572 EXPECT_TRUE(callbacks->waitForStatus(TestCameraDeviceCallbacks::SENT_RESULT)); in TEST_F()
576 EXPECT_TRUE(callbacks->waitForIdle()); in TEST_F()
579 EXPECT_FALSE(callbacks->hadError()); in TEST_F()
604 callbacks->clearStatus(); in TEST_F()
610 EXPECT_TRUE(callbacks->waitForStatus(TestCameraDeviceCallbacks::SENT_RESULT)); in TEST_F()
611 EXPECT_TRUE(callbacks->waitForIdle()); in TEST_F()
614 EXPECT_FALSE(callbacks->hadError()); in TEST_F()
625 EXPECT_FALSE(callbacks->hadError()); in TEST_F()