Home
last modified time | relevance | path

Searched refs:wlStats (Results 1 – 4 of 4) sorted by relevance

/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspendUnitTest.cpp169 std::vector<WakeLockInfo> wlStats; in getActiveWakeLockCount() local
170 controlService->getWakeLockStats(&wlStats); in getActiveWakeLockCount()
171 return count_if(wlStats.begin(), wlStats.end(), [](auto entry) { return entry.isActive; }); in getActiveWakeLockCount()
396 bool findWakeLockInfoByName(const std::vector<WakeLockInfo>& wlStats, const std::string& name, in findWakeLockInfoByName() argument
398 auto it = std::find_if(wlStats.begin(), wlStats.end(), in findWakeLockInfoByName()
400 if (it != wlStats.end()) { in findWakeLockInfoByName()
551 std::vector<WakeLockInfo> wlStats; in getWakelockStats() local
552 controlService->getWakeLockStats(&wlStats); in getWakelockStats()
553 return wlStats; in getWakelockStats()
603 std::vector<WakeLockInfo> wlStats = getWakelockStats(); in TEST_F() local
[all …]
DSystemSuspendBenchmark.cpp46 std::vector<WakeLockInfo> wlStats; in BM_getWakeLockStats() local
47 controlService->getWakeLockStats(&wlStats); in BM_getWakeLockStats()
DSuspendControlService.cpp146 std::stringstream wlStats; in dump() local
147 wlStats << suspendService->getStatsList(); in dump()
148 dprintf(fd, "\n%s\n", wlStats.str().c_str()); in dump()
DWakeLockEntryList.cpp62 std::vector<WakeLockInfo> wlStats; in operator <<() local
63 list.getWakeLockStats(&wlStats); in operator <<()
100 for (const WakeLockInfo& entry : wlStats) { in operator <<()