Home
last modified time | relevance | path

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

/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java1866 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder1() local
1868 res = pduDecoder.seekXWapApplicationId(mWspHeaderStart, in testDecoder1()
1872 int index = (int) pduDecoder.getValue32(); in testDecoder1()
1873 res = pduDecoder.decodeXWapApplicationId(index); in testDecoder1()
1877 + ", val: " + pduDecoder.getValue32()); in testDecoder1()
1878 assertTrue(mAppIdValue == (int) pduDecoder.getValue32()); in testDecoder1()
1894 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder2() local
1896 res = pduDecoder.seekXWapApplicationId(mWspHeaderStart, in testDecoder2()
1916 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder3() local
1918 res = pduDecoder.seekXWapApplicationId(mWspHeaderStart, in testDecoder3()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java239 WspTypeDecoder pduDecoder = in decodeWapPdu() local
249 if (pduDecoder.decodeUintvarInteger(index) == false) { in decodeWapPdu()
254 int headerLength = (int) pduDecoder.getValue32(); in decodeWapPdu()
255 index += pduDecoder.getDecodedDataLength(); in decodeWapPdu()
271 if (pduDecoder.decodeContentType(index) == false) { in decodeWapPdu()
277 String mimeType = pduDecoder.getValueString(); in decodeWapPdu()
278 long binaryContentType = pduDecoder.getValue32(); in decodeWapPdu()
279 index += pduDecoder.getDecodedDataLength(); in decodeWapPdu()
322 if (pduDecoder.seekXWapApplicationId(index, index + headerLength - 1)) { in decodeWapPdu()
323 index = (int) pduDecoder.getValue32(); in decodeWapPdu()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java412 WspTypeDecoder pduDecoder = new WspTypeDecoder(omaPdu); in checkDuplicatePortOmadmWapPush() local
416 if (!pduDecoder.decodeUintvarInteger(wspIndex)) { in checkDuplicatePortOmadmWapPush()
420 wspIndex += pduDecoder.getDecodedDataLength(); // advance to next field in checkDuplicatePortOmadmWapPush()
423 if (!pduDecoder.decodeContentType(wspIndex)) { in checkDuplicatePortOmadmWapPush()
427 String mimeType = pduDecoder.getValueString(); in checkDuplicatePortOmadmWapPush()