Home
last modified time | relevance | path

Searched refs:mConversationStore (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationStoreTest.java65 private ConversationStore mConversationStore; field in ConversationStoreTest
82 mConversationStore.addOrUpdate(buildConversationInfo(SHORTCUT_ID)); in testAddConversation()
84 ConversationInfo out = mConversationStore.getConversation(SHORTCUT_ID); in testAddConversation()
93 mConversationStore.addOrUpdate(original); in testUpdateConversation()
94 assertEquals(LOCUS_ID, mConversationStore.getConversation(SHORTCUT_ID).getLocusId()); in testUpdateConversation()
95 assertNull(mConversationStore.getConversation(SHORTCUT_ID).getNotificationChannelId()); in testUpdateConversation()
100 mConversationStore.addOrUpdate(update); in testUpdateConversation()
101 ConversationInfo updated = mConversationStore.getConversation(SHORTCUT_ID); in testUpdateConversation()
108 mConversationStore.addOrUpdate(buildConversationInfo(SHORTCUT_ID)); in testDeleteConversation()
109 assertNotNull(mConversationStore.getConversation(SHORTCUT_ID)); in testDeleteConversation()
[all …]
DUsageStatsQueryHelperTest.java91 mPackageData.mConversationStore.mConversationInfo = new ConversationInfo.Builder() in setUp()
340 private final TestConversationStore mConversationStore; field in UsageStatsQueryHelperTest.TestPackageData
349 mConversationStore = new TestConversationStore(rootDir, scheduledExecutorService); in TestPackageData()
356 return mConversationStore; in getConversationStore()
/frameworks/base/services/people/java/com/android/server/people/data/
DPackageData.java49 private final ConversationStore mConversationStore; field in PackageData
71 mConversationStore = new ConversationStore(mPackageDataDir, scheduledExecutorService); in PackageData()
104 mConversationStore.loadConversationsFromDisk(); in loadFromDisk()
110 mConversationStore.saveConversationsToDisk(); in saveToDisk()
125 mConversationStore.forAllConversations(consumer); in forAllConversations()
146 ConversationInfo conversationInfo = mConversationStore.getConversation(shortcutId); in getEventHistory()
205 return mConversationStore; in getConversationStore()
218 ConversationInfo conversationInfo = mConversationStore.deleteConversation(shortcutId); in deleteDataForConversation()
241 key -> mConversationStore.getConversation(key) != null); in pruneOrphanEvents()
243 key -> mConversationStore.getConversationByLocusId(new LocusId(key)) != null); in pruneOrphanEvents()
[all …]
DDataManager.java625 conversationSelector.mConversationStore = in onChange()
638 conversationSelector.mConversationStore.addOrUpdate(builder.build()); in onChange()
643 private ConversationStore mConversationStore = null; field in DataManager.ContactsContentObserver.ConversationSelector