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.java193 WspTypeDecoder pduDecoder = in decodeWapPdu() local
203 if (pduDecoder.decodeUintvarInteger(index) == false) { in decodeWapPdu()
208 int headerLength = (int) pduDecoder.getValue32(); in decodeWapPdu()
209 index += pduDecoder.getDecodedDataLength(); in decodeWapPdu()
225 if (pduDecoder.decodeContentType(index) == false) { in decodeWapPdu()
231 String mimeType = pduDecoder.getValueString(); in decodeWapPdu()
232 long binaryContentType = pduDecoder.getValue32(); in decodeWapPdu()
233 index += pduDecoder.getDecodedDataLength(); in decodeWapPdu()
276 if (pduDecoder.seekXWapApplicationId(index, index + headerLength - 1)) { in decodeWapPdu()
277 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.java414 WspTypeDecoder pduDecoder = new WspTypeDecoder(omaPdu); in checkDuplicatePortOmadmWapPush() local
418 if (!pduDecoder.decodeUintvarInteger(wspIndex)) { in checkDuplicatePortOmadmWapPush()
422 wspIndex += pduDecoder.getDecodedDataLength(); // advance to next field in checkDuplicatePortOmadmWapPush()
425 if (!pduDecoder.decodeContentType(wspIndex)) { in checkDuplicatePortOmadmWapPush()
429 String mimeType = pduDecoder.getValueString(); in checkDuplicatePortOmadmWapPush()