Home
last modified time | relevance | path

Searched refs:myTid (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DThreadPriorityBooster.java20 import static android.os.Process.myTid;
43 final int tid = myTid(); in boost()
61 final int currentPriority = getThreadPriority(myTid()); in reset()
63 setThreadPriority(myTid(), state.prevPriority); in reset()
77 final int tid = myTid(); in setBoostToPriority()
DUiThread.java41 Process.setThreadGroup(Process.myTid(), Process.THREAD_GROUP_TOP_APP); in run()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java78 mSavedPriority = Process.getThreadPriority(Process.myTid()); in setUp()
90 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); in tearDown()
98 String fn = "/proc/" + Process.myPid() + "/task/" + Process.myTid() + "/cgroup"; in getSchedulerGroup()
120 assertEquals(prio, Process.getThreadPriority(Process.myTid())); in testPassPriorityToService()
134 assertEquals(expected, Process.getThreadPriority(Process.myTid())); in testCallBackFromServiceWithPriority()
139 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); in testCallBackFromServiceWithPriority()
DHandlerThreadTest.java41 mLooperTid = Process.myTid(); in testHandlerThread()
71 assertNotSame(Process.myTid(), mLooperTid); in testHandlerThread()
77 assertEquals(mLooperTid, Process.myTid()); in testHandlerThread()
DSetPersistentVrThreadTest.java92 vr_thread = Process.myTid(); in testSetPersistentVrThreadAPISuccess()
128 vr_thread = Process.myTid(); in testSetPersistentVrThreadAPIFailure()
142 vr_thread = Process.myTid(); in testSetVrThreadAPIFailsInPersistentMode()
DBinderThreadPriorityService.java34 return Process.getThreadPriority(Process.myTid());
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerThreadPriorityBooster.java20 import static android.os.Process.myTid;
55 if (myTid() == mAnimationThreadId) { in boost()
65 if (myTid() == mAnimationThreadId) { in reset()
/frameworks/base/core/java/android/os/
DHandlerThread.java57 mTid = Process.myTid(); in run()
DProcess.java528 public static final int myTid() { in myTid() method in Process
/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/tools/layoutlib/bridge/src/android/os/
DHandlerThread_Delegate.java69 theThread.mTid = Process.myTid(); in run()
/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java882 " tid: " + Process.myTid()); in createBond()
916 " tid: " + Process.myTid()); in createBond()
993 " tid: " + Process.myTid()); in cancelBondProcess()
1017 " tid: " + Process.myTid()); in removeBond()
/frameworks/support/compat/java/android/support/v4/graphics/
DTypefaceCompatUtil.java55 final String prefix = CACHE_FILE_PREFIX + Process.myPid() + "-" + Process.myTid() + "-"; in getTempFile()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSessionManager.java72 public ICurrentThreadId mCurrentThreadId = Process::myTid;
/frameworks/base/core/java/android/app/
DInstrumentation.java2069 + Process.myTid(), e); in run()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java101 int tid = android.os.Process.myTid(); in log()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java626 final int oldPriority = Process.getThreadPriority(Process.myTid()); in initService()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22190 method public static final int myTid();
/frameworks/base/api/
Dcurrent.txt31293 method public static final int myTid();
Dsystem-current.txt34044 method public static final int myTid();