Home
last modified time | relevance | path

Searched refs:EventStore (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DPackageDataTest.java83 EventStore eventStore = mPackageData.getEventStore(); in testGetEventHistory()
84 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_SHORTCUT_BASED, SHORTCUT_ID) in testGetEventHistory()
86 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_LOCUS_ID_BASED, LOCUS_ID.getId()) in testGetEventHistory()
100 EventStore eventStore = mPackageData.getEventStore(); in testGetEventHistoryDefaultDialerAndSmsApp()
101 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_SHORTCUT_BASED, SHORTCUT_ID) in testGetEventHistoryDefaultDialerAndSmsApp()
103 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_CALL, PHONE_NUMBER).addEvent(mE3); in testGetEventHistoryDefaultDialerAndSmsApp()
104 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_SMS, PHONE_NUMBER).addEvent(mE4); in testGetEventHistoryDefaultDialerAndSmsApp()
118 EventStore eventStore = mPackageData.getEventStore(); in testGetEventHistoryNotDefaultDialerOrSmsApp()
119 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_SHORTCUT_BASED, SHORTCUT_ID) in testGetEventHistoryNotDefaultDialerOrSmsApp()
121 eventStore.getOrCreateEventHistory(EventStore.CATEGORY_CALL, PHONE_NUMBER).addEvent(mE3); in testGetEventHistoryNotDefaultDialerOrSmsApp()
[all …]
DUsageStatsQueryHelperTest.java361 EventStore getEventStore() { in getEventStore()
366 private static class TestEventStore extends EventStore {
397 if (category == EventStore.CATEGORY_SHORTCUT_BASED) { in getOrCreateEventHistory()
399 } else if (category == EventStore.CATEGORY_LOCUS_ID_BASED) { in getOrCreateEventHistory()
/frameworks/base/services/people/java/com/android/server/people/data/
DPackageData.java19 import static com.android.server.people.data.EventStore.CATEGORY_CALL;
20 import static com.android.server.people.data.EventStore.CATEGORY_CLASS_BASED;
21 import static com.android.server.people.data.EventStore.CATEGORY_LOCUS_ID_BASED;
22 import static com.android.server.people.data.EventStore.CATEGORY_SHORTCUT_BASED;
23 import static com.android.server.people.data.EventStore.CATEGORY_SMS;
52 private final EventStore mEventStore;
72 mEventStore = new EventStore(mPackageDataDir, scheduledExecutorService); in PackageData()
209 EventStore getEventStore() { in getEventStore()
DDataManager.java239 EventStore.CATEGORY_SHORTCUT_BASED, shortcutId); in reportShareTargetEvent()
243 EventStore.CATEGORY_CLASS_BASED, appTarget.getClassName()); in reportShareTargetEvent()
287 packageData.getEventStore().deleteEventHistories(EventStore.CATEGORY_CALL); in pruneDataForUser()
290 packageData.getEventStore().deleteEventHistories(EventStore.CATEGORY_SMS); in pruneDataForUser()
679 EventStore eventStore = defaultDialer.getEventStore(); in accept()
681 EventStore.CATEGORY_CALL, phoneNumber).addEvent(event); in accept()
725 EventStore eventStore = defaultSmsApp.getEventStore(); in accept()
727 EventStore.CATEGORY_SMS, phoneNumber).addEvent(event); in accept()
801 EventStore.CATEGORY_SHORTCUT_BASED, shortcutId); in onNotificationPosted()
840 EventStore.CATEGORY_SHORTCUT_BASED, shortcutId); in onNotificationRemoved()
DEventStore.java39 class EventStore { class
71 EventStore(@NonNull File packageDir, in EventStore() method in EventStore
DUsageStatsQueryHelper.java205 EventStore.CATEGORY_SHORTCUT_BASED, shortcutId); in addEventByShortcutId()
214 EventStore.CATEGORY_LOCUS_ID_BASED, locusId.getId()); in addEventByLocusId()
/frameworks/base/services/
Dart-profile22929 …d/server/people/data/-$$Lambda$EventStore$Wdeg-tsj4laxwiSP6mHBYZP59i0;-><init>(Lcom/android/server…
22930 PLcom/android/server/people/data/-$$Lambda$EventStore$Wdeg-tsj4laxwiSP6mHBYZP59i0;->apply(Ljava/lan…
23214 PLcom/android/server/people/data/EventStore;-><init>(Ljava/io/File;Ljava/util/concurrent/ScheduledE…
23215 PLcom/android/server/people/data/EventStore;->deleteEventHistories(I)V
23216 HPLcom/android/server/people/data/EventStore;->deleteEventHistory(ILjava/lang/String;)V
23217 PLcom/android/server/people/data/EventStore;->getOrCreateEventHistory(ILjava/lang/String;)Lcom/andr…
23218 PLcom/android/server/people/data/EventStore;->lambda$getOrCreateEventHistory$0$EventStore(ILjava/la…
23219 PLcom/android/server/people/data/EventStore;->loadFromDisk()V
23220 PLcom/android/server/people/data/EventStore;->pruneOldEvents()V
23221 PLcom/android/server/people/data/EventStore;->pruneOrphanEventHistories(ILjava/util/function/Predic…
[all …]