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 | 176 when(mEventIndex1.getMostRecentActiveTimeSlot()).thenReturn(WITHIN_ONE_DAY); in testComputeScore() 177 when(mEventIndex2.getMostRecentActiveTimeSlot()).thenReturn(TWO_DAYS_AGO); in testComputeScore() 178 when(mEventIndex3.getMostRecentActiveTimeSlot()).thenReturn(FIVE_DAYS_AGO); in testComputeScore() 179 when(mEventIndex4.getMostRecentActiveTimeSlot()).thenReturn(EIGHT_DAYS_AGO); in testComputeScore() 180 when(mEventIndex5.getMostRecentActiveTimeSlot()).thenReturn(null); in testComputeScore() 227 when(mEventIndex1.getMostRecentActiveTimeSlot()).thenReturn(WITHIN_ONE_DAY); in testComputeScoreForAppShare() 228 when(mEventIndex2.getMostRecentActiveTimeSlot()).thenReturn(TWO_DAYS_AGO); in testComputeScoreForAppShare() 229 when(mEventIndex3.getMostRecentActiveTimeSlot()).thenReturn(FIVE_DAYS_AGO); in testComputeScoreForAppShare() 230 when(mEventIndex4.getMostRecentActiveTimeSlot()).thenReturn(EIGHT_DAYS_AGO); in testComputeScoreForAppShare() 231 when(mEventIndex5.getMostRecentActiveTimeSlot()).thenReturn(null); in testComputeScoreForAppShare() [all …]
|
D | ShareTargetPredictorTest.java | 139 when(mEventIndex1.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(1L, 2L)); in testPredictTargets() 140 when(mEventIndex2.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(2L, 3L)); in testPredictTargets() 141 when(mEventIndex3.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(3L, 4L)); in testPredictTargets() 201 when(mEventIndex1.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(1L, 2L)); in testPredictTargets_reachTargetsLimit() 202 when(mEventIndex2.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(2L, 3L)); in testPredictTargets_reachTargetsLimit() 203 when(mEventIndex3.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(3L, 4L)); in testPredictTargets_reachTargetsLimit() 204 when(mEventIndex4.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(4L, 5L)); in testPredictTargets_reachTargetsLimit() 205 when(mEventIndex5.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(5L, 6L)); in testPredictTargets_reachTargetsLimit() 206 when(mEventIndex6.getMostRecentActiveTimeSlot()).thenReturn(new Range<>(6L, 7L)); in testPredictTargets_reachTargetsLimit() 325 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 | 113 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
|