Home
last modified time | relevance | path

Searched refs:SmsCbHeader (Results 1 – 7 of 7) 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;
93 public static SmsCbMessage createSmsCbMessage(Context context, SmsCbHeader header, in createSmsCbMessage()
124 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in createSmsCbMessage()
125 int wacDataOffset = SmsCbHeader.PDU_HEADER_LENGTH in createSmsCbMessage()
257 private static Pair<String, String> parseUmtsBody(SmsCbHeader header, byte[] pdu) { in parseUmtsBody()
259 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in parseUmtsBody()
262 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) in parseUmtsBody()
273 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i; in parseUmtsBody()
296 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()
128 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in createSmsCbMessage()
129 int wacDataOffset = SmsCbHeader.PDU_HEADER_LENGTH in createSmsCbMessage()
193 int whamOffset = SmsCbHeader.PDU_HEADER_LENGTH + 1; in createGeoFencingTriggerMessage()
319 private static Pair<String, String> parseUmtsBody(SmsCbHeader header, in parseUmtsBody()
322 int nrPages = pdu[SmsCbHeader.PDU_HEADER_LENGTH]; in parseUmtsBody()
325 if (pdu.length < SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) in parseUmtsBody()
336 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i; in parseUmtsBody()
359 private static Pair<String, String> parseGsmBody(SmsCbHeader header, in parseGsmBody()
[all …]
DGsmCellBroadcastHandler.java293 SmsCbHeader header = createSmsCbHeader(pdu); in handleSmsMessage()
434 private SmsCbMessage handleGsmBroadcastSms(SmsCbHeader header, byte[] receivedPdu, in handleGsmBroadcastSms()
530 private SmsCbHeader createSmsCbHeader(byte[] bytes) { in createSmsCbHeader()
532 return new SmsCbHeader(bytes); in createSmsCbHeader()
544 private final SmsCbHeader mHeader;
547 SmsCbConcatInfo(SmsCbHeader header, SmsCbLocation location) { in SmsCbConcatInfo()
DSmsCbHeader.java38 public class SmsCbHeader { class
132 public SmsCbHeader(byte[] pdu) throws IllegalArgumentException { in SmsCbHeader() method in SmsCbHeader
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmSmsCbMessageTest.java35 import com.android.cellbroadcastservice.SmsCbHeader;
121 SmsCbHeader header = new SmsCbHeader(pdu); in testCreateMessageFromBinary()
185 SmsCbHeader header = new SmsCbHeader(pdu); in createFromPdu()
/packages/modules/CellBroadcastService/
DAndroid.bp66 "src/com/android/cellbroadcastservice/SmsCbHeader.java",