Home
last modified time | relevance | path

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

1234

/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/face/
DFaceUpdaterTest.java22 import static org.mockito.Mockito.atLeast;
114 verify(mEnrollmentCallback, atLeast(1)).onEnrollmentError(ERR_MSG_ID, ERR_STRING); in enroll_firstVersion_onEnrollmentCallbacks_triggerGivenCallback()
115 verify(mEnrollmentCallback, atLeast(1)).onEnrollmentProgress(/* remaining= */ 2); in enroll_firstVersion_onEnrollmentCallbacks_triggerGivenCallback()
116 verify(mEnrollmentCallback, atLeast(1)).onEnrollmentHelp(HELP_MSG_ID, HELP_STRING); in enroll_firstVersion_onEnrollmentCallbacks_triggerGivenCallback()
117 verify(mEnrollmentCallback, atLeast(1)) in enroll_firstVersion_onEnrollmentCallbacks_triggerGivenCallback()
140 verify(mSafetyCenterManagerWrapper, atLeast(1)).isEnabled(mContext); in enroll_firstVersion_onEnrollmentSuccess_invokedInteractionWithSafetyCenter()
187 verify(mEnrollmentCallback, atLeast(1)).onEnrollmentError(ERR_MSG_ID, ERR_STRING); in enroll_secondVersion_onEnrollmentCallbacks_triggerGivenCallback()
188 verify(mEnrollmentCallback, atLeast(1)).onEnrollmentProgress(/* remaining= */ 2); in enroll_secondVersion_onEnrollmentCallbacks_triggerGivenCallback()
189 verify(mEnrollmentCallback, atLeast(1)).onEnrollmentHelp(HELP_MSG_ID, HELP_STRING); in enroll_secondVersion_onEnrollmentCallbacks_triggerGivenCallback()
190 verify(mEnrollmentCallback, atLeast(1)) in enroll_secondVersion_onEnrollmentCallbacks_triggerGivenCallback()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DDebugReportingJobHandlerWrapper.java20 import static org.mockito.Mockito.atLeast;
55 verify(debugReportingJobHandler, atLeast(0)).createReportJsonPayload(debugReport.capture()); in spyPerformScheduledPendingReports()
57 verify(debugReportingJobHandler, atLeast(0)) in spyPerformScheduledPendingReports()
DEventReportingJobHandlerWrapper.java20 import static org.mockito.Mockito.atLeast;
62 verify(eventReportingJobHandler, atLeast(0)) in spyPerformScheduledPendingReportsInWindow()
65 verify(eventReportingJobHandler, atLeast(0)) in spyPerformScheduledPendingReportsInWindow()
DAggregateReportingJobHandlerWrapper.java20 import static org.mockito.Mockito.atLeast;
90 verify(aggregateReportingJobHandler, atLeast(0)) in spyPerformScheduledPendingReportsInWindow()
95 verify(aggregateReportingJobHandler, atLeast(0)) in spyPerformScheduledPendingReportsInWindow()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/provider/
DBleBroadcastProviderTest.java19 import static org.mockito.Mockito.atLeast;
73 verify(mBroadcastListener, atLeast(1)).onStatusChanged(eq(BroadcastCallback.STATUS_OK)); in testOnStatus_success_fastAdv()
85 verify(mBroadcastListener, atLeast(1)).onStatusChanged(eq(BroadcastCallback.STATUS_OK)); in testOnStatus_success_extendedAdv()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueJobServiceTest.java37 import static org.mockito.Mockito.atLeast;
201 timeout(WAIT_IN_MILLIS).atLeast(1)); in onStartJob_killSwitchOff_unlockingCheck()
212 timeout(WAIT_IN_MILLIS).atLeast(2)); in onStartJob_killSwitchOff_unlockingCheck()
308 timeout(WAIT_IN_MILLIS).atLeast(1)); in testRescheduling_successNoMoreRecordsToProcess_rescheduleManually()
520 atLeast(1)); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule()
549 timeout(WAIT_IN_MILLIS).atLeast(1)); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule()
576 atLeast(1)); in scheduleIfNeeded_minAndMaxDelayModified_scheduleAccordingly()
658 timeout(WAIT_IN_MILLIS).atLeast(1)); in onStartJob_killSwitchOff()
/packages/modules/AdServices/shared/libraries/host-side/java/com/android/adservices/shared/testing/
DHostSideSdkLevelSupportRule.java25 private HostSideSdkLevelSupportRule(Level atLeast) { in HostSideSdkLevelSupportRule() argument
26 super(ConsoleLogger.getInstance(), Range.forAtLeast(atLeast.getLevel())); in HostSideSdkLevelSupportRule()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ui/widget/
DDatePickerDialogTest.kt29 import org.mockito.Mockito.atLeast
52 verify(mockCallBack, atLeast(1)).onDateSet(any(), eq(2019), eq(1), eq(1)) in testUpdateDate_shouldUpdateTheListenerPassedInto()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DSdkLevelSupportRule.java37 SdkLevelSupportRule(Level atLeast) { in SdkLevelSupportRule() argument
38 super(AndroidLogger.getInstance(), Range.forAtLeast(atLeast.getLevel())); in SdkLevelSupportRule()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DHelpAndFeedbackFragmentTest.kt38 import org.mockito.kotlin.atLeast
73 verify(healthConnectLogger, atLeast(1)).setPageId(PageName.HELP_AND_FEEDBACK_PAGE) in helpAndFeedbackFragment_FeedbackAvailable_sendFeedbackIsAvailable()
93 verify(healthConnectLogger, atLeast(1)).setPageId(PageName.HELP_AND_FEEDBACK_PAGE) in helpAndFeedbackFragment_playStoreAvailable_playStoreLinksAreDisplayed()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/
DMigrationInProgressFragmentTest.kt18 import org.mockito.kotlin.atLeast
50 verify(healthConnectLogger, atLeast(1)).setPageId(PageName.MIGRATION_IN_PROGRESS_PAGE) in migrationInProgressFragment_displaysCorrectly()
DDataRestoreInProgressFragmentTest.kt33 import org.mockito.kotlin.atLeast
62 verify(healthConnectLogger, atLeast(1)).setPageId(PageName.DATA_RESTORE_IN_PROGRESS_PAGE) in dataRestoreInProgressFragment_displaysCorrectly()
DMigrationPausedFragmentTest.kt28 import org.mockito.kotlin.atLeast in <lambda>()
65 verify(healthConnectLogger, atLeast(1)).setPageId(PageName.MIGRATION_PAUSED_PAGE) in <lambda>()
DModuleUpdateRequiredFragmentTest.kt29 import org.mockito.kotlin.atLeast in <lambda>()
74 verify(healthConnectLogger, atLeast(1)) in <lambda>()
DAppUpdateRequiredFragmentTest.kt35 import org.mockito.kotlin.atLeast in <lambda>()
75 verify(healthConnectLogger, atLeast(1)).setPageId(PageName.MIGRATION_APP_UPDATE_NEEDED_PAGE) in <lambda>()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/meta_testing/
DTestAnnotations.java99 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/modules/IntentResolver/tests/unit/src/com/android/intentresolver/widget/
DBatchPreviewLoaderTest.kt42 import org.mockito.Mockito.atLeast in <lambda>()
131 captureMany { verify(onUpdate, atLeast(1)).invoke(capture()) } in <lambda>()
160 captureMany { verify(onUpdate, atLeast(1)).invoke(capture()) } in <lambda>()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DBrowsablePlayerConnectorTest.java112 verify(mMediaBrowser, timeout(TIMEOUT_MS).atLeast(1)).connect(); in browsablePlayerConnectorCallback_calledAfterConnection()
127 verify(mMediaBrowser, timeout(TIMEOUT_MS).atLeast(1)).connect(); in cleanup_doesNotCrash()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketClientTests.java402 verify(mockCallback, timeout(TIMEOUT).atLeast(1)) in testMulticastResponseReceived_useSeparateSocketForUnicast()
444 verify(mockCallback, timeout(TIMEOUT).atLeast(1)) in testFailedToParseMdnsResponse_useSeparateSocketForUnicast()
466 verify(mockCallback, timeout(TIMEOUT).atLeast(1)) in testFailedToParseMdnsResponse_useSameSocketForMulticastAndUnicast()
573 verify(mockCallback, timeout(TIMEOUT).atLeast(1)) in startDiscovery_andDoNotPropagateInterfaceIndex_doesNotIncludeInterfaceIndex()
DMdnsAnnouncerTest.kt39 import org.mockito.Mockito.atLeast in <lambda>()
259 verify(socket, atLeast(i + 1)).send(any()) in <lambda>()
DMdnsProberTest.kt39 import org.mockito.Mockito.atLeast in <lambda>()
98 verify(socket, atLeast(i + 1)).send(any()) in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DScreenTimeoutSettingsTest.java28 import static org.mockito.Mockito.atLeast;
208 verify(mPreferenceScreen, atLeast(1)).addPreference(mDisableOptionsPreference); in updateCandidates_enforcedAdmin_showDisabledByAdminPreference()
223 verify(mPreferenceScreen, atLeast(1)).addPreference(mPowerConsumptionPreference); in updateCandidates_withoutAdmin_showPowerConsumptionPreference()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/vpn2/
DPreferenceListTest.java23 import static org.mockito.Mockito.atLeast;
152 verify(mSettings, atLeast(1)).findOrCreatePreference(argThat(equalsFake), eq(true)); in testConnectedLegacyVpnShownExactlyOnce()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DMockedPermissionsActivityTest.kt90 import org.mockito.kotlin.atLeast in <lambda>()
190 verify(healthConnectLogger, atLeast(1)) in <lambda>()
192 verify(healthConnectLogger, atLeast(1)) in <lambda>()
412 verify(healthConnectLogger, atLeast(1)) in <lambda>()
414 verify(healthConnectLogger, atLeast(1)) in <lambda>()
488 verify(healthConnectLogger, atLeast(1)) in <lambda>()
490 verify(healthConnectLogger, atLeast(1)) in <lambda>()
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DAssistantTest.kt55 import org.mockito.Mockito.atLeast in <lambda>()
166 verify(assistant, atLeast(1)) in <lambda>()
182 verify(assistant, atLeast(1)) in <lambda>()

1234