Lines Matching refs:nanoapp
101 bool GnssManager::configurePassiveLocationListener(Nanoapp *nanoapp, in configurePassiveLocationListener() argument
104 uint32_t instanceId = nanoapp->getInstanceId(); in configurePassiveLocationListener()
138 nanoapp->registerForBroadcastEvent(CHRE_EVENT_GNSS_LOCATION); in configurePassiveLocationListener()
142 nanoapp->unregisterForBroadcastEvent(CHRE_EVENT_GNSS_LOCATION); in configurePassiveLocationListener()
226 bool GnssSession::addRequest(Nanoapp *nanoapp, Milliseconds minInterval, in addRequest() argument
228 CHRE_ASSERT(nanoapp); in addRequest()
229 return configure(nanoapp, true /* enable */, minInterval, minTimeToNext, in addRequest()
233 bool GnssSession::removeRequest(Nanoapp *nanoapp, const void *cookie) { in removeRequest() argument
234 CHRE_ASSERT(nanoapp); in removeRequest()
235 return configure(nanoapp, false /* enable */, Milliseconds(UINT64_MAX), in removeRequest()
370 bool GnssSession::configure(Nanoapp *nanoapp, bool enable, in configure() argument
374 uint32_t instanceId = nanoapp->getInstanceId(); in configure()
402 addSessionRequestLog(nanoapp->getInstanceId(), minInterval, enable); in configure()
487 Nanoapp *nanoapp = in updateRequests() local
490 if (nanoapp == nullptr) { in updateRequests()
511 nanoapp->registerForBroadcastEvent(kReportEventType); in updateRequests()
525 nanoapp->unregisterForBroadcastEvent(kReportEventType); in updateRequests()