/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | Wait.java | 19 public static void atMost(String message, Condition condition, long timeout, in atMost() method in Wait 21 atMost(() -> message, condition, timeout, DEFAULT_SLEEP_MS, launcher); in atMost() 24 public static void atMost(Supplier<String> message, Condition condition, long timeout, in atMost() method in Wait 26 atMost(message, condition, timeout, DEFAULT_SLEEP_MS, launcher); in atMost() 29 public static void atMost(Supplier<String> message, Condition condition, long timeout, in atMost() method in Wait
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/testutils/ |
D | Wait.java | 30 public static void atMost(String message, Condition condition, long timeout) { in atMost() method in Wait 31 atMost(message, condition, timeout, DEFAULT_SLEEP_MS); in atMost() 34 public static void atMost(String message, Condition condition, long timeout, long sleepMillis) { in atMost() method in Wait
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/ |
D | AppSearchDaoTest.java | 26 import static org.mockito.Mockito.atMost; 299 verify(mockSession, atMost(1)).setSchemaAsync(any(SetSchemaRequest.class)); in testWriteConsentData_failure() 344 verify(mockSession, atMost(1)).setSchemaAsync(any(SetSchemaRequest.class)); in testWriteConsentData() 350 verify(mockResponse, atMost(1)).getMigrationFailures(); in testWriteConsentData() 370 verify(mockSession, atMost(1)).setSchemaAsync(any(SetSchemaRequest.class)); in testWriteConsentData_timeout() 376 verify(mockResponse, atMost(1)).getMigrationFailures(); in testWriteConsentData_timeout() 401 verify(mockSession, atMost(1)).setSchemaAsync(any(SetSchemaRequest.class)); in testDeleteConsentData_failure() 448 verify(mockSession, atMost(1)).setSchemaAsync(any(SetSchemaRequest.class)); in testDeleteConsentData() 454 verify(mockResponse, atMost(1)).getMigrationFailures(); in testDeleteConsentData() 475 verify(mockSession, atMost(1)).setSchemaAsync(any(SetSchemaRequest.class)); in testDeleteConsentData_timeout() [all …]
|
D | AppSearchConsentWorkerTest.java | 28 import static org.mockito.Mockito.atMost; 880 verify(mockSession, atMost(1)).setSchemaAsync(any(SetSchemaRequest.class)); in initSuccessResponse() 888 verify(mockResponse, atMost(1)).getMigrationFailures(); in initSuccessResponse() 900 verify(mockSession, atMost(1)).setSchemaAsync(any(SetSchemaRequest.class)); in initTimeoutResponse() 908 verify(mockResponse, atMost(1)).getMigrationFailures(); in initTimeoutResponse() 916 verify(mockSession, atMost(1)).setSchemaAsync(any(SetSchemaRequest.class)); in initFailureResponse()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/ |
D | FlagsTest.java | 91 @RequiresSdkRange(atMost = RVC, reason = REASON_TO_NOT_MOCK_SDK_LEVEL) 97 @RequiresSdkRange(atLeast = SC, atMost = SC_V2, reason = REASON_TO_NOT_MOCK_SDK_LEVEL) 119 @RequiresSdkRange(atMost = RVC, reason = REASON_TO_NOT_MOCK_SDK_LEVEL) 125 @RequiresSdkRange(atLeast = SC, atMost = SC_V2, reason = REASON_TO_NOT_MOCK_SDK_LEVEL) 147 @RequiresSdkRange(atMost = RVC, reason = REASON_TO_NOT_MOCK_SDK_LEVEL) 153 @RequiresSdkRange(atLeast = SC, atMost = SC_V2, reason = REASON_TO_NOT_MOCK_SDK_LEVEL) 175 @RequiresSdkRange(atMost = RVC, reason = REASON_TO_NOT_MOCK_SDK_LEVEL) 197 @RequiresSdkRange(atMost = RVC, reason = REASON_TO_NOT_MOCK_SDK_LEVEL) 217 @RequiresSdkRange(atMost = RVC, reason = REASON_TO_NOT_MOCK_SDK_LEVEL) 239 @RequiresSdkRange(atMost = RVC, reason = REASON_TO_NOT_MOCK_SDK_LEVEL)
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/meta_testing/ |
D | TestAnnotations.java | 99 public static RequiresSdkRange sdkRange(int atLeast, int atMost, String reason) { in sdkRange() argument 100 return new AutoAnnotation_TestAnnotations_sdkRange(atLeast, atMost, reason); in sdkRange()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | TaplAddConfigWidgetTest.java | 106 Wait.atMost("", new WidgetSearchCondition(), DEFAULT_ACTIVITY_TIMEOUT, mLauncher); in runTest() 110 Wait.atMost("", () -> mAppWidgetManager.getAppWidgetInfo(mWidgetId) == null, in runTest()
|
D | TaplRequestPinItemTest.java | 172 Wait.atMost("", new ItemSearchCondition(itemMatcher), DEFAULT_ACTIVITY_TIMEOUT, in runTest()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | AbstractLauncherUiTest.java | 143 Wait.atMost(() -> getActivityLeakErrorMessage(launcher, requireOneActiveActivity), in checkDetectedLeaks() 489 Wait.atMost(message, () -> getFromLauncher(condition), timeout, mLauncher); in waitForLauncherCondition() 498 Wait.atMost(message, () -> { in getOnceNotNull() 513 Wait.atMost(message, () -> { in waitForLauncherCondition() 623 Wait.atMost("Launcher activity didn't stop", in startIntent()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | FallbackRecentsTest.java | 210 Wait.atMost("Failed to get from recents", () -> MAIN_EXECUTOR.submit(() -> { in getFromRecents() 245 Wait.atMost("Recents activity didn't stop", in waitForRecentsActivityStop() 256 Wait.atMost("Expected three apps in the task list", in testOverview()
|
D | NavigationModeSwitchRule.java | 181 Wait.atMost("Couldn't switch to " + overlayPackage, 184 Wait.atMost(() -> "Switching nav mode: "
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/annotations/ |
D | RequiresSdkRange.java | 49 int atMost() default Range.NO_MAX; in atMost() method
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/ |
D | CustomAudienceManagerTest.java | 41 @RequiresSdkRange(atMost = Build.VERSION_CODES.S_V2)
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/topics/ |
D | TopicsManagerTest.java | 42 @RequiresSdkRange(atLeast = Build.VERSION_CODES.S, atMost = Build.VERSION_CODES.S_V2)
|
/packages/modules/AdServices/adservices/tests/cts/hosttests/src/com/android/adservices/cts/ |
D | AdExtServicesFailedToMountHostTest.java | 36 @RequiresSdkRange(atMost = PRE_T, reason = "It's for S only")
|
D | AdExtServicesBootCompleteReceiverHostTest.java | 44 @RequiresSdkRange(atMost = PRE_T, reason = "It's for S only")
|
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/ |
D | SdkSandboxValidationOverTTests.java | 51 atMost = TM,
|
/packages/modules/AdServices/adservices/apk/tests/settingsgauxselector/src/com/android/adservices/ui/settingsga/ |
D | SettingsRvcUxSelectorUiAutomatorTest.java | 38 @RequiresSdkRange(atLeast = RVC, atMost = RVC)
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/ |
D | MigrationBroadcastSchedulingTest.java | 31 import static org.mockito.Mockito.atMost; 284 verify(mJobScheduler, atMost(1)) in testScheduling_schedulingFails_noFurtherScheduling()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AppInstallAdvertisersSetterTest.java | 32 import static org.mockito.Mockito.atMost; 277 verify(mAdServicesLogger, atMost(1)) in verifyLog()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/entrydetails/ |
D | DataEntryDetailsFragmentTest.kt | 95 import org.mockito.kotlin.atMost 258 verify(healthConnectLogger, atMost(1)) in dataEntriesInit_withSkinTemperature_locationUnknown_hidesLocationDetail() 282 verify(healthConnectLogger, atMost(1)) in dataEntriesInit_withSkinTemperature_baselineUnknown_hidesBaselineDetail()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/dragging/ |
D | TaplUninstallRemoveTest.java | 75 Wait.atMost(appName + " app was found on all apps after being uninstalled", in verifyAppUninstalledFromAllApps()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/ |
D | ScanManagerTest.java | 37 import static org.mockito.Mockito.atMost; 1381 verify(mMetricsLogger, atMost(2)) in testMetricsScanRadioDurationScreenOnOff() 1383 verify(mMetricsLogger, atMost(2)) in testMetricsScanRadioDurationScreenOnOff() 1395 verify(mMetricsLogger, atMost(3)) in testMetricsScanRadioDurationScreenOnOff() 1397 verify(mMetricsLogger, atMost(2)) in testMetricsScanRadioDurationScreenOnOff() 1401 verify(mMetricsLogger, atMost(2)) in testMetricsScanRadioDurationScreenOnOff()
|
/packages/modules/ExtServices/java/tests/hosttests/src/android/ext/services/hosttests/ |
D | AdServicesFilesCleanupBootCompleteReceiverHostTest.java | 113 @RequiresSdkRange(atMost = PRE_T, reason = "Testing functionality that only runs on S-")
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/ |
D | AbstractSdkLevelSupportedRule.java | 205 ranges.add(Range.forRange(range.atLeast(), range.atMost()));
|