/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamObjectTest.java | 50 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 …]
|
D | ProtoInputStreamBoolTest.java | 67 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 …]
|
D | ProtoInputStreamStringTest.java | 71 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 …]
|
D | ProtoInputStreamEnumTest.java | 75 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 …]
|
D | ProtoInputStreamBytesTest.java | 75 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 …]
|
D | ProtoInputStreamFixed32Test.java | 73 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 …]
|
D | ProtoInputStreamSFixed32Test.java | 73 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 …]
|
D | ProtoInputStreamUInt32Test.java | 75 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 …]
|
D | ProtoInputStreamSInt32Test.java | 73 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 …]
|
D | ProtoInputStreamInt32Test.java | 75 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 …]
|
D | ProtoInputStreamSInt64Test.java | 83 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 …]
|
D | ProtoInputStreamInt64Test.java | 86 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 …]
|
D | ProtoInputStreamFixed64Test.java | 88 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 …]
|
D | ProtoInputStreamSFixed64Test.java | 88 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 …]
|
D | ProtoInputStreamUInt64Test.java | 85 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 …]
|
D | ProtoInputStreamFloatTest.java | 90 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 …]
|
D | ProtoInputStreamDoubleTest.java | 99 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 …]
|
D | ProtoInputStreamIncompleteValueTest.java | 48 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/ |
D | UsageStatsProto.java | 47 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 …]
|
D | UsageStatsProtoV2.java | 51 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/ |
D | NotificationHistoryProtoHelper.java | 48 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/ |
D | EventHistoryImpl.java | 258 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) {
|
D | ConversationInfo.java | 315 while (protoInputStream.nextField() != ProtoInputStream.NO_MORE_FIELDS) { in readFromProto() 324 while (protoInputStream.nextField() in readFromProto()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ConfigurationTest.java | 180 if (protoIn.nextField(IntervalStatsProto.CONFIGURATIONS)) { in readFromProto() 182 if (protoIn.nextField(IntervalStatsProto.Configuration.CONFIG)) { in readFromProto()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoInputStream.java | 216 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()
|