Home
last modified time | relevance | path

Searched refs:EventHistory (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/people/java/com/android/server/people/prediction/
DConversationData.java22 import com.android.server.people.data.EventHistory;
30 private final EventHistory mEventHistory;
33 @NonNull ConversationInfo conversationInfo, @NonNull EventHistory eventHistory) { in ConversationData()
52 EventHistory getEventHistory() { in getEventHistory()
DShareTargetPredictor.java49 import com.android.server.people.data.EventHistory;
189 EventHistory eventHistory = null; in getDirectShareTargets()
226 private final EventHistory mEventHistory;
233 @Nullable EventHistory eventHistory, in ShareTarget()
249 EventHistory getEventHistory() { in getEventHistory()
/frameworks/base/services/people/java/com/android/server/people/data/
DAggregateEventHistoryImpl.java26 class AggregateEventHistoryImpl implements EventHistory {
28 private final List<EventHistory> mEventHistoryList = new ArrayList<>();
33 for (EventHistory eventHistory : mEventHistoryList) { in getEventIndex()
46 for (EventHistory eventHistory : mEventHistoryList) { in getEventIndex()
61 for (EventHistory eventHistory : mEventHistoryList) { in queryEvents()
72 void addEventHistory(EventHistory eventHistory) { in addEventHistory()
DPackageData.java143 public EventHistory getEventHistory(@NonNull String shortcutId) { in getEventHistory()
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()
189 public EventHistory getClassLevelEventHistory(String className) { in getClassLevelEventHistory()
190 EventHistory eventHistory = getEventStore().getEventHistory( in getClassLevelEventHistory()
DEventHistory.java25 public interface EventHistory { interface
DEventStore.java123 synchronized EventHistory getEventHistory(@EventCategory int category, String key) { in getEventHistory()
DEventHistoryImpl.java47 class EventHistoryImpl implements EventHistory {
/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()
167 EventHistory eventHistory = mPackageData.getEventHistory(SHORTCUT_ID); in testPruneOrphanEvents()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/
DShareTargetPredictorTest.java52 import com.android.server.people.data.EventHistory;
94 @Mock private EventHistory mEventHistory1;
95 @Mock private EventHistory mEventHistory2;
96 @Mock private EventHistory mEventHistory3;
97 @Mock private EventHistory mEventHistory4;
98 @Mock private EventHistory mEventHistory5;
99 @Mock private EventHistory mEventHistory6;
DSharesheetModelScorerTest.java37 import com.android.server.people.data.EventHistory;
88 private EventHistory mEventHistory1;
90 private EventHistory mEventHistory2;
92 private EventHistory mEventHistory3;
94 private EventHistory mEventHistory4;
96 private EventHistory mEventHistory5;