Home
last modified time | relevance | path

Searched refs:getEventHistory (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DPackageDataTest.java89 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()
DDataManagerTest.java1671 packageData.getEventHistory(TEST_SHORTCUT_ID) in getActiveSlotsForTestShortcut()
/frameworks/base/services/people/java/com/android/server/people/data/
DPackageData.java143 public EventHistory getEventHistory(@NonNull String shortcutId) { in getEventHistory() method in PackageData
151 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()
DEventStore.java123 synchronized EventHistory getEventHistory(@EventCategory int category, String key) { in getEventHistory() method in EventStore
/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
DShareTargetPredictorTest.java160 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()
/frameworks/base/services/people/java/com/android/server/people/prediction/
DConversationData.java52 EventHistory getEventHistory() { in getEventHistory() method in ConversationData
DSharesheetModelScorer.java83 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()
DShareTargetPredictor.java194 eventHistory = packageData.getEventHistory(shortcutId); in getDirectShareTargets()
249 EventHistory getEventHistory() { in getEventHistory() method in ShareTargetPredictor.ShareTarget