Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp224 bool temporarilyStopped = mActivated.empty() && !mActivatedBackup.empty(); in capRates()
226 (!temporarilyStopped) ? mActivated : mActivatedBackup; in capRates()
255 bool temporarilyStopped = mActivated.empty() && !mActivatedBackup.empty(); in uncapRates()
257 (!temporarilyStopped) ? mActivated : mActivatedBackup; in uncapRates()
299 if (backupRecord && mActivatedBackup.empty()) { in stopAllLocked()
300 mActivatedBackup = mActivated; in stopAllLocked()
307 if (!mActivatedBackup.empty()) { in recoverAll()
315 mActivated = mActivatedBackup; in recoverAll()
316 mActivatedBackup.clear(); in recoverAll()
DSensorDirectConnection.h100 std::unordered_map<int, int> mActivatedBackup; variable