Home
last modified time | relevance | path

Searched refs:hasUserDataHeader (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSmsMessage.java624 int constructUserData(boolean hasUserDataHeader, boolean dataInSeptets) { in constructUserData() argument
630 if (hasUserDataHeader) { in constructUserData()
657 bufferLen = userDataLength - (hasUserDataHeader ? (userDataHeaderLength + 1) : 0); in constructUserData()
983 boolean hasUserDataHeader = (firstByte & 0x40) == 0x40; in parseSmsStatusReport()
984 parseUserData(p, hasUserDataHeader); in parseSmsStatusReport()
1017 boolean hasUserDataHeader = (firstByte & 0x40) == 0x40; in parseSmsDeliver()
1019 parseUserData(p, hasUserDataHeader); in parseSmsDeliver()
1075 boolean hasUserDataHeader = (firstByte & 0x40) == 0x40; in parseSmsSubmit()
1077 parseUserData(p, hasUserDataHeader); in parseSmsSubmit()
1087 private void parseUserData(PduParser p, boolean hasUserDataHeader) { in parseUserData() argument
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java150 bearerData.hasUserDataHeader = false; in testUserData7bitAsciiFeedback()
160 assertEquals(false, revBearerData.hasUserDataHeader); in testUserData7bitAsciiFeedback()
180 bearerData.hasUserDataHeader = false; in testUserData7bitGsmFeedback()
190 assertEquals(false, revBearerData.hasUserDataHeader); in testUserData7bitGsmFeedback()
234 bearerData.hasUserDataHeader = false; in testUserDataUtf16Feedback()
244 assertEquals(false, revBearerData.hasUserDataHeader); in testUserDataUtf16Feedback()
253 assertEquals(false, revBearerData.hasUserDataHeader); in testUserDataUtf16Feedback()
306 assertEquals(bearerData.hasUserDataHeader, false); in testMonolithicOne()
353 assertEquals(bearerData.hasUserDataHeader, false); in testMonolithicTwo()
508 bearerData.hasUserDataHeader = false; in testReplyOptionFeedback()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DBearerData.java209 public boolean hasUserDataHeader; field in BearerData
440 builder.append(", hasUserDataHeader=" + hasUserDataHeader); in toString()
453 outStream.write(1, bData.hasUserDataHeader ? 1 : 0); in encodeMessageId()
696 bData.hasUserDataHeader = bData.userData.userDataHeader != null; in encodeUserData()
890 bData.hasUserDataHeader = ((bData.userData != null) && in encode()
964 bData.hasUserDataHeader = (inStream.read(1) == 1); in decodeMessageId()
1116 private static void decodeUserDataPayload(UserData userData, boolean hasUserDataHeader) in decodeUserDataPayload() argument
1120 if (hasUserDataHeader) { in decodeUserDataPayload()
1989 decodeUserDataPayload(bData.userData, bData.hasUserDataHeader); in decode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessage.java897 int teleservice = bearerData.hasUserDataHeader ? in privateGetSubmitPdu()