Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotificationHistory.java470 final int channelNameIndex; in writeNotificationToParcel() local
472 channelNameIndex = findStringIndex(notification.getChannelName()); in writeNotificationToParcel()
474 channelNameIndex = -1; in writeNotificationToParcel()
492 p.writeInt(channelNameIndex); in writeNotificationToParcel()
520 final int channelNameIndex = p.readInt(); in readNotificationFromParcel() local
521 if (channelNameIndex >= 0) { in readNotificationFromParcel()
522 notificationOut.setChannelName(mStringPool[channelNameIndex]); in readNotificationFromParcel()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java269 final int channelNameIndex = Arrays.binarySearch(stringPool, notification.getChannelName()); in writeNotification() local
270 if (channelNameIndex >= 0) { in writeNotification()
271 proto.write(Notification.CHANNEL_NAME_INDEX, channelNameIndex + 1); in writeNotification()