Searched refs:getMostRecentActiveTimeSlot (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/ |
D | SharesheetModelScorerTest.java | 177 when(mEventIndex1.getMostRecentActiveTimeSlot()).thenReturn(WITHIN_ONE_DAY); in testComputeScore() 178 when(mEventIndex2.getMostRecentActiveTimeSlot()).thenReturn(TWO_DAYS_AGO); in testComputeScore() 179 when(mEventIndex3.getMostRecentActiveTimeSlot()).thenReturn(FIVE_DAYS_AGO); in testComputeScore() 180 when(mEventIndex4.getMostRecentActiveTimeSlot()).thenReturn(EIGHT_DAYS_AGO); in testComputeScore() 181 when(mEventIndex5.getMostRecentActiveTimeSlot()).thenReturn(null); in testComputeScore() 228 when(mEventIndex1.getMostRecentActiveTimeSlot()).thenReturn(WITHIN_ONE_DAY); in testComputeScoreForAppShare() 229 when(mEventIndex2.getMostRecentActiveTimeSlot()).thenReturn(TWO_DAYS_AGO); in testComputeScoreForAppShare() 230 when(mEventIndex3.getMostRecentActiveTimeSlot()).thenReturn(FIVE_DAYS_AGO); in testComputeScoreForAppShare() 231 when(mEventIndex4.getMostRecentActiveTimeSlot()).thenReturn(EIGHT_DAYS_AGO); in testComputeScoreForAppShare() 232 when(mEventIndex5.getMostRecentActiveTimeSlot()).thenReturn(null); in testComputeScoreForAppShare() [all …]
|
D | ShareTargetPredictorTest.java | 169 when(mEventIndex1.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(1L, 2L)); in testPredictTargets() 170 when(mEventIndex2.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(2L, 3L)); in testPredictTargets() 171 when(mEventIndex3.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(3L, 4L)); in testPredictTargets() 231 when(mEventIndex1.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(1L, 2L)); in testPredictTargets_reachTargetsLimit() 232 when(mEventIndex2.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(2L, 3L)); in testPredictTargets_reachTargetsLimit() 233 when(mEventIndex3.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(3L, 4L)); in testPredictTargets_reachTargetsLimit() 234 when(mEventIndex4.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(4L, 5L)); in testPredictTargets_reachTargetsLimit() 235 when(mEventIndex5.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(5L, 6L)); in testPredictTargets_reachTargetsLimit() 236 when(mEventIndex6.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(6L, 7L)); in testPredictTargets_reachTargetsLimit() 355 when(mEventIndex1.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(1L, 2L)); in testSortTargets() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | EventIndexTest.java | 55 assertNull(mEventIndex.getMostRecentActiveTimeSlot()); in testNoEvents() 67 Range<Long> mostRecentSlot = mEventIndex.getMostRecentActiveTimeSlot(); in testMultipleEvents()
|
/frameworks/base/services/people/java/com/android/server/people/prediction/ |
D | SharesheetModelScorer.java | 110 Event.SHARE_EVENT_TYPES).getMostRecentActiveTimeSlot(); in computeScore()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventIndex.java | 151 public Range<Long> getMostRecentActiveTimeSlot() { in getMostRecentActiveTimeSlot() method in EventIndex
|