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()235 sp<TestICameraProvider> provider = new TestICameraProvider(deviceNames, in TEST()245 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::SET_CALLBACK], numProviders) << in TEST()247 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::GET_VENDOR_TAGS], numProviders) << in TEST()249 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::IS_SET_TORCH_MODE_SUPPORTED], in TEST()252 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::GET_CAMERA_ID_LIST], numProviders) << in TEST()254 EXPECT_EQ(provider->mCalledCounter[TestICameraProvider::NOTIFY_DEVICE_STATE], numProviders) << in TEST()[all …]