/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 | 557 assertEquals(123, cbMessage.getServiceCategory()); in doTestNonEmergencyBroadcast() 592 assertEquals(serviceCategory, cbMessage.getServiceCategory()); in doTestCmasBroadcast() 654 cbMessage.getServiceCategory()); in testCmasExtremeAlertType1Elements() 716 cbMessage.getServiceCategory()); in testCmasNoRecordType0() 965 assertEquals("serviceCategory", cbMessage.getServiceCategory(), in testDecodeRawBearerData()
|
D | GsmCellBroadcastHandlerTest.java | 255 msg.getServiceCategory()); in testTriggerMessage() 497 msg.getServiceCategory()); in testConsecutiveGeofencingTriggerMessages()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastResources.java | 68 Integer.toString(message.getServiceCategory())); in getMessageDetails() 314 final int serviceCategory = message.getServiceCategory(); in getSmsSenderAddressResource() 355 final int serviceCategory = message.getServiceCategory(); in getDialogTitleResource() 426 final int serviceCategory = message.getServiceCategory(); in getDialogPictogramResource()
|
D | CellBroadcastAlertService.java | 235 if (channelManager.getCellBroadcastChannelResourcesKey(message.getServiceCategory()) in shouldDisplayFullScreenMessage() 262 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() + " in ECBM"); in shouldDisplayMessage() 271 Log.d(TAG, "ignoring alert of type " + message.getServiceCategory() in shouldDisplayMessage() 388 RPT_GSM, SRC_CBR, message.getSerialNumber(), message.getServiceCategory()); in handleCellBroadcastIntent() 391 RPT_CDMA, SRC_CBR, message.getSerialNumber(), message.getServiceCategory()); in handleCellBroadcastIntent() 541 int channel = message.getServiceCategory(); in isChannelEnabled() 702 int channel = message.getServiceCategory(); in openEmergencyAlertNotification() 832 notificationId = (message.getServiceCategory() << 16 | message.getSerialNumber()); in addToNotificationBar()
|
D | CellBroadcastReceiverMetrics.java | 563 + msg.getSerialNumber() + " " + msg.getServiceCategory()); in logMessageFiltered() 566 ratType, filterType, msg.getSerialNumber(), msg.getServiceCategory()); in logMessageFiltered()
|
D | CellBroadcastChannelManager.java | 630 return getCellBroadcastChannelRange(message.getServiceCategory()); in getCellBroadcastChannelRangeFromMessage() 649 int id = message.getServiceCategory(); in isEmergencyMessage()
|
D | CellBroadcastContentProvider.java | 273 cv.put(Telephony.CellBroadcasts.SERVICE_CATEGORY, message.getServiceCategory()); in getContentValues()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastHandler.java | 591 && message.getServiceCategory() != messageToCheck.getServiceCategory() in isDuplicate() 593 message.getServiceCategory()), messageToCheck.getServiceCategory()) in isDuplicate() 595 messageToCheck.getServiceCategory()), in isDuplicate() 596 message.getServiceCategory())) { in isDuplicate() 1118 + message.getServiceCategory() + "," in getMessageString()
|
D | CellBroadcastServiceMetrics.java | 295 + msg.getSerialNumber() + " " + msg.getServiceCategory()); in logMessageFiltered() 298 ratType, filterType, msg.getSerialNumber(), msg.getServiceCategory()); in logMessageFiltered()
|
D | GsmSmsCbMessage.java | 112 header.getSerialNumber(), location, header.getServiceCategory(), null, in createSmsCbMessage() 148 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage() 164 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
|
D | GsmCellBroadcastHandler.java | 450 x -> x == message.getServiceCategory())) { in handleAreaInfoMessage() 494 RPT_GSM, SRC_CBS, header.getSerialNumber(), header.getServiceCategory()); in handleSmsMessage() 496 if (header.getServiceCategory() == SmsCbConstants.MESSAGE_ID_CMAS_GEO_FENCING_TRIGGER) { in handleSmsMessage() 512 log("Channel " + cbMessage.getServiceCategory() + " message processed"); in handleSmsMessage()
|
D | DefaultCellBroadcastService.java | 98 RPT_CDMA, SRC_CBS, message.getSerialNumber(), message.getServiceCategory()); in onCdmaCellBroadcastSms()
|
D | SmsCbHeader.java | 248 public int getServiceCategory() { in getServiceCategory() method in SmsCbHeader
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | GsmSmsCbMessage.java | 119 header.getSerialNumber(), location, header.getServiceCategory(), null, 0, in createSmsCbMessage() 155 header.getServiceCategory(), language, header.getDataCodingScheme(), body, in createSmsCbMessage() 171 header.getServiceCategory(), language, header.getDataCodingScheme(), in createSmsCbMessage()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertServiceTest.java | 173 assertEquals(m1.getServiceCategory(), m2.getServiceCategory()); in compareCellBroadCastMessage()
|