Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.cpp400 if (activationIndex < 0 || previousActivations[activationIndex].numActiveClients() <= 0) { in reactivateSensors()
439 if (info.numActiveClients() == 0) continue; in dump()
486 if (info.numActiveClients() == 0) continue; in dump()
661 if (info.numActiveClients() == 0) { in autoDisable()
699 if (info.numActiveClients() > 0 && !info.isActive) { in activateLocked()
718 if (info.numActiveClients() == 0) { in activateLocked()
830 if (prevBestBatchParams != info.bestBatchParams && info.numActiveClients() > 0) { in updateBatchParamsLocked()
901 bool disable = info.numActiveClients() == 0 && info.isActive; in setUidStateForConnection()
902 bool enable = info.numActiveClients() > 0 && !info.isActive; in setUidStateForConnection()
1106 int SensorDevice::Info::numActiveClients() const { in numActiveClients() function in android::SensorDevice::Info
DSensorDevice.h196 int numActiveClients() const;