Home
last modified time | relevance | path

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

/hardware/google/pixel/power-libperfmgr/aidl/tests/
DPowerHintSessionTest.cpp219 ASSERT_EQ(sessManager->mSessionTaskMap.mSessions[sess1->mSessionId].linkedTasks, in TEST_F()
221 ASSERT_EQ(sessManager->mSessionTaskMap.mSessions[sess2->mSessionId].linkedTasks, in TEST_F()
236 ASSERT_EQ(sessManager->mSessionTaskMap.mSessions[sess1->mSessionId].linkedTasks, in TEST_F()
238 ASSERT_EQ(sessManager->mSessionTaskMap.mSessions[sess2->mSessionId].linkedTasks, in TEST_F()
250 ASSERT_EQ(sessManager->mSessionTaskMap.mSessions[sess1->mSessionId].linkedTasks.size(), 0); in TEST_F()
257 ASSERT_EQ(sessManager->mSessionTaskMap.mSessions[sess1->mSessionId].linkedTasks, in TEST_F()
265 ASSERT_EQ(sessManager->mSessionTaskMap.mSessions[sess1->mSessionId].linkedTasks, in TEST_F()
275 ASSERT_EQ(2, sessManager->mSessionTaskMap.mSessions[sess1->mSessionId].linkedTasks.size()); in TEST_F()
279 ASSERT_EQ(0, sessManager->mSessionTaskMap.mSessions[sess1->mSessionId].linkedTasks.size()); in TEST_F()
282 ASSERT_EQ(sessManager->mSessionTaskMap.mSessions[sess1->mSessionId].linkedTasks, in TEST_F()
[all …]
DSessionTaskMapTest.cpp55 m.forEachSessionValTasks([&](int64_t sessId, const auto & /*sve*/, const auto &linkedTasks) { in getTasks() argument
58 tasks.insert(std::end(tasks), std::begin(linkedTasks), std::end(linkedTasks)); in getTasks()
/hardware/google/pixel/power-libperfmgr/aidl/
DSessionTaskMap.cpp41 sessEntry.linkedTasks = taskIds; in add()
135 return taskItr->second.linkedTasks; in getTaskIds()
161 for (const auto taskId : sessItr->second.linkedTasks) { in remove()
228 const auto previousTaskIds = itr->second.linkedTasks; in replace()
DSessionTaskMap.h106 fn(e.first, *(e.second.val), e.second.linkedTasks); in forEachSessionValTasks()
123 std::vector<pid_t> linkedTasks; member