Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DGenericWindowPolicyControllerTest.java76 private static final int TIMEOUT_MILLIS = 500; field in GenericWindowPolicyControllerTest
143 verify(mPipBlockedCallback, timeout(TIMEOUT_MILLIS)).onEnteringPipBlocked(TEST_UID); in isEnteringPipAllowed_falseByDefault()
154 verify(mPipBlockedCallback, after(TIMEOUT_MILLIS).never()).onEnteringPipBlocked(TEST_UID); in isEnteringPipAllowed_dpcSupportsPinned_allowed()
547 verify(mRunningAppsChangedListener, timeout(TIMEOUT_MILLIS)).onRunningAppsChanged(uids); in registerRunningAppsChangedListener_onRunningAppsChanged_listenersNotified()
559 verify(mActivityListener, timeout(TIMEOUT_MILLIS)).onDisplayEmpty(DISPLAY_ID); in onRunningAppsChanged_empty_onDisplayEmpty()
571 verify(mRunningAppsChangedListener, after(TIMEOUT_MILLIS).never()) in noRunningAppsChangedListener_onRunningAppsChanged_doesNotThrowException()
586 verify(mRunningAppsChangedListener, after(TIMEOUT_MILLIS).never()) in registerUnregisterRunningAppsChangedListener_onRunningAppsChanged_doesNotThrowException()
639 verify(mIntentListenerCallback, timeout(TIMEOUT_MILLIS)) in canActivityBeLaunched_noMatchIntentFilter_activityLaunches()
649 verify(mActivityListener, after(TIMEOUT_MILLIS).never()) in onTopActivitychanged_null_noCallback()
660 verify(mActivityListener, timeout(TIMEOUT_MILLIS)) in onTopActivitychanged_activityListenerCallbackObserved()
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAvatarPhotoControllerTest.java61 private static final long TIMEOUT_MILLIS = 5000; field in AvatarPhotoControllerTest
202 verify(mMockAvatarUi, timeout(TIMEOUT_MILLIS)).returnUriResult(mCropPhotoUri); in cropPhotoResultIsReturnedIfResultOkAndContent()
210 verify(mMockAvatarUi, timeout(TIMEOUT_MILLIS).times(0)).returnUriResult(mCropPhotoUri); in cropPhotoResultIsNotReturnedIfResultCancel()
218 verify(mMockAvatarUi, timeout(TIMEOUT_MILLIS).times(0)).returnUriResult(mCropPhotoUri); in cropPhotoResultIsNotReturnedIfResultNotContent()
249 verify(mMockAvatarUi, timeout(TIMEOUT_MILLIS)).returnUriResult(mCropPhotoUri); in internalCropUsedIfNoSystemCropperFound()
259 verify(mMockAvatarUi, timeout(TIMEOUT_MILLIS)) in verifyStartActivityForResult()
268 verify(mMockAvatarUi, timeout(TIMEOUT_MILLIS)) in verifyStartSystemActivityForResult()
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DWiFiLoadTest.java33 private static final int TIMEOUT_MILLIS = 60 * 60 * 1000; field in WiFiLoadTest
38 BATTERY_DRAIN_THRESHOLD_PCT, TIMEOUT_MILLIS);
DSystemServiceCallLoadTest.java36 private static final int TIMEOUT_MILLIS = 60 * 60 * 1000; field in SystemServiceCallLoadTest
41 BATTERY_DRAIN_THRESHOLD_PCT, TIMEOUT_MILLIS);
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DUsbAccessoryBulkTransport.java33 private static final int TIMEOUT_MILLIS = 1000; field in UsbAccessoryBulkTransport
68 buffer, offset, count, TIMEOUT_MILLIS); in ioWrite()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DGesturesObserverTest.java91 verify(mListener, timeout(GestureMatcherStub.TIMEOUT_MILLIS + 100)).onGestureCancelled( in onMotionEvent_unrecognizedEvents_onGestureCancelledAfterTimeout()
115 private static final int TIMEOUT_MILLIS = 100; field in GesturesObserverTest.GestureMatcherStub
125 cancelAfter(TIMEOUT_MILLIS, event, rawEvent, policyFlags); in onDown()
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsLoggingService.java125 private static final long TIMEOUT_MILLIS = TimeUnit.MINUTES.toMillis(10); field in DiskStatsLoggingService.LogRunnable
174 List<PackageStats> stats = mCollector.getPackageStats(TIMEOUT_MILLIS); in run()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java55 private static final long TIMEOUT_MILLIS = TimeUnit.MINUTES.toMillis(5); field in AppSmsManager
196 && (currentTimeMillis - TIMEOUT_MILLIS > request.timestamp)) { in removeExpiredTokenLocked()
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodRuleImpl.java64 private static final int TIMEOUT_MILLIS = 9_000; field in RavenwoodRuleImpl
128 TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in init()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneConnectionTest.java85 private static final int TIMEOUT_MILLIS = 5000; field in ImsPhoneConnectionTest
581 latch.await(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testReportMediaCodecChange()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java166 private static final int TIMEOUT_MILLIS = 30 * 1000; field in RecoverableKeyStoreManagerTest
227 } else return VerifyCredentialResponse.fromTimeout(TIMEOUT_MILLIS); in setUp()
1449 assertThat(result.getTimeoutMillis()).isEqualTo((long) TIMEOUT_MILLIS); in validateRemoteLockscreen_timeout()