Home
last modified time | relevance | path

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

/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/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/apps/Camera2/src/com/android/camera/util/
DApiHelper.java76 public static int getIntFieldIfExists(Class<?> klass, String fieldName, in getIntFieldIfExists() argument
79 Field f = klass.getDeclaredField(fieldName); in getIntFieldIfExists()
/packages/services/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java109 private Field getField(String fieldName) throws NoSuchFieldException { in getField() argument
110 Field field = mActivity.getClass().getDeclaredField(fieldName); in getField()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java66 public static Object replaceField(final Class c, final String fieldName, final Object obj, in replaceField() argument
68 Field field = c.getDeclaredField(fieldName); in replaceField()