Lines Matching refs:func

68     bool forEachInstance(const std::function<bool(const InstanceType&)>& func) const {  in forEachInstance()
70 bool cont = hal.forEachInstance(func); in forEachInstance()
76 bool forEachHidlInstance(const std::function<bool(const InstanceType&)>& func) const { in forEachHidlInstance()
77 return forEachInstance(HalFormat::HIDL, func); in forEachHidlInstance()
82 const std::function<bool(const InstanceType&)>& func) const { in forEachInstance()
85 return func(e); in forEachInstance()
92 const std::function<bool(const InstanceType&)>& func) const { in forEachInstanceOfPackage()
97 if (!hal->forEachInstance(func)) { in forEachInstanceOfPackage()
104 const std::function<bool(const InstanceType&)>& func) const { in forEachHidlInstanceOfPackage()
105 return forEachInstanceOfPackage(HalFormat::HIDL, package, func); in forEachHidlInstanceOfPackage()
115 const std::function<bool(const InstanceType&)>& func) const = 0;
123 const std::function<bool(const InstanceType&)>& func) const { in forEachInstanceOfInterface()
125 [&func, &interface](const InstanceType& e) { in forEachInstanceOfInterface()
127 return func(e); in forEachInstanceOfInterface()
139 const std::function<bool(const InstanceType&)>& func) const { in forEachHidlInstanceOfVersion()
140 return forEachInstanceOfVersion(HalFormat::HIDL, package, expectVersion, func); in forEachHidlInstanceOfVersion()
148 const std::function<bool(const InstanceType&)>& func) const { in forEachHidlInstanceOfInterface()
149 return forEachInstanceOfInterface(HalFormat::HIDL, package, expectVersion, interface, func); in forEachHidlInstanceOfInterface()