Searched refs:mConversationStore (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | ConversationStoreTest.java | 65 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 …]
|
D | UsageStatsQueryHelperTest.java | 94 mPackageData.mConversationStore.mConversationInfo = new ConversationInfo.Builder() in setUp() 138 mPackageData, mPackageData.mConversationStore.mConversationInfo, events.get(0)); in testInAppConversationSwitch() 154 mPackageData, mPackageData.mConversationStore.mConversationInfo, events.get(0)); in testInAppConversationExplicitlyEnd() 170 mPackageData, mPackageData.mConversationStore.mConversationInfo, events.get(0)); in testInAppConversationImplicitlyEnd() 349 private final TestConversationStore mConversationStore; field in UsageStatsQueryHelperTest.TestPackageData 358 mConversationStore = new TestConversationStore(rootDir, scheduledExecutorService); in TestPackageData() 365 return mConversationStore; in getConversationStore()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | PackageData.java | 49 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 …]
|
D | DataManager.java | 989 conversationSelector.mConversationStore = in onChange() 1003 updateConversationStoreThenNotifyListeners(conversationSelector.mConversationStore, in onChange() 1010 private ConversationStore mConversationStore = null; field in DataManager.ContactsContentObserver.ConversationSelector
|