Home
last modified time | relevance | path

Searched refs:getConversation (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DConversationStoreTest.java84 ConversationInfo out = mConversationStore.getConversation(SHORTCUT_ID); in testAddConversation()
94 assertEquals(LOCUS_ID, mConversationStore.getConversation(SHORTCUT_ID).getLocusId()); in testUpdateConversation()
95 assertNull(mConversationStore.getConversation(SHORTCUT_ID).getNotificationChannelId()); in testUpdateConversation()
101 ConversationInfo updated = mConversationStore.getConversation(SHORTCUT_ID); in testUpdateConversation()
109 assertNotNull(mConversationStore.getConversation(SHORTCUT_ID)); in testDeleteConversation()
112 assertNull(mConversationStore.getConversation(SHORTCUT_ID)); in testDeleteConversation()
208 ConversationInfo out1 = mConversationStore.getConversation(SHORTCUT_ID); in testDataPersistenceAndRestoration()
209 ConversationInfo out2 = mConversationStore.getConversation(SHORTCUT_ID_2); in testDataPersistenceAndRestoration()
210 ConversationInfo out3 = mConversationStore.getConversation(SHORTCUT_ID_3); in testDataPersistenceAndRestoration()
238 ConversationInfo out1 = mConversationStore.getConversation(SHORTCUT_ID); in testDelayedDiskWrites()
[all …]
DDataManagerTest.java408 .getConversation(TEST_SHORTCUT_ID); in testReportAppTargetEvent_directSharing_createConversation()
563 ConversationChannel conversationChannel = mDataManager.getConversation(TEST_PKG_NAME, in testAddConversationsListener()
585 ConversationChannel conversationChannel = mDataManager.getConversation(TEST_PKG_NAME, in testAddConversationListenersNotifiesMultipleConversations()
593 ConversationChannel conversationChannel2 = mDataManager.getConversation(TEST_PKG_NAME, in testAddConversationListenersNotifiesMultipleConversations()
649 assertThat(mDataManager.getConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testGetConversationReturnsCustomizedConversation()
652 ConversationChannel result = mDataManager.getConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testGetConversationReturnsCustomizedConversation()
662 assertThat(mDataManager.getConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testGetConversation()
669 assertThat(mDataManager.getConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testGetConversation()
671 assertThat(mDataManager.getConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testGetConversation()
678 ConversationChannel result = mDataManager.getConversation(TEST_PKG_NAME, USER_ID_PRIMARY, in testGetConversation()
[all …]
DUsageStatsQueryHelperTest.java342 ConversationInfo getConversation(@Nullable String shortcutId) { in getConversation() method in UsageStatsQueryHelperTest.TestConversationStore
/frameworks/base/core/tests/coretests/src/android/app/people/
DPeopleManagerTest.java85 ConversationChannel conversation = getConversation(CONVERSATION_ID_1); in testCorrectlyMapsToProxyConversationListener()
86 listener.second.onConversationUpdate(getConversation(CONVERSATION_ID_1)); in testCorrectlyMapsToProxyConversationListener()
102 private ConversationChannel getConversation(String shortcutId) { in getConversation() method in PeopleManagerTest
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationStore.java177 synchronized ConversationInfo getConversation(@Nullable String shortcutId) { in getConversation() method in ConversationStore
183 return getConversation(mLocusIdToShortcutIdMap.get(locusId)); in getConversationByLocusId()
188 return getConversation(mContactUriToShortcutIdMap.get(contactUri)); in getConversationByContactUri()
193 return getConversation(mPhoneNumberToShortcutIdMap.get(phoneNumber)); in getConversationByPhoneNumber()
199 return getConversation(mNotifChannelIdToShortcutIdMap.get(notifChannelId)); in getConversationByNotificationChannelId()
DPackageData.java134 return getConversationStore().getConversation(shortcutId); in getConversationInfo()
146 ConversationInfo conversationInfo = mConversationStore.getConversation(shortcutId); in getEventHistory()
241 key -> mConversationStore.getConversation(key) != null); in pruneOrphanEvents()
DDataManager.java244 public ConversationChannel getConversation(String packageName, int userId, String shortcutId) { in getConversation() method in DataManager
397 ConversationChannel channel = getConversation(packageName, userId, shortcutId); in isConversation()
487 ConversationInfo ci = cs.getConversation(conversationId); in getConversationInfoOrThrow()
519 if (packageData.getConversationStore().getConversation(shortcutId) == null) { in reportShareTargetEvent()
809 packageData.getConversationStore().getConversation(shortcutId); in getPackageIfConversationExists()
899 conversationStore.getConversation(shortcutInfo.getId()); in addOrUpdateConversationInfo()
1267 ConversationInfo conversationInfo = conversationStore.getConversation(shortcutId); in onNotificationChannelModified()
DUsageStatsQueryHelper.java209 packageData.getConversationStore().getConversation(shortcutId); in addEventByShortcutId()
/frameworks/base/core/java/android/app/people/
DIPeopleManager.aidl36 ConversationChannel getConversation(in String packageName, int userId, in String shortcutId); in getConversation() method
/frameworks/base/services/tests/servicestests/src/com/android/server/people/
DPeopleServiceTest.java264 Arrays.asList(getConversation(CONVERSATION_ID_1, status))); in testOnlyTriggersConversationListenersForRegisteredConversation()
288 private ConversationChannel getConversation(String shortcutId, ConversationStatus status) { in getConversation() method in PeopleServiceTest
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java184 public ConversationChannel getConversation(
187 return getDataManager().getConversation(packageName, userId, shortcutId);
/frameworks/base/core/java/android/view/textclassifier/
DConversationActions.java388 public List<Message> getConversation() { in getConversation() method in ConversationActions.Request
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java1157 when(mIPeopleManager.getConversation(TEST_PACKAGE_A, 0, SHORTCUT_ID)).thenReturn(channel); in testGetPeopleTileFromPersistentStorageExistingConversation()
1166 when(mIPeopleManager.getConversation(TEST_PACKAGE_A, 0, SHORTCUT_ID)).thenReturn(null); in testGetPeopleTileFromPersistentStorageNoConversation()
1177 when(mIPeopleManager.getConversation(TEST_PACKAGE_A, 0, SHORTCUT_ID)) in testRequestPinAppWidgetExistingConversation()
1191 when(mIPeopleManager.getConversation(TEST_PACKAGE_A, 0, SHORTCUT_ID)).thenReturn(null); in testRequestPinAppWidgetNoConversation()
1648 when(mIPeopleManager.getConversation(tile.getPackageName(), 0, tile.getId())) in addTileForWidget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java434 ConversationChannel channel = mIPeopleManager.getConversation( in getTileFromPersistentStorage()
1075 channel = mIPeopleManager.getConversation( in getPreview()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt56859 …l public java.util.List<android.view.textclassifier.ConversationActions.Message> getConversation();