Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java938 int constructUserData(boolean hasUserDataHeader, boolean dataInSeptets) { in constructUserData() argument
944 if (hasUserDataHeader) { in constructUserData()
971 bufferLen = userDataLength - (hasUserDataHeader ? (userDataHeaderLength + 1) : 0); in constructUserData()
1305 boolean hasUserDataHeader = (firstByte & 0x40) == 0x40; in parseSmsStatusReport()
1306 parseUserData(p, hasUserDataHeader); in parseSmsStatusReport()
1339 boolean hasUserDataHeader = (firstByte & 0x40) == 0x40; in parseSmsDeliver()
1341 parseUserData(p, hasUserDataHeader); in parseSmsDeliver()
1397 boolean hasUserDataHeader = (firstByte & 0x40) == 0x40; in parseSmsSubmit()
1399 parseUserData(p, hasUserDataHeader); in parseSmsSubmit()
1409 private void parseUserData(PduParser p, boolean hasUserDataHeader) { in parseUserData() argument
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java160 bearerData.hasUserDataHeader = false; in testUserData7bitAsciiFeedback()
170 assertEquals(false, revBearerData.hasUserDataHeader); in testUserData7bitAsciiFeedback()
190 bearerData.hasUserDataHeader = false; in testUserData7bitGsmFeedback()
200 assertEquals(false, revBearerData.hasUserDataHeader); in testUserData7bitGsmFeedback()
244 bearerData.hasUserDataHeader = false; in testUserDataUtf16Feedback()
254 assertEquals(false, revBearerData.hasUserDataHeader); in testUserDataUtf16Feedback()
263 assertEquals(false, revBearerData.hasUserDataHeader); in testUserDataUtf16Feedback()
280 bearerData.hasUserDataHeader = false; in testUserData7BitAsciiFeedback()
354 assertEquals(bearerData.hasUserDataHeader, false); in testMonolithicOne()
401 assertEquals(bearerData.hasUserDataHeader, false); in testMonolithicTwo()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java217 public boolean hasUserDataHeader; field in BearerData
504 builder.append(", hasUserDataHeader=" + hasUserDataHeader); in toString()
517 outStream.write(1, bData.hasUserDataHeader ? 1 : 0); in encodeMessageId()
803 bData.hasUserDataHeader = bData.userData.userDataHeader != null; in encodeUserData()
1004 bData.hasUserDataHeader = ((bData.userData != null) && in encode()
1082 bData.hasUserDataHeader = (inStream.read(1) == 1); in decodeMessageId()
1259 private static void decodeUserDataPayload(UserData userData, boolean hasUserDataHeader) in decodeUserDataPayload() argument
1263 if (hasUserDataHeader) { in decodeUserDataPayload()
2137 decodeUserDataPayload(bData.userData, bData.hasUserDataHeader); in decode()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java720 mBearerData.hasUserDataHeader = (inStream.read(1) == 1); in preprocessCdmaFdeaWap()
721 if (mBearerData.hasUserDataHeader) { in preprocessCdmaFdeaWap()
996 int teleservice = (bearerData.hasUserDataHeader