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.cpp113 bool SensorService::SensorDirectConnection::hasSensorAccess() const { in hasSensorAccess() function in android::SensorService::SensorDirectConnection
114 return mService->hasSensorAccess(mUid, mOpPackageName); in hasSensorAccess()
150 if (!hasSensorAccess()) { in configureChannel()
DSensorDirectConnection.h69 bool hasSensorAccess() const;
DSensorEventConnection.h141 bool hasSensorAccess();
DSensorService.h439 bool hasSensorAccess(uid_t uid, const String16& opPackageName);
DSensorService.cpp400 bool SensorService::hasSensorAccess(uid_t uid, const String16& opPackageName) { in hasSensorAccess() function in android::SensorService