Home
last modified time | relevance | path

Searched refs:getThreadPriority (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java51 public int getThreadPriority() { fail(); return -999; } in getThreadPriority() method in BinderThreadPriorityTest.ServiceStub
77 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()
DBinderThreadPriorityService.java32 public int getThreadPriority() {
33 return Process.getThreadPriority(Process.myTid());
DIBinderThreadPriorityService.aidl20 int getThreadPriority(); in getThreadPriority() method
/frameworks/base/services/core/java/com/android/server/
DThreadPriorityBooster.java19 import static android.os.Process.getThreadPriority;
48 final int prevPriority = getThreadPriority(state.tid); in boost()
80 final int prevPriority = getThreadPriority(state.tid); in setBoostToPriority()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DThreadPriorityBoosterTest.java19 import static android.os.Process.getThreadPriority;
77 assertEquals(expectedPriority, getThreadPriority(myTid())); in assertThreadPriority()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java255 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()
/frameworks/base/core/java/android/os/
DProcess.java878 public static final native int getThreadPriority(int tid) in getThreadPriority() method in Process
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java1768 app.savedPriority = Process.getThreadPriority(app.pid); in applyOomAdjLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java726 final int oldPriority = Process.getThreadPriority(Process.myTid()); in initService()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22186 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;
/frameworks/base/api/
Dcurrent.txt35014 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;