Home | History | Annotate | Download | only in screenlock

Lines Matching refs:when

24 import static org.mockito.Mockito.when;
71 when(mFeatureFactory.securityFeatureProvider.getTrustAgentManager())
80 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);
81 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))
89 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);
90 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))
98 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);
99 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))
107 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false);
119 when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(um);
120 when(um.getProfiles(userId)).thenReturn(Collections.emptyList());
123 when(mPreference.getEntries()).thenReturn(new CharSequence[] {"10"});
124 when(mPreference.getEntryValues()).thenReturn(new CharSequence[] {"10000"});