Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/aidl/
DPowerSessionManager.cpp154 std::vector<pid_t> removedThreads; in removePowerSession() local
160 mSessionTaskMap.replace(sessionId, {}, &addedThreads, &removedThreads); in removePowerSession()
164 for (auto tid : removedThreads) { in removePowerSession()
177 std::vector<pid_t> removedThreads; in setThreadsFromPowerSession() local
181 mSessionTaskMap.replace(sessionId, threadIds, &addedThreads, &removedThreads); in setThreadsFromPowerSession()
188 for (auto tid : removedThreads) { in setThreadsFromPowerSession()
DSessionTaskMap.cpp220 std::vector<pid_t> *addedThreads, std::vector<pid_t> *removedThreads) { in replace() argument
246 if (removedThreads) { in replace()
250 removedThreads->push_back(tid); in replace()
DSessionTaskMap.h79 std::vector<pid_t> *addedThreads, std::vector<pid_t> *removedThreads);
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DSessionTaskMapTest.cpp184 std::vector<pid_t> removedThreads; in TEST() local
186 m.replace(1, {10, 40}, &addedThreads, &removedThreads); in TEST()
190 EXPECT_EQ(1, removedThreads.size()); in TEST()
191 EXPECT_EQ(30, removedThreads[0]); in TEST()