Searched refs:pduDecoder (Results 1 – 3 of 3) sorted by relevance
1866 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder1() local1868 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() local1896 res = pduDecoder.seekXWapApplicationId(mWspHeaderStart, in testDecoder2()1916 WspTypeDecoder pduDecoder = new WspTypeDecoder(pdu); in testDecoder3() local1918 res = pduDecoder.seekXWapApplicationId(mWspHeaderStart, in testDecoder3()[all …]
239 WspTypeDecoder pduDecoder = in decodeWapPdu() local249 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 …]
412 WspTypeDecoder pduDecoder = new WspTypeDecoder(omaPdu); in checkDuplicatePortOmadmWapPush() local416 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()