Home
last modified time | relevance | path

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

/aosp12/frameworks/native/services/sensorservice/
H A DSensorService.h134 class ConnectionSafeAutolock; variable
147 class ConnectionSafeAutolock final {
156 explicit ConnectionSafeAutolock(SensorConnectionHolder& holder, Mutex& mutex);
157 DISALLOW_IMPLICIT_CONSTRUCTORS(ConnectionSafeAutolock);
187 ConnectionSafeAutolock lock(Mutex& mutex);
190 friend class ConnectionSafeAutolock;
346 status_t dumpProtoLocked(int fd, ConnectionSafeAutolock* connLock) const;
371 void checkWakeLockStateLocked(ConnectionSafeAutolock* connLock);
440 void disableAllSensorsLocked(ConnectionSafeAutolock* connLock);
443 void enableAllSensorsLocked(ConnectionSafeAutolock* connLock);
H A DSensorService.cpp322 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in onUidStateChanged()
676 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in disableAllSensors()
697 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in enableAllSensors()
720 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in capRates()
735 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in uncapRates()
1092 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in resetAllWakeLockRefCounts()
1343 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in createSensorDirectConnection()
1544 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in cleanupConnection()
1689 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in enable()
2300 SensorService::ConnectionSafeAutolock::ConnectionSafeAutolock( in ConnectionSafeAutolock() function in android::SensorService::ConnectionSafeAutolock
[all …]