Lines Matching refs:activationIndex
242 ssize_t activationIndex = previousActivations.indexOfKey(handle); in reactivateSensors() local
243 if (activationIndex < 0 || previousActivations[activationIndex].numActiveClients() <= 0) { in reactivateSensors()
247 const Info& info = previousActivations[activationIndex]; in reactivateSensors()
455 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in autoDisable() local
456 if (activationIndex < 0) { in autoDisable()
460 Info& info(mActivationCount.editValueAt(activationIndex)); in autoDisable()
479 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in activateLocked() local
480 if (activationIndex < 0) { in activateLocked()
484 Info& info(mActivationCount.editValueAt(activationIndex)); in activateLocked()
591 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in batchLocked() local
592 if (activationIndex < 0) { in batchLocked()
596 Info& info(mActivationCount.editValueAt(activationIndex)); in batchLocked()
712 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in isSensorActive() local
713 if (activationIndex < 0) { in isSensorActive()
716 return mActivationCount.valueAt(activationIndex).isActive; in isSensorActive()
721 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in onMicSensorAccessChanged() local
722 if (activationIndex < 0) { in onMicSensorAccessChanged()
726 Info& info(mActivationCount.editValueAt(activationIndex)); in onMicSensorAccessChanged()