Searched refs:foundIndex (Results 1 – 2 of 2) sorted by relevance
55 size_t foundIndex = registrationIndex(eventType); in isRegisteredForBroadcastEvent() local56 if (foundIndex < mRegisteredEvents.size()) { in isRegisteredForBroadcastEvent()57 const EventRegistration ® = mRegisteredEvents[foundIndex]; in isRegisteredForBroadcastEvent()67 size_t foundIndex = registrationIndex(eventType); in registerForBroadcastEvent() local68 if (foundIndex < mRegisteredEvents.size()) { in registerForBroadcastEvent()69 mRegisteredEvents[foundIndex].groupIdMask |= groupIdMask; in registerForBroadcastEvent()78 size_t foundIndex = registrationIndex(eventType); in unregisterForBroadcastEvent() local79 if (foundIndex < mRegisteredEvents.size()) { in unregisterForBroadcastEvent()80 EventRegistration ® = mRegisteredEvents[foundIndex]; in unregisterForBroadcastEvent()83 mRegisteredEvents.erase(foundIndex); in unregisterForBroadcastEvent()[all …]
156 size_t foundIndex = mPassiveLocationListenerNanoapps.find(nanoappInstanceId); in nanoappHasPassiveLocationListener() local157 bool found = (foundIndex != mPassiveLocationListenerNanoapps.size()); in nanoappHasPassiveLocationListener()159 *index = foundIndex; in nanoappHasPassiveLocationListener()