Home | History | Annotate | Download | only in password

Lines Matching refs:when

33 import static org.mockito.Mockito.when;
74 when(mFingerprintManager.preEnroll()).thenReturn(FINGERPRINT_CHALLENGE);
75 when(mPackageManager.hasSystemFeature(eq(FEATURE_FINGERPRINT))).thenReturn(true);
81 when(mFingerprintManager.isHardwareDetected()).thenReturn(true);
83 when(mFingerprintManager.hasEnrolledFingerprints(CURRENT_USER_ID)).thenReturn(false);
85 when(mDevicePolicyManager.getKeyguardDisabledFeatures(any(ComponentName.class)))
88 // WHEN the controller dispatches a set new password intent.
101 when(mPackageManager.hasSystemFeature(eq(FEATURE_FINGERPRINT))).thenReturn(false);
103 // WHEN the controller dispatches a set new password intent.
115 when(mFingerprintManager.isHardwareDetected()).thenReturn(false);
117 when(mFingerprintManager.hasEnrolledFingerprints(CURRENT_USER_ID)).thenReturn(false);
119 when(mDevicePolicyManager.getKeyguardDisabledFeatures(any(ComponentName.class)))
122 // WHEN the controller dispatches a set new password intent.
134 when(mFingerprintManager.isHardwareDetected()).thenReturn(true);
136 when(mFingerprintManager.hasEnrolledFingerprints(CURRENT_USER_ID)).thenReturn(true);
138 when(mDevicePolicyManager.getKeyguardDisabledFeatures(any(ComponentName.class)))
141 // WHEN the controller dispatches a set new password intent.
153 when(mFingerprintManager.isHardwareDetected()).thenReturn(true);
155 when(mFingerprintManager.hasEnrolledFingerprints(CURRENT_USER_ID)).thenReturn(true);
157 when(mDevicePolicyManager.getKeyguardDisabledFeatures(any(ComponentName.class)))
160 // WHEN the controller dispatches a set new password intent.