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.java237 WspTypeDecoder pduDecoder = in decodeWapPdu() local
247 if (pduDecoder.decodeUintvarInteger(index) == false) { in decodeWapPdu()
252 int headerLength = (int) pduDecoder.getValue32(); in decodeWapPdu()
253 index += pduDecoder.getDecodedDataLength(); in decodeWapPdu()
269 if (pduDecoder.decodeContentType(index) == false) { in decodeWapPdu()
275 String mimeType = pduDecoder.getValueString(); in decodeWapPdu()
276 long binaryContentType = pduDecoder.getValue32(); in decodeWapPdu()
277 index += pduDecoder.getDecodedDataLength(); in decodeWapPdu()
320 if (pduDecoder.seekXWapApplicationId(index, index + headerLength - 1)) { in decodeWapPdu()
321 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()