Searched refs:hasHidlInstance (Results 1 – 3 of 3) sorted by relevance
/system/libvintf/include/vintf/ |
D | HalManifest.h | 131 bool hasHidlInstance(const std::string& package, const Version& version,
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 455 EXPECT_TRUE(vm.hasHidlInstance("android.hardware.camera", {2, 0}, "ICamera", "default")); in TEST_F() 456 EXPECT_TRUE(vm.hasHidlInstance("android.hardware.camera", {2, 0}, "ICamera", "legacy/0")); in TEST_F() 457 EXPECT_TRUE(vm.hasHidlInstance("android.hardware.camera", {2, 0}, "IBetterCamera", "camera")); in TEST_F() 458 EXPECT_TRUE(vm.hasHidlInstance("android.hardware.nfc", {1, 0}, "INfc", "default")); in TEST_F() 460 EXPECT_FALSE(vm.hasHidlInstance("android.hardware.camera", {2, 0}, "INotExist", "default")); in TEST_F() 461 EXPECT_FALSE(vm.hasHidlInstance("android.hardware.camera", {2, 0}, "ICamera", "notexist")); in TEST_F() 462 EXPECT_FALSE(vm.hasHidlInstance("android.hardware.camera", {2, 0}, "IBetterCamera", "default")); in TEST_F() 463 EXPECT_FALSE(vm.hasHidlInstance("android.hardware.camera", {2, 0}, "INotExist", "notexist")); in TEST_F() 464 EXPECT_FALSE(vm.hasHidlInstance("android.hardware.nfc", {1, 0}, "INfc", "notexist")); in TEST_F()
|
/system/libvintf/ |
D | HalManifest.cpp | 560 bool HalManifest::hasHidlInstance(const std::string& package, const Version& version, in hasHidlInstance() function in android::vintf::HalManifest
|