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.java52 public int getThreadPriority() { fail(); return -999; } in getThreadPriority() method in BinderThreadPriorityTest.ServiceStub
78 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()
DBinderThreadPriorityService.java33 public int getThreadPriority() {
34 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;
44 final int prevPriority = getThreadPriority(tid); in boost()
61 final int currentPriority = getThreadPriority(myTid()); in reset()
78 final int prevPriority = getThreadPriority(tid); in setBoostToPriority()
/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.java779 public static final native int getThreadPriority(int tid) in getThreadPriority() method in Process
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java626 final int oldPriority = Process.getThreadPriority(Process.myTid()); in initService()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java21944 app.savedPriority = Process.getThreadPriority(app.pid);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22186 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;
/frameworks/base/api/
Dcurrent.txt31287 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;
Dsystem-current.txt34038 method public static final int getThreadPriority(int) throws java.lang.IllegalArgumentException;