/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/ |
D | RadioOnStateListenerTest.java | 56 private static final long TIMEOUT_MS = 1000; field in RadioOnStateListenerTest 78 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS /* ms timeout */); in tearDown() local 90 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testRegisterForCallback() local 110 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testRegisterForSatelliteCallback() local 130 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_OkToCallTrue() local 135 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_OkToCallTrue() local 153 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testSatelliteChangeState_OkToCallTrue() local 158 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testSatelliteChangeState_OkToCallTrue() local 175 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_NoOkToCall_Timeout() local 180 waitForHandlerAction(mListener.getHandler(), TIMEOUT_MS); in testPhoneChangeState_NoOkToCall_Timeout() local [all …]
|
/aosp_15_r20/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | ImsStateTrackerTest.java | 77 private static final long TIMEOUT_MS = 100; field in ImsStateTrackerTest 235 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateServiceStateBeforeAddingListener() local 242 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateServiceStateBeforeAddingListener() local 252 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateServiceStateAfterAddingListener() local 259 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateServiceStateAfterAddingListener() local 273 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testAddAndRemoveServiceStateListener() local 283 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateBarringInfoBeforeAddingListener() local 290 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateBarringInfoBeforeAddingListener() local 300 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateBarringInfoAfterAddingListener() local 307 waitForHandlerAction(mImsStateTracker.getHandler(), TIMEOUT_MS); in testUpdateBarringInfoAfterAddingListener() local [all …]
|
/aosp_15_r20/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppNotificationTest.java | 63 static final int TIMEOUT_MS = 3000; field in BluetoothOppNotificationTest 201 device.wait(Until.hasObject(By.text(titleString)), TIMEOUT_MS); in updateActiveNotification() local 273 device.wait(Until.hasObject(By.text(titleString)), TIMEOUT_MS); in updateCompletedNotification_withOutBoundShare_showsNoti() local 282 device.wait(Until.gone(By.text(titleString)), TIMEOUT_MS); in updateCompletedNotification_withOutBoundShare_showsNoti() local 353 device.wait(Until.hasObject(By.text(titleString)), TIMEOUT_MS); in updateCompletedNotification_withInBoundShare_showsNoti() local 361 device.wait(Until.gone(By.text(titleString)), TIMEOUT_MS); in updateCompletedNotification_withInBoundShare_showsNoti() local 430 device.wait(Until.hasObject(By.text(titleString)), TIMEOUT_MS); in updateIncomingFileConfirmationNotification() local 448 buttonDecline.wait(Until.clickable(true), TIMEOUT_MS); in updateIncomingFileConfirmationNotification() local 455 device.wait(Until.gone(By.text(titleString)), TIMEOUT_MS); in updateIncomingFileConfirmationNotification() local
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39622/src/android/security/cts/CVE_2021_39622/ |
H A D | DeviceTest.java | 40 private static final int TIMEOUT_MS = 5000; field in DeviceTest 46 mUiDevice.wait(Until.hasObject(micIcon), TIMEOUT_MS); in checkVulnerability() local 52 assertFalse(mUiDevice.wait(Until.hasObject(vulText), TIMEOUT_MS)); in checkVulnerability() local 84 mUiDevice.wait(Until.hasObject(okButton), TIMEOUT_MS); in testPocCVE_2021_39622() local
|
/aosp_15_r20/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/exportimport/ |
D | ExportImportApiTest.java | 76 private static final int TIMEOUT_MS = 10000; field in ExportImportApiTest 134 TIMEOUT_MS); in exportDeleteDataAndThenImport_dataIsRestored() local 169 TIMEOUT_MS); in exportOn_thenExportOff_noJobScheduled() local 187 TIMEOUT_MS); in exportOn_thenExportOff_noJobScheduled() local
|
/aosp_15_r20/external/rust/android-crates-io/crates/crossbeam-channel/tests/ |
D | after.rs | 189 const TIMEOUT_MS: u64 = 100; in select() constant 233 const TIMEOUT_MS: u64 = 100; in ready() constant
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20955/test-app/src/android/security/cts/CVE_2023_20955_test/ |
H A D | DeviceTest.java | 48 private static final int TIMEOUT_MS = 5000; field in DeviceTest 54 mDevice.wait(Until.hasObject(selector), TIMEOUT_MS)); in waitAndClick() local 119 .wait(Until.hasObject(By.pkg(pkgNameInstaller).text(textPattern)), TIMEOUT_MS)); in testAppInfoUninstallForAllUsersDisabled() local
|
/aosp_15_r20/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/ |
D | FinalizationControllerImplTest.java | 57 private static final int TIMEOUT_MS = 1000; field in FinalizationControllerImplTest 147 Exception.class, TIMEOUT_MS, TimeUnit.MILLISECONDS); in unreportedStateInitializedFromDisk_reportsWork() local 164 Exception.class, TIMEOUT_MS, TimeUnit.MILLISECONDS); in enforceDiskState_noForce_usesCurrentState() local 186 Exception.class, TIMEOUT_MS, TimeUnit.MILLISECONDS); in enforceDiskState_force_usesDiskState() local
|
/aosp_15_r20/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
H A D | AccessibilityDisplayProxyTest.java | 195 private static final int TIMEOUT_MS = 5000; field in AccessibilityDisplayProxyTest 499 (event) -> displayFocused(event, 0), TIMEOUT_MS); in testPerformSystemAction_topFocusDisplayIsLastNonProxyDisplay() local 542 }, (event) -> displayFocused(event, Display.DEFAULT_DISPLAY), TIMEOUT_MS); in testTriggerTouchExploration_topFocusDisplayIsLastNonProxyDisplay() local 1464 filterForEventType(TYPE_VIEW_ACCESSIBILITY_FOCUSED), TIMEOUT_MS); in setAccessibilityFocus() local 1495 filterForEventType(TYPE_VIEW_FOCUSED), TIMEOUT_MS); in setInputFocusIfNeeded() local 1574 TIMEOUT_MS); in startActivityInSeparateProcessOnDefaultDisplay() local 1586 TIMEOUT_MS); in moveSeparateProcessActivityToVirtualDisplay() local
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39797/test-app/src/android/security/cts/CVE_2021_39797_test/ |
H A D | DeviceTest.java | 47 static final int TIMEOUT_MS = 10000; field in DeviceTest 68 device.wait(Until.hasObject(By.pkg(targetPkg)), TIMEOUT_MS)); in testTaskOverride() local
|
/aosp_15_r20/cts/tests/tests/security/src/android/security/cts/CVE_2021_0600/ |
H A D | CVE_2021_0600.java | 52 private static final long TIMEOUT_MS = 5000; field in CVE_2021_0600 128 mDevice.wait(Until.hasObject(selector), TIMEOUT_MS)); in getVulnerableUIHeight() local
|
/aosp_15_r20/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 67 static final int TIMEOUT_MS = 25000; field in BluetoothPeripheralHandover 194 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_TIMEOUT), TIMEOUT_MS); in start() local 489 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_TIMEOUT), TIMEOUT_MS); in handleIntent() local
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20223/src/android/security/cts/CVE_2022_20223/ |
H A D | DeviceTest.java | 43 private static final int TIMEOUT_MS = 20000; field in DeviceTest 125 mDevice.wait(Until.hasObject(By.text(text)), TIMEOUT_MS)); in testAppRestrictionsFragment() local
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/ |
H A D | DeviceTest.java | 56 static final int TIMEOUT_MS = 20000; field in DeviceTest 98 device.wait(Until.hasObject(By.text(overlayTextPattern)), TIMEOUT_MS)); in testOverlayButtonPresence() local
|
/aosp_15_r20/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0954/src/android/security/cts/CVE_2021_0954/ |
H A D | DeviceTest.java | 48 private static final int TIMEOUT_MS = 10000; field in DeviceTest 106 device.wait(Until.hasObject(By.text(overlayTextPattern)), TIMEOUT_MS)); in testOverlayButtonPresence() local
|
/aosp_15_r20/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 215 private static final long TIMEOUT_MS = 100; field in TelephonyConnectionServiceTest 1844 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testIncomingDoesntRequestDisconnect() local 1874 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testSecondCallSameSubWontDisconnect() local 1906 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testSecondCallDifferentSubWillDisconnect() local 1940 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testSecondCallDifferentSubWontDisconnectForDsdaDevice() local 2187 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testOutgoingCallOnOtherSubPutsFirstCallOnHoldForVirtualDsdaDevice() local 2221 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testEmergencyCallOnOtherSubPutsFirstCallOnHoldForVirtualDsdaDevice() local 2260 waitForHandlerAction(mTestConnectionService.getHandler(), TIMEOUT_MS); in testEmergencyCallOnOtherSubDisconnectsExistingCallForVirtualDsdaDevice() local
|
/aosp_15_r20/cts/tests/tests/settings/src/android/settings/cts/ |
H A D | AutoPrivacySettingsTest.java | 58 private static final int TIMEOUT_MS = 10000; field in AutoPrivacySettingsTest 280 switchButton.wait(Until.checked(true), TIMEOUT_MS); in disableCameraMicPrivacy() local
|
/aosp_15_r20/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/ |
H A D | UninstallTest.java | 93 private static final long TIMEOUT_MS = 30000; field in UninstallTest 218 "overlay_description")), TIMEOUT_MS); in overlaysAreSuppressedWhenConfirmingUninstall() local
|
/aosp_15_r20/cts/tests/tests/car/src/android/car/app/cts/ |
H A D | MultiUserMultiDisplayWindowSecurityTest.java | 66 private static final long TIMEOUT_MS = 5_000L; field in MultiUserMultiDisplayWindowSecurityTest 121 assumeTrue(mDevice.wait(Until.hasObject(appWarningDialogSelector), TIMEOUT_MS)); in testDeprecatedSdkVersionDialog() local
|
/aosp_15_r20/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSCaptivePortalAppTest.kt | 86 private val TIMEOUT_MS = 2_000L constant
|
/aosp_15_r20/cts/tests/searchui/src/android/searchuiservice/cts/ |
H A D | SearchUiManagerTest.java | 88 private static final int TIMEOUT_MS = 150; field in SearchUiManagerTest 127 assertEquals(mWatcher.searchContext.getTimeoutMillis(), TIMEOUT_MS); in testCreateSearchSession() local
|
/aosp_15_r20/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
H A D | MediaRoute2ProviderServiceTest.java | 82 private static final int TIMEOUT_MS = 5000; field in MediaRoute2ProviderServiceTest 107 new PollingCheck(TIMEOUT_MS) { in setUp() argument
|
/aosp_15_r20/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | KeepaliveStatsTrackerTest.java | 89 private static final int TIMEOUT_MS = 30_000; field in KeepaliveStatsTrackerTest 238 HandlerUtils.waitForIdle(BackgroundThread.getHandler(), TIMEOUT_MS); in setUp() local 469 HandlerUtils.waitForIdle(BackgroundThread.getHandler(), TIMEOUT_MS); in assertKeepaliveStatsTrackerDisabled() local
|
/aosp_15_r20/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsTetheringUtils.java | 79 private static int TIMEOUT_MS = 30_000; field in CtsTetheringUtils.StartTetheringCallback 165 private static final int TIMEOUT_MS = 30_000; field in CtsTetheringUtils.TestTetheringEventCallback
|
/aosp_15_r20/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdaterTest.kt | 105 private val TIMEOUT_MS = 500L constant in com.android.networkstack.tethering.TetheringNotificationUpdaterTest
|