Lines Matching refs:cbm
248 private boolean shouldDisplayMessage(CellBroadcastMessage cbm) { in shouldDisplayMessage() argument
250 if (!isChannelEnabled(cbm)) { in shouldDisplayMessage()
251 Log.d(TAG, "ignoring alert of type " + cbm.getServiceCategory() in shouldDisplayMessage()
258 .getCellBroadcastChannelRangeFromMessage(getApplicationContext(), cbm); in shouldDisplayMessage()
262 String messageLanguage = cbm.getLanguageCode(); in shouldDisplayMessage()
278 if (cbm.getMessageBody().toLowerCase().contains(filter)) { in shouldDisplayMessage()
303 final CellBroadcastMessage cbm = new CellBroadcastMessage(message); in handleCellBroadcastIntent() local
306 cbm.setSubId(subId); in handleCellBroadcastIntent()
311 if (!shouldDisplayMessage(cbm)) { in handleCellBroadcastIntent()
373 alertIntent.putExtra(EXTRA_MESSAGE, cbm); in handleCellBroadcastIntent()
380 if (provider.insertNewBroadcast(cbm)) { in handleCellBroadcastIntent()
398 CellBroadcastMessage cbm = (CellBroadcastMessage) intent.getParcelableExtra(EXTRA_MESSAGE); in showNewAlert() local
400 if (cbm == null) { in showNewAlert()
405 if (CellBroadcastChannelManager.isEmergencyMessage(this, cbm)) { in showNewAlert()
407 openEmergencyAlertNotification(cbm); in showNewAlert()
412 .addNewMessageToList(cbm); in showNewAlert()
413 addToNotificationBar(cbm, messageList, this, false); in showNewAlert()