Lines Matching refs:TestICameraProvider
91 struct TestICameraProvider : virtual public provider::V2_5::ICameraProvider { struct
97 TestICameraProvider(const std::vector<hardware::hidl_string> &devices, in TestICameraProvider() argument
183 sp<TestICameraProvider> mTestCameraProvider; argument
186 void setProvider(sp<TestICameraProvider> provider) { in setProvider()
230 sp<TestICameraProvider> provider = new TestICameraProvider(deviceNames, in TEST()
238 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::SET_CALLBACK], 2) << in TEST()
240 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::GET_VENDOR_TAGS], 2) << in TEST()
242 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::IS_SET_TORCH_MODE_SUPPORTED], 2) << in TEST()
244 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::GET_CAMERA_ID_LIST], 2) << in TEST()
246 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::NOTIFY_DEVICE_STATE], 2) << in TEST()
294 sp<TestICameraProvider> provider = new TestICameraProvider(deviceNames, in TEST()
318 sp<TestICameraProvider> secondProvider = new TestICameraProvider( in TEST()
429 sp<TestICameraProvider> provider = new TestICameraProvider(deviceNames, in TEST()