Home
last modified time | relevance | path

Searched refs:hasSensorAccess (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp278 if (hasSensorAccess()) { in incrementPendingFlushCountIfHasAccess()
350 if (hasSensorAccess() && noteOpIfRequired(buffer[i])) { in sendEvents()
361 if (hasSensorAccess()) { in sendEvents()
392 if (hasSensorAccess()) { in sendEvents()
441 bool SensorService::SensorEventConnection::hasSensorAccess() { in hasSensorAccess() function in android::SensorService::SensorEventConnection
594 if (hasSensorAccess()) { in writeToSocketFromCache()
773 if (hasSensorAccess()) { in capRates()
793 if (hasSensorAccess()) { in uncapRates()
DSensorDirectConnection.cpp114 bool SensorService::SensorDirectConnection::hasSensorAccess() const { in hasSensorAccess() function in android::SensorService::SensorDirectConnection
115 return mService->hasSensorAccess(mUid, mOpPackageName); in hasSensorAccess()
151 if (!hasSensorAccess()) { in configureChannel()
DSensorDirectConnection.h68 bool hasSensorAccess() const;
DSensorEventConnection.h140 bool hasSensorAccess();
DSensorService.h424 bool hasSensorAccess(uid_t uid, const String16& opPackageName);
DSensorService.cpp336 bool SensorService::hasSensorAccess(uid_t uid, const String16& opPackageName) { in hasSensorAccess() function in android::SensorService