Home
last modified time | relevance | path

Searched refs:po (Results 1 – 25 of 86) sorted by relevance

1234

/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamObjectTest.java80 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 …]
DProtoOutputStreamFloatTest.java63 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 …]
DProtoOutputStreamDoubleTest.java62 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 …]
DProtoOutputStreamSFixed64Test.java48 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 …]
DProtoOutputStreamInt64Test.java48 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 …]
DProtoOutputStreamSInt64Test.java48 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 …]
DProtoOutputStreamFixed64Test.java48 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 …]
DProtoOutputStreamUInt64Test.java48 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 …]
DProtoOutputStreamSInt32Test.java48 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 …]
DProtoOutputStreamUInt32Test.java48 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 …]
DProtoOutputStreamFixed32Test.java48 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 …]
DProtoOutputStreamEnumTest.java51 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 …]
DProtoOutputStreamSFixed32Test.java48 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 …]
DProtoOutputStreamInt32Test.java48 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 …]
DProtoOutputStreamBoolTest.java48 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 …]
DProtoOutputStreamStringTest.java54 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 …]
DProtoOutputStreamBytesTest.java55 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 …]
DProtoOutputStreamSwitchedWriteTest.java43 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/
DJobSchedulerIncidentTest.java57 for (JobSchedulerServiceDumpProto.PriorityOverride po : dump.getPriorityOverridesList()) { in verifyJobSchedulerServiceDumpProto()
58 assertTrue(0 <= po.getUid()); in verifyJobSchedulerServiceDumpProto()
/cts/tests/tests/media/assets/hls_variant/165340/
D14.ts575 �T;�+���[ϻ�W����?#�ş�PwK��k�q"FF4�k�o�l����|���ypo�nTo����� �t�C����G�2����������������������…
D08.ts397 …:ހ�j� CG�M��ĭ�a�b���e����F�@*�T9dG��7?� ����l~�~.�� ��pt�;po&㸡�N��z���#Y��ЄI�…
D01.ts386 …���3�M�Ъ(��������~;B�k���s�9�P�t±~���$��1���@ ��!�,s�ź�&��t�;po'�?��Q���١ÈE�$��v�…
D04.ts212 ��Ђ�.<w�œ��p�po%� ���( �h}�_���=I5�����m��9,A��L@
/cts/tests/tests/media/assets/hls_variant/344388/
D01.ts684 … c3^��rʁxfՀ¸ff�����7�`!��>+��g�~W�D ��4���y�W�0��9���'S]��B���o�mӨx|��po��Vv5_7�O�w��-��>��…
D05.ts214 _�~#�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ڮ����%�����ŘH�Y���po��"�i�Y4�C�=�?b�Z…

1234