Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java194 WspTypeDecoder pduDecoder = in decodeWapPdu() local
204 if (pduDecoder.decodeUintvarInteger(index) == false) { in decodeWapPdu()
209 int headerLength = (int) pduDecoder.getValue32(); in decodeWapPdu()
210 index += pduDecoder.getDecodedDataLength(); in decodeWapPdu()
226 if (pduDecoder.decodeContentType(index) == false) { in decodeWapPdu()
232 String mimeType = pduDecoder.getValueString(); in decodeWapPdu()
233 long binaryContentType = pduDecoder.getValue32(); in decodeWapPdu()
234 index += pduDecoder.getDecodedDataLength(); in decodeWapPdu()
285 if (pduDecoder.seekXWapApplicationId(index, index + headerLength - 1)) { in decodeWapPdu()
286 index = (int) pduDecoder.getValue32(); in decodeWapPdu()
[all …]
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java1870 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder1() local
1872 res = pduDecoder.seekXWapApplicationId(mWspHeaderStart, in testDecoder1()
1876 int index = (int) pduDecoder.getValue32(); in testDecoder1()
1877 res = pduDecoder.decodeXWapApplicationId(index); in testDecoder1()
1881 + ", val: " + pduDecoder.getValue32()); in testDecoder1()
1882 assertTrue(mAppIdValue == (int) pduDecoder.getValue32()); in testDecoder1()
1898 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder2() local
1900 res = pduDecoder.seekXWapApplicationId(mWspHeaderStart, in testDecoder2()
1920 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder3() local
1922 res = pduDecoder.seekXWapApplicationId(mWspHeaderStart, in testDecoder3()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java419 WspTypeDecoder pduDecoder = new WspTypeDecoder(omaPdu); in checkDuplicatePortOmadmWapPush() local
423 if (!pduDecoder.decodeUintvarInteger(wspIndex)) { in checkDuplicatePortOmadmWapPush()
427 wspIndex += pduDecoder.getDecodedDataLength(); // advance to next field in checkDuplicatePortOmadmWapPush()
430 if (!pduDecoder.decodeContentType(wspIndex)) { in checkDuplicatePortOmadmWapPush()
434 String mimeType = pduDecoder.getValueString(); in checkDuplicatePortOmadmWapPush()