Home
last modified time | relevance | path

Searched refs:channelIdIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/
DNotificationHistory.java477 final int channelIdIndex; in writeNotificationToParcel() local
479 channelIdIndex = findStringIndex(notification.getChannelId()); in writeNotificationToParcel()
481 channelIdIndex = -1; in writeNotificationToParcel()
493 p.writeInt(channelIdIndex); in writeNotificationToParcel()
527 final int channelIdIndex = p.readInt(); in readNotificationFromParcel() local
528 if (channelIdIndex >= 0) { in readNotificationFromParcel()
529 notificationOut.setChannelId(mStringPool[channelIdIndex]); in readNotificationFromParcel()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java277 final int channelIdIndex = Arrays.binarySearch(stringPool, notification.getChannelId()); in writeNotification() local
278 if (channelIdIndex >= 0) { in writeNotification()
279 proto.write(Notification.CHANNEL_ID_INDEX, channelIdIndex + 1); in writeNotification()