Searched refs:TestICameraProvider (Results 1 – 1 of 1) sorted by relevance
91 struct TestICameraProvider : virtual public provider::V2_5::ICameraProvider { struct97 TestICameraProvider(const std::vector<hardware::hidl_string> &devices, in TestICameraProvider() argument183 sp<TestICameraProvider> mTestCameraProvider; argument186 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()[all …]