Searched refs:wlStats (Results 1 – 4 of 4) sorted by relevance
169 std::vector<WakeLockInfo> wlStats; in getActiveWakeLockCount() local170 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() argument398 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() local552 controlService->getWakeLockStats(&wlStats); in getWakelockStats()553 return wlStats; in getWakelockStats()603 std::vector<WakeLockInfo> wlStats = getWakelockStats(); in TEST_F() local[all …]
46 std::vector<WakeLockInfo> wlStats; in BM_getWakeLockStats() local47 controlService->getWakeLockStats(&wlStats); in BM_getWakeLockStats()
146 std::stringstream wlStats; in dump() local147 wlStats << suspendService->getStatsList(); in dump()148 dprintf(fd, "\n%s\n", wlStats.str().c_str()); in dump()
62 std::vector<WakeLockInfo> wlStats; in operator <<() local63 list.getWakeLockStats(&wlStats); in operator <<()100 for (const WakeLockInfo& entry : wlStats) { in operator <<()