Home
last modified time | relevance | path

Searched refs:myTid (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DProcessTest.java105 int myTid = Process.myTid(); in testMiscMethods() local
107 int priority = Process.getThreadPriority(myTid); in testMiscMethods()
112 assertEquals(Process.THREAD_PRIORITY_AUDIO, Process.getThreadPriority(myTid)); in testMiscMethods()
114 Process.setThreadPriority(myTid, Process.THREAD_PRIORITY_LOWEST); in testMiscMethods()
115 assertEquals(Process.THREAD_PRIORITY_LOWEST, Process.getThreadPriority(myTid)); in testMiscMethods()
117 Process.setThreadPriority(myTid, THREAD_PRIORITY_HIGHEST); in testMiscMethods()
118 assertEquals(THREAD_PRIORITY_HIGHEST, Process.getThreadPriority(myTid)); in testMiscMethods()
121 Process.setThreadPriority(myTid, invalidPriority); in testMiscMethods()
122 assertEquals(THREAD_PRIORITY_HIGHEST, Process.getThreadPriority(myTid)); in testMiscMethods()
DHandlerThreadTest.java78 mMyTid = Process.myTid(); in onLooperPrepared()
/cts/tests/vr/src/android/vr/cts/
DVrSetFIFOThreadTest.java89 vr_thread = Process.myTid(); in testSetVrThreadAPISuccess()
112 vr_thread = Process.myTid(); in testSetVrThreadAPIFailure()
/cts/tests/tests/util/src/android/util/cts/
DEventLogTest.java247 assertEquals(Process.myTid(), event.getThreadId()); in verifyEvent()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java609 private final int mThreadId = Process.myTid();