Searched refs:getThreadPriority (Results 1 – 11 of 11) sorted by relevance
51 public int getThreadPriority() { fail(); return -999; } in getThreadPriority() method in BinderThreadPriorityTest.ServiceStub77 mSavedPriority = Process.getThreadPriority(Process.myTid()); in setUp()89 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); in tearDown()119 assertEquals(prio, Process.getThreadPriority(Process.myTid())); in testPassPriorityToService()123 assertEquals(prio, mService.getThreadPriority()); in testPassPriorityToService()133 assertEquals(expected, Process.getThreadPriority(Process.myTid())); in testCallBackFromServiceWithPriority()138 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); in testCallBackFromServiceWithPriority()
32 public int getThreadPriority() {33 return Process.getThreadPriority(Process.myTid());
20 int getThreadPriority(); in getThreadPriority() method
19 import static android.os.Process.getThreadPriority;48 final int prevPriority = getThreadPriority(state.tid); in boost()80 final int prevPriority = getThreadPriority(state.tid); in setBoostToPriority()
19 import static android.os.Process.getThreadPriority;77 assertEquals(expectedPriority, getThreadPriority(myTid())); in assertThreadPriority()
255 int pri = Process.getThreadPriority(Process.myTid()); in onGetSuggestionsMultiple()278 int pri = Process.getThreadPriority(Process.myTid()); in onCancel()289 int pri = Process.getThreadPriority(Process.myTid()); in onClose()
878 public static final native int getThreadPriority(int tid) in getThreadPriority() method in Process
1768 app.savedPriority = Process.getThreadPriority(app.pid); in applyOomAdjLocked()
726 final int oldPriority = Process.getThreadPriority(Process.myTid()); in initService()
22186 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;
35014 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;