Home
last modified time | relevance | path

Searched refs:foundIndex (Results 1 – 2 of 2) sorted by relevance

/system/chre/core/
Dnanoapp.cc64 size_t foundIndex = registrationIndex(eventType); in isRegisteredForBroadcastEvent() local
65 if (foundIndex < mRegisteredEvents.size()) { in isRegisteredForBroadcastEvent()
66 const EventRegistration &reg = mRegisteredEvents[foundIndex]; in isRegisteredForBroadcastEvent()
77 size_t foundIndex = registrationIndex(eventType); in registerForBroadcastEvent() local
78 if (foundIndex < mRegisteredEvents.size()) { in registerForBroadcastEvent()
79 mRegisteredEvents[foundIndex].groupIdMask |= groupIdMask; in registerForBroadcastEvent()
88 size_t foundIndex = registrationIndex(eventType); in unregisterForBroadcastEvent() local
89 if (foundIndex < mRegisteredEvents.size()) { in unregisterForBroadcastEvent()
90 EventRegistration &reg = mRegisteredEvents[foundIndex]; in unregisterForBroadcastEvent()
93 mRegisteredEvents.erase(foundIndex); in unregisterForBroadcastEvent()
[all …]
Dgnss_manager.cc159 size_t foundIndex = mPassiveLocationListenerNanoapps.find(nanoappInstanceId); in nanoappHasPassiveLocationListener() local
160 bool found = (foundIndex != mPassiveLocationListenerNanoapps.size()); in nanoappHasPassiveLocationListener()
162 *index = foundIndex; in nanoappHasPassiveLocationListener()