Home
last modified time | relevance | path

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

/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.java97 @NonNull String fieldName, long fieldId) { in dump() argument
98 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()
DNavigator.java1105 @NonNull String fieldName, long fieldId) {
1106 long fieldToken = dumpOutputStream.start(fieldName, fieldId);
/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/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/apps/Launcher3/tests/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/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/util/
DBluetoothGattUtilsTest.java57 String fieldName = field.getName(); in testGetMessageForStatusCode() local
58 if (!fieldName.startsWith("GATT_") || GATT_HIDDEN_CONSTANTS.contains(fieldName)) { in testGetMessageForStatusCode()
62 assertThat(getMessageForStatusCode(fieldValue)).isEqualTo(fieldName); in testGetMessageForStatusCode()
/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/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DApiHelper.java195 public static int getIntFieldIfExists(Class<?> klass, String fieldName, in getIntFieldIfExists() argument
198 Field f = klass.getDeclaredField(fieldName); in getIntFieldIfExists()
205 private static boolean hasField(Class<?> klass, String fieldName) { in hasField() argument
207 klass.getDeclaredField(fieldName); in hasField()
/packages/services/Car/car-test-lib/src/android/car/test/
DApiHelper.java190 String fieldName = fullyQualifiedFieldName.substring(classSeparator + 1, in getField() local
194 + ", field=" + fieldName); in getField()
200 return clazz.getDeclaredField(fieldName); in getField()
/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/car-lib/src/com/android/car/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/apps/Camera2/src/com/android/camera/util/
DApiHelper.java75 public static int getIntFieldIfExists(Class<?> klass, String fieldName, in getIntFieldIfExists() argument
78 Field f = klass.getDeclaredField(fieldName); in getIntFieldIfExists()
/packages/services/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java113 private Field getField(String fieldName) throws NoSuchFieldException { in getField() argument
114 Field field = mActivity.getClass().getDeclaredField(fieldName); in getField()
/packages/services/Car/service/src/com/android/car/hal/
DClusterHalService.java224 String fieldName) { in hasNoDontCare() argument
235 Slogf.w(TAG, "Don't care should be set in the whole %s.", fieldName); in hasNoDontCare()
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DGenerateAPI.java262 String fieldName = field.getVariables().get(0).getName().asString(); in parseJavaFile() local
273 if (fieldName.equalsIgnoreCase("CREATOR")) { in parseJavaFile()
326 sb.append(fieldName); in parseJavaFile()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/
DTestUtils.java73 public static Object replaceField(final Class c, final String fieldName, final Object obj, in replaceField() argument
75 Field field = c.getDeclaredField(fieldName); in replaceField()
/packages/modules/Permission/service/java/com/android/role/
DRoleUserState.java425 public void dump(@NonNull DualDumpOutputStream dumpOutputStream, @NonNull String fieldName, in dump() argument
436 long fieldToken = dumpOutputStream.start(fieldName, fieldId); in dump()