HomeSort by relevance Sort by last modified time
    Searched refs:BearerData (Results 1 - 7 of 7) sorted by null

  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
CdmaSmsTest.java 120 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu));
121 assertEquals("Test standard SMS", bearerData.userData.payloadStr);
127 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu));
128 assertEquals("bjjj", bearerData.userData.payloadStr);
134 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu))
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
BearerData.java 40 public final class BearerData {
41 private final static String LOG_TAG = "BearerData";
342 * @see #decodeCmasUserData(BearerData, int)
412 builder.append("BearerData ");
445 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream)
695 private static void encodeUserData(BearerData bData, BitwiseOutputStream outStream)
738 private static void encodeReplyOption(BearerData bData, BitwiseOutputStream outStream)
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
CdmaSmsCbTest.java 27 import com.android.internal.telephony.cdma.sms.BearerData;
43 /* Copy of private subparameter identifier constants from BearerData class. */
88 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER);
113 * @param bearerData the bearer data byte array to append to the parcel
116 private static SmsMessage createMessageFromParcel(Parcel p, byte[] bearerData) {
117 p.writeInt(bearerData.length);
118 for (byte b : bearerData) {
202 * Append the message length, encoding, and body to the BearerData output stream.
353 SmsMessage msg = createBroadcastSmsMessage(123, 456, BearerData.PRIORITY_NORMAL,
354 BearerData.LANGUAGE_ENGLISH, encoding, TEST_TEXT)
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
SmsMessage.java 33 import com.android.internal.telephony.cdma.sms.BearerData;
98 private BearerData mBearerData;
207 env.bearerData = data;
437 return (mBearerData.messageType == BearerData.MESSAGE_TYPE_DELIVERY_ACK);
458 return BearerData.calcTextEncodingDetails(messageBody, use7bitOnly);
526 //encoded BearerData:
528 env.bearerData = new byte[bearerDataLength];
529 dis.read(env.bearerData, 0, bearerDataLength);
659 env.bearerData = parameterData;
682 * Parses a SMS message from its BearerData stream. (mobile-terminated only
    [all...]
CdmaSMSDispatcher.java 51 import com.android.internal.telephony.cdma.sms.BearerData;
464 BearerData bData = new BearerData();
465 bData.messageType = BearerData.MESSAGE_TYPE_SUBMIT;
468 byte[] encodedBearerData = BearerData.encode(bData);
  /packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
SendCdmaCmasMessages.java 30 import com.android.internal.telephony.cdma.sms.BearerData;
150 * Convert CDMA service category to CMAS message class. Copied from {@code BearerData}.
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsMessageBodyTest.java 599 ted = com.android.internal.telephony.cdma.sms.BearerData.calcTextEncodingDetails(msgBody, use7bitOnly);

Completed in 803 milliseconds