Home
last modified time | relevance | path

Searched refs:activeTimeSlots (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/people/java/com/android/server/people/data/
DEventIndex.java176 List<Range<Long>> activeTimeSlots = new ArrayList<>(); in getActiveTimeSlots() local
179 activeTimeSlots = combineTimeSlotLists(activeTimeSlots, in getActiveTimeSlots()
183 Collections.reverse(activeTimeSlots); in getActiveTimeSlots()
184 return activeTimeSlots; in getActiveTimeSlots()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java666 List<Range<Long>> activeTimeSlots = getActiveSlotsForTestShortcut(Event.CALL_EVENT_TYPES); in testCallLogContentObserver() local
667 assertEquals(3, activeTimeSlots.size()); in testCallLogContentObserver()
690 List<Range<Long>> activeTimeSlots = getActiveSlotsForTestShortcut(Event.SMS_EVENT_TYPES); in testMmsSmsContentObserver() local
691 assertEquals(2, activeTimeSlots.size()); in testMmsSmsContentObserver()
738 List<Range<Long>> activeTimeSlots = getActiveSlotsForTestShortcut(Event.CALL_EVENT_TYPES); in testPruneCallEventsFromNonDialer() local
739 assertEquals(1, activeTimeSlots.size()); in testPruneCallEventsFromNonDialer()
743 activeTimeSlots = getActiveSlotsForTestShortcut(Event.CALL_EVENT_TYPES); in testPruneCallEventsFromNonDialer()
744 assertTrue(activeTimeSlots.isEmpty()); in testPruneCallEventsFromNonDialer()
760 List<Range<Long>> activeTimeSlots = getActiveSlotsForTestShortcut(Event.SMS_EVENT_TYPES); in testPruneSmsEventsFromNonDefaultSmsApp() local
761 assertEquals(1, activeTimeSlots.size()); in testPruneSmsEventsFromNonDefaultSmsApp()
[all …]