Home
last modified time | relevance | path

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

/frameworks/base/native/android/tests/performance_hint/
DPerformanceHintNativeTest.cpp223 std::vector<int32_t> newTids; in TEST_F() local
224 newTids.push_back(1); in TEST_F()
225 newTids.push_back(3); in TEST_F()
226 EXPECT_CALL(*mMockIHintManager, setHintSessionThreads(_, Eq(newTids))).Times(Exactly(1)); in TEST_F()
227 result = APerformanceHint_setThreads(session, newTids.data(), newTids.size()); in TEST_F()
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java706 final int[] newTids = session.getTidsInternal(); in cleanUpSession() local
707 if (newTids.length != tids.length) { in cleanUpSession()
711 Arrays.sort(newTids); in cleanUpSession()
713 if (!Arrays.equals(newTids, tids)) { in cleanUpSession()