Home
last modified time | relevance | path

Searched refs:getThread (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/
DWatchdog.java200 public Thread getThread() { in getThread() method in Watchdog.HandlerChecker
201 return mHandler.getLooper().getThread(); in getThread()
210 return "Blocked in handler on " + mName + " (" + getThread().getName() + ")"; in describeBlockedStateLocked()
213 + " on " + mName + " (" + getThread().getName() + ")"; in describeBlockedStateLocked()
378 final String name = thread.getLooper().getThread().getName(); in addThread()
399 if (Thread.currentThread().equals(hc.getThread())) { in pauseWatchingCurrentThread()
421 if (Thread.currentThread().equals(hc.getThread())) { in resumeWatchingCurrentThread()
DWatchdogDiagnostics.java75 Thread blockedThread = blockedCheckers.get(i).getThread(); in diagnoseCheckers()
DNativeDaemonConnector.java364 if (Thread.currentThread() == mLooper.getThread()) { in waitForCallbacks()
/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java252 || entry.handler.getLooper().getThread() != msg.getTarget().getLooper().getThread() in findEntry()
335 result = 31 * result + msg.getTarget().getLooper().getThread().hashCode(); in idFor()
368 this.threadName = entry.handler.getLooper().getThread().getName(); in ExportedEntry()
DFuseAppLoop.java102 Thread.currentThread().getId() != handler.getLooper().getThread().getId(), in registerCallback()
343 return handler.getLooper().getThread().getId();
/frameworks/base/core/java/android/os/
DUEventObserver.java66 private static UEventThread getThread() { in getThread() method in UEventObserver
104 final UEventThread t = getThread(); in startObserving()
DLooper.java380 public @NonNull Thread getThread() { in getThread() method in Looper
/frameworks/base/core/java/com/android/internal/view/
DWindowManagerPolicyThread.java35 public static Thread getThread() { in getThread() method in WindowManagerPolicyThread
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DFrameworkShadowLooper.java46 return Thread.currentThread() == mLooper.getThread(); in isCurrentThread()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/
DEventBus.java406 if (callingThreadId != mHandler.getLooper().getThread().getId()) { in unregister()
439 if (callingThreadId != mHandler.getLooper().getThread().getId()) { in send()
474 if (callingThreadId != mHandler.getLooper().getThread().getId()) { in sendOntoMainThread()
545 if (callingThreadId != mHandler.getLooper().getThread().getId()) { in registerSubscriber()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DThreadUtils.java37 sMainThread = Looper.getMainLooper().getThread(); in isMainThread()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCameraTestThread.java80 mLooper.getThread().join(); in close()
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DAbstractAutofillPerfTestCase.java68 Looper.getMainLooper().getThread() == Thread.currentThread()); in prepareActivity()
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DTextViewAutoSizeLayoutPerfTest.java77 Looper.getMainLooper().getThread() == Thread.currentThread()); in testConstruction()
DLayoutPerfTest.java86 Looper.getMainLooper().getThread() == Thread.currentThread()); in testLayoutPerf()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java191 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { in startSound()
257 (mLooper.getThread().getState() != Thread.State.TERMINATED)) in run()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGLToolbox.java189 if (Looper.getMainLooper().getThread() == Thread.currentThread()) { in assertNonUiThread()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java115 mLooper.getThread().join(); in terminateMessageLooper()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java686 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in scheduleActivityMovedToDisplay()
704 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in scheduleConfigurationChanged()
724 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in scheduleTopResumedActivityChanged()
753 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in scheduleMultiWindowModeChanged()
789 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in schedulePictureInPictureModeChanged()
1620 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in deliverNewIntentLocked()
2040 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in makeClientVisible()
2075 mAtmService.getLifecycleManager().scheduleTransaction(app.getThread(), appToken, in makeActiveIfNeeded()
2167 app.getThread().scheduleOnNewActivityOptions(appToken, returningOptions.toBundle()); in handleAlreadyVisible()
2531 app.getThread().scheduleSleeping(appToken, _sleeping); in setSleeping()
[all …]
DCompatModePackages.java338 app.getThread().updatePackageCompatibilityInfo(packageName, ci); in setPackageScreenCompatModeLocked()
DActivityStack.java1701 mService.getLifecycleManager().scheduleTransaction(prev.app.getThread(), in startPausingLocked()
2427 mService.getLifecycleManager().scheduleTransaction(r.app.getThread(), in makeInvisible()
2507 waitingActivity.app.getThread().scheduleTranslucentConversionComplete( in notifyActivityDrawnLocked()
2963 ClientTransaction.obtain(next.app.getThread(), next.appToken); in resumeTopActivityInnerLocked()
3646 mService.getLifecycleManager().scheduleTransaction(r.app.getThread(), r.appToken, in sendActivityResultLocked()
3790 mService.getLifecycleManager().scheduleTransaction(r.app.getThread(), r.appToken, in stopActivityLocked()
3921 r.app.getThread().scheduleLocalVoiceInteractionStarted( in finishVoiceTask()
4345 .setCaller(srec.app.getThread()) in navigateUpToLocked()
4650 mService.getLifecycleManager().scheduleTransaction(r.app.getThread(), r.appToken, in destroyActivityLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java143 }).when(mActivity.app.getThread()).scheduleTransaction(any()); in testPausingWhenVisibleFromStopped()
380 verify(mService.getLifecycleManager()).scheduleTransaction(eq(mActivity.app.getThread()), in testSetRequestedOrientationUpdatesConfiguration()
439 eq(mActivity.app.getThread()), eq(mActivity.appToken), eq(expected)); in testPushConfigurationWhenLaunchTaskBehind()
/frameworks/base/media/java/android/media/
DMediaSync.java589 || mCallbackHandler.getLooper().getThread() in postReturnByteBuffer()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolverConnection.java247 if (Thread.currentThread() == mContext.getMainLooper().getThread()) { in throwIfCalledOnMainThread()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java167 mLooper.getThread().join(); in terminateMessageLooper()

12