Lines Matching refs:nanoapp
43 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssLocationSessionStartAsync() local
44 return nanoapp->permitPermissionUse(NanoappPermissions::CHRE_PERMS_GNSS) && in chreGnssLocationSessionStartAsync()
48 .addRequest(nanoapp, Milliseconds(minIntervalMs), in chreGnssLocationSessionStartAsync()
57 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssLocationSessionStopAsync() local
58 return nanoapp->permitPermissionUse(NanoappPermissions::CHRE_PERMS_GNSS) && in chreGnssLocationSessionStopAsync()
62 .removeRequest(nanoapp, cookie); in chreGnssLocationSessionStopAsync()
71 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssMeasurementSessionStartAsync() local
72 return nanoapp->permitPermissionUse(NanoappPermissions::CHRE_PERMS_GNSS) && in chreGnssMeasurementSessionStartAsync()
76 .addRequest(nanoapp, Milliseconds(minIntervalMs), in chreGnssMeasurementSessionStartAsync()
85 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssMeasurementSessionStopAsync() local
86 return nanoapp->permitPermissionUse(NanoappPermissions::CHRE_PERMS_GNSS) && in chreGnssMeasurementSessionStopAsync()
90 .removeRequest(nanoapp, cookie); in chreGnssMeasurementSessionStopAsync()
98 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssConfigurePassiveLocationListener() local
99 return nanoapp->permitPermissionUse(NanoappPermissions::CHRE_PERMS_GNSS) && in chreGnssConfigurePassiveLocationListener()
102 .configurePassiveLocationListener(nanoapp, enable); in chreGnssConfigurePassiveLocationListener()