/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/face/ |
D | FaceUpdaterTest.java | 22 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/ |
D | DebugReportingJobHandlerWrapper.java | 20 import static org.mockito.Mockito.atLeast; 55 verify(debugReportingJobHandler, atLeast(0)).createReportJsonPayload(debugReport.capture()); in spyPerformScheduledPendingReports() 57 verify(debugReportingJobHandler, atLeast(0)) in spyPerformScheduledPendingReports()
|
D | EventReportingJobHandlerWrapper.java | 20 import static org.mockito.Mockito.atLeast; 62 verify(eventReportingJobHandler, atLeast(0)) in spyPerformScheduledPendingReportsInWindow() 65 verify(eventReportingJobHandler, atLeast(0)) in spyPerformScheduledPendingReportsInWindow()
|
D | AggregateReportingJobHandlerWrapper.java | 20 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/ |
D | BleBroadcastProviderTest.java | 19 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/ |
D | AsyncRegistrationQueueJobServiceTest.java | 37 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/ |
D | HostSideSdkLevelSupportRule.java | 25 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/ |
D | DatePickerDialogTest.kt | 29 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/ |
D | SdkLevelSupportRule.java | 37 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/ |
D | HelpAndFeedbackFragmentTest.kt | 38 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/ |
D | MigrationInProgressFragmentTest.kt | 18 import org.mockito.kotlin.atLeast 50 verify(healthConnectLogger, atLeast(1)).setPageId(PageName.MIGRATION_IN_PROGRESS_PAGE) in migrationInProgressFragment_displaysCorrectly()
|
D | DataRestoreInProgressFragmentTest.kt | 33 import org.mockito.kotlin.atLeast 62 verify(healthConnectLogger, atLeast(1)).setPageId(PageName.DATA_RESTORE_IN_PROGRESS_PAGE) in dataRestoreInProgressFragment_displaysCorrectly()
|
D | MigrationPausedFragmentTest.kt | 28 import org.mockito.kotlin.atLeast in <lambda>() 65 verify(healthConnectLogger, atLeast(1)).setPageId(PageName.MIGRATION_PAUSED_PAGE) in <lambda>()
|
D | ModuleUpdateRequiredFragmentTest.kt | 29 import org.mockito.kotlin.atLeast in <lambda>() 74 verify(healthConnectLogger, atLeast(1)) in <lambda>()
|
D | AppUpdateRequiredFragmentTest.kt | 35 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/ |
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/modules/IntentResolver/tests/unit/src/com/android/intentresolver/widget/ |
D | BatchPreviewLoaderTest.kt | 42 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/ |
D | BrowsablePlayerConnectorTest.java | 112 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/ |
D | MdnsSocketClientTests.java | 402 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()
|
D | MdnsAnnouncerTest.kt | 39 import org.mockito.Mockito.atLeast in <lambda>() 259 verify(socket, atLeast(i + 1)).send(any()) in <lambda>()
|
D | MdnsProberTest.kt | 39 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/ |
D | ScreenTimeoutSettingsTest.java | 28 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/ |
D | PreferenceListTest.java | 23 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/ |
D | MockedPermissionsActivityTest.kt | 90 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/ |
D | AssistantTest.kt | 55 import org.mockito.Mockito.atLeast in <lambda>() 166 verify(assistant, atLeast(1)) in <lambda>() 182 verify(assistant, atLeast(1)) in <lambda>()
|