/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/ |
D | ProtoInputStreamIncompleteValueTest.java | 50 switch (pi.getFieldNumber()) { in testIncompleteVarint() 56 fail("Unexpected field id " + pi.getFieldNumber()); in testIncompleteVarint() 88 switch (pi.getFieldNumber()) { in testIncompleteFixed64() 94 fail("Unexpected field id " + pi.getFieldNumber()); in testIncompleteFixed64() 126 switch (pi.getFieldNumber()) { in testIncompleteLengthDelimited() 132 fail("Unexpected field id " + pi.getFieldNumber()); in testIncompleteLengthDelimited() 163 switch (pi.getFieldNumber()) { in testIncompleteFixed32() 169 fail("Unexpected field id " + pi.getFieldNumber()); in testIncompleteFixed32()
|
D | ProtoInputStreamObjectTest.java | 51 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 …]
|
D | ProtoInputStreamBoolTest.java | 68 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 …]
|
D | ProtoInputStreamEnumTest.java | 76 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 …]
|
D | ProtoInputStreamSInt32Test.java | 74 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 …]
|
D | ProtoInputStreamUInt32Test.java | 76 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 …]
|
D | ProtoInputStreamSFixed32Test.java | 74 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 …]
|
D | ProtoInputStreamFixed32Test.java | 74 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 …]
|
D | ProtoInputStreamInt32Test.java | 76 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 …]
|
D | ProtoInputStreamUInt64Test.java | 86 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 …]
|
D | ProtoInputStreamSFixed64Test.java | 89 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 …]
|
D | ProtoInputStreamSInt64Test.java | 84 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 …]
|
D | ProtoInputStreamInt64Test.java | 87 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 …]
|
D | ProtoInputStreamFixed64Test.java | 89 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 …]
|
D | ProtoInputStreamStringTest.java | 73 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()
|
D | ProtoInputStreamBytesTest.java | 77 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()
|
D | ProtoInputStreamDoubleTest.java | 100 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 …]
|
D | ProtoInputStreamFloatTest.java | 91 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/services/core/java/com/android/server/apphibernation/ |
D | UserLevelHibernationProto.java | 53 if (stream.getFieldNumber() in readFromProto() 60 switch (stream.getFieldNumber()) { in readFromProto() 70 Slog.w(TAG, "Undefined field in proto: " + stream.getFieldNumber()); in readFromProto()
|
D | GlobalLevelHibernationProto.java | 54 if (stream.getFieldNumber() in readFromProto() 61 switch (stream.getFieldNumber()) { in readFromProto() 75 Slog.w(TAG, "Undefined field in proto: " + stream.getFieldNumber()); in readFromProto()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoUtils.java | 90 final int fieldNumber = proto.getFieldNumber(); in currentFieldToString() 95 sb.append("\nField Number : 0x" + Integer.toHexString(proto.getFieldNumber())); in currentFieldToString()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | EventHistoryImpl.java | 259 if (protoInputStream.getFieldNumber() != (int) PeopleEventsProto.EVENTS) { in protoStreamReader() 337 if (protoInputStream.getFieldNumber() 345 switch (protoInputStream.getFieldNumber()) { 358 + protoInputStream.getFieldNumber());
|
D | Event.java | 165 switch (protoInputStream.getFieldNumber()) { in readFromProto() 177 + protoInputStream.getFieldNumber()); in readFromProto()
|
D | ConversationInfo.java | 369 switch (protoInputStream.getFieldNumber()) { in readFromProto() 379 if (protoInputStream.getFieldNumber() == (int) LocusIdProto.LOCUS_ID) { in readFromProto() 416 + protoInputStream.getFieldNumber()); in readFromProto()
|
/frameworks/base/tests/Internal/src/com/android/internal/protolog/ |
D | ProtoLogImplTest.java | 294 if (ip.getFieldNumber() == (int) ProtoLogFileProto.VERSION) { in readProtoLogSingle() 298 if (ip.getFieldNumber() != (int) ProtoLogFileProto.LOG) { in readProtoLogSingle() 304 switch (ip.getFieldNumber()) { in readProtoLogSingle()
|