Home
last modified time | relevance | path

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

/system/core/init/
Dservice_list.h38 void RemoveServiceIf(UnaryPredicate predicate) { in RemoveServiceIf() argument
39 services_.erase(std::remove_if(services_.begin(), services_.end(), predicate), in RemoveServiceIf()
/system/libvintf/test/
Dvintf_object_tests.cpp1962 auto predicate = [](const auto& interfaceName) { in TEST_F() local
1965 EXPECT_RESULT_OK(vintfObject->checkMissingHalsInMatrices(hidl, {}, predicate)); in TEST_F()
1966 EXPECT_RESULT_OK(vintfObject->checkMissingHalsInMatrices({}, aidl, predicate)); in TEST_F()
1967 EXPECT_RESULT_OK(vintfObject->checkMissingHalsInMatrices(hidl, aidl, predicate)); in TEST_F()
1984 auto predicate = [](const auto& interfaceName) { in TEST_F() local
1988 res = vintfObject->checkMissingHalsInMatrices(hidl, {}, predicate); in TEST_F()
1991 res = vintfObject->checkMissingHalsInMatrices({}, aidl, predicate); in TEST_F()
1994 res = vintfObject->checkMissingHalsInMatrices(hidl, aidl, predicate); in TEST_F()
/system/libvintf/
DHalManifest.cpp101 static void removeIf(List& list, Predicate predicate) { in removeIf() argument
103 if (predicate(*it)) { in removeIf()