Home
last modified time | relevance | path

Searched refs:BearerData (Results 1 – 9 of 9) 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.java35 import com.android.internal.telephony.cdma.sms.BearerData;
112 private BearerData mBearerData;
394 return (mBearerData.messageType == BearerData.MESSAGE_TYPE_DELIVERY_ACK); in isStatusReportMessage()
425 return BearerData.calcTextEncodingDetails(newMsgBody, use7bitOnly, isEntireMsg); in calculateLength()
770 mBearerData = new BearerData();
780 mBearerData = BearerData.decode(mEnvelope.bearerData);
810 if (mBearerData.messageType == BearerData.MESSAGE_TYPE_DELIVERY_ACK) {
822 status = (BearerData.ERROR_NONE << 8) | BearerData.STATUS_DELIVERED;
827 } else if (mBearerData.messageType != BearerData.MESSAGE_TYPE_DELIVER
828 && mBearerData.messageType != BearerData.MESSAGE_TYPE_SUBMIT) {
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java44 public final class BearerData { class
238 public BearerData() { in BearerData() method in BearerData
510 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream) in encodeMessageId()
794 private static void encodeUserData(BearerData bData, BitwiseOutputStream outStream) in encodeUserData()
837 private static void encodeReplyOption(BearerData bData, BitwiseOutputStream outStream) in encodeReplyOption()
885 private static void encodeCallbackNumber(BearerData bData, BitwiseOutputStream outStream) in encodeCallbackNumber()
912 private static void encodeMsgStatus(BearerData bData, BitwiseOutputStream outStream) in encodeMsgStatus()
920 private static void encodeMsgCount(BearerData bData, BitwiseOutputStream outStream) in encodeMsgCount()
927 private static void encodeValidityPeriodRel(BearerData bData, BitwiseOutputStream outStream) in encodeValidityPeriodRel()
934 private static void encodePrivacyIndicator(BearerData bData, BitwiseOutputStream outStream) in encodePrivacyIndicator()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java40 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()
/frameworks/base/config/
Dpreloaded-classes8900 com.android.internal.telephony.cdma.sms.BearerData$CodingException
8901 com.android.internal.telephony.cdma.sms.BearerData$TimeStamp
8902 com.android.internal.telephony.cdma.sms.BearerData
Dboot-image-profile.txt49536 Lcom/android/internal/telephony/cdma/sms/BearerData$CodingException;
49537 Lcom/android/internal/telephony/cdma/sms/BearerData$TimeStamp;
49538 Lcom/android/internal/telephony/cdma/sms/BearerData;