Searched refs:getActiveTimeSlots (Results 1 – 7 of 7) sorted by relevance
56 assertTrue(mEventIndex.getActiveTimeSlots().isEmpty()); in testNoEvents()71 List<Range<Long>> slots = mEventIndex.getActiveTimeSlots(); in testMultipleEvents()84 slots = mEventIndex.getActiveTimeSlots(); in testBitmapShift()90 slots = mEventIndex.getActiveTimeSlots(); in testBitmapShift()96 slots = mEventIndex.getActiveTimeSlots(); in testBitmapShift()102 slots = mEventIndex.getActiveTimeSlots(); in testBitmapShift()108 slots = mEventIndex.getActiveTimeSlots(); in testBitmapShift()120 List<Range<Long>> slots = mEventIndex.getActiveTimeSlots(); in testCopyConstructor()123 List<Range<Long>> newSlots = newIndex.getActiveTimeSlots(); in testCopyConstructor()145 List<Range<Long>> slots = combined.getActiveTimeSlots(); in combineEventIndexes()
98 assertEquals(2, eventIndex.getActiveTimeSlots().size()); in testQueryEventIndexForSingleEventType()101 assertEquals(1, eventIndex.getActiveTimeSlots().size()); in testQueryEventIndexForSingleEventType()115 assertEquals(2, eventIndex.getActiveTimeSlots().size()); in testQueryEventIndexForMultipleEventTypes()118 assertEquals(4, eventIndex.getActiveTimeSlots().size()); in testQueryEventIndexForMultipleEventTypes()
114 assertEquals(4, eventIndex.getActiveTimeSlots().size()); in testMultipleEvents()128 assertEquals(2, eventIndex.getActiveTimeSlots().size()); in testQuerySomeEventTypes()143 assertEquals(1, eventIndex.getActiveTimeSlots().size()); in testQuerySingleEventType()
1673 .getActiveTimeSlots())); in getActiveSlotsForTestShortcut()1683 .getActiveTimeSlots())); in getActiveSlotsForAppShares()
169 when(mEventIndex1.getActiveTimeSlots()).thenReturn( in testComputeScore()173 when(mEventIndex4.getActiveTimeSlots()).thenReturn( in testComputeScore()175 when(mEventIndex5.getActiveTimeSlots()).thenReturn(List.of()); in testComputeScore()190 when(mEventIndex6.getActiveTimeSlots()).thenReturn(List.of(TWO_DAYS_AGO)); in testComputeScore()192 when(mEventIndex8.getActiveTimeSlots()).thenReturn(List.of()); in testComputeScore()194 when(mEventIndex10.getActiveTimeSlots()).thenReturn(List.of()); in testComputeScore()220 when(mEventIndex1.getActiveTimeSlots()).thenReturn( in testComputeScoreForAppShare()224 when(mEventIndex4.getActiveTimeSlots()).thenReturn( in testComputeScoreForAppShare()226 when(mEventIndex5.getActiveTimeSlots()).thenReturn(List.of()); in testComputeScoreForAppShare()243 when(mEventIndex8.getActiveTimeSlots()).thenReturn(List.of()); in testComputeScoreForAppShare()[all …]
88 Event.SHARE_EVENT_TYPES).getActiveTimeSlots(); in computeScore()99 shareEventType).getActiveTimeSlots(); in computeScore()
175 public List<Range<Long>> getActiveTimeSlots() { in getActiveTimeSlots() method in EventIndex