Searched refs:predicate (Results 1 – 6 of 6) sorted by relevance
/system/core/init/ |
D | action_manager.h | 41 void RemoveActionIf(UnaryPredicate predicate) { in RemoveActionIf() argument 42 actions_.erase(std::remove_if(actions_.begin(), actions_.end(), predicate), actions_.end()); in RemoveActionIf()
|
D | service_list.h | 42 void RemoveServiceIf(UnaryPredicate predicate) { in RemoveServiceIf() argument 43 services_.erase(std::remove_if(services_.begin(), services_.end(), predicate), in RemoveServiceIf()
|
D | first_stage_mount.cpp | 171 auto predicate = [](const auto& entry) { return entry.mount_point == "/vendor"; }; in ReadFirstStageFstabMicrodroid() local 172 fstab.erase(std::remove_if(fstab.begin(), fstab.end(), predicate), fstab.end()); in ReadFirstStageFstabMicrodroid()
|
/system/libvintf/test/ |
D | vintf_object_tests.cpp | 2559 auto predicate = [](const auto& interfaceName) { in TEST_F() local 2562 EXPECT_THAT(vintfObject->checkMissingHalsInMatrices(hidl, {}, predicate, predicate), Ok()); in TEST_F() 2563 EXPECT_THAT(vintfObject->checkMissingHalsInMatrices({}, aidl, predicate, predicate), Ok()); in TEST_F() 2564 EXPECT_THAT(vintfObject->checkMissingHalsInMatrices(hidl, aidl, predicate, predicate), Ok()); in TEST_F() 2583 auto predicate = [](const auto& interfaceName) { in TEST_F() local 2587 res = vintfObject->checkMissingHalsInMatrices(hidl, {}, predicate, predicate); in TEST_F() 2590 res = vintfObject->checkMissingHalsInMatrices({}, aidl, predicate, predicate); in TEST_F() 2593 res = vintfObject->checkMissingHalsInMatrices(hidl, aidl, predicate, predicate); in TEST_F()
|
/system/chre/test/simulation/ |
D | gnss_test.cc | 43 bool waitForCondition(const std::function<bool()> &predicate, in waitForCondition() argument 48 while (!(result = predicate()) && time < timeout) { in waitForCondition()
|
/system/libvintf/ |
D | HalManifest.cpp | 160 static void removeIf(List& list, Predicate predicate) { in removeIf() argument 162 if (predicate(*it)) { in removeIf()
|