Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.cpp254 auto previousActivations = mActivationCount; in reconnect() local
266 reactivateSensors(previousActivations); in reconnect()
327 void SensorDevice::reactivateSensors(const DefaultKeyedVector<int, Info>& previousActivations) { in reactivateSensors() argument
330 ssize_t activationIndex = previousActivations.indexOfKey(handle); in reactivateSensors()
331 if (activationIndex < 0 || previousActivations[activationIndex].numActiveClients() <= 0) { in reactivateSensors()
335 const Info& info = previousActivations[activationIndex]; in reactivateSensors()
DSensorDevice.h194 void reactivateSensors(const DefaultKeyedVector<int, Info>& previousActivations);