Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerThreadPriorityBooster.java20 import static android.os.Process.myTid;
57 final int myTid = myTid(); in boost() local
58 if (myTid == mAnimationThreadId || myTid == mSurfaceAnimationThreadId) { in boost()
68 final int myTid = myTid(); in reset() local
69 if (myTid == mAnimationThreadId || myTid == mSurfaceAnimationThreadId) { in reset()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderThreadPriorityTest.java77 mSavedPriority = Process.getThreadPriority(Process.myTid()); in setUp()
89 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); in tearDown()
97 String fn = "/proc/" + Process.myPid() + "/task/" + Process.myTid() + "/cgroup"; in getSchedulerGroup()
119 assertEquals(prio, Process.getThreadPriority(Process.myTid())); in testPassPriorityToService()
133 assertEquals(expected, Process.getThreadPriority(Process.myTid())); in testCallBackFromServiceWithPriority()
138 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); in testCallBackFromServiceWithPriority()
DHandlerThreadTest.java37 mLooperTid = Process.myTid(); in testHandlerThread()
67 assertNotSame(Process.myTid(), mLooperTid); in testHandlerThread()
73 assertEquals(mLooperTid, Process.myTid()); in testHandlerThread()
DSetPersistentVrThreadTest.java94 vr_thread = Process.myTid(); in testSetPersistentVrThreadAPISuccess()
130 vr_thread = Process.myTid(); in testSetPersistentVrThreadAPIFailure()
144 vr_thread = Process.myTid(); in testSetVrThreadAPIFailsInPersistentMode()
DBinderThreadPriorityService.java33 return Process.getThreadPriority(Process.myTid());
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootSurfaceCallbackTest.java19 import static android.os.Process.myTid;
86 mTidOfSurfaceCreated.complete(myTid()); in surfaceCreated()
92 mTidOfSurfaceDestroyed.complete(myTid()); in surfaceDestroyed()
/frameworks/base/services/core/java/com/android/server/
DThreadPriorityBooster.java20 import static android.os.Process.myTid;
88 final int tid = myTid();
DUiThread.java42 Process.setThreadGroup(Process.myTid(), Process.THREAD_GROUP_TOP_APP); in run()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DThreadPriorityBoosterTest.java20 import static android.os.Process.myTid;
77 assertEquals(expectedPriority, getThreadPriority(myTid())); in assertThreadPriority()
/frameworks/base/core/java/android/os/
DHandlerThread.java59 mTid = Process.myTid(); in run()
DProcess.java614 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/layoutlib/bridge/src/android/os/
DHandlerThread_Delegate.java69 theThread.mTid = Process.myTid(); in run()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DCpuUsageTrackingPerfTest.java74 final String procFile = "/proc/self/task/" + android.os.Process.myTid() in timeReadThreadProcDirectly()
/frameworks/base/core/java/android/bluetooth/
DBluetoothDevice.java1157 + " tid: " + Process.myTid()); in createBond()
1194 + " tid: " + Process.myTid()); in createBond()
1289 + " tid: " + Process.myTid()); in cancelBondProcess()
1318 + " tid: " + Process.myTid()); in removeBond()
/frameworks/base/services/core/java/com/android/server/content/
DSyncLogger.java194 mStringBuilder.append(android.os.Process.myTid()); in logInner()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSessionManager.java72 public ICurrentThreadId mCurrentThreadId = Process::myTid;
/frameworks/base/core/java/android/app/
DInstrumentation.java2184 + Process.myTid(), e); in run()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java726 final int oldPriority = Process.getThreadPriority(Process.myTid()); in initService()
/frameworks/base/config/
Dboot-image-profile.txt12057 HSPLandroid/os/Process;->myTid()I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22190 method public static final int myTid();
/frameworks/base/api/
Dcurrent.txt35021 method public static final int myTid();