/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BasicCallTests.java | 309 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingEmergencyCallback() 336 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testOutgoingCallAndSelectPhoneAccount() 343 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testOutgoingCallAndSelectPhoneAccount() 344 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testOutgoingCallAndSelectPhoneAccount() 369 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromContactWithSendToVoicemailIsRejected() 374 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromContactWithSendToVoicemailIsRejected() 414 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallCallerInfoLookupTimesOutIsAllowed() 419 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallCallerInfoLookupTimesOutIsAllowed() 463 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromBlockedNumberIsRejected() 468 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIncomingCallFromBlockedNumberIsRejected() [all …]
|
D | TelecomSystemTest.java | 372 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in setUp() 395 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in makeConferenceCall() 632 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in triggerEmergencyRedial() 696 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster() 703 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallWaitForBroadcaster() 722 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startOutgoingPhoneCallPendingCreateConnection() 772 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in redialingCallCreateConnectionComplete() 796 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in outgoingCallCreateConnectionComplete() 801 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in outgoingCallCreateConnectionComplete() 862 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in startIncomingPhoneCall()
|
D | CallRecordingTonePlayerTest.java | 215 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testIsRecordingLater() 240 waitForHandlerAction(new Handler(Looper.getMainLooper()), TEST_TIMEOUT); in testNotRecordingApp()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | Assert.java | 37 isTrue(Looper.getMainLooper().equals(Looper.myLooper())); in isMainThread() 45 isTrue(!Looper.getMainLooper().equals(Looper.myLooper())); in isNotMainThread()
|
/packages/services/Telephony/src/com/android/phone/ |
D | Assert.java | 40 isTrue(Looper.getMainLooper().equals(Looper.myLooper())); in isMainThread() 48 isTrue(!Looper.getMainLooper().equals(Looper.myLooper())); in isNotMainThread()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | Preconditions.java | 42 if (FeatureFlags.IS_DOGFOOD_BUILD && !isSameLooper(Looper.getMainLooper())) { in assertUIThread() 48 if (FeatureFlags.IS_DOGFOOD_BUILD && isSameLooper(Looper.getMainLooper())) { in assertNonUiThread()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | MainThreadExecutor.java | 38 private final Handler mHandler = new Handler(Looper.getMainLooper()); 42 if (Looper.getMainLooper() == Looper.myLooper()) { in execute()
|
/packages/apps/Messaging/src/com/android/messaging/ |
D | BugleApplication.java | 185 final boolean background = getMainLooper().getThread() != thread; in uncaughtException() 189 final Handler handler = new Handler(getMainLooper()); in uncaughtException() 214 new Handler(Looper.getMainLooper()).postDelayed( in maybeStartProfiling()
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | MainThread.java | 34 return new MainThread(new Handler(Looper.getMainLooper())); in create() 43 return Looper.getMainLooper().getThread() == Thread.currentThread();
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/app/ |
D | PumpApplication.java | 61 if (getMainLooper().getThread() != t) { in uncaughtException() 63 new Handler(getMainLooper()).post(() -> in uncaughtException()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AirplaneModeEnabler.java | 55 private Handler mHandler = new Handler(Looper.getMainLooper()) { 67 new Handler(Looper.getMainLooper())) {
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | AirplaneModeEnabler.java | 55 private Handler mHandler = new Handler(Looper.getMainLooper()) { 67 new Handler(Looper.getMainLooper())) {
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | Assert.java | 188 checkState(Looper.getMainLooper().equals(Looper.myLooper()), messageTemplate, args); in isMainThread() 211 checkState(!Looper.getMainLooper().equals(Looper.myLooper()), messageTemplate, args); in isWorkerThread()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateBaseBridge.java | 47 : Looper.getMainLooper()); in AppStateBaseBridge() 48 mMainHandler = new MainHandler(Looper.getMainLooper()); in AppStateBaseBridge()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Assert.java | 151 if (Looper.myLooper() != Looper.getMainLooper() in isMainThread() 158 if (Looper.myLooper() == Looper.getMainLooper() in isNotMainThread()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 72 runOnLooper(Looper.getMainLooper(), action); in runOnMain() 92 runOnLooperSync(Looper.getMainLooper(), action); in runOnMainSync()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateBaseBridge.java | 47 : Looper.getMainLooper()); in AppStateBaseBridge() 48 mMainHandler = new MainHandler(Looper.getMainLooper()); in AppStateBaseBridge()
|
/packages/services/Car/tests/carservice_test/src/android/media/tests/ |
D | AudioPolicyTest.java | 58 mHandler = new Handler(Looper.getMainLooper()); in setUp() 76 .setLooper(Looper.getMainLooper()) in testAudioPorts()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | VideoCallingPreferenceController.java | 59 mDataContentObserver = new DataContentObserver(new Handler(Looper.getMainLooper())); in VideoCallingPreferenceController() 60 mPhoneStateListener = new PhoneCallStateListener(Looper.getMainLooper()); in VideoCallingPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | VideoCallingPreferenceController.java | 59 mDataContentObserver = new DataContentObserver(new Handler(Looper.getMainLooper())); in VideoCallingPreferenceController() 60 mPhoneStateListener = new PhoneCallStateListener(Looper.getMainLooper()); in VideoCallingPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RemoteVolumePreferenceController.java | 88 mMediaSessions = new MediaSessions(context, Looper.getMainLooper(), mCallbacks); in RemoteVolumePreferenceController() 249 mMediaSessions = new MediaSessions(context, Looper.getMainLooper(), this); in RemoteVolumeSliceWorker()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | RemoteVolumePreferenceController.java | 90 mMediaSessions = new MediaSessions(context, Looper.getMainLooper(), mCallbacks); in RemoteVolumePreferenceController() 231 mMediaSessions = new MediaSessions(context, Looper.getMainLooper(), this); in RemoteVolumeSliceWorker()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | QsbApplication.java | 103 if (Looper.myLooper() != Looper.getMainLooper()) { in checkThread() 123 mUiThreadHandler = new Handler(Looper.getMainLooper()); in getMainThreadHandler()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | SystemShortcut.java | 86 new Handler(Looper.getMainLooper())); in setIconAndLabelFor() 102 new Handler(Looper.getMainLooper())); in setIconAndContentDescriptionFor()
|
/packages/apps/TV/src/com/android/tv/util/images/ |
D | ImageLoader.java | 141 if (Looper.getMainLooper() == Looper.myLooper()) { in prefetchBitmap() 433 sMainHandler = new Handler(Looper.getMainLooper()); in getMainHandler()
|