/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamObjectTest.java | 80 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testObjectOneChar() local 82 long token = po.startObject(ProtoOutputStream.makeFieldId(1, in testObjectOneChar() 84 po.writeUInt32(ProtoOutputStream.makeFieldId(2, in testObjectOneChar() 87 po.endObject(token); in testObjectOneChar() 91 }, po.getBytes()); in testObjectOneChar() 107 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testObjectOneLargeChar() local 109 long token = po.startObject(ProtoOutputStream.makeFieldId(1, in testObjectOneLargeChar() 111 po.writeUInt32(ProtoOutputStream.makeFieldId(5000, in testObjectOneLargeChar() 114 po.endObject(token); in testObjectOneLargeChar() 119 }, po.getBytes()); in testObjectOneLargeChar() [all …]
|
D | ProtoOutputStreamFloatTest.java | 63 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 66 po.writeFloat(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 67 po.writeFloat(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 68 po.writeFloat(ProtoOutputStream.makeFieldId(3, fieldFlags), -1234.432f); in testWrite() 69 po.writeFloat(ProtoOutputStream.makeFieldId(4, fieldFlags), 42.42f); in testWrite() 70 po.writeFloat(ProtoOutputStream.makeFieldId(5, fieldFlags), Float.MIN_NORMAL); in testWrite() 71 po.writeFloat(ProtoOutputStream.makeFieldId(6, fieldFlags), Float.MIN_VALUE); in testWrite() 72 po.writeFloat(ProtoOutputStream.makeFieldId(7, fieldFlags), Float.NEGATIVE_INFINITY); in testWrite() 73 po.writeFloat(ProtoOutputStream.makeFieldId(8, fieldFlags), Float.NaN); in testWrite() 74 po.writeFloat(ProtoOutputStream.makeFieldId(9, fieldFlags), Float.POSITIVE_INFINITY); in testWrite() [all …]
|
D | ProtoOutputStreamDoubleTest.java | 62 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 65 po.writeDouble(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 66 po.writeDouble(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 67 po.writeDouble(ProtoOutputStream.makeFieldId(3, fieldFlags), -1234.432); in testWrite() 68 po.writeDouble(ProtoOutputStream.makeFieldId(4, fieldFlags), 42.42); in testWrite() 69 po.writeDouble(ProtoOutputStream.makeFieldId(5, fieldFlags), Double.MIN_NORMAL); in testWrite() 70 po.writeDouble(ProtoOutputStream.makeFieldId(6, fieldFlags), Double.MIN_VALUE); in testWrite() 71 po.writeDouble(ProtoOutputStream.makeFieldId(7, fieldFlags), Double.NEGATIVE_INFINITY); in testWrite() 72 po.writeDouble(ProtoOutputStream.makeFieldId(8, fieldFlags), Double.NaN); in testWrite() 73 po.writeDouble(ProtoOutputStream.makeFieldId(9, fieldFlags), Double.POSITIVE_INFINITY); in testWrite() [all …]
|
D | ProtoOutputStreamSFixed64Test.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeSFixed64(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 52 po.writeSFixed64(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 53 po.writeSFixed64(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 54 po.writeSFixed64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 55 po.writeSFixed64(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 56 po.writeSFixed64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testWrite() 57 po.writeSFixed64(ProtoOutputStream.makeFieldId(7, fieldFlags), Long.MAX_VALUE); in testWrite() 60 final byte[] result = po.getBytes(); in testWrite() 111 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local [all …]
|
D | ProtoOutputStreamInt64Test.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeInt64(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 52 po.writeInt64(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 53 po.writeInt64(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 54 po.writeInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 55 po.writeInt64(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 56 po.writeInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testWrite() 57 po.writeInt64(ProtoOutputStream.makeFieldId(7, fieldFlags), Long.MAX_VALUE); in testWrite() 59 final byte[] result = po.getBytes(); in testWrite() 108 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local [all …]
|
D | ProtoOutputStreamSInt64Test.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeSInt64(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 52 po.writeSInt64(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 53 po.writeSInt64(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 54 po.writeSInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 55 po.writeSInt64(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 56 po.writeSInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testWrite() 57 po.writeSInt64(ProtoOutputStream.makeFieldId(7, fieldFlags), Long.MAX_VALUE); in testWrite() 60 final byte[] result = po.getBytes(); in testWrite() 107 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local [all …]
|
D | ProtoOutputStreamFixed64Test.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeFixed64(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 52 po.writeFixed64(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 53 po.writeFixed64(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 54 po.writeFixed64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 55 po.writeFixed64(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 56 po.writeFixed64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testWrite() 57 po.writeFixed64(ProtoOutputStream.makeFieldId(7, fieldFlags), Long.MAX_VALUE); in testWrite() 60 final byte[] result = po.getBytes(); in testWrite() 111 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local [all …]
|
D | ProtoOutputStreamUInt64Test.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeUInt64(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 52 po.writeUInt64(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 53 po.writeUInt64(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 54 po.writeUInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 55 po.writeUInt64(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 56 po.writeUInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testWrite() 57 po.writeUInt64(ProtoOutputStream.makeFieldId(7, fieldFlags), Long.MAX_VALUE); in testWrite() 59 final byte[] result = po.getBytes(); in testWrite() 108 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local [all …]
|
D | ProtoOutputStreamSInt32Test.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeSInt32(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 52 po.writeSInt32(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 53 po.writeSInt32(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 54 po.writeSInt32(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 55 po.writeSInt32(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 57 final byte[] result = po.getBytes(); in testWrite() 94 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local 97 po.writeSInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() 99 final byte[] result = po.getBytes(); in testWriteCompat() [all …]
|
D | ProtoOutputStreamUInt32Test.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeUInt32(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 52 po.writeUInt32(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 53 po.writeUInt32(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 54 po.writeUInt32(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 55 po.writeUInt32(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 57 final byte[] result = po.getBytes(); in testWrite() 94 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local 97 po.writeUInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() 99 final byte[] result = po.getBytes(); in testWriteCompat() [all …]
|
D | ProtoOutputStreamFixed32Test.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeFixed32(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 52 po.writeFixed32(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 53 po.writeFixed32(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 54 po.writeFixed32(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 55 po.writeFixed32(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 57 final byte[] result = po.getBytes(); in testWrite() 94 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local 97 po.writeFixed32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() 99 final byte[] result = po.getBytes(); in testWriteCompat() [all …]
|
D | ProtoOutputStreamEnumTest.java | 51 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 54 po.writeEnum(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 55 po.writeEnum(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 56 po.writeEnum(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 57 po.writeEnum(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 58 po.writeEnum(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 60 final byte[] result = po.getBytes(); in testWrite() 99 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local 102 po.writeEnum(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() 104 final byte[] result = po.getBytes(); in testWriteCompat() [all …]
|
D | ProtoOutputStreamSFixed32Test.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeSFixed32(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 52 po.writeSFixed32(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 53 po.writeSFixed32(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 54 po.writeSFixed32(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 55 po.writeSFixed32(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 57 final byte[] result = po.getBytes(); in testWrite() 94 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local 97 po.writeSFixed32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() 99 final byte[] result = po.getBytes(); in testWriteCompat() [all …]
|
D | ProtoOutputStreamInt32Test.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeInt32(ProtoOutputStream.makeFieldId(1, fieldFlags), 0); in testWrite() 52 po.writeInt32(ProtoOutputStream.makeFieldId(2, fieldFlags), 1); in testWrite() 53 po.writeInt32(ProtoOutputStream.makeFieldId(3, fieldFlags), -1); in testWrite() 54 po.writeInt32(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 55 po.writeInt32(ProtoOutputStream.makeFieldId(5, fieldFlags), Integer.MAX_VALUE); in testWrite() 57 final byte[] result = po.getBytes(); in testWrite() 96 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local 99 po.writeInt32(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() 101 final byte[] result = po.getBytes(); in testWriteCompat() [all …]
|
D | ProtoOutputStreamBoolTest.java | 48 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 51 po.writeBool(ProtoOutputStream.makeFieldId(1, fieldFlags), false); in testWrite() 52 po.writeBool(ProtoOutputStream.makeFieldId(2, fieldFlags), true); in testWrite() 54 final byte[] result = po.getBytes(); in testWrite() 79 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local 82 po.writeBool(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() 84 final byte[] result = po.getBytes(); in testWriteCompat() 111 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated() local 114 po.writeRepeatedBool(ProtoOutputStream.makeFieldId(1, fieldFlags), false); in testRepeated() 115 po.writeRepeatedBool(ProtoOutputStream.makeFieldId(2, fieldFlags), true); in testRepeated() [all …]
|
D | ProtoOutputStreamStringTest.java | 54 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWriteLongString() local 59 po.writeString(ProtoOutputStream.makeFieldId(1, fieldFlags), string); in testWriteLongString() 73 Assert.assertArrayEquals(expected, po.getBytes()); in testWriteLongString() 89 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 92 po.writeString(ProtoOutputStream.makeFieldId(1, fieldFlags), null); in testWrite() 93 po.writeString(ProtoOutputStream.makeFieldId(2, fieldFlags), ""); in testWrite() 94 po.writeString(ProtoOutputStream.makeFieldId(3, fieldFlags), "abcd\u3110!"); in testWrite() 95 po.writeString(ProtoOutputStream.makeFieldId(4, fieldFlags), "Hi"); in testWrite() 97 final byte[] result = po.getBytes(); in testWrite() 132 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local [all …]
|
D | ProtoOutputStreamBytesTest.java | 55 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testWrite() local 60 po.writeBytes(ProtoOutputStream.makeFieldId(1, fieldFlags), data); in testWrite() 70 Assert.assertArrayEquals(expected, po.getBytes()); in testWrite() 94 final ProtoOutputStream po = new ProtoOutputStream(0); in testWriteCompat() local 97 po.writeBytes(ProtoOutputStream.makeFieldId(fieldId, fieldFlags), val); in testWriteCompat() 99 final byte[] result = po.getBytes(); in testWriteCompat() 126 final ProtoOutputStream po = new ProtoOutputStream(chunkSize); in testRepeated() local 129 po.writeRepeatedBytes(ProtoOutputStream.makeFieldId(1, fieldFlags), null); in testRepeated() 130 po.writeRepeatedBytes(ProtoOutputStream.makeFieldId(2, fieldFlags), new byte[0]); in testRepeated() 131 po.writeRepeatedBytes(ProtoOutputStream.makeFieldId(3, fieldFlags), in testRepeated() [all …]
|
D | ProtoOutputStreamSwitchedWriteTest.java | 43 abstract void write(Number val, long fieldId, ProtoOutputStream po); in write() argument 53 public void write(Number val, long fieldId, ProtoOutputStream po) { 54 po.writeDouble(fieldId, val.doubleValue()); 60 public void write(Number val, long fieldId, ProtoOutputStream po) { 61 po.writeFloat(fieldId, val.floatValue()); 67 public void write(Number val, long fieldId, ProtoOutputStream po) { 68 po.writeInt32(fieldId, val.intValue()); 74 public void write(Number val, long fieldId, ProtoOutputStream po) { 75 po.writeInt64(fieldId, val.longValue()); 81 public void write(Number val, long fieldId, ProtoOutputStream po) { [all …]
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | JobSchedulerIncidentTest.java | 57 for (JobSchedulerServiceDumpProto.PriorityOverride po : dump.getPriorityOverridesList()) { in verifyJobSchedulerServiceDumpProto() 58 assertTrue(0 <= po.getUid()); in verifyJobSchedulerServiceDumpProto()
|
/cts/tests/tests/media/assets/hls_variant/165340/ |
D | 14.ts | 575 �T;�+���[ϻ�W����?#�ş�PwK��k�q"FF4�k�o�l����|���ypo�nTo����� �t�C����G2���������������������…
|
D | 08.ts | 397 …:ހ�j�CGM��ĭ�a�b���e����F�@*�T9dG��7?���l~�~.�� ��pt�;po&㸡�N��z���#Y��ЄI�…
|
D | 01.ts | 386 …���3�M�Ъ(������~;B�k���s9�P�t±~��$��1���@ �!�,s�ź�&��t�;po'�?��Q���١ÈE�$��v�…
|
D | 04.ts | 212 ��Ђ�.<w�œ��p�po%� ���( �h}�_���=I5�����m�9,A��L@
|
/cts/tests/tests/media/assets/hls_variant/344388/ |
D | 01.ts | 684 …c3^��rʁxfՀ¸ff�����7�`!��>+��g�~W�D��4���y�W�0��9���'S]��B���o�mӨx|��po��Vv5_7�O�w��-��>��…
|
D | 05.ts | 214 _�~#�K���I-�]ܬ75T�xZpo��0$Il'yƒ^�"�A���y�PR�(�oɣ�mX]:�}eWiQ�j�nl�J=�^S��1��z\��1��\���Fϝ… 393 …�|���00�[/9�\��t�f��C������z#A�Ww���M[-2ii\z2�펢�(i�Pڮ����%�����ŘHY���po��"�i�Y4�C�=�?b�Z…
|