Home
last modified time | relevance | path

Searched refs:mainHandler (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java135 private Handler mainHandler; field in TestActivity
142 mainHandler = new Handler(getMainLooper()); in onCreate()
491 mainHandler.removeCallbacksAndMessages(token); in awaitPackageBroadcast()
495 mainHandler.postDelayed( in awaitPackageBroadcast()
513 mainHandler.removeCallbacksAndMessages(token); in awaitPackageRestartedBroadcast()
520 mainHandler.postDelayed(() -> remoteCallback.sendResult(result), token, timeoutMs); in awaitPackageRestartedBroadcast()
543 mainHandler.removeCallbacksAndMessages(token); in awaitSuspendedPackagesBroadcast()
548 mainHandler.postDelayed(() -> sendResult.run(), token, timeoutMs); in awaitSuspendedPackagesBroadcast()
572 mainHandler.removeCallbacksAndMessages(token); in awaitLauncherAppsCallback()
623 mainHandler.postDelayed(() -> { in awaitLauncherAppsCallback()
[all …]
/cts/tests/tests/companion/CompanionDeviceTestApp/src/android.os.cts.companiondevicetestapp/
DCompanionDeviceTestAppActivity.kt74 private val mainHandler = Handler(Looper.getMainLooper()) in <lambda>() constant
193 mainHandler) in <lambda>()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java564 Handler mainHandler = new Handler(Looper.getMainLooper()); in waitOnLocalMainLooper() local
566 mainHandler.post(lock::countDown); in waitOnLocalMainLooper()