Home
last modified time | relevance | path

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

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/receivers/
DWorkFailureAlarmReceiverTest.java59 private static final long TIMEOUT_MILLIS = 1000; field in WorkFailureAlarmReceiverTest
87 broadcastComplete.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in onReceive_reasonInitialization_shouldCallMaybeScheduleInitialCheckIn()
105 broadcastComplete.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in onReceive_reasonInitialCheckIn_shouldCallMaybeScheduleInitialCheckIn()
123 broadcastComplete.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in onReceive_reasonRetryCheckIn_shouldCallScheduleRetryCheckInWork()
141 broadcastComplete.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in onReceive_reasonRescheduleCheckIn_shouldCallNotifyNeedRescheduleCheckIn()
158 broadcastComplete.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in onReceive_whenProvisionReady_doesNotSchedule()
/packages/services/Telephony/tests/src/com/android/phone/callcomposer/
DPictureManagerTest.java59 private static final long TIMEOUT_MILLIS = 1000; field in PictureManagerTest
138 UUID id = uploadedUuidFuture.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testPictureUpload()
153 Uri receivedUri = callLogUriFuture.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testPictureUpload()
184 waitForExecutorAction(CallComposerPictureManager.getExecutor(), TIMEOUT_MILLIS); in testPictureUploadWithAuthRefresh() local
233 Uri receivedUri = callLogUriFuture.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testPictureDownload()
261 waitForExecutorAction(CallComposerPictureManager.getExecutor(), TIMEOUT_MILLIS); in testPictureDownloadWithAuthRefresh() local
290 GbaCredentials creds = credsFuture.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testGbaCredLookup()
306 GbaCredentials creds1 = credsFuture1.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testGbaCredLookup()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DPlatformPermissionGroupMappingTest.kt42 val permissionGroupName = future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in platformPermissionHasPermissionGroup()
55 val permissionNames = future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in platformPermissionGroupHasPermission()
60 private const val TIMEOUT_MILLIS = 15 * 1000L constant
DAccessibilityPrivacySourceTest.kt191 TIMEOUT_MILLIS in testAccessibilityListenerSendsIssueToSafetyCenter()
275 TIMEOUT_MILLIS, in runJobAndWaitUntilCompleted()
301 private const val TIMEOUT_MILLIS: Long = 10000 constant
/packages/apps/Settings/src/com/android/settings/network/ims/
DImsQueryController.java37 private static final long TIMEOUT_MILLIS = 2000; field in ImsQueryController
81 return booleanResult.get(TIMEOUT_MILLIS); in isEnabledByPlatform()
105 return (intResult.get(TIMEOUT_MILLIS) == ImsFeature.STATE_READY); in isServiceStateReady()
/packages/modules/Permission/tests/cts/role/src/android/app/role/cts/
DRoleControllerManagerTest.kt109 val isVisible = future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in assertAppIsVisibleForRole()
138 future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in isRoleVisible()
165 private const val TIMEOUT_MILLIS = 15 * 1000L constant
DRoleManagerTest.java99 private static final long TIMEOUT_MILLIS = 15 * 1000; field in RoleManagerTest
277 waitFindObject(ENHANCED_CONFIRMATION_DIALOG_SELECTOR, TIMEOUT_MILLIS); in requestRoleThenBlockRequestRoleDialogByRestrictedSettingDialog()
482 return mActivityRule.getActivity().waitForActivityResult(TIMEOUT_MILLIS); in waitForResult()
515 Pair<Integer, Intent> result = activity.waitForActivityResult(TIMEOUT_MILLIS); in targetCurrentSdkAndChangeDefaultDialerThenDeniedAutomatically()
529 Pair<Integer, Intent> result = activity.waitForActivityResult(TIMEOUT_MILLIS); in targetCurrentSdkAndChangeDefaultSmsThenDeniedAutomatically()
583 Pair<Integer, Intent> result = activity.waitForActivityResult(TIMEOUT_MILLIS); in targetSdk28AndChangeDefaultDialerForAnotherAppThenDeniedAutomatically()
599 Pair<Integer, Intent> result = activity.waitForActivityResult(TIMEOUT_MILLIS); in targetSdk28AndChangeDefaultSmsForAnotherAppThenDeniedAutomatically()
711 TIMEOUT_MILLIS); in openDefaultAppDetailsOnHandHeldThenRestrictedAppIsNotSelectableAsDefaultApp() local
713 waitFindObject(ENHANCED_CONFIRMATION_DIALOG_SELECTOR, TIMEOUT_MILLIS); in openDefaultAppDetailsOnHandHeldThenRestrictedAppIsNotSelectableAsDefaultApp()
959 Pair<Integer, Intent> result = activity.waitForActivityResult(TIMEOUT_MILLIS); in assertRoleIsHeld()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DUiBlockerController.java40 private static final int TIMEOUT_MILLIS = 300; field in UiBlockerController
48 this(keys, TIMEOUT_MILLIS); in UiBlockerController()
DDashboardFragment.java78 private static final long TIMEOUT_MILLIS = 50L; field in DashboardFragment
671 latch.await(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in awaitObserverLatch()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DEnhancedConfirmationManagerTest.kt187 click(By.res(ALERT_DIALOG_OK_BUTTON), TIMEOUT_MILLIS) in grantDialogBlocksRestrictedPermissionsOfSameGroupTogether()
214 doAndWaitForWindowTransition { click(By.res(ALERT_DIALOG_OK_BUTTON), TIMEOUT_MILLIS) } in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedGroupsDespiteOutOfOrderRequest()
241 doAndWaitForWindowTransition { click(By.res(ALERT_DIALOG_OK_BUTTON), TIMEOUT_MILLIS) } in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedHighPriorityGroups()
259 doAndWaitForWindowTransition { click(By.res(ALERT_DIALOG_OK_BUTTON), TIMEOUT_MILLIS) } in grantDialogBlocksRestrictedGroupsThenRequestsUnrestrictedLowPriorityGroups()
DBaseUsePermissionTest.kt382 protected fun clearTargetSdkWarning(timeoutMillis: Long = TIMEOUT_MILLIS) { in <lambda>()
419 TIMEOUT_MILLIS * 2 in <lambda>()
647 future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS).resultCode in <lambda>()
704 return future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in <lambda>()
848 eventually({ clickAllowAlwaysInSettings() }, TIMEOUT_MILLIS * 2) in <lambda>()
909 eventually({ clicksDenyInSettings() }, TIMEOUT_MILLIS * 2) in <lambda>()
1073 TIMEOUT_MILLIS in <lambda>()
1436 val result = future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in <lambda>()
DAppPermissionTest.kt332 .clickAndWait(Until.newWindow(), TIMEOUT_MILLIS) in assertAllowButtonIsDisabledAndRestrictedSettingDialogPoppedUp()
334 waitFindObject(ENHANCED_CONFIRMATION_DIALOG_SELECTOR, TIMEOUT_MILLIS) in assertAllowButtonIsDisabledAndRestrictedSettingDialogPoppedUp()
DBasePermissionTest.kt90 const val TIMEOUT_MILLIS: Long = 20000 in <lambda>() constant
427 protected fun waitForIdle() = uiAutomation.waitForIdle(IDLE_TIMEOUT_MILLIS, TIMEOUT_MILLIS) in <lambda>()
430 uiAutomation.waitForIdle(IDLE_LONG_TIMEOUT_MILLIS, TIMEOUT_MILLIS) in <lambda>()
DPermissionPolicyTest25.kt60 val result = future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions()
DPermissionReviewTapjackingTest.kt80 TIMEOUT_MILLIS * 2 in testOverlaysAreHidden()
DLocationProviderInterceptDialogTest.kt129 val result = future.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in enableMicrophoneAppAsLocationProvider()
DPermissionReviewTest.kt173 results.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS) in testReviewPermissionWhenServiceIsBound()
DCameraMicIndicatorsPermissionTest.kt90 private const val TIMEOUT_MILLIS: Long = 20000 in <lambda>() constant
692 timeoutMillis: Long = TIMEOUT_MILLIS in <lambda>()
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/
DAppDataSharingUpdatesTest.kt223 private const val TIMEOUT_MILLIS: Long = 20000 in <lambda>() constant
347 uiAutomation.waitForIdle(IDLE_TIMEOUT_MILLIS, TIMEOUT_MILLIS) in <lambda>()
444 uiAutomation.waitForIdle(IDLE_TIMEOUT_MILLIS, TIMEOUT_MILLIS) in <lambda>()
467 uiAutomation.waitForIdle(IDLE_TIMEOUT_MILLIS, TIMEOUT_MILLIS) in <lambda>()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiDialogManagerTest.java73 private static final int TIMEOUT_MILLIS = 30_000; field in WifiDialogManagerTest
506 launchDialogSynchronous(dialogHandle, TIMEOUT_MILLIS, mWifiThreadRunner); in testSimpleDialog_timeoutCancelsDialog_preT()
511 .postDelayed(runnableArgumentCaptor.capture(), eq((long) TIMEOUT_MILLIS), in testSimpleDialog_timeoutCancelsDialog_preT()
545 launchDialogSynchronous(dialogHandle, TIMEOUT_MILLIS, mWifiThreadRunner); in testSimpleDialog_dismissedBeforeTimeout_preT()
550 .postDelayed(runnableArgumentCaptor.capture(), eq((long) TIMEOUT_MILLIS), in testSimpleDialog_dismissedBeforeTimeout_preT()
679 launchDialogSynchronous(dialogHandle, TIMEOUT_MILLIS, mWifiThreadRunner); in testLegacySimpleDialog_timeoutCancelsDialog()
684 .postDelayed(runnableArgumentCaptor.capture(), eq((long) TIMEOUT_MILLIS), in testLegacySimpleDialog_timeoutCancelsDialog()
718 launchDialogSynchronous(dialogHandle, TIMEOUT_MILLIS, mWifiThreadRunner); in testLegacySimpleDialog_dismissedBeforeTimeout()
723 .postDelayed(runnableArgumentCaptor.capture(), eq((long) TIMEOUT_MILLIS), in testLegacySimpleDialog_dismissedBeforeTimeout()
764 launchDialogSynchronous(dialogHandle, TIMEOUT_MILLIS, mWifiThreadRunner); in testLegacySimpleDialog_cancelledDueToActionCloseSystemDialogs()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java110 private static final int TIMEOUT_MILLIS = 15000; field in NetworkStatsManagerTest
230 urlc.setConnectTimeout(TIMEOUT_MILLIS); in exerciseRemoteHost()
231 urlc.setReadTimeout(TIMEOUT_MILLIS); in exerciseRemoteHost()
381 final long deadline = (long) (now + TIMEOUT_MILLIS * 2.4); in shouldTestThisNetworkType()
402 + "to connect and read has timed out (timeout = " + (TIMEOUT_MILLIS * 2) + "ms)." in shouldTestThisNetworkType()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelper.java110 private static final int TIMEOUT_MILLIS = 2000; field in WifiCallingSliceHelper
363 return wfcModeTask.get(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in getWfcMode()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPermissionActivityTest.java117 private static final long TIMEOUT_MILLIS = 3000; field in PermissionActivityTest
503 final long timeout = current + TIMEOUT_MILLIS; in pollForAppOpPermissions()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsImsManager.java661 private static final long TIMEOUT_MILLIS = 2000; field in QnsImsManager.StateConsumer
671 if (tryAcquire(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS)) { in getOrTimeOut()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallTest.java106 private static final long TIMEOUT_MILLIS = 1000; field in CallTest