Lines Matching refs:cameraDevice
170 sp<ICamera> cameraDevice; in TEST_F() local
210 hardware::ICameraService::USE_CALLING_PID, &cameraDevice); in TEST_F()
213 CameraParameters params(cameraDevice->getParameters()); in TEST_F()
242 ASSERT_EQ(NO_ERROR, cameraDevice->setParameters(params.flatten())); in TEST_F()
266 ASSERT_EQ(NO_ERROR, cameraDevice->setPreviewTarget( in TEST_F()
269 cameraDevice->setPreviewCallbackFlag( in TEST_F()
277 ASSERT_EQ(NO_ERROR, cameraDevice->setParameters(params.flatten())); in TEST_F()
278 ASSERT_EQ(NO_ERROR, cameraDevice->startPreview()); in TEST_F()
281 ASSERT_EQ(NO_ERROR, cameraDevice->autoFocus()); in TEST_F()
286 cameraDevice->takePicture(CAMERA_MSG_COMPRESSED_IMAGE)); in TEST_F()
291 cameraDevice->stopPreview(); in TEST_F()
292 rc = cameraDevice->disconnect(); in TEST_F()