Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/
DCarWatchdogDaemonHelperTest.java255 int testPid = 1; in testSetThreadPriority() local
262 testPid, testTid, testUid, testPolicy, testPriority); in testSetThreadPriority()
265 testPid, testTid, testUid, testPolicy, testPriority); in testSetThreadPriority()
270 int testPid = 1; in testSetThreadPriority_DaemonVersionTooLow() local
279 testPid, testTid, testUid, testPolicy, testPriority)); in testSetThreadPriority_DaemonVersionTooLow()
284 int testPid = 1; in testGetThreadPriority() local
292 when(mFakeCarWatchdog.getThreadPriority(testPid, testTid, testUid)) in testGetThreadPriority()
295 int[] result = mCarWatchdogDaemonHelper.getThreadPriority(testPid, testTid, testUid); in testGetThreadPriority()
303 int testPid = 1; in testGetThreadPriority_DaemonVersionTooLow() local
309 () -> mCarWatchdogDaemonHelper.getThreadPriority(testPid, testTid, testUid)); in testGetThreadPriority_DaemonVersionTooLow()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogInternalHandlerTest.cpp681 int testPid = 1; in TEST_F() local
687 setThreadPriority(testPid, testTid, testUid, policy, priority)) in TEST_F()
690 auto status = mWatchdogInternalHandler->setThreadPriority(testPid, testTid, testUid, policy, in TEST_F()
698 int testPid = 1; in TEST_F() local
703 EXPECT_CALL(*mThreadPriorityController, getThreadPriority(testPid, testTid, testUid, _)) in TEST_F()
712 auto status = mWatchdogInternalHandler->getThreadPriority(testPid, testTid, testUid, &actual); in TEST_F()