Home | History | Annotate | Download | only in telephony

Lines Matching refs:unit

225             WspTypeDecoder unit = new WspTypeDecoder(
227 assertTrue(unit.decodeContentType(0));
228 String mimeType = unit.getValueString();
229 int wellKnownValue = (int) unit.getValue32();
232 assertEquals(1, unit.getDecodedDataLength());
245 WspTypeDecoder unit = new WspTypeDecoder(data);
246 assertTrue(unit.decodeContentType(0));
247 String mimeType = unit.getValueString();
248 int wellKnownValue = (int) unit.getValue32();
251 assertEquals(4, unit.getDecodedDataLength());
259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
260 assertFalse(unit.decodeContentType(0));
270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
271 assertTrue(unit.decodeContentType(0));
272 String mimeType = unit.getValueString();
274 assertEquals(-1, unit.getValue32());
275 assertEquals(19, unit.getDecodedDataLength());
286 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
287 assertTrue(unit.decodeContentType(0));
289 unit.getValueString();
291 assertEquals(-1, unit.getValue32());
292 assertEquals(31, unit.getDecodedDataLength());
301 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
302 assertTrue(unit.decodeContentType(0));
304 String mimeType = unit.getValueString();
306 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
307 assertEquals(2, unit.getDecodedDataLength());
317 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
318 assertTrue(unit.decodeContentType(0));
320 String mimeType = unit.getValueString();
322 assertEquals(SHORT_MIME_TYPE_UNASSIGNED, unit.getValue32());
323 assertEquals(2, unit.getDecodedDataLength());
336 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
337 assertTrue(unit.decodeContentType(0));
339 String mimeType = unit.getValueString();
342 assertEquals(LONG_MIME_TYPE_OMA_DIRECTORY_XML, unit.getValue32());
343 assertEquals(4, unit.getDecodedDataLength());
355 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
356 assertTrue(unit.decodeContentType(0));
358 String mimeType = unit.getValueString();
361 assertEquals(LONG_MIME_TYPE_UNASSIGNED, unit.getValue32());
362 assertEquals(4, unit.getDecodedDataLength());
374 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
375 assertTrue(unit.decodeContentType(0));
377 String mimeType = unit.getValueString();
379 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
380 assertEquals(3, unit.getDecodedDataLength());
392 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
393 assertTrue(unit.decodeContentType(0));
395 String mimeType = unit.getValueString();
397 assertEquals(SHORT_MIME_TYPE_UNASSIGNED, unit.getValue32());
398 assertEquals(3, unit.getDecodedDataLength());
411 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
412 assertTrue(unit.decodeContentType(0));
414 String mimeType = unit.getValueString();
417 assertEquals(LONG_MIME_TYPE_OMA_DIRECTORY_XML, unit.getValue32());
418 assertEquals(5, unit.getDecodedDataLength());
432 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
433 assertTrue(unit.decodeContentType(0));
435 String mimeType = unit.getValueString();
438 assertEquals(LONG_MIME_TYPE_UNASSIGNED, unit.getValue32());
439 assertEquals(5, unit.getDecodedDataLength());
454 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
455 assertTrue(unit.decodeContentType(0));
457 String mimeType = unit.getValueString();
460 assertEquals(-1, unit.getValue32());
461 assertEquals(21, unit.getDecodedDataLength());
479 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
480 assertTrue(unit.decodeContentType(0));
482 String mimeType = unit.getValueString();
485 assertEquals(-1, unit.getValue32());
486 assertEquals(164, unit.getDecodedDataLength());
497 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
498 assertTrue(unit.decodeContentType(0));
500 String mimeType = unit.getValueString();
503 assertEquals(-1, unit.getValue32());
504 assertEquals(20, unit.getDecodedDataLength());
516 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
517 assertTrue(unit.decodeContentType(0));
519 String mimeType = unit.getValueString();
522 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
524 assertEquals(4, unit.getDecodedDataLength());
526 Map<String, String> params = unit.getContentParameters();
540 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
541 assertTrue(unit.decodeContentType(0));
543 String mimeType = unit.getValueString();
546 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
548 assertEquals(out.toByteArray().length, unit.getDecodedDataLength());
550 Map<String, String> params = unit.getContentParameters();
565 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
566 assertTrue(unit.decodeContentType(0));
568 String mimeType = unit.getValueString();
571 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
573 assertEquals(22, unit.getDecodedDataLength());
575 Map<String, String> params = unit.getContentParameters();
590 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
591 assertTrue(unit.decodeContentType(0));
593 String mimeType = unit.getValueString();
596 assertEquals(0x3F, unit.getValue32());
597 assertEquals(22, unit.getDecodedDataLength());
599 Map<String, String> params = unit.getContentParameters();
612 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
613 assertTrue(unit.decodeContentType(0));
615 String mimeType = unit.getValueString();
618 assertEquals(0x3F, unit.getValue32());
619 assertEquals(4, unit.getDecodedDataLength());
621 Map<String, String> params = unit.getContentParameters();
633 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
634 assertTrue(unit.decodeContentType(0));
636 String mimeType = unit.getValueString();
639 assertEquals(0x3F, unit.getValue32());
640 assertEquals(4, unit.getDecodedDataLength());
642 Map<String, String> params = unit.getContentParameters();
658 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
659 assertTrue(unit.decodeContentType(0));
661 String mimeType = unit.getValueString();
664 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
665 assertEquals(12, unit.getDecodedDataLength());
667 Map<String, String> params = unit.getContentParameters();
680 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
681 assertTrue(unit.decodeContentType(0));
683 String mimeType = unit.getValueString();
686 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
687 assertEquals(11, unit.getDecodedDataLength());
689 Map<String, String> params = unit.getContentParameters();
703 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
704 assertTrue(unit.decodeContentType(0));
706 String mimeType = unit.getValueString();
709 assertEquals(0x3F, unit.getValue32());
710 assertEquals(13, unit.getDecodedDataLength());
712 Map<String, String> params = unit.getContentParameters();
724 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
725 assertTrue(unit.decodeContentType(0));
726 String mimeType = unit.getValueString();
729 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
730 assertEquals(11, unit.getDecodedDataLength());
732 Map<String, String> params = unit.getContentParameters();
746 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
747 assertTrue(unit.decodeContentType(0));
748 String mimeType = unit.getValueString();
751 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
752 assertEquals(18, unit.getDecodedDataLength());
754 Map<String, String> params = unit.getContentParameters();
768 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
769 assertTrue(unit.decodeContentType(0));
770 String mimeType = unit.getValueString();
773 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
774 assertEquals(19, unit.getDecodedDataLength());
776 Map<String, String> params = unit.getContentParameters();
788 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
789 assertFalse(unit.decodeContentType(0));
800 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
801 assertTrue(unit.decodeContentType(0));
802 String mimeType = unit.getValueString();
805 assertEquals(0x3F, unit.getValue32());
806 assertEquals(5, unit.getDecodedDataLength());
808 Map<String, String> params = unit.getContentParameters();
822 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
823 assertTrue(unit.decodeContentType(0));
825 String mimeType = unit.getValueString();
828 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
830 assertEquals(21, unit.getDecodedDataLength());
832 Map<String, String> params = unit.getContentParameters();
847 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
848 assertTrue(unit.decodeContentType(0));
850 String mimeType = unit.getValueString();
853 assertEquals(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE, unit.getValue32());
855 assertEquals(22, unit.getDecodedDataLength());
857 Map<String, String> params = unit.getContentParameters();
870 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray());
871 assertFalse(unit.decodeContentType(0));