Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.cpp243 if (activationIndex < 0 || previousActivations[activationIndex].numActiveClients() <= 0) { in reactivateSensors()
282 if (info.numActiveClients() == 0) continue; in dump()
331 if (info.numActiveClients() == 0) continue; in dump()
462 if (info.numActiveClients() == 0) { in autoDisable()
500 if (info.numActiveClients() > 0 && !info.isActive) { in activateLocked()
522 if (info.numActiveClients() == 0) { in activateLocked()
629 if (prevBestBatchParams != info.bestBatchParams && info.numActiveClients() > 0) { in updateBatchParamsLocked()
700 bool disable = info.numActiveClients() == 0 && info.isActive; in setUidStateForConnection()
701 bool enable = info.numActiveClients() > 0 && !info.isActive; in setUidStateForConnection()
860 int SensorDevice::Info::numActiveClients() const { in numActiveClients() function in android::SensorDevice::Info
DSensorDevice.h191 int numActiveClients() const;