Lines Matching refs:func
65 bool forEachInstance(const std::function<bool(const InstanceType&)>& func) const { in forEachInstance()
67 bool cont = hal.forEachInstance(func); in forEachInstance()
73 bool forEachHidlInstance(const std::function<bool(const InstanceType&)>& func) const { in forEachHidlInstance()
74 return forEachInstance(HalFormat::HIDL, func); in forEachHidlInstance()
79 const std::function<bool(const InstanceType&)>& func) const { in forEachInstance()
82 return func(e); in forEachInstance()
89 const std::function<bool(const InstanceType&)>& func) const { in forEachInstanceOfPackage()
94 if (!hal->forEachInstance(func)) { in forEachInstanceOfPackage()
101 const std::function<bool(const InstanceType&)>& func) const { in forEachHidlInstanceOfPackage()
102 return forEachInstanceOfPackage(HalFormat::HIDL, package, func); in forEachHidlInstanceOfPackage()
112 const std::function<bool(const InstanceType&)>& func) const = 0;
120 const std::function<bool(const InstanceType&)>& func) const { in forEachInstanceOfInterface()
122 [&func, &interface](const InstanceType& e) { in forEachInstanceOfInterface()
124 return func(e); in forEachInstanceOfInterface()
136 const std::function<bool(const InstanceType&)>& func) const { in forEachHidlInstanceOfVersion()
137 return forEachInstanceOfVersion(HalFormat::HIDL, package, expectVersion, func); in forEachHidlInstanceOfVersion()
145 const std::function<bool(const InstanceType&)>& func) const { in forEachHidlInstanceOfInterface()
146 return forEachInstanceOfInterface(HalFormat::HIDL, package, expectVersion, interface, func); in forEachHidlInstanceOfInterface()