Home
last modified time | relevance | path

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

/chre-3.4.0/core/
Dnanoapp.cc55 size_t foundIndex = registrationIndex(eventType); in isRegisteredForBroadcastEvent() local
56 if (foundIndex < mRegisteredEvents.size()) { in isRegisteredForBroadcastEvent()
57 const EventRegistration &reg = mRegisteredEvents[foundIndex]; in isRegisteredForBroadcastEvent()
67 size_t foundIndex = registrationIndex(eventType); in registerForBroadcastEvent() local
68 if (foundIndex < mRegisteredEvents.size()) { in registerForBroadcastEvent()
69 mRegisteredEvents[foundIndex].groupIdMask |= groupIdMask; in registerForBroadcastEvent()
78 size_t foundIndex = registrationIndex(eventType); in unregisterForBroadcastEvent() local
79 if (foundIndex < mRegisteredEvents.size()) { in unregisterForBroadcastEvent()
80 EventRegistration &reg = mRegisteredEvents[foundIndex]; in unregisterForBroadcastEvent()
83 mRegisteredEvents.erase(foundIndex); in unregisterForBroadcastEvent()
[all …]
Dgnss_manager.cc156 size_t foundIndex = mPassiveLocationListenerNanoapps.find(nanoappInstanceId); in nanoappHasPassiveLocationListener() local
157 bool found = (foundIndex != mPassiveLocationListenerNanoapps.size()); in nanoappHasPassiveLocationListener()
159 *index = foundIndex; in nanoappHasPassiveLocationListener()