Searched refs:getThreadPriority (Results 1 – 11 of 11) sorted by relevance
52 public int getThreadPriority() { fail(); return -999; } in getThreadPriority() method in BinderThreadPriorityTest.ServiceStub78 mSavedPriority = Process.getThreadPriority(Process.myTid()); in setUp()90 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); in tearDown()120 assertEquals(prio, Process.getThreadPriority(Process.myTid())); in testPassPriorityToService()124 assertEquals(prio, mService.getThreadPriority()); in testPassPriorityToService()134 assertEquals(expected, Process.getThreadPriority(Process.myTid())); in testCallBackFromServiceWithPriority()139 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); in testCallBackFromServiceWithPriority()
33 public int getThreadPriority() {34 return Process.getThreadPriority(Process.myTid());
20 int getThreadPriority(); in getThreadPriority() method
19 import static android.os.Process.getThreadPriority;44 final int prevPriority = getThreadPriority(tid); in boost()61 final int currentPriority = getThreadPriority(myTid()); in reset()78 final int prevPriority = getThreadPriority(tid); in setBoostToPriority()
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()
779 public static final native int getThreadPriority(int tid) in getThreadPriority() method in Process
626 final int oldPriority = Process.getThreadPriority(Process.myTid()); in initService()
21944 app.savedPriority = Process.getThreadPriority(app.pid);
22186 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;
31287 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;
34038 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;