Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.h133 class ConnectionSafeAutolock; variable
146 class ConnectionSafeAutolock final {
155 explicit ConnectionSafeAutolock(SensorConnectionHolder& holder, Mutex& mutex);
156 DISALLOW_IMPLICIT_CONSTRUCTORS(ConnectionSafeAutolock);
186 ConnectionSafeAutolock lock(Mutex& mutex);
189 friend class ConnectionSafeAutolock;
345 status_t dumpProtoLocked(int fd, ConnectionSafeAutolock* connLock) const;
370 void checkWakeLockStateLocked(ConnectionSafeAutolock* connLock);
439 void disableAllSensorsLocked(ConnectionSafeAutolock* connLock);
442 void enableAllSensorsLocked(ConnectionSafeAutolock* connLock);
DSensorService.cpp320 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in onUidStateChanged()
398 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in dump()
557 status_t SensorService::dumpProtoLocked(int fd, ConnectionSafeAutolock* connLock) const { in dumpProtoLocked()
673 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in disableAllSensors()
677 void SensorService::disableAllSensorsLocked(ConnectionSafeAutolock* connLock) { in disableAllSensorsLocked()
697 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in enableAllSensors()
701 void SensorService::enableAllSensorsLocked(ConnectionSafeAutolock* connLock) { in enableAllSensorsLocked()
723 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in capRates()
738 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in uncapRates()
929 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in threadLoop()
[all …]