Searched refs:shouldDefer (Results 1 – 7 of 7) sorted by relevance
178 assertTrue(biometricMessageDeferral.shouldDefer(1)) in testShouldDefer()179 assertTrue(biometricMessageDeferral.shouldDefer(2)) in testShouldDefer()182 assertFalse(biometricMessageDeferral.shouldDefer(3)) in testShouldDefer()183 assertFalse(biometricMessageDeferral.shouldDefer(4)) in testShouldDefer()209 assertTrue(biometricMessageDeferral.shouldDefer(1)) in testDeferredMessage_meetThresholdWithIgnoredFrames()
67 fun shouldDefer(msgId: Int): Boolean { in <lambda>() method68 return faceHelpMessageDeferral.shouldDefer(msgId) in <lambda>()
183 faceHelpMessageDeferralInteractor.shouldDefer(it.msgId) in <lambda>()
123 fun shouldDefer(acquiredMsgId: Int): Boolean { in shouldDefer() method
292 whenever(faceHelpMessageDeferral.shouldDefer(anyInt())).thenReturn(true) in faceHelpMessageShouldDefer()
728 when(mFaceHelpMessageDeferral.shouldDefer(FACE_ACQUIRED_TOO_DARK)).thenReturn(true); in sendTooDarkFaceHelpMessages_onTimeout_noFpEnrolled()758 when(mFaceHelpMessageDeferral.shouldDefer(FACE_ACQUIRED_TOO_DARK)).thenReturn(true); in sendTooDarkFaceHelpMessages_onTimeout_fingerprintEnrolled()1248 verify(mFaceHelpMessageDeferral, never()).shouldDefer(anyInt()); in onBiometricHelp_fingerprint_faceHelpMessageDeferralDoesNothing()
1315 if (mFaceAcquiredMessageDeferral.shouldDefer(msgId)) { in onBiometricHelp()