Home
last modified time | relevance | path

Searched refs:fieldName (Results 1 – 25 of 56) sorted by relevance

123

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DDumpUtils.java41 boolean dumpAsProto, @NonNull String fieldName, long fieldId, in writeFocusDirection() argument
44 dumpOutputStream.write(fieldName, fieldId, Navigator.directionToString(focusDirection)); in writeFocusDirection()
64 dumpOutputStream.write(fieldName, fieldId, val); in writeFocusDirection()
69 @NonNull String fieldName, long fieldId) { in writeRect() argument
70 long fieldToken = dumpOutputStream.start(fieldName, fieldId); in writeRect()
80 boolean dumpAsProto, @NonNull String fieldName, long fieldId, in writeAfterScrollAction() argument
83 dumpOutputStream.write(fieldName, fieldId, afterScrollAction); in writeAfterScrollAction()
107 dumpOutputStream.write(fieldName, fieldId, val); in writeAfterScrollAction()
112 @NonNull String fieldName, long fieldId, @Nullable ComponentName componentName) { in writeComponentNameToString() argument
113 dumpOutputStream.write(fieldName, fieldId, in writeComponentNameToString()
[all …]
DSurfaceViewHelper.java102 @NonNull String fieldName, long fieldId) { in dump() argument
103 long fieldToken = dumpOutputStream.start(fieldName, fieldId); in dump()
DWindowCache.java123 @NonNull String fieldName, long fieldId) { in dump() argument
124 long fieldToken = dumpOutputStream.start(fieldName, fieldId); in dump()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParser.java256 int parsed = parseObjectEntry(reader, (String fieldName) -> { in parseJsonConfig()
257 if (!fieldName.equals(JSON_FIELD_NAME_ROOT)) { in parseJsonConfig()
326 int parsed = parseObjectEntry(reader, (String fieldName) -> { in parseEachProperty()
327 switch (fieldName) { in parseEachProperty()
329 vehiclePropConfig.prop = parseIntValue(reader, fieldName, errors); in parseEachProperty()
332 vehiclePropConfig.configString = parseStringValue(reader, fieldName, in parseEachProperty()
336 vehiclePropConfig.minSampleRate = parseFloatValue(reader, fieldName, in parseEachProperty()
340 vehiclePropConfig.maxSampleRate = parseFloatValue(reader, fieldName, in parseEachProperty()
344 vehiclePropConfig.access = parseIntValue(reader, fieldName, errors); in parseEachProperty()
348 vehiclePropConfig.changeMode = parseIntValue(reader, fieldName, errors); in parseEachProperty()
[all …]
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DFinalClassField.java28 private FinalClassField(final Field field, final String className, final String fieldName, in FinalClassField() argument
31 this.name = fieldName; in FinalClassField()
56 public static <T> FinalClassField<T> newInstance(final String className, final String fieldName, in newInstance() argument
59 return newInstance(Class.forName(className), fieldName, compatValue); in newInstance()
61 return new FinalClassField<>(null, className, fieldName, compatValue); in newInstance()
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/data/
DFieldData.java21 public final String fieldName; field in FieldData
28 public FieldData(String fieldName, String fieldType) { in FieldData() argument
29 this.fieldName = fieldName; in FieldData()
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/analysis/impl/
DChroniclePolicyEngine.kt112 dtd.fields.forEach { (fieldName, type) -> in <lambda>() method
114 .find { it.fieldPath.last() == fieldName } in <lambda>()
118 "${dtd.name}.$fieldName", in <lambda>()
129 ?: violatingFields.add("${dtd.name}.$fieldName") in <lambda>()
184 this.fields.forEach { (fieldName, type) -> in <lambda>() method
186 .find { it.fieldPath.last() == fieldName } in <lambda>()
189 type.findPolicyViolations("$prefix.$fieldName", it, hasPolicyViolation, context) in <lambda>()
192 ?: violatingFields.add("$prefix.$fieldName") in <lambda>()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java245 public @NonNull Builder add(@NonNull String fieldName, @NonNull String value) { in add() argument
246 mNamesAndValues.add(fieldName); in add()
251 public @NonNull Builder set(@NonNull String fieldName, @NonNull String value) { in set() argument
252 return removeAll(fieldName).add(fieldName, value); in set()
255 private Builder removeAll(String fieldName) { in removeAll() argument
257 if (fieldName.equalsIgnoreCase(mNamesAndValues.get(i))) { in removeAll()
269 String fieldName = mNamesAndValues.get(i); in build() local
273 List<String> others = headers.get(fieldName); in build()
278 headers.put(fieldName, Collections.unmodifiableList(values)); in build()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DReflectionHelpers.java31 public static <R> R getField(Object object, String fieldName) { in getField() argument
33 Field field = object.getClass().getDeclaredField(fieldName); in getField()
48 public static void setField(Object object, String fieldName, Object fieldNewValue) { in setField() argument
50 Field field = object.getClass().getDeclaredField(fieldName); in setField()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DDatabaseHelperTest.java43 String fieldName = declaredField.getName(); in nonSingletons_doNotHaveCentralState() local
49 + fieldName) in nonSingletons_doNotHaveCentralState()
53 assertWithMessage(className + " has non-static member variable " + fieldName) in nonSingletons_doNotHaveCentralState()
56 assertWithMessage(className + " has non-final member variable " + fieldName) in nonSingletons_doNotHaveCentralState()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DStackEventTest.java65 String fieldName = field.getName(); in testToString_allEventFields_toStringMatchesName() local
66 if (fieldName.startsWith("EVENT_TYPE")) { in testToString_allEventFields_toStringMatchesName()
69 if (fieldName.equals("EVENT_TYPE_UNKNOWN_EVENT")) { in testToString_allEventFields_toStringMatchesName()
74 assertThat(eventTypeToString).isEqualTo(fieldName); in testToString_allEventFields_toStringMatchesName()
/packages/providers/MediaProvider/errorprone/src/com/google/errorprone/matchers/
DFieldMatchers.java49 public static Matcher<ExpressionTree> staticField(String className, String fieldName) {
58 return symbol.isStatic() && symbol.getSimpleName().contentEquals(fieldName);
63 public static Matcher<ExpressionTree> instanceField(String className, String fieldName) {
72 return !symbol.isStatic() && symbol.getSimpleName().contentEquals(fieldName);
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DInsertRecordFragment.kt296 val fieldName = entry.key in <lambda>() constant
300 field = EnumDropDown(this.requireContext(), fieldName, enumFieldsWithValues) in <lambda>()
302 mFieldNameToFieldInput[fieldName] = field in <lambda>()
329 var fieldName: String? = null in <lambda>() variable
333 fieldName = "mFloors" in <lambda>()
334 field = EditableTextView(this.requireContext(), fieldName, INPUT_TYPE_INT) in <lambda>()
337 fieldName = "mExerciseRoute" in <lambda>()
341 fieldName, in <lambda>()
345 if (field != null && fieldName != null) { in <lambda>()
347 mFieldNameToFieldInput[fieldName] = field in <lambda>()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt91 fieldName: String, in getStringValue()
93 return mFieldNameToFieldInput[fieldName]?.getFieldValue().toString() in getStringValue()
98 fieldName: String, in getIntegerValue()
100 return getStringValue(mFieldNameToFieldInput, fieldName).toInt() in getIntegerValue()
105 fieldName: String, in getLongValue()
107 return getStringValue(mFieldNameToFieldInput, fieldName).toLong() in getLongValue()
112 fieldName: String, in getDoubleValue()
114 return getStringValue(mFieldNameToFieldInput, fieldName).toDouble() in getDoubleValue()
137 fieldName: String, in getMass()
139 return Mass.fromGrams(getDoubleValue(mFieldNameToFieldInput, fieldName)) in getMass()
[all …]
DEnumFieldsWithValues.kt24 fun getFieldValue(fieldName: String): Any { in getFieldValue()
25 return fieldNameToValue.getOrElse(fieldName) { in getFieldValue()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/fieldviews/
DEditableTextView.kt26 class EditableTextView(context: Context, fieldName: String?, inputType: Int) :
32 if (fieldName == null) {
35 textView.text = fieldName
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DJsonValidator.java45 public JsonValidator(@NonNull String className, @NonNull String fieldName) { in JsonValidator() argument
47 Preconditions.checkStringNotEmpty(fieldName); in JsonValidator()
50 mFieldName = fieldName; in JsonValidator()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DApiHelper.java198 public static int getIntFieldIfExists(Class<?> klass, String fieldName, in getIntFieldIfExists() argument
201 Field f = klass.getDeclaredField(fieldName); in getIntFieldIfExists()
208 private static boolean hasField(Class<?> klass, String fieldName) { in hasField() argument
210 if (f.getName().equals(fieldName)) { in hasField()
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-oauth-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-oauth-client-1.31.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DAtomFieldAccessor.java38 @NonNull String fieldName, in AtomFieldAccessor()
41 mFieldName = fieldName; in AtomFieldAccessor()
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/tests/
DParsedDataBuilderTest.java119 assertThat(fieldData.fieldName).isEqualTo("FIELD_1"); in testFieldDataAndAnnotationData()
139 assertThat(fieldData.fieldName).isEqualTo("FIELD_2"); in testFieldDataAndAnnotationData()
159 assertThat(fieldData.fieldName).isEqualTo("FIELD_3"); in testFieldDataAndAnnotationData()
179 assertThat(fieldData.fieldName).isEqualTo("FIELD_4"); in testFieldDataAndAnnotationData()
199 assertThat(fieldData.fieldName).isEqualTo("FIELD_5"); in testFieldDataAndAnnotationData()
219 assertThat(fieldData.fieldName).isEqualTo("FIELD_6"); in testFieldDataAndAnnotationData()
/packages/services/Car/libs/car-test-lib/src/android/car/test/
DApiHelper.java212 String fieldName = fullyQualifiedFieldName.substring(classSeparator + 1, in getField() local
216 + ", field=" + fieldName); in getField()
222 return clazz.getDeclaredField(fieldName); in getField()
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/
DDataClass.java273 void acceptObject(THIS self, String fieldName, Object fieldValue); in acceptObject() argument
283 void acceptInt(THIS self, String fieldName, int fieldValue); in acceptInt() argument
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DDataClass.java272 void acceptObject(THIS self, String fieldName, Object fieldValue); in acceptObject() argument
282 void acceptInt(THIS self, String fieldName, int fieldValue); in acceptInt() argument

123