Searched refs:field (Results 1 - 25 of 79) sorted by relevance

1234

/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DPublicFinalTestVo.java19 public PublicFinalTestVo(int field) { argument
20 myField = field;
H A DPublicFinalWithObservableTestVo.java25 public PublicFinalWithObservableTestVo(int field) { argument
26 myField = field;
/frameworks/data-binding/integration-tests/IndependentLibrary/app/src/main/java/android/databinding/test/independentlibrary/vo/
H A DMyBindableObject.java32 public void setField(String field) { argument
33 mField = field;
34 notifyPropertyChanged(BR.field);
/frameworks/data-binding/integration-tests/MultiModuleTestApp/testlibrary/src/main/java/android/databinding/testlibrary/
H A DTestLibObject.java30 public void setField(String field) { argument
31 this.mField = field;
32 notifyPropertyChanged(BR.field);
/frameworks/base/test-runner/src/android/test/
H A DActivityTestCase.java64 for (Field field : fields) {
65 final Class<?> fieldClass = field.getDeclaringClass();
66 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive()
67 && (field.getModifiers() & Modifier.FINAL) == 0) {
69 field.setAccessible(true);
70 field.set(this, null);
72 android.util.Log.d("TestCase", "Error: Could not nullify field!");
75 if (field.get(this) != null) {
76 android.util.Log.d("TestCase", "Error: Could not nullify field!");
H A DInstrumentationUtils.java38 Integer field = (Integer)cls.getDeclaredField(identifier).get(cls);
39 id = field.intValue();
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DDataBindingMapperTest.java25 for (Field field : BR.class.getDeclaredFields()) {
26 assertEquals(field.getName(),
27 DataBindingUtil.convertBrIdToString((int) field.get(BR.class)));
H A DProcessBindableTest.java47 for (Field field: fields) {
48 assertTrue(field.getModifiers() == modifiers);
49 String name = field.getName();
50 fieldValues.put(name, field.getInt(null));
59 assertTrue("missing field: " + fieldName, fieldValues.containsKey(fieldName));
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DDrawableUtils.java70 for (Field field : sInsetsClazz.getFields()) {
71 switch (field.getName()) {
73 result.left = field.getInt(insets);
76 result.top = field.getInt(insets);
79 result.right = field.getInt(insets);
82 result.bottom = field.getInt(insets);
/frameworks/opt/net/wifi/service/jni/
H A Djni_helper.cpp90 jfieldID field = mEnv->GetFieldID(cls, name, "Z"); local
91 if (field == 0) {
92 THROW(*this, "Error in accessing field");
96 return mEnv->GetBooleanField(obj, field);
102 jfieldID field = mEnv->GetFieldID(cls, name, "I"); local
103 if (field == 0) {
104 THROW(*this, "Error in accessing field");
108 return mEnv->GetIntField(obj, field);
114 jfieldID field = mEnv->GetFieldID(cls, name, "B"); local
115 if (field
126 jfieldID field = mEnv->GetFieldID(cls, name, "J"); local
149 jfieldID field = mEnv->GetFieldID(cls, name, "Ljava/lang/String;"); local
185 jfieldID field = mEnv->GetStaticFieldID(cls, name, "J"); local
197 jfieldID field = mEnv->GetFieldID(cls, name, type); local
209 jfieldID field = mEnv->GetFieldID(cls, name, type); local
221 jfieldID field = mEnv->GetFieldID(cls, name, "[J"); local
252 jfieldID field = mEnv->GetStaticFieldID(cls, name, "[J"); local
274 jfieldID field = mEnv->GetFieldID(cls, name, type); local
297 jfieldID field = mEnv->GetFieldID(cls, name, "I"); local
314 jfieldID field = mEnv->GetFieldID(cls, name, "B"); local
331 jfieldID field = mEnv->GetFieldID(cls, name, "Z"); local
348 jfieldID field = mEnv->GetFieldID(cls, name, "J"); local
370 jfieldID field = mEnv->GetStaticFieldID(cls, name, "J"); local
387 jfieldID field = mEnv->GetFieldID(cls, name, "[J"); local
409 jfieldID field = mEnv->GetStaticFieldID(cls, name, "[J"); local
427 jfieldID field = mEnv->GetFieldID(cls, name, "[J"); local
457 jfieldID field = mEnv->GetFieldID(cls, name, type); local
[all...]
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java388 Field field;
389 field = CLASS_BUILDER.getDeclaredField("mSelectionArgsBackReferences");
390 field.setAccessible(true);
391 field.set(builder, selArgsBackRef);
397 Field field;
398 field = CLASS_BUILDER.getDeclaredField("mValuesBackReferences");
399 field.setAccessible(true);
400 field.set(builder, valuesBackReferences);
406 Field field;
407 field
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DInputPort.java31 * InputPorts may be bound to fields of the Filter. When an input port is bound to a field, Frame
32 * values will be assigned to the field once a Frame is received on that port. The Frame value must
33 * be of a type that is compatible with the field type.
54 public FieldBinding(Field field) { argument
55 mField = field;
69 throw new RuntimeException("Assigning frame " + frame + " to field "
107 * Bind this input port to the specified field.
109 * Use this when you wish to pull frames directly into a field of the filter. This requires
110 * that the input frames can be interpreted as object-based frames of the field's class.
117 * @param field th
121 bindToField(Field field) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFinalPort.java27 public FinalPort(Filter filter, String name, Field field, boolean hasDefault) { argument
28 super(filter, name, field, hasDefault);
H A DProgramPort.java32 Field field,
34 super(filter, name, field, hasDefault);
55 "Access to program field '" + mField.getName() + "' was denied!");
57 throw new RuntimeException("Non Program field '" + mField.getName()
29 ProgramPort(Filter filter, String name, String varName, Field field, boolean hasDefault) argument
H A DFilter.java273 * transfer from a FieldPort or ProgramPort to its connected target (field or program variable).
355 Field field,
358 // Make sure field is accessible
359 field.setAccessible(true);
363 ? new FinalPort(this, name, field, hasDefault)
364 : new FieldPort(this, name, field, hasDefault);
368 MutableFrameFormat format = ObjectFormat.fromClass(field.getType(),
378 Field field,
381 // Make sure field is accessible
382 field
354 addFieldPort(String name, Field field, boolean hasDefault, boolean isFinal) argument
376 addProgramPort(String name, String varName, Field field, Class varType, boolean hasDefault) argument
598 addFieldGenerator(GenerateFieldPort generator, Field field) argument
604 addProgramGenerator(GenerateProgramPort generator, Field field) argument
[all...]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduHeaders.java98 * X-Mms-Message-Type field types.
137 * field types.
145 * field type components.
151 * X-Mms-MMS-Version field types.
162 * From field type components.
183 * MM-Flags field type components.
190 * X-Mms-Message-Class field types.
203 * X-Mms-Priority field types.
210 * X-Mms-Response-Status field types.
245 * X-Mms-Retrieve-Status field type
342 getOctet(int field) argument
358 setOctet(int value, int field) argument
502 getTextString(int field) argument
515 setTextString(byte[] value, int field) argument
551 getEncodedStringValue(int field) argument
562 getEncodedStringValues(int field) argument
581 setEncodedStringValue(EncodedStringValue value, int field) argument
618 setEncodedStringValues(EncodedStringValue[] value, int field) argument
651 appendEncodedStringValue(EncodedStringValue value, int field) argument
683 getLongInteger(int field) argument
698 setLongInteger(long value, int field) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_UEventObserver.cpp51 const char* field = buffer; local
54 if (strstr(field, match.string())) {
58 field += strlen(field) + 1;
59 } while (field != end);
/frameworks/webview/chromium/tools/
H A Dmemreport.py92 field = token.split('=')[1]
94 mem_usage[key] += int(field)
96 array = eval(field)
103 def _ConvertMemoryField(field):
104 return str(field / (1024))
/frameworks/rs/api/
H A Drs_time.spec40 field: int tm_sec, "Seconds after the minute. This ranges from 0 to 59, but possibly up to 60 for leap seconds."
41 field: int tm_min, "Minutes after the hour. This ranges from 0 to 59."
42 field: int tm_hour, "Hours past midnight. This ranges from 0 to 23."
43 field: int tm_mday, "Day of the month. This ranges from 1 to 31."
44 field: int tm_mon, "Months since January. This ranges from 0 to 11."
45 field: int tm_year, "Years since 1900."
46 field: int tm_wday, "Days since Sunday. This ranges from 0 to 6."
47 field: int tm_yday, "Days since January 1. This ranges from 0 to 365."
48 field: int tm_isdst, "Flag to indicate whether daylight saving time is in effect. The value is positive if it is in effect, zero if it is not, and negative if the information is not available."
/frameworks/base/core/java/android/test/
H A DAndroidTestCase.java159 for (Field field : fields) {
160 if (!field.getType().isPrimitive() &&
161 !Modifier.isStatic(field.getModifiers())) {
163 field.setAccessible(true);
164 field.set(this, null);
166 android.util.Log.d("TestCase", "Error: Could not nullify field!");
169 if (field.get(this) != null) {
170 android.util.Log.d("TestCase", "Error: Could not nullify field!");
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
H A DJavaField.java26 public JavaField(Field field) { argument
27 mField = field;
/frameworks/base/core/java/android/util/
H A DDebugUtils.java216 for (Field field : clazz.getDeclaredFields()) {
217 final int modifiers = field.getModifiers();
219 && field.getType().equals(int.class) && field.getName().startsWith(prefix)) {
221 if (value == field.getInt(null)) {
222 return field.getName().substring(prefix.length());
240 for (Field field : clazz.getDeclaredFields()) {
241 final int modifiers = field.getModifiers();
243 && field.getType().equals(int.class) && field
[all...]
/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A DBCHeaderField.h24 // Class representing a variable-size metadata field in the bitcode header.
70 FixedSubfield field;
71 ReadFixedSubfield(&field, buf);
72 ID_ = static_cast<Tag>(field);
73 ReadFixedSubfield(&field, buf + sizeof(FixedSubfield));
74 len_ = static_cast<size_t>(field);
88 // Get the data size from a serialized field to allow allocation
/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dbitcode_wrapperer.cpp218 BCHeaderField field(BCHeaderField::kInvalid, 0,
220 field.Read(&buffer_[cursor_], buffer_size_);
221 header_fields_.push_back(field);
222 size_t field_size = field.GetTotalSize();
228 "variable field data\n");
239 switch (field.getID()) {
241 if (field.Write((uint8_t*)&tempIntField,
247 if (field.Write((uint8_t*)&tempIntField,
253 // Ignore other field types for now
331 void BitcodeWrapperer::AddHeaderField(BCHeaderField* field) { argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraMetadata.java57 * Set a camera metadata field to a value. The field definitions can be
61 * @param key The metadata field to write.
62 * @param value The value to set the field to, which must be of a matching
71 * Get a camera metadata field value.
73 * <p>The field definitions can be
82 * @param key The metadata field to read.
83 * @return The value of that key, or {@code null} if the field is not set.
115 * Return a list of all the Key<?> that are declared as a field inside of the class
148 for (Field field
202 shouldKeyBeAdded(TKey key, Field field, int[] filterTags) argument
[all...]

Completed in 626 milliseconds

1234