Home
last modified time | relevance | path

Searched refs:isValidRequestCode (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMasterClearTest.java268 doReturn(false).when(mMasterClear).isValidRequestCode(eq(invalidRequestCode)); in testOnActivityResultInternal_invalideRequest()
272 verify(mMasterClear, times(1)).isValidRequestCode(eq(invalidRequestCode)); in testOnActivityResultInternal_invalideRequest()
280 doReturn(true).when(mMasterClear).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_resultCanceled()
287 verify(mMasterClear, times(1)).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_resultCanceled()
295 doReturn(true).when(mMasterClear).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringConfirmAccount()
302 verify(mMasterClear, times(1)).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringConfirmAccount()
310 doReturn(true).when(mMasterClear).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringShowFinal()
317 verify(mMasterClear, times(1)).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringShowFinal()
326 .isValidRequestCode(eq(MasterClear.CREDENTIAL_CONFIRM_REQUEST)); in testOnActivityResultInternal_confirmRequestTriggeringShowFinal()
333 .isValidRequestCode(eq(MasterClear.CREDENTIAL_CONFIRM_REQUEST)); in testOnActivityResultInternal_confirmRequestTriggeringShowFinal()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DMasterClear.java146 boolean isValidRequestCode(int requestCode) { in isValidRequestCode() method in MasterClear
161 if (!isValidRequestCode(requestCode)) { in onActivityResultInternal()
/packages/apps/Settings/src/com/android/settings/
DMasterClear.java146 boolean isValidRequestCode(int requestCode) { in isValidRequestCode() method in MasterClear
161 if (!isValidRequestCode(requestCode)) { in onActivityResultInternal()