Home
last modified time | relevance | path

Searched refs:fields (Results 1 – 25 of 91) sorted by relevance

1234

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DClassItem.kt175 fun fields(): List<FieldItem> in <lambda>() method
179 return fields().asSequence().plus(constructors().asSequence()).plus(methods().asSequence()) in <lambda>()
271 for (field in fields()) { in <lambda>()
276 for (field in fields()) { in <lambda>()
282 for (field in fields()) { in <lambda>()
342 for (field in fields()) { in <lambda>()
463 val field = fields().firstOrNull { it.name() == fieldName } in <lambda>()
588 val fields = LinkedHashSet<FieldItem>() in <lambda>() constant
594 for (field in clazz.fields()) { in <lambda>()
598 fields.remove(duplicated) in <lambda>()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt254 val fields = cls.filteredFields(filterReference, showUnannotated).asSequence() in <lambda>() constant
260 cls, methods, constructors, allMethods, fields, superClass, interfaces, in <lambda>()
302 fields: Sequence<FieldItem>, in <lambda>()
312 checkParcelable(cls, methods, constructors, fields) in <lambda>()
314 checkHelperClasses(cls, methods, fields) in <lambda>()
318 checkLayering(cls, methodsAndConstructors, fields) in <lambda>()
320 checkFlags(fields) in <lambda>()
321 checkGoogle(cls, methods, fields) in <lambda>()
323 checkStaticUtils(cls, methods, constructors, fields) in <lambda>()
325 checkResourceNames(cls, fields) in <lambda>()
[all …]
/tools/tradefederation/core/atest/proto/
Dinternal_user_log_pb2.py38 fields=[
89 fields=[
140 fields=[
198 fields=[
242 fields=[
286 fields=[
337 fields=[
367 fields=[
404 fields=[
495 index=0, containing_type=None, fields=[]),
[all …]
Dexternal_user_log_pb2.py38 fields=[
61 fields=[
98 fields=[
135 fields=[
172 fields=[
216 fields=[
246 fields=[
283 fields=[
374 index=0, containing_type=None, fields=[]),
400 _ATESTLOGEVENTEXTERNAL.oneofs_by_name['event'].fields.append(
[all …]
Dclientanalytics_pb2.py36 fields=[
88 fields=[
119 fields=[
150 fields=[
/tools/asuite/atest/proto/
Dinternal_user_log_pb2.py38 fields=[
89 fields=[
140 fields=[
198 fields=[
242 fields=[
286 fields=[
337 fields=[
367 fields=[
404 fields=[
495 index=0, containing_type=None, fields=[]),
[all …]
Dexternal_user_log_pb2.py38 fields=[
61 fields=[
98 fields=[
135 fields=[
172 fields=[
216 fields=[
246 fields=[
283 fields=[
374 index=0, containing_type=None, fields=[]),
400 _ATESTLOGEVENTEXTERNAL.oneofs_by_name['event'].fields.append(
[all …]
Dclientanalytics_pb2.py36 fields=[
88 fields=[
119 fields=[
150 fields=[
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/google/protobuf/
Ddescriptor_pb2.py197 fields=[
228 fields=[
336 fields=[
373 fields=[
453 fields=[
542 fields=[
573 fields=[
618 fields=[
663 fields=[
708 fields=[
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java148 List<AnnotatedField> fields = getAnnotatedFields(containerClass); in parseChoice() local
149 if (fields.isEmpty()) { in parseChoice()
156 for (int i = 0; i < fields.size() - 1; i++) { in parseChoice()
157 AnnotatedField f1 = fields.get(i); in parseChoice()
160 for (int j = i + 1; j < fields.size(); j++) { in parseChoice()
161 AnnotatedField f2 = fields.get(j); in parseChoice()
182 for (AnnotatedField field : fields) { in parseChoice()
202 List<AnnotatedField> fields = getAnnotatedFields(containerClass); in parseSequence() local
204 fields, (f1, f2) -> f1.getAnnotation().index() - f2.getAnnotation().index()); in parseSequence()
206 if (fields.size() > 1) { in parseSequence()
[all …]
DAsn1DerEncoder.java77 List<AnnotatedField> fields = getAnnotatedFields(container); in toChoice() local
78 if (fields.isEmpty()) { in toChoice()
85 for (AnnotatedField field : fields) { in toChoice()
113 List<AnnotatedField> fields = getAnnotatedFields(container); in toSequence() local
115 fields, (f1, f2) -> f1.getAnnotation().index() - f2.getAnnotation().index()); in toSequence()
116 if (fields.size() > 1) { in toSequence()
118 for (AnnotatedField field : fields) { in toSequence()
130 List<byte[]> serializedFields = new ArrayList<>(fields.size()); in toSequence()
132 for (AnnotatedField field : fields) { in toSequence()
/tools/asuite/atest/tools/tradefederation/core/proto/
Dmetric_measurement_pb2.py96 fields=[
152 index=0, containing_type=None, fields=[]),
165 fields=[
196 fields=[
227 fields=[
258 fields=[
306 _MEASUREMENTS.oneofs_by_name['measurement'].fields.append(
309 _MEASUREMENTS.oneofs_by_name['measurement'].fields.append(
312 _MEASUREMENTS.oneofs_by_name['measurement'].fields.append(
315 _MEASUREMENTS.oneofs_by_name['measurement'].fields.append(
[all …]
Dtest_record_pb2.py135 fields=[
172 fields=[
209 fields=[
317 fields=[
345 index=0, containing_type=None, fields=[]),
358 fields=[
410 fields=[
461 _CHILDREFERENCE.oneofs_by_name['reference'].fields.append(
464 _CHILDREFERENCE.oneofs_by_name['reference'].fields.append(
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt151 private lateinit var fields: List<FieldItem> in <lambda>() variable
165 override fun fields(): List<FieldItem> = fields in <lambda>() method
222 for (field in fields) { in <lambda>()
280 fields: List<FieldItem> in <lambda>()
286 this.fields = fields in <lambda>()
486 val fields: MutableList<FieldItem> = mutableListOf() in <lambda>() constant
487 val psiFields = psiClass.fields in <lambda>()
490 .mapTo(fields) { in <lambda>()
503 for (method in fields) { in <lambda>()
512 item.fields = fields in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java331 OptionFieldsForName fields = fieldsForArgNoThrow(name); in fieldsForArg() local
332 if (fields == null) { in fieldsForArg()
336 return fields; in fieldsForArg()
340 OptionFieldsForName fields = mOptionMap.get(name); in fieldsForArgNoThrow() local
341 if (fields == null || fields.size() == 0) { in fieldsForArgNoThrow()
344 return fields; in fieldsForArgNoThrow()
902 OptionFieldsForName fields = optionMap.get(name); in addNameToMap() local
903 if (fields == null) { in addNameToMap()
904 fields = new OptionFieldsForName(); in addNameToMap()
905 optionMap.put(name, fields); in addNameToMap()
[all …]
/tools/apksig/src/main/java/com/android/apksig/
DHints.java107 String[] fields = line.split(" "); in parsePinPatterns() local
108 if (fields.length == 1) { in parsePinPatterns()
109 pinPatterns.add(new PatternWithRange(fields[0])); in parsePinPatterns()
110 } else if (fields.length == 3) { in parsePinPatterns()
111 long start = Long.parseLong(fields[1]); in parsePinPatterns()
112 long end = Long.parseLong(fields[2]); in parsePinPatterns()
113 pinPatterns.add(new PatternWithRange(fields[0], start, end - start)); in parsePinPatterns()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java220 OptionFieldsForName fields = mOptionMap.get(name); in fieldsForArg() local
221 if (fields == null || fields.size() == 0) { in fieldsForArg()
225 return fields; in fieldsForArg()
678 OptionFieldsForName fields = optionMap.get(name); in addNameToMap() local
679 if (fields == null) { in addNameToMap()
680 fields = new OptionFieldsForName(); in addNameToMap()
681 optionMap.put(name, fields); in addNameToMap()
684 fields.addField(name, optionSource, field); in addNameToMap()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/loggers/protos/
Dbluetooth_metric_pb2.py121 fields=[
201 fields=[
246 fields=[
340 fields=[
434 fields=[
487 fields=[
546 fields=[
648 fields=[
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dnanopb.proto31 // fields.
33 // Allocated size for 'bytes' and 'string' fields.
36 // Allocated number of entries in arrays ('repeated' fields)
39 // Size of integer fields. Can save some memory if you don't need
57 // Generate oneof fields as normal optional fields instead of union.
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto371 // Note that the message cannot have any defined fields; MessageSets only
383 // from proto1 easier; new code should avoid fields named "descriptor".
395 // For maps fields:
436 // The packed option can be enabled for repeated primitive fields to enable
445 // fields. It means that when the outer message is initially parsed, the
462 // Note that implementations may choose not to check required fields within
464 // may return true even if the inner message has missing required fields.
467 // parsing. An implementation which chooses not to check required fields
469 // implementation must either *always* check its required fields, or *never*
470 // check its required fields, regardless of whether or not the message has
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/gen/
Dapollo_qa_pb2.py384 fields=[
429 fields=[
523 fields=[
561 fields=[
613 fields=[
645 fields=[
669 fields=[
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java1085 String[] fields = item.split(regex); in setOptionToLoadedObject() local
1087 if (fields.length == 3) { in setOptionToLoadedObject()
1088 String target = fields[0]; in setOptionToLoadedObject()
1090 key = fields[1]; in setOptionToLoadedObject()
1092 fields[2].replaceAll( in setOptionToLoadedObject()
1102 } else if (fields.length == 2) { in setOptionToLoadedObject()
1103 key = fields[0]; in setOptionToLoadedObject()
1104 value = fields[1].replaceAll(Pattern.quote(esc) + Pattern.quote(delim), delim); in setOptionToLoadedObject()
/tools/tradefederation/contrib/src/com/android/build/tests/
DImageStats.java174 String[] fields = line.trim().split("\\s+"); in parseFileSizes() local
175 if (fields.length != 2) { in parseFileSizes()
181 size = Long.parseLong(fields[0]); in parseFileSizes()
183 CLog.w("Failed to parse file size from field '%s', ignored", fields[0]); in parseFileSizes()
186 ret.put(fields[1], size); in parseFileSizes()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt189 private val fields = mutableListOf<FieldItem>() constant
194 override fun fields(): List<FieldItem> = fields in constructors() method
210 fields += field in addField()
219 fields += field in addEnumConstant()
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt91 Some IPv4 header fields have been dropped or made optional, to
363 octet fields within each extension header are aligned on their
364 natural boundaries, i.e., fields of width n octets are placed at an
530 ensure that multi-octet values within Option Data fields fall on
552 not have length and value fields.
907 Routing header fields on each segment of the delivery path would be
1540 corruption of those fields of the IPv6 header on which it depends,
1745 This appendix gives some advice on how to lay out the fields when
1750 o One desirable feature is that any multi-octet fields within the
1752 boundaries, i.e., fields of width n octets should be placed at
[all …]

1234