Home
last modified time | relevance | path

Searched refs:getFieldNumber (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dreader_test.js96 assertEquals(1, reader.getFieldNumber());
102 assertEquals(2, reader.getFieldNumber());
222 assertEquals(1, reader.getFieldNumber());
226 assertEquals(2, reader.getFieldNumber());
230 assertEquals(3, reader.getFieldNumber());
236 if (4 != reader.getFieldNumber()) throw 'fail!';
290 assertEquals(1, reader.getFieldNumber());
294 assertEquals(2, reader.getFieldNumber());
298 assertEquals(3, reader.getFieldNumber());
302 assertEquals(4, reader.getFieldNumber());
[all …]
Dreader.js194 jspb.BinaryReader.prototype.getFieldNumber = function() { method in jspb.BinaryReader
320 while (this.nextField() && (this.getFieldNumber() == field)) {
/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamBoolTest.java68 switch (pi.getFieldNumber()) { in testRead()
79 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
113 switch (pi.getFieldNumber()) { in testReadCompat()
118 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
182 switch (pi.getFieldNumber()) { in testRepeated()
196 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
236 switch (pi.getFieldNumber()) { in testRepeatedCompat()
241 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
303 switch (pi.getFieldNumber()) { in testPacked()
317 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamObjectTest.java51 switch (pi.getFieldNumber()) { in parseProto()
68 fail("Unexpected field id " + pi.getFieldNumber()); in parseProto()
107 switch (pi.getFieldNumber()) { in testObjectOneChar()
118 fail("Unexpected field id " + pi.getFieldNumber()); in testObjectOneChar()
161 switch (pi.getFieldNumber()) { in testObjectOneLargeChar()
172 fail("Unexpected field id " + pi.getFieldNumber()); in testObjectOneLargeChar()
220 switch (pi.getFieldNumber()) { in testObjectAndTwoChars()
234 fail("Unexpected field id " + pi.getFieldNumber()); in testObjectAndTwoChars()
290 switch (pi.getFieldNumber()) { in testComplexObject()
304 fail("Unexpected field id " + pi.getFieldNumber()); in testComplexObject()
[all …]
DProtoInputStreamUInt32Test.java76 switch (pi.getFieldNumber()) { in testRead()
96 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
136 switch (pi.getFieldNumber()) { in testReadCompat()
141 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
211 switch (pi.getFieldNumber()) { in testRepeated()
231 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
275 switch (pi.getFieldNumber()) { in testRepeatedCompat()
280 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
357 switch (pi.getFieldNumber()) { in testPacked()
377 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamSInt32Test.java74 switch (pi.getFieldNumber()) { in testRead()
94 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
134 switch (pi.getFieldNumber()) { in testReadCompat()
139 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
206 switch (pi.getFieldNumber()) { in testRepeated()
226 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
270 switch (pi.getFieldNumber()) { in testRepeatedCompat()
275 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
340 switch (pi.getFieldNumber()) { in testPacked()
360 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamEnumTest.java76 switch (pi.getFieldNumber()) { in testRead()
96 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
135 switch (pi.getFieldNumber()) { in testReadCompat()
140 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
212 switch (pi.getFieldNumber()) { in testRepeated()
232 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
276 switch (pi.getFieldNumber()) { in testRepeatedCompat()
281 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
359 switch (pi.getFieldNumber()) { in testPacked()
379 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamInt32Test.java76 switch (pi.getFieldNumber()) { in testRead()
96 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
136 switch (pi.getFieldNumber()) { in testReadCompat()
141 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
212 switch (pi.getFieldNumber()) { in testRepeated()
232 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
276 switch (pi.getFieldNumber()) { in testRepeatedCompat()
281 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
358 switch (pi.getFieldNumber()) { in testPacked()
378 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamSFixed32Test.java74 switch (pi.getFieldNumber()) { in testRead()
94 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
134 switch (pi.getFieldNumber()) { in testReadCompat()
139 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
206 switch (pi.getFieldNumber()) { in testRepeated()
226 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
270 switch (pi.getFieldNumber()) { in testRepeatedCompat()
275 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
340 switch (pi.getFieldNumber()) { in testPacked()
360 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamFixed32Test.java74 switch (pi.getFieldNumber()) { in testRead()
94 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
134 switch (pi.getFieldNumber()) { in testReadCompat()
139 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
206 switch (pi.getFieldNumber()) { in testRepeated()
226 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
270 switch (pi.getFieldNumber()) { in testRepeatedCompat()
275 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
340 switch (pi.getFieldNumber()) { in testPacked()
360 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamFixed64Test.java89 switch (pi.getFieldNumber()) { in testRead()
115 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
159 switch (pi.getFieldNumber()) { in testReadCompat()
164 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
260 switch (pi.getFieldNumber()) { in testRepeated()
286 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
333 switch (pi.getFieldNumber()) { in testRepeatedCompat()
338 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
431 switch (pi.getFieldNumber()) { in testPacked()
457 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamInt64Test.java87 switch (pi.getFieldNumber()) { in testRead()
113 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
157 switch (pi.getFieldNumber()) { in testReadCompat()
162 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
252 switch (pi.getFieldNumber()) { in testRepeated()
278 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
325 switch (pi.getFieldNumber()) { in testRepeatedCompat()
330 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
429 switch (pi.getFieldNumber()) { in testPacked()
455 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamSInt64Test.java84 switch (pi.getFieldNumber()) { in testRead()
110 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
154 switch (pi.getFieldNumber()) { in testReadCompat()
159 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
245 switch (pi.getFieldNumber()) { in testRepeated()
271 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
318 switch (pi.getFieldNumber()) { in testRepeatedCompat()
323 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
406 switch (pi.getFieldNumber()) { in testPacked()
432 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamSFixed64Test.java89 switch (pi.getFieldNumber()) { in testRead()
115 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
159 switch (pi.getFieldNumber()) { in testReadCompat()
164 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
260 switch (pi.getFieldNumber()) { in testRepeated()
286 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
333 switch (pi.getFieldNumber()) { in testRepeatedCompat()
338 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
431 switch (pi.getFieldNumber()) { in testPacked()
457 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamUInt64Test.java86 switch (pi.getFieldNumber()) { in testRead()
112 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
156 switch (pi.getFieldNumber()) { in testReadCompat()
161 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
250 switch (pi.getFieldNumber()) { in testRepeated()
276 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
323 switch (pi.getFieldNumber()) { in testRepeatedCompat()
328 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
425 switch (pi.getFieldNumber()) { in testPacked()
451 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamStringTest.java73 switch (pi.getFieldNumber()) { in testRead()
90 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
127 switch (pi.getFieldNumber()) { in testReadCompat()
132 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
200 switch (pi.getFieldNumber()) { in testRepeated()
217 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
259 switch (pi.getFieldNumber()) { in testRepeatedCompat()
264 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
377 switch (pi.getFieldNumber()) { in testBadWireType()
395 fail("Unexpected field id " + pi.getFieldNumber()); in testBadWireType()
DProtoInputStreamBytesTest.java77 switch (pi.getFieldNumber()) { in testRead()
94 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
137 switch (pi.getFieldNumber()) { in testReadCompat()
142 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
211 switch (pi.getFieldNumber()) { in testRepeated()
228 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
275 switch (pi.getFieldNumber()) { in testRepeatedCompat()
280 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
396 switch (pi.getFieldNumber()) { in testBadWireType()
414 fail("Unexpected field id " + pi.getFieldNumber()); in testBadWireType()
DProtoInputStreamDoubleTest.java100 switch (pi.getFieldNumber()) { in testRead()
132 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
179 switch (pi.getFieldNumber()) { in testReadCompat()
184 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
298 switch (pi.getFieldNumber()) { in testRepeated()
330 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
383 switch (pi.getFieldNumber()) { in testRepeatedCompat()
388 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
498 switch (pi.getFieldNumber()) { in testPacked()
530 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
DProtoInputStreamFloatTest.java91 switch (pi.getFieldNumber()) { in testRead()
123 fail("Unexpected field id " + pi.getFieldNumber()); in testRead()
170 switch (pi.getFieldNumber()) { in testReadCompat()
175 fail("Unexpected field id " + pi.getFieldNumber()); in testReadCompat()
271 switch (pi.getFieldNumber()) { in testRepeated()
303 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeated()
356 switch (pi.getFieldNumber()) { in testRepeatedCompat()
361 fail("Unexpected field id " + pi.getFieldNumber()); in testRepeatedCompat()
451 switch (pi.getFieldNumber()) { in testPacked()
483 fail("Unexpected field id " + pi.getFieldNumber()); in testPacked()
[all …]
/frameworks/base/core/java/android/util/proto/
DProtoUtils.java82 final int fieldNumber = proto.getFieldNumber(); in currentFieldToString()
87 sb.append("\nField Number : 0x" + Integer.toHexString(proto.getFieldNumber())); in currentFieldToString()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/
DChunk.java24 switch (inputStream.getFieldNumber()) { in readFromProto()
DChunkListingMap.java49 if (inputStream.getFieldNumber() == (int) ChunksMetadataProto.ChunkListing.CHUNKS) { in readFromProto()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/
Dmap.js403 var field = reader.getFieldNumber();
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProto.java53 switch (proto.getFieldNumber()) { in readStringPool()
84 switch (proto.getFieldNumber()) { in loadUsageStats()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java608 switch (proto.getFieldNumber()) { in readFromProto()

12