Home
last modified time | relevance | path

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

12

/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/
DExternalStorageProviderTest.java21 import static org.mockito.Mockito.atLeast;
52 verify(spyProvider, atLeast(1)).updateVolumes(); in onCreate_shouldUpdateVolumes()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServiceStateTrackerTest.java22 import static org.mockito.Mockito.atLeast;
171 verify(mNotificationManager, atLeast(1)).notify( in testSendPrefNetworkNotification()
179 verify(mNotificationManager, atLeast(1)).cancel( in testSendPrefNetworkNotification()
216 verify(mNotificationManager, atLeast(2)).cancel( in testSendEmergencyNetworkNotification()
DOldNitzStateMachineTest.java25 import static org.mockito.Mockito.atLeast;
1102 verify(mTimeServiceHelper, atLeast(0)).setListener(any()); in checkNoUnverifiedSetOperations()
1103 verify(mTimeServiceHelper, atLeast(0)).isTimeDetectionEnabled(); in checkNoUnverifiedSetOperations()
1104 verify(mTimeServiceHelper, atLeast(0)).isTimeZoneDetectionEnabled(); in checkNoUnverifiedSetOperations()
1105 verify(mTimeServiceHelper, atLeast(0)).isTimeZoneSettingInitialized(); in checkNoUnverifiedSetOperations()
1106 verify(mTimeServiceHelper, atLeast(0)).elapsedRealtime(); in checkNoUnverifiedSetOperations()
1107 verify(mTimeServiceHelper, atLeast(0)).currentTimeMillis(); in checkNoUnverifiedSetOperations()
DNewNitzStateMachineTest.java25 import static org.mockito.Mockito.atLeast;
963 verify(mTimeServiceHelper, atLeast(0)).setListener(any()); in checkNoUnverifiedSetOperations()
964 verify(mTimeServiceHelper, atLeast(0)).isTimeZoneDetectionEnabled(); in checkNoUnverifiedSetOperations()
965 verify(mTimeServiceHelper, atLeast(0)).isTimeZoneSettingInitialized(); in checkNoUnverifiedSetOperations()
966 verify(mTimeServiceHelper, atLeast(0)).elapsedRealtime(); in checkNoUnverifiedSetOperations()
967 verify(mTimeServiceHelper, atLeast(0)).currentTimeMillis(); in checkNoUnverifiedSetOperations()
DSubscriptionControllerTest.java26 import static org.mockito.Mockito.atLeast;
192 verify(mContext, atLeast(1)).sendBroadcast(captorIntent.capture()); in testChangeSIMProperty()
218 verify(mContext, atLeast(1)).sendBroadcast(captorIntent.capture()); in testSetGetDisplayNameSrc()
265 verify(mContext, atLeast(1)).sendBroadcast(captorIntent.capture()); in testSetGetMCCMNC()
283 verify(mContext, atLeast(1)).sendBroadcast(captorIntent.capture()); in testSetGetCarrierId()
DGsmCdmaPhoneTest.java31 import static org.mockito.Mockito.atLeast;
678 verify(mIActivityManager, atLeast(1)).broadcastIntent(eq((IApplicationThread) null), in testEmergencyCallbackMessages()
712 verify(mIActivityManager, atLeast(2)).broadcastIntent(eq((IApplicationThread) null), in testEmergencyCallbackMessages()
766 verify(mIActivityManager, atLeast(1)).broadcastIntent(eq((IApplicationThread) null), in testModemResetInEmergencyCallbackMessages()
800 verify(mIActivityManager, atLeast(2)).broadcastIntent(eq((IApplicationThread) null), in testModemResetInEmergencyCallbackMessages()
DServiceStateTrackerTest.java31 import static org.mockito.Mockito.atLeast;
1588 verify(mTestHandler, atLeast(3)).sendMessageAtTime( in testRoamingPhoneTypeSwitch()
2285 verify(mContextFixture.getTestDouble(), atLeast(1)) in getExtrasFromLastSpnUpdateIntent()
DRILTest.java87 import static org.mockito.Mockito.atLeast;
334 verify(mRadioProxy, atLeast(1)).getIccCardStatus(mSerialNumberCaptor.capture()); in testRadioErrorWithContinuousSystemErr()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationRoundnessManagerTest.java19 import static org.mockito.Mockito.atLeast;
89 verify(mRoundnessCallback, atLeast(1)).run(); in testCallbackCalledWhenSecondChanged()
98 verify(mRoundnessCallback, atLeast(1)).run(); in testCallbackCalledWhenFirstChanged()
107 verify(mRoundnessCallback, atLeast(1)).run(); in testCallbackCalledWhenSecondSectionFirstChanged()
116 verify(mRoundnessCallback, atLeast(1)).run(); in testCallbackCalledWhenSecondSectionLastChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCollapsedStatusBarFragmentTest.java21 import static org.mockito.Mockito.atLeast;
126 Mockito.verify(mNotificationAreaInner, atLeast(1)).setVisibility(eq(View.VISIBLE)); in testDisableNotifications()
161 Mockito.verify(mNotificationAreaInner, atLeast(1)).setVisibility(eq(View.VISIBLE)); in testOnDozingChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java34 import static org.mockito.Mockito.atLeast;
356 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_succeedsWithCertFile()
404 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_triesToFilterRootAlias()
407 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_triesToFilterRootAlias()
425 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForEmptyRootAlias()
428 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForEmptyRootAlias()
445 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForNullRootAlias()
448 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryService_usesProdCertificateForNullRootAlias()
641 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryServiceWithSigFile_usesProdCertificateForNullRootAlias()
644 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in initRecoveryServiceWithSigFile_usesProdCertificateForNullRootAlias()
DKeySyncTaskTest.java38 import static org.mockito.Mockito.atLeast;
483 verify(mTestOnlyInsecureCertificateHelper, atLeast(1)) in run_doesNotFilterCredentialsAndAliasesInProd()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceAnimationRunnerTest.java20 import static com.android.dx.mockito.inline.extended.ExtendedMockito.atLeast;
108 verify(mMockTransaction, atLeast(3)).setAlpha(eq(mMockSurface), eq(1.0f)); in testAnimation()
DRecentsAnimationControllerTest.java26 import static com.android.dx.mockito.inline.extended.ExtendedMockito.atLeast;
193 verify(binder, atLeast(0)).asBinder(); in verifyNoMoreInteractionsExceptAsBinder()
DRemoteAnimationControllerTest.java21 import static com.android.dx.mockito.inline.extended.ExtendedMockito.atLeast;
267 verify(binder, atLeast(0)).asBinder(); in verifyNoMoreInteractionsExceptAsBinder()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java25 import static org.mockito.Mockito.atLeast;
223 verify(mNetworkAgent, atLeast(1)).sendNetworkScore(score); in giveUpOnBadRssiWhenDataIsNotMoving()
240 verify(mNetworkAgent, atLeast(1)).sendNetworkScore(score);
DNetworkSuggestionEvaluatorTest.java664 verify(mWifiConfigManager, atLeast(candidates.length)).getConfiguredNetwork(anyString()); in verifyAddToWifiConfigManager()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java89 Mockito.verify(delegate, Mockito.atLeast(0)).onIsLanguageAvailable( in testSetLanguage_delegation()
91 Mockito.verify(delegate, Mockito.atLeast(0)).onLoadLanguage( in testSetLanguage_delegation()
/frameworks/native/opengl/libagl/
Degl.cpp826 static bool atLeast(GLint reqValue, GLint confValue) { in atLeast() function
1078 { EGL_BUFFER_SIZE, config_management_t::atLeast },
1079 { EGL_ALPHA_SIZE, config_management_t::atLeast },
1080 { EGL_BLUE_SIZE, config_management_t::atLeast },
1081 { EGL_GREEN_SIZE, config_management_t::atLeast },
1082 { EGL_RED_SIZE, config_management_t::atLeast },
1083 { EGL_DEPTH_SIZE, config_management_t::atLeast },
1084 { EGL_STENCIL_SIZE, config_management_t::atLeast },
1105 { EGL_LUMINANCE_SIZE, config_management_t::atLeast },
1106 { EGL_ALPHA_MASK_SIZE, config_management_t::atLeast },
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccProfileTest.java26 import static org.mockito.Mockito.atLeast;
277 verify(mMockedHandler, atLeast(1)).sendMessageDelayed(mCaptorMessage.capture(), in testCarrierPriviledgeLoadedListener()
622 verify(mTelephonyManager, atLeast(1)).setSimOperatorNameForPhone(anyInt(), in testCarrierConfigHandling()
DUiccControllerTest.java24 import static org.mockito.Mockito.atLeast;
215 verify(mMockedHandler, atLeast(1)).sendMessageDelayed(mCaptorMessage.capture(), in testIccChangedListener()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java452 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).atLeast(NUM_CALLBACKS_CHECKED)) in testCaptureResultCallbacks()
472 verify(mMockCb, timeout(WAIT_FOR_COMPLETE_TIMEOUT_MS).atLeast(NUM_CALLBACKS_CHECKED)) in testCaptureStartedCallbacks()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java31 import static org.mockito.Mockito.atLeast;
550 verify(mIActivityManager, atLeast(1)).broadcastIntent(eq((IApplicationThread)null), in testEcbm()
578 verify(mIActivityManager, atLeast(2)).broadcastIntent(eq((IApplicationThread)null), in testEcbm()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java75 import static org.mockito.Mockito.atLeast;
540 verify(pmInternal, atLeast(2)).registerLowPowerModeObserver(any()); in testLowPowerModeObserver_ListenersRegistered()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java41 import static org.mockito.Mockito.atLeast;
2498 verify(handler, atLeast(1)).sendMessageDelayed(any(), eq(10 * SECOND_IN_MILLIS)); in testTracking_RollingQuota()

12