Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorService.cpp320 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in onUidStateChanged() local
321 for (const sp<SensorEventConnection>& conn : connLock.getActiveConnections()) { in onUidStateChanged()
327 for (const sp<SensorDirectConnection>& conn : connLock.getDirectConnections()) { in onUidStateChanged()
398 ConnectionSafeAutolock connLock = mConnectionHolder.lock(mLock); in dump() local
412 disableAllSensorsLocked(&connLock); in dump()
420 enableAllSensorsLocked(&connLock); in dump()
447 return dumpProtoLocked(fd, &connLock); in dump()
513 const auto& activeConnections = connLock.getActiveConnections(); in dump()
520 const auto& directConnections = connLock.getDirectConnections(); in dump()
557 status_t SensorService::dumpProtoLocked(int fd, ConnectionSafeAutolock* connLock) const { in dumpProtoLocked()
[all …]
DSensorService.h345 status_t dumpProtoLocked(int fd, ConnectionSafeAutolock* connLock) const;
370 void checkWakeLockStateLocked(ConnectionSafeAutolock* connLock);
439 void disableAllSensorsLocked(ConnectionSafeAutolock* connLock);
442 void enableAllSensorsLocked(ConnectionSafeAutolock* connLock);