Searched refs:hasInstance (Results 1 – 10 of 10) sorted by relevance
/system/libvintf/ |
D | ManifestHal.cpp | 83 bool hasInstance = false; in isDisabledHal() local 84 forEachInstance([&hasInstance](const auto&) { in isDisabledHal() 85 hasInstance = true; in isDisabledHal() 88 return !hasInstance; in isDisabledHal() 115 if (!fqInstance.hasInstance()) { in verifyInstance()
|
D | HalManifest.cpp | 445 bool HalManifest::hasInstance(const std::string& halName, const Version& version, in hasInstance() function in android::vintf::HalManifest
|
/system/tools/hidl/test/utils_test/ |
D | main.cpp | 41 ASSERT_TRUE(e.hasInstance()); in TEST_F() 54 ASSERT_TRUE(e.hasInstance()); in TEST_F() 66 ASSERT_TRUE(e.hasInstance()); in TEST_F() 78 ASSERT_FALSE(e.hasInstance()); in TEST_F() 86 ASSERT_FALSE(e.hasInstance()); in TEST_F()
|
/system/tools/hidl/utils/ |
D | FqInstance.cpp | 61 bool FqInstance::hasInstance() const { in hasInstance() function in android::FqInstance 69 bool hasInst = hasInstance(); in isValid() 116 if (hasInstance()) ret += INSTANCE_SEP + mInstance; in string()
|
/system/core/libutils/ |
D | Singleton_test2.cpp | 35 return SingletonTestData::hasInstance(); in singletonHasInstance()
|
D | Singleton_test1.cpp | 36 return SingletonTestData::hasInstance(); in singletonHasInstance()
|
/system/core/libutils/include/utils/ |
D | Singleton.h | 61 static bool hasInstance() { in hasInstance() function
|
/system/tools/hidl/utils/include/hidl-util/ |
D | FqInstance.h | 49 bool hasInstance() const;
|
/system/libvintf/include/vintf/ |
D | HalManifest.h | 122 bool hasInstance(const std::string& halName, const Version& version,
|
/system/libvintf/test/ |
D | LibVintfTest.cpp | 451 EXPECT_TRUE(vm.hasInstance("android.hardware.camera", {2, 0}, "ICamera", "default")); in TEST_F() 452 EXPECT_TRUE(vm.hasInstance("android.hardware.camera", {2, 0}, "ICamera", "legacy/0")); in TEST_F() 453 EXPECT_TRUE(vm.hasInstance("android.hardware.camera", {2, 0}, "IBetterCamera", "camera")); in TEST_F() 454 EXPECT_TRUE(vm.hasInstance("android.hardware.nfc", {1, 0}, "INfc", "default")); in TEST_F() 456 EXPECT_FALSE(vm.hasInstance("android.hardware.camera", {2, 0}, "INotExist", "default")); in TEST_F() 457 EXPECT_FALSE(vm.hasInstance("android.hardware.camera", {2, 0}, "ICamera", "notexist")); in TEST_F() 458 EXPECT_FALSE(vm.hasInstance("android.hardware.camera", {2, 0}, "IBetterCamera", "default")); in TEST_F() 459 EXPECT_FALSE(vm.hasInstance("android.hardware.camera", {2, 0}, "INotExist", "notexist")); in TEST_F() 460 EXPECT_FALSE(vm.hasInstance("android.hardware.nfc", {1, 0}, "INfc", "notexist")); in TEST_F()
|