Searched refs:foundIndex (Results 1 – 2 of 2) sorted by relevance
64 size_t foundIndex = registrationIndex(eventType); in isRegisteredForBroadcastEvent() local65 if (foundIndex < mRegisteredEvents.size()) { in isRegisteredForBroadcastEvent()66 const EventRegistration ® = mRegisteredEvents[foundIndex]; in isRegisteredForBroadcastEvent()77 size_t foundIndex = registrationIndex(eventType); in registerForBroadcastEvent() local78 if (foundIndex < mRegisteredEvents.size()) { in registerForBroadcastEvent()79 mRegisteredEvents[foundIndex].groupIdMask |= groupIdMask; in registerForBroadcastEvent()88 size_t foundIndex = registrationIndex(eventType); in unregisterForBroadcastEvent() local89 if (foundIndex < mRegisteredEvents.size()) { in unregisterForBroadcastEvent()90 EventRegistration ® = mRegisteredEvents[foundIndex]; in unregisterForBroadcastEvent()93 mRegisteredEvents.erase(foundIndex); in unregisterForBroadcastEvent()[all …]
159 size_t foundIndex = mPassiveLocationListenerNanoapps.find(nanoappInstanceId); in nanoappHasPassiveLocationListener() local160 bool found = (foundIndex != mPassiveLocationListenerNanoapps.size()); in nanoappHasPassiveLocationListener()162 *index = foundIndex; in nanoappHasPassiveLocationListener()