Searched refs:getThreadPriority (Results 1 – 12 of 12) 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()
942 public static final native int getThreadPriority(int tid) in getThreadPriority() method in Process
1772 app.savedPriority = Process.getThreadPriority(app.pid); in applyOomAdjLocked()
731 final int oldPriority = Process.getThreadPriority(Process.myTid()); in initService()
22186 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;
35313 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;
35457 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;