Home
last modified time | relevance | path

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

12

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DProcessBindableTest.java58 for (String fieldName : EXPECTED_BINDING_NAMES) { in testFieldsGenerated()
59 assertTrue("missing field: " + fieldName, fieldValues.containsKey(fieldName)); in testFieldsGenerated()
60 assertFalse(values.contains(fieldValues.get(fieldName))); in testFieldsGenerated()
61 values.add(fieldValues.get(fieldName)); in testFieldsGenerated()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DJsonParser.java47 String fieldName = reader.nextName(); in parse() local
49 if (output.has(fieldName)) { in parse()
57 output.put(fieldName, new JSONArray(parseArray(reader))); in parse()
59 output.put(fieldName, reader.nextString()); in parse()
62 output.put(fieldName, parse(reader)); in parse()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
DBaseDataBinderTest.java119 protected void assertField(Class<?> klass, String fieldName) throws NoSuchFieldException { in assertField() argument
120 assertEquals(klass, mBinder.getClass().getDeclaredField(fieldName).getType()); in assertField()
123 protected void assertPublicField(Class<?> klass, String fieldName) throws NoSuchFieldException { in assertPublicField() argument
124 assertEquals(klass, mBinder.getClass().getField(fieldName).getType()); in assertPublicField()
127 protected void assertNoField(String fieldName) { in assertNoField() argument
130 mBinder.getClass().getField(fieldName); in assertNoField()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DInputPort.java141 public void bindToFieldNamed(String fieldName) { in bindToFieldNamed() argument
142 Field field = findFieldNamed(fieldName, mFilter.getClass()); in bindToFieldNamed()
145 + fieldName + "'!"); in bindToFieldNamed()
313 private Field findFieldNamed(String fieldName, Class<?> clazz) { in findFieldNamed() argument
316 field = clazz.getDeclaredField(fieldName); in findFieldNamed()
321 field = findFieldNamed(fieldName, superClass); in findFieldNamed()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelClass.java554 private static String stripFieldName(String fieldName) { in stripFieldName() argument
556 if (fieldName.length() > 2) { in stripFieldName()
557 final char start = fieldName.charAt(2); in stripFieldName()
558 if (fieldName.startsWith("m_") && Character.isJavaIdentifierStart(start)) { in stripFieldName()
559 return Character.toLowerCase(start) + fieldName.substring(3); in stripFieldName()
562 if (fieldName.length() > 1) { in stripFieldName()
563 final char start = fieldName.charAt(1); in stripFieldName()
564 final char fieldIdentifier = fieldName.charAt(0); in stripFieldName()
575 return Character.toLowerCase(start) + fieldName.substring(2); in stripFieldName()
578 return fieldName; in stripFieldName()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DListenerExpr.java90 final String fieldName = LayoutBinderWriterKt.getFieldName(this); in generateCode() local
94 .app(fieldName) in generateCode()
96 .app(fieldName) in generateCode()
100 .app(fieldName) in generateCode()
DTwoWayListenerExpr.java49 final String fieldName = LayoutBinderWriterKt.getFieldName(mInverseBinding); in generateCode() local
50 return new KCode(fieldName); in generateCode()
/frameworks/support/compat/java/android/support/v4/widget/
DTextViewCompatGingerbread.java77 private static Field retrieveField(String fieldName) { in retrieveField() argument
80 field = TextView.class.getDeclaredField(fieldName); in retrieveField()
83 Log.e(LOG_TAG, "Could not retrieve " + fieldName + " field."); in retrieveField()
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java334 public String fieldName; field in EditorInfo
432 + " fieldName=" + fieldName); in dump()
457 dest.writeString(fieldName); in writeToParcel()
486 res.fieldName = source.readString();
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputApplicationHandle.cpp133 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
134 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
135 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dcom_android_server_power_PowerManagerService.cpp195 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
196 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
197 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
Dcom_android_server_input_InputWindowHandle.cpp223 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
224 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
225 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp319 char** fieldName = nullptr; in createFromSharedObject() local
354 fieldName = new char*[varCount]; in createFromSharedObject()
355 if (fieldName == nullptr) { in createFromSharedObject()
375 fieldName[i] = new char[strlen(line)+1]; in createFromSharedObject()
376 strcpy(fieldName[i], line); in createFromSharedObject()
688 fieldAddress, fieldIsObject, fieldName, varCount, in createFromSharedObject()
715 delete[] fieldName[i]; in createFromSharedObject()
717 delete[] fieldName; in createFromSharedObject()
DrsCpuExecutable.h66 const char* const * fieldName, size_t varCount, in ScriptExecutable() argument
78 mFieldName(fieldName), mExportedVarCount(varCount), in ScriptExecutable()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DLayoutBinder.java202 final String fieldName = LayoutBinderWriterKt. in LayoutBinder() local
204 if (names.contains(fieldName)) { in LayoutBinder()
205 L.w("View field %s collides with a variable or import", fieldName); in LayoutBinder()
207 names.add(fieldName); in LayoutBinder()
DInverseBinding.java123 final String fieldName = flagField.getLocalName(); in toJavaCode() local
134 return new KCode(fieldName) in toJavaCode()
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp47 static String8 getStringValue(JNIEnv* env, jobject object, const char* fieldName);
50 JNIEnv* env, jobject object, const char* fieldName, int* dataLength);
57 static int getIntValue(JNIEnv* env, jobject object, const char* fieldName);
60 String8 Utility::getStringValue(JNIEnv* env, jobject object, const char* fieldName) { in getStringValue() argument
63 = env->GetFieldID(env->GetObjectClass(object), fieldName , "Ljava/lang/String;"); in getStringValue()
92 JNIEnv* env, jobject object, const char* fieldName, int* dataLength) { in getByteArrayValue() argument
96 jfieldID fieldID = env->GetFieldID(env->GetObjectClass(object), fieldName , "[B"); in getByteArrayValue()
119 int Utility::getIntValue(JNIEnv* env, jobject object, const char* fieldName) { in getIntValue() argument
126 fieldID = env->GetFieldID(clazz, fieldName , "I"); in getIntValue()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DLayoutBinderWriter.kt111 val BindingTarget.fieldName : String by lazyProp { target : BindingTarget -> in target() constant
151 val Expr.fieldName by lazyProp { expr : Expr -> in expr() constant
155 val InverseBinding.fieldName by lazyProp { inverseBinding : InverseBinding -> in inverseBinding() constant
156 val targetName = inverseBinding.target.fieldName; in inverseBinding()
454 tab("this.${it.fieldName} = ${fieldConversion(it)};") in <lambda>()
458 tab("this.${it.fieldName}.setContainingBinding(this);") in <lambda>()
800 val fieldName: String in <lambda>() constant
803 fieldName = "this.${binding.target.fieldName}" in <lambda>()
805fieldName = "((${binding.target.viewClass}) this.${binding.target.fieldName})" in <lambda>()
807 … tab(binding.toJavaCode(fieldName, "this.mBindingComponent")).app(";") in <lambda>()
/frameworks/base/tools/aapt2/java/
DJavaClassGenerator.cpp191 std::string fieldName; member
229 styleableAttr.fieldName = transformNestedAttr(attr.name.value(), className, in addMembersToStyleableClass()
297 << entry.fieldName << " " in addMembersToStyleableClass()
328 styleableComment << "@see #" << entry.fieldName << "\n"; in addMembersToStyleableClass()
376 sortedAttributes[i].fieldName, static_cast<uint32_t>(i)); in addMembersToStyleableClass()
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp43 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
44 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \
45 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
47 #define GET_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
48 var = env->GetMethodID(clazz, fieldName, fieldDescriptor); \
49 LOG_FATAL_IF(! var, "Unable to find method " fieldName);
51 #define GET_STATIC_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
52 var = env->GetStaticFieldID(clazz, fieldName, fieldDescriptor); \
53 LOG_FATAL_IF(! var, "Unable to find field " fieldName);
55 #define GET_STATIC_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
[all …]
Dandroid_media_ExifInterface.cpp48 #define GET_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \ argument
49 var = env->GetMethodID(clazz, fieldName, fieldDescriptor); \
50 LOG_FATAL_IF(! var, "Unable to find method " fieldName);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseGridLayoutManagerTest.java71 protected static List<Config> addConfigVariation(List<Config> base, String fieldName, in addConfigVariation() argument
75 Field field = Config.class.getDeclaredField(fieldName); in addConfigVariation()
DBaseLinearLayoutManagerTest.java70 protected static List<Config> addConfigVariation(List<Config> base, String fieldName, in addConfigVariation() argument
74 Field field = Config.class.getDeclaredField(fieldName); in addConfigVariation()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java329 private static void expandFieldArray(Object instance, String fieldName, in expandFieldArray() argument
332 Field jlrField = findField(instance, fieldName); in expandFieldArray()
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java484 private Object readPrivateField(String fieldName, Object object) throws Exception { in readPrivateField() argument
485 Field f = object.getClass().getDeclaredField(fieldName); in readPrivateField()

12