Home
last modified time | relevance | path

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

123

/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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
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/core/java/com/android/server/powerstats/
DProtoStreamUtils.java164 int nextField = pis.nextField(); in unpackProtoMessage() local
167 if (nextField == (int) PowerStatsServiceResidencyProto.STATE_RESIDENCY_RESULT) { in unpackProtoMessage()
172 } else if (nextField == ProtoInputStream.NO_MORE_FIELDS) { in unpackProtoMessage()
193 switch (pis.nextField()) { in unpackStateResidencyResultProto()
227 switch (pis.nextField()) { in unpackStateResidencyProto()
358 int nextField = pis.nextField(); in unpackProtoMessage() local
361 if (nextField == (int) PowerStatsServiceMeterProto.ENERGY_MEASUREMENT) { in unpackProtoMessage()
365 } else if (nextField == ProtoInputStream.NO_MORE_FIELDS) { in unpackProtoMessage()
385 switch (pis.nextField()) { in unpackEnergyMeasurementProto()
460 int nextField = pis.nextField(); in unpackProtoMessage() local
[all …]
/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()
164 switch (proto.nextField()) { in loadCountAndTime()
188 if (proto.nextField(IntervalStatsProto.UsageStats.ChooserAction.NAME)) { in loadChooserCounts()
203 switch (proto.nextField()) { in loadChooserCounts()
229 switch (proto.nextField()) { in loadCountsForAction()
255 if (proto.nextField(IntervalStatsProto.Configuration.CONFIG)) { in loadConfigStats()
[all …]
DUsageStatsProtoV2.java57 switch (proto.nextField()) { in parseUsageStats()
114 switch (proto.nextField()) { in loadCountAndTime()
137 if (proto.nextField(UsageStatsObfuscatedProto.ChooserAction.ACTION_TOKEN)) { in loadChooserCounts()
150 switch (proto.nextField()) { in loadChooserCounts()
173 switch (proto.nextField()) { in loadCountsForAction()
197 if (proto.nextField(IntervalStatsObfuscatedProto.Configuration.CONFIG)) { in loadConfigStats()
204 switch (proto.nextField()) { in loadConfigStats()
243 switch (proto.nextField()) { in parseEvent()
465 switch (proto.nextField()) { in read()
613 switch (proto.nextField()) { in loadPackagesMap()
[all …]
/frameworks/base/tests/testables/src/android/testing/
DTestWithLooperRule.java130 Field nextField = base.getClass().getDeclaredField(fieldStr); in getNextStatement() local
131 nextField.setAccessible(true); in getNextStatement()
132 Object value = nextField.get(base); in getNextStatement()
/frameworks/base/services/core/java/com/android/server/apphibernation/
DUserLevelHibernationProto.java52 while (stream.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readFromProto()
59 while (stream.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readFromProto()
DGlobalLevelHibernationProto.java53 while (stream.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readFromProto()
60 while (stream.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readFromProto()
/frameworks/base/core/java/com/android/internal/protolog/
DProtoLogViewerConfigReader.java64 while (pis.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in doLoadViewerConfig()
70 while (pis.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in doLoadViewerConfig()

123