Home
last modified time | relevance | path

Searched refs:mHistoryTracker (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DHistoryTrackerTest.java41 private HistoryTracker mHistoryTracker; field in HistoryTrackerTest
46 mHistoryTracker = new HistoryTracker(mSystemClock); in setup()
51 assertThat(mHistoryTracker.falseBelief()).isEqualTo(0.5); in testNoDataNoPenalty()
52 assertThat(mHistoryTracker.falseConfidence()).isEqualTo(0); in testNoDataNoPenalty()
58 assertThat(mHistoryTracker.falseBelief()).isWithin(0.001).of(1); in testOneResultFullConfidence()
59 assertThat(mHistoryTracker.falseConfidence()).isEqualTo(1); in testOneResultFullConfidence()
67 assertThat(mHistoryTracker.falseBelief()).isWithin(0.001).of(0.5); in testMultipleResultsSameTimestamp()
68 assertThat(mHistoryTracker.falseConfidence()).isWithin(0.001).of(0.5); in testMultipleResultsSameTimestamp()
76 assertThat(mHistoryTracker.falseBelief()).isWithin(0.001).of(1); in testMultipleConfidences()
77 assertThat(mHistoryTracker.falseConfidence()).isWithin(0.001).of(.75); in testMultipleConfidences()
[all …]
DBrightLineFalsingManagerTest.java73 private HistoryTracker mHistoryTracker; field in BrightLineFalsingManagerTest
103 mDoubleTapClassifier, mHistoryTracker, mKeyguardStateController, in setup()
208 verify(mHistoryTracker, never()).addBeliefListener(any()); in testAddAndRemoveFalsingBeliefListener()
215 verify(mHistoryTracker).addBeliefListener(mBeliefListenerArgumentCaptor.capture()); in testAddAndRemoveFalsingBeliefListener()
216 verify(mHistoryTracker, never()).removeBeliefListener(any()); in testAddAndRemoveFalsingBeliefListener()
222 verify(mHistoryTracker).removeBeliefListener(mBeliefListenerArgumentCaptor.getValue()); in testAddAndRemoveFalsingBeliefListener()
DBrightLineClassifierTest.java80 private HistoryTracker mHistoryTracker; field in BrightLineClassifierTest
112 mDoubleTapClassifier, mHistoryTracker, mKeyguardStateController, in setup()
238 when(mHistoryTracker.falseBelief()).thenReturn(1.0); in testIsFalseSingleTap_RobustCheck_NoFaceAuth()
297 verify(mHistoryTracker).addResults(anyCollection(), eq(1000L)); in testHistory()
305 verify(mHistoryTracker).addResults(anyCollection(), eq(1000L)); in testHistory_singleTap()
315 verify(mHistoryTracker).addResults(anyCollection(), eq(1000L)); in testHistory_multipleSingleTaps()
316 verify(mHistoryTracker).addResults(anyCollection(), eq(2000L)); in testHistory_multipleSingleTaps()
330 verify(mHistoryTracker).addResults(anyCollection(), eq(2000L)); in testHistory_doubleTap()
DFalsingCollectorImplTest.java80 private HistoryTracker mHistoryTracker; field in FalsingCollectorImplTest
123 mKeyguardUpdateMonitor, mHistoryTracker, mProximitySensor, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DBrightLineFalsingManager.java73 private final HistoryTracker mHistoryTracker; field in BrightLineFalsingManager
96 mHistoryTracker.removeBeliefListener(mBeliefListener);
102 mHistoryTracker.addBeliefListener(mBeliefListener);
112 mHistoryTracker.falseBelief(),
113 mHistoryTracker.falseConfidence()));
157 mHistoryTracker.addResults(mPriorResults, completionTimeMs);
167 mHistoryTracker.addResults(
197 mHistoryTracker = historyTracker; in BrightLineFalsingManager()
227 mHistoryTracker.falseBelief(), in isFalseTouch()
228 mHistoryTracker.falseConfidence()); in isFalseTouch()
[all …]
DFalsingCollectorImpl.java82 private final HistoryTracker mHistoryTracker; field in FalsingCollectorImpl
184 mHistoryTracker = historyTracker; in FalsingCollectorImpl()
400 mHistoryTracker.addResults(Collections.singleton(result), mSystemClock.uptimeMillis()); in updateFalseConfidence()