Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.cpp392 ssize_t activationIndex = previousActivations.indexOfKey(handle); in reactivateSensors() local
393 if (activationIndex < 0 || previousActivations[activationIndex].numActiveClients() <= 0) { in reactivateSensors()
397 const Info& info = previousActivations[activationIndex]; in reactivateSensors()
647 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in autoDisable() local
648 if (activationIndex < 0) { in autoDisable()
652 Info& info(mActivationCount.editValueAt(activationIndex)); in autoDisable()
671 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in activateLocked() local
672 if (activationIndex < 0) { in activateLocked()
676 Info& info(mActivationCount.editValueAt(activationIndex)); in activateLocked()
784 ssize_t activationIndex = mActivationCount.indexOfKey(handle); in batchLocked() local
[all …]
/frameworks/base/cmds/statsd/src/metrics/
Dmetrics_manager_util.cpp201 int activationIndex = itr->second; in handleMetricActivation() local
202 const MetricActivation& metricActivation = config.metric_activation(activationIndex); in handleMetricActivation()