Home
last modified time | relevance | path

Searched refs:ConnectionSafeAutolock (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorService.h212 class ConnectionSafeAutolock; variable
226 class ConnectionSafeAutolock final {
235 explicit ConnectionSafeAutolock(SensorConnectionHolder& holder, Mutex& mutex);
236 DISALLOW_IMPLICIT_CONSTRUCTORS(ConnectionSafeAutolock);
266 ConnectionSafeAutolock lock(Mutex& mutex);
269 friend class ConnectionSafeAutolock;
411 status_t dumpProtoLocked(int fd, ConnectionSafeAutolock* connLock) const;
443 void checkWakeLockStateLocked(ConnectionSafeAutolock* connLock);
517 void disableAllSensorsLocked(ConnectionSafeAutolock* connLock);
520 void enableAllSensorsLocked(ConnectionSafeAutolock* connLock);
DSensorService.cpp225 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in unregisterRuntimeSensor()
511 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in onUidStateChanged()
602 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in dump()
728 status_t SensorService::dumpProtoLocked(int fd, ConnectionSafeAutolock* connLock) const { in dumpProtoLocked()
844 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in disableAllSensors()
848 void SensorService::disableAllSensorsLocked(ConnectionSafeAutolock* connLock) { in disableAllSensorsLocked()
865 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in enableAllSensors()
869 void SensorService::enableAllSensorsLocked(ConnectionSafeAutolock* connLock) { in enableAllSensorsLocked()
888 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in capRates()
899 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in uncapRates()
[all …]