Home
last modified time | relevance | path

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

12

/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
DProtoInputStreamIncompleteValueTest.java50 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()
DProtoInputStreamObjectTest.java51 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 …]
DProtoInputStreamBoolTest.java68 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 …]
DProtoInputStreamEnumTest.java76 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 …]
DProtoInputStreamSInt32Test.java74 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 …]
DProtoInputStreamUInt32Test.java76 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 …]
DProtoInputStreamSFixed32Test.java74 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 …]
DProtoInputStreamFixed32Test.java74 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 …]
DProtoInputStreamInt32Test.java76 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 …]
DProtoInputStreamUInt64Test.java86 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 …]
DProtoInputStreamSFixed64Test.java89 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 …]
DProtoInputStreamSInt64Test.java84 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 …]
DProtoInputStreamInt64Test.java87 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 …]
DProtoInputStreamFixed64Test.java89 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 …]
DProtoInputStreamStringTest.java73 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()
DProtoInputStreamBytesTest.java77 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()
DProtoInputStreamDoubleTest.java100 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 …]
DProtoInputStreamFloatTest.java91 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/
DUserLevelHibernationProto.java53 if (stream.getFieldNumber() in readFromProto()
60 switch (stream.getFieldNumber()) { in readFromProto()
70 Slog.w(TAG, "Undefined field in proto: " + stream.getFieldNumber()); in readFromProto()
DGlobalLevelHibernationProto.java54 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/
DProtoUtils.java90 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/
DEventHistoryImpl.java259 if (protoInputStream.getFieldNumber() != (int) PeopleEventsProto.EVENTS) { in protoStreamReader()
337 if (protoInputStream.getFieldNumber()
345 switch (protoInputStream.getFieldNumber()) {
358 + protoInputStream.getFieldNumber());
DEvent.java165 switch (protoInputStream.getFieldNumber()) { in readFromProto()
177 + protoInputStream.getFieldNumber()); in readFromProto()
DConversationInfo.java369 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/
DProtoLogImplTest.java294 if (ip.getFieldNumber() == (int) ProtoLogFileProto.VERSION) { in readProtoLogSingle()
298 if (ip.getFieldNumber() != (int) ProtoLogFileProto.LOG) { in readProtoLogSingle()
304 switch (ip.getFieldNumber()) { in readProtoLogSingle()

12