Home
last modified time | relevance | path

Searched refs:BearerData (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java130 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitGsm()
137 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAscii()
144 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAsciiTwo()
151 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserDataIa5()
157 BearerData bearerData = new BearerData(); in testUserData7bitAsciiFeedback()
158 bearerData.messageType = BearerData.MESSAGE_TYPE_DELIVER; in testUserData7bitAsciiFeedback()
166 byte []encodedSms = BearerData.encode(bearerData); in testUserData7bitAsciiFeedback()
167 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitAsciiFeedback()
168 assertEquals(BearerData.MESSAGE_TYPE_DELIVER, revBearerData.messageType); in testUserData7bitAsciiFeedback()
175 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java29 import com.android.internal.telephony.cdma.sms.BearerData;
91 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER); in createBearerDataStream()
353 SmsMessage msg = createBroadcastSmsMessage(123, 456, BearerData.PRIORITY_NORMAL, in doTestNonEmergencyBroadcast()
354 BearerData.LANGUAGE_ENGLISH, encoding, TEST_TEXT); in doTestNonEmergencyBroadcast()
402 serviceCategory, 1234, BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in doTestCmasBroadcast()
456 5678, BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in testCmasExtremeAlertType1Elements()
488 12345, BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in testCmasUnsupportedCharSet()
500 67890, BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in testCmasUnsupportedCharSet2()
513 BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in testCmasNoRecordType0()
635 bos.write(8, BearerData.LANGUAGE_ENGLISH); in testServiceCategoryProgramDataAddCategory()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java34 import com.android.internal.telephony.cdma.sms.BearerData;
111 private BearerData mBearerData;
394 return (mBearerData.messageType == BearerData.MESSAGE_TYPE_DELIVERY_ACK); in isStatusReportMessage()
417 return BearerData.calcTextEncodingDetails(messageBody, use7bitOnly, isEntireMsg); in calculateLength()
762 mBearerData = new BearerData();
772 mBearerData = BearerData.decode(mEnvelope.bearerData);
802 if (mBearerData.messageType == BearerData.MESSAGE_TYPE_DELIVERY_ACK) {
814 status = (BearerData.ERROR_NONE << 8) | BearerData.STATUS_DELIVERED;
819 } else if (mBearerData.messageType != BearerData.MESSAGE_TYPE_DELIVER
820 && mBearerData.messageType != BearerData.MESSAGE_TYPE_SUBMIT) {
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java47 public final class BearerData { class
51 public BearerData() { in BearerData() method in BearerData
519 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream) in encodeMessageId()
812 private static void encodeUserData(BearerData bData, BitwiseOutputStream outStream) in encodeUserData()
855 private static void encodeReplyOption(BearerData bData, BitwiseOutputStream outStream) in encodeReplyOption()
903 private static void encodeCallbackNumber(BearerData bData, BitwiseOutputStream outStream) in encodeCallbackNumber()
930 private static void encodeMsgStatus(BearerData bData, BitwiseOutputStream outStream) in encodeMsgStatus()
938 private static void encodeMsgCount(BearerData bData, BitwiseOutputStream outStream) in encodeMsgCount()
945 private static void encodeValidityPeriodRel(BearerData bData, BitwiseOutputStream outStream) in encodeValidityPeriodRel()
952 private static void encodePrivacyIndicator(BearerData bData, BitwiseOutputStream outStream) in encodePrivacyIndicator()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java39 import com.android.internal.telephony.cdma.sms.BearerData;
102 BearerData bData = new BearerData(); in CdmaInboundSmsHandler()
103 bData.messageType = BearerData.MESSAGE_TYPE_SUBMIT; in CdmaInboundSmsHandler()
106 byte[] encodedBearerData = BearerData.encode(bData); in CdmaInboundSmsHandler()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsDispatchersController.java22 import static com.android.internal.telephony.cdma.sms.BearerData.ERROR_NONE;
23 import static com.android.internal.telephony.cdma.sms.BearerData.ERROR_TEMPORARY;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java595 …ted = com.android.internal.telephony.cdma.sms.BearerData.calcTextEncodingDetails(msgBody, use7bitO… in callCdmaLengthMethods()