Home
last modified time | relevance | path

Searched refs:conversationId (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/app/people/
DPeopleManager.java123 public void addOrUpdateStatus(@NonNull String conversationId, in addOrUpdateStatus() argument
125 Preconditions.checkStringNotEmpty(conversationId); in addOrUpdateStatus()
129 mContext.getPackageName(), mContext.getUserId(), conversationId, status); in addOrUpdateStatus() local
143 public void clearStatus(@NonNull String conversationId, @NonNull String statusId) { in clearStatus() argument
144 Preconditions.checkStringNotEmpty(conversationId); in clearStatus()
148 mContext.getPackageName(), mContext.getUserId(), conversationId, statusId); in clearStatus() local
160 public void clearStatuses(@NonNull String conversationId) { in clearStatuses() argument
161 Preconditions.checkStringNotEmpty(conversationId); in clearStatuses()
164 mContext.getPackageName(), mContext.getUserId(), conversationId); in clearStatuses() local
176 public @NonNull List<ConversationStatus> getStatuses(@NonNull String conversationId) { in getStatuses() argument
[all …]
DIPeopleManager.aidl62 …void addOrUpdateStatus(in String packageName, int userId, in String conversationId, in Conversatio… in addOrUpdateStatus() argument
63 … void clearStatus(in String packageName, int userId, in String conversationId, in String statusId); in clearStatus() argument
64 void clearStatuses(in String packageName, int userId, in String conversationId); in clearStatuses() argument
65 ParceledListSlice getStatuses(in String packageName, int userId, in String conversationId); in getStatuses() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationChannelHelper.java46 final String conversationId = entry.getSbn().getShortcutId(); in createConversationChannelIfNeeded() local
49 if (TextUtils.isEmpty(conversationId) || TextUtils.isEmpty(pkg) in createConversationChannelIfNeeded()
60 conversationId); in createConversationChannelIfNeeded()
63 channel.getId(), false, conversationId); in createConversationChannelIfNeeded()
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationStatusExpirationBroadcastReceiver.java48 String conversationId, ConversationStatus status) { in scheduleExpiration() argument
56 .appendPath(getKey(userId, pkg, conversationId, status)) in scheduleExpiration()
69 String conversationId, ConversationStatus status) { in getKey() argument
70 return userId + pkg + conversationId + status.getId(); in getKey()
DDataManager.java418 public void addOrUpdateStatus(String packageName, int userId, String conversationId, in addOrUpdateStatus() argument
421 ConversationInfo convToModify = getConversationInfoOrThrow(cs, conversationId); in addOrUpdateStatus()
428 mContext, userId, packageName, conversationId, status); in addOrUpdateStatus()
433 public void clearStatus(String packageName, int userId, String conversationId, in clearStatus() argument
436 ConversationInfo convToModify = getConversationInfoOrThrow(cs, conversationId); in clearStatus()
442 public void clearStatuses(String packageName, int userId, String conversationId) { in clearStatuses() argument
444 ConversationInfo convToModify = getConversationInfoOrThrow(cs, conversationId); in clearStatuses()
451 String conversationId) { in getStatuses() argument
453 ConversationInfo conversationInfo = getConversationInfoOrThrow(cs, conversationId); in getStatuses()
486 String conversationId) { in getConversationInfoOrThrow() argument
[all …]
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java233 public void addOrUpdateStatus(String packageName, int userId, String conversationId,
240 getDataManager().addOrUpdateStatus(packageName, userId, conversationId, status);
244 public void clearStatus(String packageName, int userId, String conversationId,
248 getDataManager().clearStatus(packageName, userId, conversationId, statusId);
252 public void clearStatuses(String packageName, int userId, String conversationId) {
255 getDataManager().clearStatuses(packageName, userId, conversationId);
260 String conversationId) {
266 getDataManager().getStatuses(packageName, userId, conversationId));
/frameworks/base/mms/java/com/android/internal/telephony/
DIMms.aidl112 boolean deleteStoredConversation(String callingPkg, long conversationId); in deleteStoredConversation() argument
134 boolean archiveStoredConversation(String callingPkg, long conversationId, boolean archived); in archiveStoredConversation() argument
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java166 public boolean deleteStoredConversation(String callingPkg, long conversationId)
178 public boolean archiveStoredConversation(String callingPkg, long conversationId,
426 public boolean deleteStoredConversation(String callingPkg, long conversationId) in deleteStoredConversation() argument
432 return getServiceGuarded().deleteStoredConversation(callingPkg, conversationId); in deleteStoredConversation()
447 public boolean archiveStoredConversation(String callingPkg, long conversationId, in archiveStoredConversation() argument
454 .archiveStoredConversation(callingPkg, conversationId, archived); in archiveStoredConversation()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java146 String conversationId = in readNotification() local
148 notification.setConversationId(conversationId); in readNotification()
151 conversationId = parser.readString(Notification.CONVERSATION_ID); in readNotification()
152 notification.setConversationId(conversationId); in readNotification()
153 stringPool.add(conversationId); in readNotification()
DRankingConfig.java51 String conversationId, boolean returnParentIfNoConversationChannel, in getConversationNotificationChannel() argument
DPreferencesHelper.java1309 String channelId, String conversationId, boolean returnParentIfNoConversationChannel, in getConversationNotificationChannel() argument
1321 if (conversationId != null) { in getConversationNotificationChannel()
1323 channel = findConversationChannel(r, channelId, conversationId, includeDeleted); in getConversationNotificationChannel()
1337 String conversationId, boolean includeDeleted) { in findConversationChannel() argument
1339 if (conversationId.equals(nc.getConversationId()) in findConversationChannel()
1349 String conversationId) { in getNotificationChannelsByConversationId() argument
1351 Preconditions.checkNotNull(conversationId); in getNotificationChannelsByConversationId()
1359 if (conversationId.equals(nc.getConversationId()) in getNotificationChannelsByConversationId()
DNotificationManagerService.java4206 NotificationChannel parentChannel, String conversationId) {
4209 checkNotNull(conversationId);
4213 CONVERSATION_CHANNEL_ID_FORMAT, parentId, conversationId));
4214 conversationChannel.setConversationId(parentId, conversationId);
4231 String conversationId) {
4241 targetPkg, targetUid, channelId, conversationId,
4250 String channelId, String conversationId, boolean includeDeleted) {
4253 pkg, uid, channelId, conversationId, true, includeDeleted);
7557 int callingUid, int notificationUid, String channelId, String conversationId) {
7560 pkg, notificationUid, channelId, conversationId,
[all …]
/frameworks/base/core/tests/coretests/src/android/app/people/
DPeopleManagerTest.java114 private void registerListener(String conversationId, in registerListener() argument
117 conversationId, listener, in registerListener() local
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryProtoHelperTest.java61 String conversationId = null; in getHistoricalNotification() local
63 conversationId = "convo" + index; in getHistoricalNotification()
76 .setConversationId(conversationId) in getHistoricalNotification()
DPreferencesHelperTest.java435 NotificationChannel actual, String conversationId) { in compareChannelsParentChild() argument
450 assertEquals(conversationId, actual.getConversationId()); in compareChannelsParentChild()
4773 String conversationId = "friend"; in testGetConversationNotificationChannel() local
4781 CONVERSATION_CHANNEL_ID_FORMAT, parent.getId(), conversationId), in testGetConversationNotificationChannel()
4783 friend.setConversationId(parent.getId(), conversationId); in testGetConversationNotificationChannel() local
4788 PKG_O, UID_O, parent.getId(), conversationId, false, false), conversationId); in testGetConversationNotificationChannel()
4793 String conversationId = "friend"; in testGetNotificationChannel_conversationProvidedByNotCustomizedYet() local
4801 PKG_O, UID_O, parent.getId(), conversationId, true, false)); in testGetNotificationChannel_conversationProvidedByNotCustomizedYet()
4807 String conversationId = "friend"; in testConversationNotificationChannelsRequireParents() local
4810 CONVERSATION_CHANNEL_ID_FORMAT, parentId, conversationId), in testConversationNotificationChannelsRequireParents()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java61 String conversationId = null; in getHistoricalNotification() local
63 conversationId = "convo" + index; in getHistoricalNotification()
76 .setConversationId(conversationId) in getHistoricalNotification()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl110 … String pkg, String channelId, boolean returnParentIfNoConversationChannel, String conversationId); in getConversationNotificationChannel() argument
111 …hannelForPackage(String pkg, int uid, in NotificationChannel parentChannel, String conversationId); in createConversationNotificationChannelForPackage() argument
112 …ationChannelForPackage(String pkg, int uid, String channelId, String conversationId, boolean inclu… in getNotificationChannelForPackage() argument
DNotificationHistory.java204 public Builder setConversationId(String conversationId) { in setConversationId() argument
205 mConversationId = conversationId; in setConversationId()
DNotificationChannel.java773 @NonNull String conversationId) { in setConversationId() argument
775 mConversationId = conversationId; in setConversationId()
DNotificationManager.java1063 @NonNull String conversationId) { in getNotificationChannel() argument
1068 conversationId); in getNotificationChannel()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/
DPeopleServiceTest.java281 private void registerListener(String conversationId, in registerListener() argument
284 conversationId, listener, in registerListener() local