Home
last modified time | relevance | path

Searched refs:pred (Results 1 – 8 of 8) sorted by relevance

/system/libvintf/test/
Dvintf_object_tests.cpp1050 auto pred = getInstanceListFunc({ in TEST_F() local
1055 EXPECT_EQ(NO_DEPRECATED_HALS, vintfObject->checkDeprecation(pred, &error)) << error; in TEST_F()
1059 auto pred = getInstanceListFunc({ in TEST_F() local
1065 EXPECT_EQ(DEPRECATED, vintfObject->checkDeprecation(pred, &error)) in TEST_F()
1070 auto pred = getInstanceListFunc({ in TEST_F() local
1075 EXPECT_EQ(DEPRECATED, vintfObject->checkDeprecation(pred, &error)) in TEST_F()
1080 auto pred = getInstanceListFunc({ in TEST_F() local
1086 EXPECT_EQ(DEPRECATED, vintfObject->checkDeprecation(pred, &error)) in TEST_F()
1091 auto pred = getInstanceListFunc({ in TEST_F() local
1097 EXPECT_EQ(DEPRECATED, vintfObject->checkDeprecation(pred, &error)) in TEST_F()
[all …]
/system/security/keystore/
Dauth_token_table.cpp61 typename Container::iterator find_if(Container& container, Predicate pred) { in find_if() argument
62 return std::find_if(container.begin(), container.end(), pred); in find_if()
66 typename Container::iterator remove_if(Container& container, Predicate pred) { in remove_if() argument
67 return std::remove_if(container.begin(), container.end(), pred); in remove_if()
/system/extras/perfprofd/
Dquipper_helper.h33 FilteredIterator(const Iterator& begin, const Iterator& end, const Predicate& pred) in FilteredIterator() argument
34 : iter_(begin), end_(end), pred_(pred) { in FilteredIterator()
/system/core/adb/daemon/
Djdwp_service.cpp169 auto pred = [this](const auto& proc) { return proc.get() == this; }; in RemoveFromList() local
170 _jdwp_list.remove_if(pred); in RemoveFromList()
481 auto pred = [s](const auto& tracker) { return tracker.get() == s; }; in jdwp_tracker_close() local
482 _jdwp_trackers.erase(std::remove_if(_jdwp_trackers.begin(), _jdwp_trackers.end(), pred), in jdwp_tracker_close()
/system/media/camera/docs/
Dmetadata_model.py64 def find_all(self, pred): argument
75 if pred(self):
82 for j in i.find_all(pred):
85 def find_first(self, pred): argument
95 for i in self.find_all(pred):
100 def find_parent_first(self, pred): argument
110 for i in self.find_parents(pred):
115 def find_parents(self, pred): argument
129 if pred(parent):
/system/core/adb/
Dadb_listeners.cpp169 auto pred = [](const std::unique_ptr<alistener>& listener) { in close_smartsockets() local
172 listener_list.remove_if(pred); in close_smartsockets()
Dtransport.cpp1152 auto pred = alphanumeric ? [](const char c) { return !isalnum(c); } in sanitize() local
1154 std::replace_if(str.begin(), str.end(), pred, '_'); in sanitize()
/system/extras/perfprofd/tests/
Dperfprofd_test.cc81 std::string JoinTestLog(const char* delimiter, Predicate pred) { in JoinTestLog() argument
87 pred); in JoinTestLog()