Home
last modified time | relevance | path

Searched refs:fieldName (Results 1 – 7 of 7) 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/UnifiedEmail/src/org/apache/james/mime4j/
DMimeStreamParser.java283 String fieldName = field.substring(0, index).trim(); in parseHeader() local
284 for (int i = 0; i < fieldName.length(); i++) { in parseHeader()
285 if (!fieldChars.get(fieldName.charAt(i))) { in parseHeader()
293 bd.addField(fieldName, field.substring(index + 1)); in parseHeader()
/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/Telephony/tests/src/com/android/phone/
DCallFeaturesSettingTest.java101 private Field getField(String fieldName) throws NoSuchFieldException { in getField() argument
102 Field field = mActivity.getClass().getDeclaredField(fieldName); in getField()
/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/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()