• Home
  • Raw
  • Download

Lines Matching refs:message

296         SmsCbMessage message = (SmsCbMessage) extras.get(EXTRA_MESSAGE);  in handleCellBroadcastIntent()  local
298 if (message == null) { in handleCellBroadcastIntent()
303 final CellBroadcastMessage cbm = new CellBroadcastMessage(message); in handleCellBroadcastIntent()
321 int hashCode = shouldCompareMessageBody ? message.getMessageBody().hashCode() : 0; in handleCellBroadcastIntent()
328 if (message.isEtwsMessage()) { in handleCellBroadcastIntent()
329 SmsCbEtwsInfo etwsInfo = message.getEtwsWarningInfo(); in handleCellBroadcastIntent()
341 message.getServiceCategory(), message.getSerialNumber(), message.getLocation(), in handleCellBroadcastIntent()
423 private boolean isChannelEnabled(CellBroadcastMessage message) { in isChannelEnabled() argument
435 if (message.isEtwsTestMessage()) { in isChannelEnabled()
441 if (message.isEtwsMessage()) { in isChannelEnabled()
448 int channel = message.getServiceCategory(); in isChannelEnabled()
462 message.getSubId(), range.mScope)) { in isChannelEnabled()
474 CellBroadcastReceiverApp.setLatestAreaInfo(message); in isChannelEnabled()
477 intent.putExtra(EXTRA_MESSAGE, message); in isChannelEnabled()
498 int subId = message.getSubId(); in isChannelEnabled()
562 private void openEmergencyAlertNotification(CellBroadcastMessage message) { in openEmergencyAlertNotification() argument
576 if (message.isEtwsMessage()) { in openEmergencyAlertNotification()
579 if (message.getEtwsWarningInfo() != null) { in openEmergencyAlertNotification()
580 int warningType = message.getEtwsWarningInfo().getWarningType(); in openEmergencyAlertNotification()
599 int channel = message.getServiceCategory(); in openEmergencyAlertNotification()
612 .getCellBroadcastChannelRangeFromMessage(getApplicationContext(), message); in openEmergencyAlertNotification()
622 String messageBody = message.getMessageBody(); in openEmergencyAlertNotification()
627 String language = message.getLanguageCode(); in openEmergencyAlertNotification()
636 messageList.add(message); in openEmergencyAlertNotification()
640 addToNotificationBar(message, messageList, this, false); in openEmergencyAlertNotification()
660 static void addToNotificationBar(CellBroadcastMessage message, in addToNotificationBar() argument
664 int channelTitleId = CellBroadcastResources.getDialogTitleResource(context, message); in addToNotificationBar()
666 String messageBody = message.getMessageBody(); in addToNotificationBar()
674 intent = createMarkAsReadIntent(context, message.getDeliveryTime()); in addToNotificationBar()
691 final String channelId = CellBroadcastChannelManager.isEmergencyMessage(context, message) in addToNotificationBar()
703 .setOngoing(message.isEmergencyAlertMessage()); in addToNotificationBar()
736 && !CellBroadcastChannelManager.isEmergencyMessage(context, message)) { in addToNotificationBar()