Searched refs:isValidRequestCode (Results 1 – 3 of 3) sorted by relevance
268 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 …]
146 boolean isValidRequestCode(int requestCode) { in isValidRequestCode() method in MasterClear161 if (!isValidRequestCode(requestCode)) { in onActivityResultInternal()