Searched refs:getEventHistory (Results 1 – 8 of 8) sorted by relevance
89 EventHistory eventHistory = mPackageData.getEventHistory(SHORTCUT_ID); in testGetEventHistory()108 EventHistory eventHistory = mPackageData.getEventHistory(SHORTCUT_ID); in testGetEventHistoryDefaultDialerAndSmsApp()126 EventHistory eventHistory = mPackageData.getEventHistory(SHORTCUT_ID); in testGetEventHistoryNotDefaultDialerOrSmsApp()144 EventHistory eventHistory = mPackageData.getEventHistory(SHORTCUT_ID); in testDeleteConversationData()150 eventHistory = mPackageData.getEventHistory(SHORTCUT_ID); in testDeleteConversationData()167 EventHistory eventHistory = mPackageData.getEventHistory(SHORTCUT_ID); in testPruneOrphanEvents()180 eventHistory = mPackageData.getEventHistory(SHORTCUT_ID); in testPruneOrphanEvents()
1671 packageData.getEventHistory(TEST_SHORTCUT_ID) in getActiveSlotsForTestShortcut()
143 public EventHistory getEventHistory(@NonNull String shortcutId) { in getEventHistory() method in PackageData151 EventHistory shortcutEventHistory = getEventStore().getEventHistory( in getEventHistory()159 EventHistory locusEventHistory = getEventStore().getEventHistory( in getEventHistory()171 EventHistory callEventHistory = getEventStore().getEventHistory( in getEventHistory()178 EventHistory smsEventHistory = getEventStore().getEventHistory( in getEventHistory()190 EventHistory eventHistory = getEventStore().getEventHistory( in getClassLevelEventHistory()
123 synchronized EventHistory getEventHistory(@EventCategory int category, String key) { in getEventHistory() method in EventStore
160 when(mPackageData1.getEventHistory("sc1")).thenReturn(mEventHistory1); in testPredictTargets()161 when(mPackageData1.getEventHistory("sc2")).thenReturn(mEventHistory2); in testPredictTargets()162 when(mPackageData2.getEventHistory("sc3")).thenReturn(mEventHistory3); in testPredictTargets()212 when(mPackageData1.getEventHistory("sc1")).thenReturn(mEventHistory1); in testPredictTargets_reachTargetsLimit()213 when(mPackageData1.getEventHistory("sc2")).thenReturn(mEventHistory2); in testPredictTargets_reachTargetsLimit()214 when(mPackageData2.getEventHistory("sc3")).thenReturn(mEventHistory3); in testPredictTargets_reachTargetsLimit()215 when(mPackageData2.getEventHistory("sc4")).thenReturn(mEventHistory4); in testPredictTargets_reachTargetsLimit()216 when(mPackageData1.getEventHistory("sc5")).thenReturn(mEventHistory5); in testPredictTargets_reachTargetsLimit()217 when(mPackageData2.getEventHistory("sc6")).thenReturn(mEventHistory6); in testPredictTargets_reachTargetsLimit()
52 EventHistory getEventHistory() { in getEventHistory() method in ConversationData
83 if (target.getEventHistory() == null) { in computeScore()87 List<Range<Long>> timeSlots = target.getEventHistory().getEventIndex( in computeScore()98 List<Range<Long>> timeSlotsOfSameType = target.getEventHistory().getEventIndex( in computeScore()109 Range<Long> mostRecentTimeSlot = target.getEventHistory().getEventIndex( in computeScore()
194 eventHistory = packageData.getEventHistory(shortcutId); in getDirectShareTargets()249 EventHistory getEventHistory() { in getEventHistory() method in ShareTargetPredictor.ShareTarget