/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | GsmSmsCbMessageTest.java | 135 msg.getServiceCategory()); in testCreateMessageFromBinary() 819 assertEquals("Unexpected message identifier decoded", 12345, msg.getServiceCategory()); in testGetMessageIdentifier() 849 assertEquals("Unexpected message identifier decoded", 12345, msg.getServiceCategory()); in testGetMessageIdentifierUmts() 1010 assertEquals("message ID mismatch", 0x1100, msg.getServiceCategory()); in testEtwsMessageNormal() 1021 assertEquals("message ID mismatch", 0x1100, msg.getServiceCategory()); in testEtwsMessageCancel() 1032 assertEquals("message ID mismatch", 0x1103, msg.getServiceCategory()); in testEtwsMessageTest()
|
D | CdmaSmsMessageTest.java | 455 assertEquals(123, cbMessage.getServiceCategory()); in doTestNonEmergencyBroadcast() 490 assertEquals(serviceCategory, cbMessage.getServiceCategory()); in doTestCmasBroadcast() 552 cbMessage.getServiceCategory()); in testCmasExtremeAlertType1Elements() 614 cbMessage.getServiceCategory()); in testCmasNoRecordType0() 863 assertEquals("serviceCategory", cbMessage.getServiceCategory(), in testDecodeRawBearerData()
|
D | GsmCellBroadcastHandlerTest.java | 234 msg.getServiceCategory()); in testTriggerMessage()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastChannelManager.java | 442 int channel = message.getServiceCategory(); in getCellBroadcastChannelRangeFromMessage() 453 if (range.mStartId <= message.getServiceCategory() in getCellBroadcastChannelRangeFromMessage() 454 && range.mEndId >= message.getServiceCategory()) { in getCellBroadcastChannelRangeFromMessage() 478 int id = message.getServiceCategory(); in isEmergencyMessage()
|
D | CellBroadcastResources.java | 68 Integer.toString(message.getServiceCategory())); in getMessageDetails() 314 final int serviceCategory = message.getServiceCategory(); in getSmsSenderAddressResource() 358 final int serviceCategory = message.getServiceCategory(); in getDialogTitleResource() 462 final int serviceCategory = message.getServiceCategory(); in getDialogPictogramResource()
|
D | CellBroadcastAlertService.java | 209 if (channelManager.checkCellBroadcastChannelRange(message.getServiceCategory(), in shouldDisplayFullScreenMessage() 233 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() + " in ECBM"); in shouldDisplayMessage() 238 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() in shouldDisplayMessage() 466 int channel = message.getServiceCategory(); in isChannelEnabled() 644 int channel = message.getServiceCategory(); in openEmergencyAlertNotification()
|
D | CellBroadcastContentProvider.java | 266 cv.put(Telephony.CellBroadcasts.SERVICE_CATEGORY, message.getServiceCategory()); in getContentValues()
|
D | CellBroadcastAlertDialog.java | 752 if (message.getServiceCategory() == Integer.parseInt( in getMessageBodyOverride()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastHandler.java | 582 && message.getServiceCategory() != messageToCheck.getServiceCategory() in isDuplicate() 584 message.getServiceCategory()), messageToCheck.getServiceCategory()) in isDuplicate() 586 messageToCheck.getServiceCategory()), in isDuplicate() 587 message.getServiceCategory())) { in isDuplicate() 1074 + message.getServiceCategory() + "," in getMessageString()
|
D | GsmSmsCbMessage.java | 115 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage() 151 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage() 167 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
|
D | GsmCellBroadcastHandler.java | 410 x -> x == message.getServiceCategory())) { in handleAreaInfoMessage() 452 if (header.getServiceCategory() == SmsCbConstants.MESSAGE_ID_CMAS_GEO_FENCING_TRIGGER) { in handleSmsMessage() 469 log("Channel " + cbMessage.getServiceCategory() + " message processed"); in handleSmsMessage()
|
D | SmsCbHeader.java | 246 public int getServiceCategory() { in getServiceCategory() method in SmsCbHeader
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | GsmSmsCbMessage.java | 111 header.getSerialNumber(), location, header.getServiceCategory(), null, 0, in createSmsCbMessage() 147 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage() 163 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertServiceTest.java | 116 assertEquals(m1.getServiceCategory(), m2.getServiceCategory()); in compareCellBroadCastMessage()
|