Lines Matching refs:cbm
233 final CellBroadcastMessage cbm = new CellBroadcastMessage(message);
236 cbm.setSubId(subId);
241 if (!isMessageEnabledByUser(cbm)) {
242 Log.d(TAG, "ignoring alert of type " + cbm.getServiceCategory() +
303 alertIntent.putExtra(EXTRA_MESSAGE, cbm);
310 if (provider.insertNewBroadcast(cbm)) {
328 CellBroadcastMessage cbm = (CellBroadcastMessage) intent.getParcelableExtra(EXTRA_MESSAGE);
330 if (cbm == null) {
335 if (isEmergencyMessage(this, cbm)) {
337 openEmergencyAlertNotification(cbm);
342 .addNewMessageToList(cbm);
343 addToNotificationBar(cbm, messageList, this, false);
712 * @param cbm Cell broadcast message
715 public static boolean isEmergencyMessage(Context context, CellBroadcastMessage cbm) {
718 if (cbm == null) {
722 int id = cbm.getServiceCategory();
724 if (cbm.isEmergencyAlertMessage()) {