Home
last modified time | relevance | path

Searched refs:predicate (Results 1 – 6 of 6) sorted by relevance

/system/core/init/
Daction_manager.h41 void RemoveActionIf(UnaryPredicate predicate) { in RemoveActionIf() argument
42 actions_.erase(std::remove_if(actions_.begin(), actions_.end(), predicate), actions_.end()); in RemoveActionIf()
Dservice_list.h42 void RemoveServiceIf(UnaryPredicate predicate) { in RemoveServiceIf() argument
43 services_.erase(std::remove_if(services_.begin(), services_.end(), predicate), in RemoveServiceIf()
Dfirst_stage_mount.cpp171 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/
Dvintf_object_tests.cpp2559 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/
Dgnss_test.cc43 bool waitForCondition(const std::function<bool()> &predicate, in waitForCondition() argument
48 while (!(result = predicate()) && time < timeout) { in waitForCondition()
/system/libvintf/
DHalManifest.cpp160 static void removeIf(List& list, Predicate predicate) { in removeIf() argument
162 if (predicate(*it)) { in removeIf()