Home
last modified time | relevance | path

Searched refs:getMainLooper (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java309 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 …]
DTelecomSystemTest.java372 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()
DCallRecordingTonePlayerTest.java215 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/
DAssert.java37 isTrue(Looper.getMainLooper().equals(Looper.myLooper())); in isMainThread()
45 isTrue(!Looper.getMainLooper().equals(Looper.myLooper())); in isNotMainThread()
/packages/services/Telephony/src/com/android/phone/
DAssert.java40 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/
DPreconditions.java42 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/
DMainThreadExecutor.java38 private final Handler mHandler = new Handler(Looper.getMainLooper());
42 if (Looper.getMainLooper() == Looper.myLooper()) { in execute()
/packages/apps/Messaging/src/com/android/messaging/
DBugleApplication.java185 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/
DMainThread.java34 return new MainThread(new Handler(Looper.getMainLooper())); in create()
43 return Looper.getMainLooper().getThread() == Thread.currentThread();
/packages/apps/UniversalMediaPlayer/java/com/android/pump/app/
DPumpApplication.java61 if (getMainLooper().getThread() != t) { in uncaughtException()
63 new Handler(getMainLooper()).post(() -> in uncaughtException()
/packages/apps/Settings/src/com/android/settings/
DAirplaneModeEnabler.java55 private Handler mHandler = new Handler(Looper.getMainLooper()) {
67 new Handler(Looper.getMainLooper())) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAirplaneModeEnabler.java55 private Handler mHandler = new Handler(Looper.getMainLooper()) {
67 new Handler(Looper.getMainLooper())) {
/packages/apps/Dialer/java/com/android/dialer/common/
DAssert.java188 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/
DAppStateBaseBridge.java47 : Looper.getMainLooper()); in AppStateBaseBridge()
48 mMainHandler = new MainHandler(Looper.getMainLooper()); in AppStateBaseBridge()
/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java151 if (Looper.myLooper() != Looper.getMainLooper() in isMainThread()
158 if (Looper.myLooper() == Looper.getMainLooper() in isNotMainThread()
/packages/services/Car/service/src/com/android/car/
DCarServiceUtils.java72 runOnLooper(Looper.getMainLooper(), action); in runOnMain()
92 runOnLooperSync(Looper.getMainLooper(), action); in runOnMainSync()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateBaseBridge.java47 : Looper.getMainLooper()); in AppStateBaseBridge()
48 mMainHandler = new MainHandler(Looper.getMainLooper()); in AppStateBaseBridge()
/packages/services/Car/tests/carservice_test/src/android/media/tests/
DAudioPolicyTest.java58 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/
DVideoCallingPreferenceController.java59 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/
DVideoCallingPreferenceController.java59 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/
DRemoteVolumePreferenceController.java88 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/
DRemoteVolumePreferenceController.java90 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/
DQsbApplication.java103 if (Looper.myLooper() != Looper.getMainLooper()) { in checkThread()
123 mUiThreadHandler = new Handler(Looper.getMainLooper()); in getMainThreadHandler()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DSystemShortcut.java86 new Handler(Looper.getMainLooper())); in setIconAndLabelFor()
102 new Handler(Looper.getMainLooper())); in setIconAndContentDescriptionFor()
/packages/apps/TV/src/com/android/tv/util/images/
DImageLoader.java141 if (Looper.getMainLooper() == Looper.myLooper()) { in prefetchBitmap()
433 sMainHandler = new Handler(Looper.getMainLooper()); in getMainHandler()

12345678910>>...14