Home | History | Annotate | Download | only in screenlock

Lines Matching refs:when

21 import static org.mockito.Mockito.when;
60 when(mFeatureFactory.securityFeatureProvider.getTrustAgentManager())
70 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);
71 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))
79 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);
80 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))
88 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(true);
89 when(mLockPatternUtils.getKeyguardStoredPasswordQuality(TEST_USER_ID))
97 when(mLockPatternUtils.isSecure(TEST_USER_ID)).thenReturn(false);
105 when(mTrustAgentManager.getActiveTrustAgentLabel(mContext, mLockPatternUtils))
107 when(mLockPatternUtils.getPowerButtonInstantlyLocks(TEST_USER_ID)).thenReturn(true);
114 when(mTrustAgentManager.getActiveTrustAgentLabel(mContext, mLockPatternUtils))
116 when(mLockPatternUtils.getPowerButtonInstantlyLocks(TEST_USER_ID)).thenReturn(false);