Searched refs:cbMessage (Results 1 – 5 of 5) sorted by relevance
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CdmaSmsMessageTest.java | 439 private static void verifyCbValues(SmsCbMessage cbMessage) { in verifyCbValues() argument 440 assertEquals(SmsCbMessage.MESSAGE_FORMAT_3GPP2, cbMessage.getMessageFormat()); in verifyCbValues() 441 assertEquals(SmsCbMessage.GEOGRAPHICAL_SCOPE_PLMN_WIDE, cbMessage.getGeographicalScope()); in verifyCbValues() 442 assertEquals(false, cbMessage.isEtwsMessage()); // ETWS on CDMA not currently supported in verifyCbValues() 450 SmsCbMessage cbMessage = in doTestNonEmergencyBroadcast() local 454 verifyCbValues(cbMessage); in doTestNonEmergencyBroadcast() 455 assertEquals(123, cbMessage.getServiceCategory()); in doTestNonEmergencyBroadcast() 456 assertEquals(456, cbMessage.getSerialNumber()); in doTestNonEmergencyBroadcast() 457 assertEquals(SmsCbMessage.MESSAGE_PRIORITY_NORMAL, cbMessage.getMessagePriority()); in doTestNonEmergencyBroadcast() 458 assertEquals("en", cbMessage.getLanguageCode()); in doTestNonEmergencyBroadcast() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendGsmCmasMessages.java | 58 private static void sendBroadcast(Activity activity, SmsCbMessage cbMessage) { in sendBroadcast() argument 60 intent.putExtra("message", cbMessage); in sendBroadcast() 70 SmsCbMessage cbMessage = in testSendCmasPresAlert() local 83 sendBroadcast(activity, cbMessage); in testSendCmasPresAlert() 88 SmsCbMessage cbMessage = in testSendCmasExtremeAlert() local 102 sendBroadcast(activity, cbMessage); in testSendCmasExtremeAlert() 107 SmsCbMessage cbMessage = in testSendCmasSevereAlert() local 121 sendBroadcast(activity, cbMessage); in testSendCmasSevereAlert() 126 SmsCbMessage cbMessage = in testSendCmasAmberAlert() local 140 sendBroadcast(activity, cbMessage); in testSendCmasAmberAlert() [all …]
|
D | SendCdmaCmasMessages.java | 53 private static void sendBroadcast(Activity activity, SmsCbMessage cbMessage) { in sendBroadcast() argument 55 intent.putExtra("message", cbMessage); in sendBroadcast() 64 SmsCbMessage cbMessage = createCmasSmsMessage( in testSendCmasPresAlert() local 70 sendBroadcast(activity, cbMessage); in testSendCmasPresAlert() 74 SmsCbMessage cbMessage = createCmasSmsMessage( in testSendCmasExtremeAlert() local 80 sendBroadcast(activity, cbMessage); in testSendCmasExtremeAlert() 84 SmsCbMessage cbMessage = createCmasSmsMessage( in testSendCmasSevereAlert() local 90 sendBroadcast(activity, cbMessage); in testSendCmasSevereAlert() 94 SmsCbMessage cbMessage = createCmasSmsMessage( in testSendCmasAmberAlert() local 100 sendBroadcast(activity, cbMessage); in testSendCmasAmberAlert() [all …]
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmCellBroadcastHandler.java | 304 SmsCbMessage cbMessage = handleGsmBroadcastSms(header, pdu, slotIndex); in handleSmsMessage() local 305 if (cbMessage != null) { in handleSmsMessage() 306 if (isDuplicate(cbMessage)) { in handleSmsMessage() 313 if (handleAreaInfoMessage(slotIndex, cbMessage)) { in handleSmsMessage() 314 log("Channel " + cbMessage.getServiceCategory() + " message processed"); in handleSmsMessage() 321 handleBroadcastSms(cbMessage); in handleSmsMessage()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/ |
D | SimStatusDialogController.java | 122 final SmsCbMessage cbMessage = (SmsCbMessage) extras.get("message"); 123 if (cbMessage != null) { 125 cbMessage.getSlotIndex()); 129 final String latestAreaInfo = cbMessage.getMessageBody();
|