Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp222 bool temporarilyStopped = mActivated.empty() && !mActivatedBackup.empty(); in capRates()
224 (!temporarilyStopped) ? mActivated : mActivatedBackup; in capRates()
252 bool temporarilyStopped = mActivated.empty() && !mActivatedBackup.empty(); in uncapRates()
254 (!temporarilyStopped) ? mActivated : mActivatedBackup; in uncapRates()
304 if (backupRecord && mActivatedBackup.empty()) { in stopAllLocked()
305 mActivatedBackup = mActivated; in stopAllLocked()
312 if (!mActivatedBackup.empty()) { in recoverAll()
318 mActivated = mActivatedBackup; in recoverAll()
319 mActivatedBackup.clear(); in recoverAll()
DSensorDirectConnection.h106 std::unordered_map<int, int> mActivatedBackup; variable