Lines Matching refs:nanoapp
70 bool GnssSession::addRequest(Nanoapp *nanoapp, Milliseconds minInterval, in addRequest() argument
72 CHRE_ASSERT(nanoapp); in addRequest()
73 return configure(nanoapp, true /* enable */, minInterval, minTimeToNext, in addRequest()
77 bool GnssSession::removeRequest(Nanoapp *nanoapp, const void *cookie) { in removeRequest() argument
78 CHRE_ASSERT(nanoapp); in removeRequest()
79 return configure(nanoapp, false /* enable */, Milliseconds(UINT64_MAX), in removeRequest()
139 Nanoapp *nanoapp, bool enable, Milliseconds minInterval, in configure() argument
142 uint32_t instanceId = nanoapp->getInstanceId(); in configure()
244 Nanoapp *nanoapp = EventLoopManagerSingleton::get()->getEventLoop() in updateRequests() local
246 if (nanoapp == nullptr) { in updateRequests()
267 nanoapp->registerForBroadcastEvent(mReportEventType); in updateRequests()
274 nanoapp->unregisterForBroadcastEvent(mReportEventType); in updateRequests()