Home
last modified time | relevance | path

Searched refs:SmsCbHeader (Results 1 – 9 of 9) sorted by relevance

/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java39 import com.android.cellbroadcastservice.SmsCbHeader;
40 import com.android.cellbroadcastservice.SmsCbHeader.DataCodingScheme;
94 public static SmsCbMessage createSmsCbMessage(Context context, SmsCbHeader header, in createSmsCbMessage()
132 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in createSmsCbMessage()
133 int wacDataOffset = SmsCbHeader.PDU_HEADER_LENGTH in createSmsCbMessage()
265 private static Pair<String, String> parseUmtsBody(SmsCbHeader header, byte[] pdu) { in parseUmtsBody()
267 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in parseUmtsBody()
270 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) in parseUmtsBody()
281 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i; in parseUmtsBody()
304 private static Pair<String, String> parseGsmBody(SmsCbHeader header, byte[] pdu) { in parseGsmBody()
[all …]
DSendTestMessages.java30 import com.android.cellbroadcastservice.SmsCbHeader;
423 return GsmSmsCbMessage.createSmsCbMessage(context, new SmsCbHeader(pdus[0]), in createFromPdus()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmSmsCbMessage.java43 import com.android.cellbroadcastservice.SmsCbHeader.DataCodingScheme;
97 public static SmsCbMessage createSmsCbMessage(Context context, SmsCbHeader header, in createSmsCbMessage()
125 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in createSmsCbMessage()
126 int wacDataOffset = SmsCbHeader.PDU_HEADER_LENGTH in createSmsCbMessage()
190 int whamOffset = SmsCbHeader.PDU_HEADER_LENGTH + 1; in createGeoFencingTriggerMessage()
313 private static Pair<String, String> parseUmtsBody(SmsCbHeader header, in parseUmtsBody()
316 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in parseUmtsBody()
319 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) in parseUmtsBody()
330 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i; in parseUmtsBody()
353 private static Pair<String, String> parseGsmBody(SmsCbHeader header, in parseGsmBody()
[all …]
DGsmCellBroadcastHandler.java490 SmsCbHeader header = createSmsCbHeader(pdu); in handleSmsMessage()
630 private SmsCbMessage handleGsmBroadcastSms(SmsCbHeader header, byte[] receivedPdu, in handleGsmBroadcastSms()
726 private SmsCbHeader createSmsCbHeader(byte[] bytes) { in createSmsCbHeader()
728 return new SmsCbHeader(bytes); in createSmsCbHeader()
783 private final SmsCbHeader mHeader;
787 public SmsCbConcatInfo(SmsCbHeader header, SmsCbLocation location) { in SmsCbConcatInfo()
DSmsCbHeader.java42 public class SmsCbHeader { class
136 public SmsCbHeader(byte[] pdu) throws IllegalArgumentException { in SmsCbHeader() method in SmsCbHeader
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DSmsCbContactInfoTest.java26 import com.android.cellbroadcastservice.SmsCbHeader;
42 private SmsCbHeader mSmsCbHeader;
65 Mockito.mock(SmsCbHeader.class), mSmsCbLocation); in testHasCode()
73 Mockito.mock(SmsCbHeader.class), mSmsCbLocation); in testEquals()
DGsmSmsCbMessageTest.java35 import com.android.cellbroadcastservice.SmsCbHeader;
121 SmsCbHeader header = new SmsCbHeader(pdu); in testCreateMessageFromBinary()
185 SmsCbHeader header = new SmsCbHeader(pdu); in createFromPdu()
DSmsHeaderTest.java23 import com.android.cellbroadcastservice.SmsCbHeader;
/packages/modules/CellBroadcastService/
DAndroid.bp95 "src/com/android/cellbroadcastservice/SmsCbHeader.java",