Home
last modified time | relevance | path

Searched refs:nextField (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamObjectTest.java50 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in parseProto()
106 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testObjectOneChar()
160 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testObjectOneLargeChar()
219 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testObjectAndTwoChars()
289 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testComplexObject()
356 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testDeepObjects()
394 pi.nextField(); in testBadReadType()
403 pi.nextField(); in testBadReadType()
412 pi.nextField(); in testBadReadType()
421 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamBoolTest.java67 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
112 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
180 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
235 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
301 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
356 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
387 pi.nextField(); in testBadReadType()
396 pi.nextField(); in testBadReadType()
405 pi.nextField(); in testBadReadType()
414 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamStringTest.java71 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
126 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
198 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
258 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
290 pi.nextField(); in testBadReadType()
299 pi.nextField(); in testBadReadType()
308 pi.nextField(); in testBadReadType()
317 pi.nextField(); in testBadReadType()
326 pi.nextField(); in testBadReadType()
335 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamEnumTest.java75 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
134 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
210 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
275 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
357 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
425 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
457 pi.nextField(); in testBadReadType()
466 pi.nextField(); in testBadReadType()
475 pi.nextField(); in testBadReadType()
484 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamBytesTest.java75 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
136 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
209 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
274 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
309 pi.nextField(); in testBadReadType()
318 pi.nextField(); in testBadReadType()
327 pi.nextField(); in testBadReadType()
336 pi.nextField(); in testBadReadType()
345 pi.nextField(); in testBadReadType()
354 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamFixed32Test.java73 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
133 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
204 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
269 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
338 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
403 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
434 pi.nextField(); in testBadReadType()
443 pi.nextField(); in testBadReadType()
452 pi.nextField(); in testBadReadType()
461 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamSFixed32Test.java73 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
133 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
204 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
269 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
338 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
403 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
434 pi.nextField(); in testBadReadType()
443 pi.nextField(); in testBadReadType()
452 pi.nextField(); in testBadReadType()
461 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamUInt32Test.java75 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
135 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
209 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
274 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
355 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
420 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
451 pi.nextField(); in testBadReadType()
460 pi.nextField(); in testBadReadType()
469 pi.nextField(); in testBadReadType()
478 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamSInt32Test.java73 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
133 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
204 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
269 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
338 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
403 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
434 pi.nextField(); in testBadReadType()
443 pi.nextField(); in testBadReadType()
452 pi.nextField(); in testBadReadType()
461 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamInt32Test.java75 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
135 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
210 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
275 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
356 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
421 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
452 pi.nextField(); in testBadReadType()
461 pi.nextField(); in testBadReadType()
470 pi.nextField(); in testBadReadType()
479 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamSInt64Test.java83 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
153 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
243 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
317 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
404 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
478 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
509 pi.nextField(); in testBadReadType()
518 pi.nextField(); in testBadReadType()
527 pi.nextField(); in testBadReadType()
536 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamInt64Test.java86 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
156 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
250 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
324 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
427 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
501 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
532 pi.nextField(); in testBadReadType()
541 pi.nextField(); in testBadReadType()
550 pi.nextField(); in testBadReadType()
559 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamFixed64Test.java88 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
158 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
258 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
332 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
429 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
503 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
535 pi.nextField(); in testBadReadType()
544 pi.nextField(); in testBadReadType()
553 pi.nextField(); in testBadReadType()
562 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamSFixed64Test.java88 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
158 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
258 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
332 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
429 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
503 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
534 pi.nextField(); in testBadReadType()
543 pi.nextField(); in testBadReadType()
552 pi.nextField(); in testBadReadType()
561 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamUInt64Test.java85 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
155 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
248 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
322 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
423 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
497 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
528 pi.nextField(); in testBadReadType()
537 pi.nextField(); in testBadReadType()
546 pi.nextField(); in testBadReadType()
555 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamFloatTest.java90 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
169 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
269 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
355 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
449 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
535 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
566 pi.nextField(); in testBadReadType()
575 pi.nextField(); in testBadReadType()
584 pi.nextField(); in testBadReadType()
593 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamDoubleTest.java99 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRead()
178 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testReadCompat()
296 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeated()
382 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testRepeatedCompat()
496 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPacked()
582 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testPackedCompat()
614 pi.nextField(); in testBadReadType()
623 pi.nextField(); in testBadReadType()
632 pi.nextField(); in testBadReadType()
641 pi.nextField(); in testBadReadType()
[all …]
DProtoInputStreamIncompleteValueTest.java48 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testIncompleteVarint()
86 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testIncompleteFixed64()
124 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testIncompleteLengthDelimited()
161 while (pi.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in testIncompleteFixed32()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsProto.java47 if (proto.nextField(IntervalStatsProto.StringPool.SIZE)) { in readStringPool()
52 while (proto.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readStringPool()
69 if (proto.nextField(IntervalStatsProto.UsageStats.PACKAGE_INDEX)) { in loadUsageStats()
74 } else if (proto.nextField(IntervalStatsProto.UsageStats.PACKAGE)) { in loadUsageStats()
83 while (proto.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in loadUsageStats()
160 switch (proto.nextField()) { in loadCountAndTime()
184 if (proto.nextField(IntervalStatsProto.UsageStats.ChooserAction.NAME)) { in loadChooserCounts()
199 switch (proto.nextField()) { in loadChooserCounts()
225 switch (proto.nextField()) { in loadCountsForAction()
251 if (proto.nextField(IntervalStatsProto.Configuration.CONFIG)) { in loadConfigStats()
[all …]
DUsageStatsProtoV2.java51 switch (proto.nextField()) { in parseUsageStats()
104 switch (proto.nextField()) { in loadCountAndTime()
127 if (proto.nextField(UsageStatsObfuscatedProto.ChooserAction.ACTION_TOKEN)) { in loadChooserCounts()
140 switch (proto.nextField()) { in loadChooserCounts()
163 switch (proto.nextField()) { in loadCountsForAction()
187 if (proto.nextField(IntervalStatsObfuscatedProto.Configuration.CONFIG)) { in loadConfigStats()
194 switch (proto.nextField()) { in loadConfigStats()
233 switch (proto.nextField()) { in parseEvent()
436 switch (proto.nextField()) { in read()
581 switch (proto.nextField()) { in loadPackagesMap()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java48 if (proto.nextField(NotificationHistoryProto.StringPool.SIZE)) { in readStringPool()
53 while (proto.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readStringPool()
97 switch (parser.nextField()) { in readNotification()
173 switch (parser.nextField()) { in loadIcon()
310 switch (proto.nextField()) { in read()
/frameworks/base/services/people/java/com/android/server/people/data/
DEventHistoryImpl.java258 while (protoInputStream.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in protoStreamReader()
336 while (protoInputStream.nextField() != ProtoInputStream.NO_MORE_FIELDS) {
344 while (protoInputStream.nextField() != ProtoInputStream.NO_MORE_FIELDS) {
DConversationInfo.java315 while (protoInputStream.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readFromProto()
324 while (protoInputStream.nextField() in readFromProto()
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationTest.java180 if (protoIn.nextField(IntervalStatsProto.CONFIGURATIONS)) { in readFromProto()
182 if (protoIn.nextField(IntervalStatsProto.Configuration.CONFIG)) { in readFromProto()
/frameworks/base/core/java/android/util/proto/
DProtoInputStream.java216 public int nextField() throws IOException { in nextField() method in ProtoInputStream
263 public boolean nextField(long fieldId) throws IOException { in nextField() method in ProtoInputStream
264 if (nextField() == (int) fieldId) { in nextField()

12