/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/ |
D | reader_test.js | 96 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 …]
|
D | reader.js | 194 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/ |
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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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/core/java/android/util/proto/ |
D | ProtoUtils.java | 82 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/ |
D | Chunk.java | 24 switch (inputStream.getFieldNumber()) { in readFromProto()
|
D | ChunkListingMap.java | 49 if (inputStream.getFieldNumber() == (int) ChunksMetadataProto.ChunkListing.CHUNKS) { in readFromProto()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/ |
D | map.js | 403 var field = reader.getFieldNumber();
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsProto.java | 53 switch (proto.getFieldNumber()) { in readStringPool() 84 switch (proto.getFieldNumber()) { in loadUsageStats()
|
/frameworks/base/core/java/android/app/ |
D | WindowConfiguration.java | 608 switch (proto.getFieldNumber()) { in readFromProto()
|