Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerThreadPriorityBooster.java21 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.java97 mSavedPriority = Process.getThreadPriority(Process.myTid()); in setUp()
109 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); in tearDown()
116 String fn = "/proc/" + Process.myPid() + "/task/" + Process.myTid() + "/cgroup"; in getSchedulerGroup()
139 assertEquals(prio, Process.getThreadPriority(Process.myTid())); in testPassPriorityToService()
154 assertEquals(expected, Process.getThreadPriority(Process.myTid())); in testCallBackFromServiceWithPriority()
159 assertEquals(mSavedPriority, Process.getThreadPriority(Process.myTid())); in testCallBackFromServiceWithPriority()
DHandlerThreadTest.java59 mLooperTid = Process.myTid(); in testHandlerThread()
89 assertNotSame(Process.myTid(), mLooperTid); in testHandlerThread()
95 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()
DViewInputConnectionTest.java360 .isEqualTo(getOnMainSync(Process::myTid)); in testInputConnectionCallbacks_nonUiThread()
408 mInputConnectionClosedCallingThreadId.compareAndSet(null, Process.myTid()); in onCreateInputConnection()
428 mOnInputConnectionClosedCallingThreadId.compareAndSet(null, Process.myTid()); in onInputConnectionClosedInternal()
/frameworks/base/services/core/java/com/android/server/
DThreadPriorityBooster.java20 import static android.os.Process.myTid;
88 final int tid = myTid();
DUiThread.java44 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/libs/WindowManager/Shell/src/com/android/wm/shell/performance/
DPerfHintController.kt48 val adpfSession = perfHintMgr!!.createHintSession(intArrayOf(Process.myTid()), in onInit()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DCpuUsageTrackingPerfTest.java74 final String procFile = "/proc/self/task/" + android.os.Process.myTid() in timeReadThreadProcDirectly()
/frameworks/layoutlib/bridge/src/android/os/
DHandlerThread_Delegate.java69 theThread.mTid = Process.myTid(); in run()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java270 int pri = Process.getThreadPriority(Process.myTid()); in onGetSuggestionsMultiple()
293 int pri = Process.getThreadPriority(Process.myTid()); in onCancel()
304 int pri = Process.getThreadPriority(Process.myTid()); in onClose()
/frameworks/base/core/java/android/os/
DHandlerThread.java77 mTid = Process.myTid(); in run()
DProcess.java901 public static final int myTid() { in myTid() method in Process
906 public static final int myTid$ravenwood() { in myTid$ravenwood()
1302 setThreadPriority(myTid(), priority); in setThreadPriority$ravenwood()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DMuxerTest.java165 int tid = android.os.Process.myTid(); in testNativeMuxer()
/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.java74 public ICurrentThreadId mCurrentThreadId = Process::myTid;
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java768 tids[k.getAndIncrement()] = android.os.Process.myTid();
1017 tids[k.getAndIncrement()] = android.os.Process.myTid();
/frameworks/base/core/java/com/android/internal/os/
DBinderCallsStats.java723 return Process.myTid(); in getNativeTid()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAbstractAccessibilityServiceConnectionTest.java154 private static final long TID = Process.myTid();
/frameworks/base/core/java/android/app/
DInstrumentation.java2589 + Process.myTid(), e); in run()
/frameworks/base/config/
Dboot-profile.txt778 Landroid/os/Process;->myTid()I
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1036 final int oldPriority = Process.getThreadPriority(Process.myTid()); in initService()

12