Searched refs:SmsCbHeader (Results 1 – 9 of 9) sorted by relevance
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | GsmSmsCbMessage.java | 39 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 …]
|
D | SendTestMessages.java | 30 import com.android.cellbroadcastservice.SmsCbHeader; 423 return GsmSmsCbMessage.createSmsCbMessage(context, new SmsCbHeader(pdus[0]), in createFromPdus()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmSmsCbMessage.java | 43 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 …]
|
D | GsmCellBroadcastHandler.java | 448 SmsCbHeader header = createSmsCbHeader(pdu); in handleSmsMessage() 589 private SmsCbMessage handleGsmBroadcastSms(SmsCbHeader header, byte[] receivedPdu, in handleGsmBroadcastSms() 685 private SmsCbHeader createSmsCbHeader(byte[] bytes) { in createSmsCbHeader() 687 return new SmsCbHeader(bytes); in createSmsCbHeader() 742 private final SmsCbHeader mHeader; 746 public SmsCbConcatInfo(SmsCbHeader header, SmsCbLocation location) { in SmsCbConcatInfo()
|
D | SmsCbHeader.java | 38 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/ |
D | SmsCbContactInfoTest.java | 26 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()
|
D | GsmSmsCbMessageTest.java | 35 import com.android.cellbroadcastservice.SmsCbHeader; 121 SmsCbHeader header = new SmsCbHeader(pdu); in testCreateMessageFromBinary() 185 SmsCbHeader header = new SmsCbHeader(pdu); in createFromPdu()
|
D | SmsHeaderTest.java | 23 import com.android.cellbroadcastservice.SmsCbHeader;
|
/packages/modules/CellBroadcastService/ |
D | Android.bp | 76 "src/com/android/cellbroadcastservice/SmsCbHeader.java",
|