Searched refs:field (Results 51 - 75 of 121) sorted by relevance

12345

/frameworks/base/media/jni/
H A Dandroid_media_MediaDrm.cpp45 LOG_FATAL_IF(! (var), "Unable to find field " fieldName);
53 LOG_FATAL_IF(! (var), "Unable to find field " fieldName);
597 jfieldID field; local
598 GET_STATIC_FIELD_ID(field, clazz, "EVENT_PROVISION_REQUIRED", "I");
599 gEventTypes.kEventProvisionRequired = env->GetStaticIntField(clazz, field);
600 GET_STATIC_FIELD_ID(field, clazz, "EVENT_KEY_REQUIRED", "I");
601 gEventTypes.kEventKeyRequired = env->GetStaticIntField(clazz, field);
602 GET_STATIC_FIELD_ID(field, clazz, "EVENT_KEY_EXPIRED", "I");
603 gEventTypes.kEventKeyExpired = env->GetStaticIntField(clazz, field);
604 GET_STATIC_FIELD_ID(field, claz
[all...]
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DUtils.java83 for (String field : strings) {
89 joiner.append(field);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DKeyButtonViewTest.java78 private boolean checkField(String field, Object val, Object val2) {
80 mReason = "Expected " + field + " " + val2 + " but was " + val;
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DInjectedClass.java44 public void addField(InjectedField field) { argument
45 mFields.add(field);
H A DModelClass.java387 * Returns the getter method or field that the name refers to.
388 * @param name The name of the field or the body of the method name -- can be name(),
392 * @return the getter method or field that the name refers to or null if none can be found.
418 // if method is not bindable, look for a backing field
420 L.d("backing field for method %s is %s", method.getName(),
436 // could not find a method. Look for a public field
489 for (ModelField field : fields) {
490 boolean nameMatch = name.equals(field.getName()) ||
491 name.equals(stripFieldName(field.getName()));
492 if (nameMatch && field
[all...]
/frameworks/base/libs/hwui/
H A DVectorDrawable.h51 #define VD_SET_PRIMITIVE_FIELD_WITH_FLAG(field, value, flag) (VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(field, (value)) ? ((flag) = true, true) : false)
52 #define VD_SET_PROP(field, value) ((value) != (field) ? ((field) = (value), true) : false)
53 #define VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(field, value) ({ bool retVal = VD_SET_PROP((mPrimitiveFields.field), (value));\
55 #define UPDATE_SKPROP(field, value) ({bool retVal = ((field) != (value)); if ((field) !
[all...]
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
H A Dbitcode_wrapperer.h63 // Add a variable-length field to the header. The caller is responsible
65 void AddHeaderField(BCHeaderField* field);
/frameworks/native/services/vr/performanced/
H A Dtask.h70 // Reads the field named |field| from /proc/<task_id_>/status.
71 std::string GetStatusField(const std::string& field) const;
/frameworks/base/core/java/android/view/
H A DViewDebug.java95 * When resolveId is true, and if the annotated field/method return value
1046 for (final Field field : declaredFields) {
1048 if (field.getType() != null && field.isAnnotationPresent(ExportedProperty.class)) {
1049 field.setAccessible(true);
1050 foundFields.add(field);
1051 sAnnotations.put(field, field.getAnnotation(ExportedProperty.class));
1263 final Field field = fields[i];
1268 final Class<?> type = field
[all...]
/frameworks/support/compat/java/android/support/v4/widget/
H A DTextViewCompat.java97 Field field = null;
99 field = TextView.class.getDeclaredField(fieldName);
100 field.setAccessible(true);
102 Log.e(LOG_TAG, "Could not retrieve " + fieldName + " field.");
104 return field;
107 private static int retrieveIntFromField(Field field, TextView textView) { argument
109 return field.getInt(textView);
111 Log.d(LOG_TAG, "Could not retrieve value of " + field.getName() + " field.");
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTelephonyTest.java247 Field field = c.getDeclaredField(instanceName);
248 field.setAccessible(true);
252 mOldInstances.put(key, field.get(obj));
255 field.set(obj, newValue);
262 Field field = c.getDeclaredField(instanceName);
263 field.setAccessible(true);
264 field.set(obj, mOldInstances.get(key));
275 Field field = key.mClass.getDeclaredField(key.mInstName);
276 field.setAccessible(true);
277 field
[all...]
/frameworks/base/core/java/android/os/
H A DDebug.java438 * <td>The private Java Heap usage in kB. This corresponds to the Java Heap field
446 * field in the App Summary section output by dumpsys meminfo.</td>
453 * the Code field in the App Summary section output by dumpsys meminfo.</td>
459 * <td>The stack usage in kB. This corresponds to the Stack field in the
466 * <td>The graphics usage in kB. This corresponds to the Graphics field in the
474 * field output in the App Summary section by dumpsys meminfo.</td>
481 * field output in the App Summary section by dumpsys meminfo.</td>
2013 * Returns true if the type of the field matches the specified class.
2015 * the field is of the primitive "boolean" type. Also handles all of
2018 private static boolean fieldTypeMatches(Field field, Clas argument
2045 modifyFieldIfSet(final Field field, final TypedProperties properties, final String propertyName) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java317 * Tests if the field is pubic, static and one of int or int[].
319 private static boolean isValidRField(Field field) { argument
320 int modifiers = field.getModifiers();
322 Class<?> type = field.getType();
361 for (Field field : fields) {
362 if (!isValidRField(field)) {
367 String name = field.getName();
368 if (field.getType().isArray()) {
369 int[] styleableValue = (int[]) field.get(null);
388 index = (Integer) field
[all...]
/frameworks/base/core/jni/
H A Dcom_android_internal_net_NetworkStatsFactory.cpp66 static jobjectArray get_string_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
69 jobjectArray array = (jobjectArray)env->GetObjectField(obj, field);
77 static jintArray get_int_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
80 jintArray array = (jintArray)env->GetObjectField(obj, field);
88 static jlongArray get_long_array(JNIEnv* env, jobject obj, jfieldID field, int size, bool grow) argument
91 jlongArray array = (jlongArray)env->GetObjectField(obj, field);
134 // First field is the index.
153 // Next field is iface.
185 // Find end of tag field
189 // Three digit field i
[all...]
/frameworks/base/cmds/incident/
H A DAndroid.mk32 -Wall -Werror -Wno-missing-field-initializers -Wno-unused-variable -Wunused-parameter
/frameworks/base/libs/incident/
H A DAndroid.mk21 -Wall -Werror -Wno-missing-field-initializers -Wno-unused-variable -Wunused-parameter
/frameworks/rs/driver/
H A DrsdShader.h126 void logUniform(const android::renderscript::Element *field,
129 const android::renderscript::Element *field,
/frameworks/rs/rsov/compiler/
H A DAndroid.mk133 -Wno-error=unused-private-field \
177 -Wno-error=unused-private-field \
/frameworks/av/media/libstagefright/codec2/include/
H A DC2Work.h49 C2ParamField field; member in struct:android::C2SettingResult
/frameworks/base/libs/androidfw/tests/
H A DAndroid.mk58 -Wno-missing-field-initializers
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/
H A DGuidedDatePickerTest.java90 private int getColumnIndexForDateField(int field, int[] columnIndices) { argument
95 switch (field) {
108 private void horizontalScrollToDateField(int field, int[] columnIndices, argument
110 int columnIndex = getColumnIndexForDateField(field, columnIndices);
120 assertTrue("Date field could not be focused!", (focusedFieldPos != -1));
135 // now scroll right or left to the corresponding date field as indicated by the input field
153 * @param field The date field over which the scrolling is performed
154 * @param fieldValue The field valu
160 verticalScrollToFieldValue(int field, int fieldValue, int[] columnIndices, DatePicker pickerView, int scrollDir) argument
208 addDate(Calendar mCurrentDate, int field, int offset, Calendar mMinDate, Calendar mMaxDate) argument
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
H A DFakeSensorManager.java188 Field field = Sensor.class.getDeclaredField(fieldName);
189 field.setAccessible(true);
190 field.set(sensor, value);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandlerTest.java105 Field field = SmsMessage.class.getDeclaredField("mEnvelope");
106 field.setAccessible(true);
107 field.set(mCdmaSmsMessage, mSmsEnvelope);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareServiceImplTest.java645 Field field = WifiAwareServiceImpl.class.getDeclaredField("mUidByClientId");
646 field.setAccessible(true);
648 SparseIntArray uidByClientId = (SparseIntArray) field.get(mDut);
654 Field field = WifiAwareServiceImpl.class.getDeclaredField("mDeathRecipientsByClientId");
655 field.setAccessible(true);
658 (SparseArray<IBinder.DeathRecipient>) field.get(mDut);
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
H A DDiskStatsLoggingServiceTest.java208 final Field field = JobService.class.getDeclaredField("mEngine");
209 field.setAccessible(true);
210 field.set(service, mock(JobServiceEngine.class));

Completed in 619 milliseconds

12345