Home
last modified time | relevance | path

Searched refs:bData (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java520 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream) in encodeMessageId() argument
524 outStream.write(4, bData.messageType); in encodeMessageId()
525 outStream.write(8, bData.messageId >> 8); in encodeMessageId()
526 outStream.write(8, bData.messageId); in encodeMessageId()
527 outStream.write(1, bData.hasUserDataHeader ? 1 : 0); in encodeMessageId()
813 private static void encodeUserData(BearerData bData, BitwiseOutputStream outStream) in encodeUserData() argument
821 encodeUserDataPayload(bData.userData); in encodeUserData()
822 bData.hasUserDataHeader = bData.userData.userDataHeader != null; in encodeUserData()
824 if (bData.userData.payload.length > SmsConstants.MAX_USER_DATA_BYTES) { in encodeUserData()
826 bData.userData.payload.length + in encodeUserData()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java103 BearerData bData = new BearerData(); in CdmaInboundSmsHandler()
104 bData.messageType = BearerData.MESSAGE_TYPE_SUBMIT; in CdmaInboundSmsHandler()
105 bData.messageId = SmsMessage.getNextMessageId(); in CdmaInboundSmsHandler()
106 bData.serviceCategoryProgramResults = results; in CdmaInboundSmsHandler()
107 byte[] encodedBearerData = BearerData.encode(bData); in CdmaInboundSmsHandler()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java859 BearerData bData = BearerData.decode(mEnvelope.bearerData, mEnvelope.serviceCategory);
860 if (bData == null) {
864 if (bData.userData != null) {
865 mReceivedEncodingType = bData.userData.msgEncoding;
875 SmsCbMessage.GEOGRAPHICAL_SCOPE_PLMN_WIDE, bData.messageId, location,
876 mEnvelope.serviceCategory, bData.getLanguage(), bData.userData.payloadStr,
877 bData.priority, null, bData.cmasWarningInfo, slotIndex, subId);