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

12345

/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.java31 public void setField(String field) { argument
32 this.mField = field;
33 notifyPropertyChanged(BR.field);
/frameworks/base/test-runner/src/android/test/
H A DActivityTestCase.java68 for (Field field : fields) {
69 final Class<?> fieldClass = field.getDeclaringClass();
70 if (testCaseClass.isAssignableFrom(fieldClass) && !field.getType().isPrimitive()
71 && (field.getModifiers() & Modifier.FINAL) == 0) {
73 field.setAccessible(true);
74 field.set(this, null);
76 android.util.Log.d("TestCase", "Error: Could not nullify field!");
79 if (field.get(this) != null) {
80 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/base/tools/incident_section_gen/
H A Dmain.cpp43 const FieldDescriptor* field = descriptor->field(i); local
44 if (field->type() == FieldDescriptor::TYPE_MESSAGE) {
45 sections[field->name()] = field;
54 const FieldDescriptor* field = it->second; local
55 printf(" { %d, \"%s\" }", field->number(), field->name().c_str());
/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
/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/java/com/android/internal/util/
H A DMessageUtils.java66 for (Field field : fields) {
67 int modifiers = field.getModifiers();
72 String name = field.getName();
80 // TODO: can we have the caller try to access the field instead, so we don't
82 field.setAccessible(true);
87 value = field.getInt(null);
89 // The field is not an integer (or short or byte), or c's static
91 // Either way, give up on this field.
107 // Not allowed to make the field accessible, or no access. Ignore.
/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/script_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/legacy-test/src/android/test/
H A DAndroidTestCase.java167 for (Field field : fields) {
168 if (!field.getType().isPrimitive() &&
169 !Modifier.isStatic(field.getModifiers())) {
171 field.setAccessible(true);
172 field.set(this, null);
174 android.util.Log.d("TestCase", "Error: Could not nullify field!");
177 if (field.get(this) != null) {
178 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DPhoneStateListenerTest.java69 Field field = PhoneStateListener.class.getDeclaredField("callback");
70 field.setAccessible(true);
77 ((IPhoneStateListener) field.get(mPhoneStateListenerUT)).onServiceStateChanged(ss);
/frameworks/base/core/java/android/os/health/
H A DHealthKeys.java67 * as field keys in HealthStats.
109 final Field field = fields[i];
110 final Constant constant = field.getAnnotation(annotationClass);
115 + " on " + field);
118 keys[type].addValue(field.getInt(null));
121 + " field=" + field, ex);
140 * Return how many keys there are for the given field type.
153 * Return the index for the given type and key combination in the array of field
173 * Get the array of keys for the given field typ
[all...]
/frameworks/compile/libbcc/bcinfo/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/base/services/core/java/com/android/server/
H A DSensorNotificationService.java139 GeomagneticField field = new GeomagneticField(
143 "Nominal mag field, norm %fuT, decline %f deg, incline %f deg",
144 field.getFieldStrength() / 1000, field.getDeclination(), field.getInclination()));
148 field.getFieldStrength() / 1000, // convert from nT to uT
149 (float)(field.getDeclination() * Math.PI / 180), // from degree to rad
150 (float)(field.getInclination() * Math.PI / 180)); // from degree to rad
156 Slog.e(TAG, "Invalid local geomagnetic field, ignore.");

Completed in 1021 milliseconds

12345