Home
last modified time | relevance | path

Searched refs:Field (Results 1 – 25 of 28) sorted by relevance

12

/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DGameCoreConfigurationXmlParser.java43 public enum Field { enum in GameCoreConfigurationXmlParser
65 Field(String tag, String defaultValue) { in Field() method in GameCoreConfigurationXmlParser.Field
132 getElement(element, Field.NAME), in createCertificationRequirements()
133 Float.parseFloat(getElement(element, Field.TARGET_FRAME_TIME)), in createCertificationRequirements()
134 Float.parseFloat(getElement(element, Field.MAX_JANK_RATE)), in createCertificationRequirements()
135 Integer.parseInt(getElement(element, Field.MAX_LOAD_TIME))); in createCertificationRequirements()
146 List<ApkInfo.Argument> args = parseList(element, Field.ARGS.getTag(), this::createArgument); in createApkInfo()
152 getElement(element, Field.NAME), in createApkInfo()
153 getElement(element, Field.FILE_NAME), in createApkInfo()
154 getElement(element, Field.PACKAGE_NAME), in createApkInfo()
[all …]
DApkInfo.java19 import com.android.game.qualification.GameCoreConfigurationXmlParser.Field;
84 checkNotNull(name, Field.NAME.getTag()); in ApkInfo()
85 checkNotNull(fileName, Field.FILE_NAME.getTag()); in ApkInfo()
86 checkNotNull(packageName, Field.PACKAGE_NAME.getTag()); in ApkInfo()
87 checkNotNull(layerName, Field.LAYER_NAME.getTag()); in ApkInfo()
DCertificationRequirements.java18 import com.android.game.qualification.GameCoreConfigurationXmlParser.Field;
31 checkNotNull(name, Field.NAME.getTag()); in CertificationRequirements()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java23 import java.lang.reflect.Field;
153 private class OptionFieldsForName implements Iterable<Map.Entry<Object, Field>> {
155 private Map<Object, Field> mSourceFieldMap = new HashMap<Object, Field>();
157 void addField(String name, Object source, Field field) throws ConfigurationException { in addField()
180 public Field getFirstField() throws ConfigurationException { in getFirstField()
197 public Iterator<Map.Entry<Object, Field>> iterator() { in iterator()
247 for (Map.Entry<Object, Field> fieldEntry : optionFields) { in setOptionValue()
250 Field field = fieldEntry.getValue(); in setOptionValue()
273 static void setFieldValue(String optionName, Object optionSource, Field field, Object value) in setFieldValue()
340 for (Map.Entry<Object, Field> fieldEntry : optionFields) { in setOptionMapValue()
[all …]
DArgsOptionParser.java20 import java.lang.reflect.Field;
333 Collection<Field> optionFields = OptionSetter.getOptionFieldsForClass( in getOptionHelp()
336 for (Field field : optionFields) { in getOptionHelp()
397 private static String buildOptionNameHelp(Field field, final Option option) { in buildOptionNameHelp()
DOptionUpdateRule.java19 import java.lang.reflect.Field;
99 public Object update(String optionName, Object optionSource, Field field, Object update) in update()
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionCopier.java21 import java.lang.reflect.Field;
41 Collection<Field> origFields = OptionSetter.getOptionFieldsForClass(origObject.getClass()); in copyOptions()
42 Map<String, Field> destFieldMap = getFieldOptionMap(destObject); in copyOptions()
43 for (Field origField : origFields) { in copyOptions()
45 Field destField = destFieldMap.remove(option.name()); in copyOptions()
72 private static Map<String, Field> getFieldOptionMap(Object destObject) { in getFieldOptionMap()
73 Collection<Field> destFields = OptionSetter.getOptionFieldsForClass(destObject.getClass()); in getFieldOptionMap()
74 Map<String, Field> fieldMap = new HashMap<String, Field>(destFields.size()); in getFieldOptionMap()
75 for (Field field : destFields) { in getFieldOptionMap()
DOptionSetter.java29 import java.lang.reflect.Field;
103 Field field;
106 FieldDef(Object object, Field field, Object key) { in FieldDef()
204 private Handler getHandlerOrTimeVal(Field field, Object optionSource) in getHandlerOrTimeVal()
253 protected class OptionFieldsForName implements Iterable<Map.Entry<Object, Field>> {
255 private Map<Object, Field> mSourceFieldMap = new HashMap<Object, Field>();
257 void addField(String name, Object source, Field field) throws ConfigurationException { in addField()
281 public Field getFirstField() throws ConfigurationException { in getFirstField()
298 public Iterator<Map.Entry<Object, Field>> iterator() { in iterator()
377 for (Map.Entry<Object, Field> fieldEntry : optionFields) { in setOptionValue()
[all …]
DArgsOptionParser.java23 import java.lang.reflect.Field;
447 Collection<Field> optionFields = OptionSetter.getOptionFieldsForClass( in getOptionHelp()
450 for (Field field : optionFields) { in getOptionHelp()
513 private static String buildOptionNameHelp(Field field, final Option option) { in buildOptionNameHelp()
DDynamicRemoteFileResolver.java27 import java.lang.reflect.Field;
74 for (Map.Entry<Object, Field> fieldEntry : optionFields) { in validateRemoteFilePath()
76 final Field field = fieldEntry.getValue(); in validateRemoteFilePath()
DOptionUpdateRule.java19 import java.lang.reflect.Field;
86 public boolean shouldUpdate(String optionName, Object optionSource, Field field, Object update) in shouldUpdate()
DConfigurationUtil.java28 import java.lang.reflect.Field;
138 for (Field field : OptionSetter.getOptionFieldsForClass(obj.getClass())) { in dumpOptionsToXml()
DConfiguration.java60 import java.lang.reflect.Field;
1118 private JSONObject getOptionJson(Object optionObject, Field field) throws JSONException { in getOptionJson()
1237 Collection<Field> optionFields = OptionSetter in getJsonCommandUsage()
1240 for (Field field : optionFields) { in getJsonCommandUsage()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java26 import java.lang.reflect.Field;
333 private static Class<?> getElementType(Field field) in getElementType()
351 private final Field mField;
360 public AnnotatedField(Field field, Asn1Field annotation) throws Asn1DecodingException { in AnnotatedField()
396 public Field getField() { in getField()
531 Field[] declaredFields = containerClass.getDeclaredFields(); in getAnnotatedFields()
533 for (Field field : declaredFields) { in getAnnotatedFields()
562 Object obj, Field field, Asn1Type type, BerDataValue dataValue) in setFieldValue()
DAsn1DerEncoder.java22 import java.lang.reflect.Field;
216 Field[] declaredFields = containerClass.getDeclaredFields(); in getAnnotatedFields()
218 for (Field field : declaredFields) { in getAnnotatedFields()
336 private static Object getMemberFieldValue(Object obj, Field field) in getMemberFieldValue()
347 private final Field mField;
358 public AnnotatedField(Object obj, Field field, Asn1Field annotation) in AnnotatedField()
397 public Field getField() { in getField()
/tools/dexter/slicer/export/slicer/
Dcode_ir.h67 struct Field;
103 virtual bool Visit(Field* field) { return false; } in Visit()
204 struct Field : public IndexedOperand { struct
207 Field(ir::FieldDecl* ir_field, dex::u4 index) : IndexedOperand(index), ir_field(ir_field) {} in Field() function
282 bool Visit(Field* val) override {
/tools/loganalysis/tests/src/com/android/loganalysis/util/config/
DOptionSetterTest.java23 import java.lang.reflect.Field;
788 Field field = AllTypesOptionSource.class.getDeclaredField("mEnum"); in testEnumDocs()
/tools/dexter/dexter/
Ddissasembler.h47 virtual bool Visit(lir::Field* field) override;
Ddissasembler.cc204 bool PrintCodeIrVisitor::Visit(lir::Field* field) { in Visit()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DOptionSetterTest.java33 import java.lang.reflect.Field;
958 Field field = AllTypesOptionSource.class.getDeclaredField("mEnum"); in testEnumDocs()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DErrors.java22 import java.lang.reflect.Field;
351 for (Field field : Errors.class.getDeclaredFields()) {
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DItem.kt321 … "${if (capitalize) "Field" else "field"} ${item.containingClass().qualifiedName()}.${item.name()}" in psi()
/tools/metalava/src/main/java/com/android/tools/metalava/
DAnnotationsMerger.kt77 import java.lang.reflect.Field
610 var reflectionFields: Array<Field>? = null in createAnnotation()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java54 import java.lang.reflect.Field;
782 Field f = emulatorProcess.getClass().getDeclaredField("pid"); in forceKillProcess()
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFileTest.kt2720 fun `Indirect Field Includes from Interfaces`() { in Indirect Field Includes from Interfaces()

12