Searched refs:BearerData (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
D | CdmaSmsTest.java | 120 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitGsm() 127 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAscii() 134 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserData7bitAsciiTwo() 141 BearerData bearerData = BearerData.decode(HexDump.hexStringToByteArray(pdu)); in testUserDataIa5() 147 BearerData bearerData = new BearerData(); in testUserData7bitAsciiFeedback() 148 bearerData.messageType = BearerData.MESSAGE_TYPE_DELIVER; in testUserData7bitAsciiFeedback() 156 byte []encodedSms = BearerData.encode(bearerData); in testUserData7bitAsciiFeedback() 157 BearerData revBearerData = BearerData.decode(encodedSms); in testUserData7bitAsciiFeedback() 158 assertEquals(BearerData.MESSAGE_TYPE_DELIVER, revBearerData.messageType); in testUserData7bitAsciiFeedback() 165 revBearerData = BearerData.decode(BearerData.encode(bearerData)); in testUserData7bitAsciiFeedback() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 41 public final class BearerData { class 446 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream) in encodeMessageId() 687 private static void encodeUserData(BearerData bData, BitwiseOutputStream outStream) in encodeUserData() 730 private static void encodeReplyOption(BearerData bData, BitwiseOutputStream outStream) in encodeReplyOption() 778 private static void encodeCallbackNumber(BearerData bData, BitwiseOutputStream outStream) in encodeCallbackNumber() 805 private static void encodeMsgStatus(BearerData bData, BitwiseOutputStream outStream) in encodeMsgStatus() 813 private static void encodeMsgCount(BearerData bData, BitwiseOutputStream outStream) in encodeMsgCount() 820 private static void encodeValidityPeriodRel(BearerData bData, BitwiseOutputStream outStream) in encodeValidityPeriodRel() 827 private static void encodePrivacyIndicator(BearerData bData, BitwiseOutputStream outStream) in encodePrivacyIndicator() 835 private static void encodeLanguageIndicator(BearerData bData, BitwiseOutputStream outStream) in encodeLanguageIndicator() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsCbTest.java | 28 import com.android.internal.telephony.cdma.sms.BearerData; 91 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER); in createBearerDataStream() 356 SmsMessage msg = createBroadcastSmsMessage(123, 456, BearerData.PRIORITY_NORMAL, in doTestNonEmergencyBroadcast() 357 BearerData.LANGUAGE_ENGLISH, encoding, TEST_TEXT); in doTestNonEmergencyBroadcast() 405 serviceCategory, 1234, BearerData.PRIORITY_EMERGENCY, BearerData.LANGUAGE_ENGLISH, in doTestCmasBroadcast() 459 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() 637 bos.write(8, BearerData.LANGUAGE_ENGLISH); in testServiceCategoryProgramDataAddCategory() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaServiceCategoryProgramHandler.java | 36 import com.android.internal.telephony.cdma.sms.BearerData; 150 BearerData bData = new BearerData(); 151 bData.messageType = BearerData.MESSAGE_TYPE_SUBMIT; 154 byte[] encodedBearerData = BearerData.encode(bData);
|
D | SmsMessage.java | 36 import com.android.internal.telephony.cdma.sms.BearerData; 102 private BearerData mBearerData; 444 return (mBearerData.messageType == BearerData.MESSAGE_TYPE_DELIVERY_ACK); in isStatusReportMessage() 474 return BearerData.calcTextEncodingDetails(newMsgBody, use7bitOnly, isEntireMsg); in calculateLength() 720 mBearerData = new BearerData(); in parseSms() 730 mBearerData = BearerData.decode(mEnvelope.bearerData); in parseSms() 761 if (mBearerData.messageType == BearerData.MESSAGE_TYPE_DELIVERY_ACK) { in parseSms() 778 } else if (mBearerData.messageType != BearerData.MESSAGE_TYPE_DELIVER) { in parseSms() 794 BearerData bData = BearerData.decode(mEnvelope.bearerData, mEnvelope.serviceCategory); in parseBroadcastSms() 818 if (BearerData.DISPLAY_MODE_IMMEDIATE == mBearerData.displayMode ) { in getMessageClass() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsMessageBodyTest.java | 602 …ted = com.android.internal.telephony.cdma.sms.BearerData.calcTextEncodingDetails(msgBody, use7bitO… in callCdmaLengthMethods()
|