Lines Matching refs:mActivationCount

89     mActivationCount.setCapacity(count);  in initializeSensorList()
129 mActivationCount.add(list[i].handle, model); in initializeSensorList()
165 auto previousActivations = mActivationCount; in reconnect()
168 mActivationCount.clear(); in reconnect()
264 mActivationCount.add(handle, model); in handleDynamicSensorConnection()
267 mActivationCount.removeItem(handle); in handleDynamicSensorConnection()
276 mSensorList.size(), mActivationCount.size(), mDisabledClients.size()); in dump()
281 const Info& info = mActivationCount.valueFor(handle); in dump()
325 proto->write(ACTIVE_SENSORS, int(mActivationCount.size())); in dump()
330 const Info& info = mActivationCount.valueFor(handle); in dump()
455 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in autoDisable()
460 Info& info(mActivationCount.editValueAt(activationIndex)); in autoDisable()
479 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in activateLocked()
484 Info& info(mActivationCount.editValueAt(activationIndex)); in activateLocked()
591 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in batchLocked()
596 Info& info(mActivationCount.editValueAt(activationIndex)); in batchLocked()
694 for (size_t i = 0; i < mActivationCount.size(); ++i) { in setUidStateForConnection()
695 int handle = mActivationCount.keyAt(i); in setUidStateForConnection()
696 Info& info = mActivationCount.editValueAt(i); in setUidStateForConnection()
712 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in isSensorActive()
716 return mActivationCount.valueAt(activationIndex).isActive; in isSensorActive()
721 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in onMicSensorAccessChanged()
726 Info& info(mActivationCount.editValueAt(activationIndex)); in onMicSensorAccessChanged()
743 for (size_t i = 0; i < mActivationCount.size(); ++i) { in enableAllSensors()
744 Info& info = mActivationCount.editValueAt(i); in enableAllSensors()
747 const int sensor_handle = mActivationCount.keyAt(i); in enableAllSensors()
768 for (size_t i = 0; i < mActivationCount.size(); ++i) { in disableAllSensors()
769 Info& info = mActivationCount.editValueAt(i); in disableAllSensors()
772 const int sensor_handle = mActivationCount.keyAt(i); in disableAllSensors()