Searched refs:field (Results 76 - 100 of 121) sorted by relevance

12345

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DFieldAccessExpr.java41 // notification name for the field. Important when we map this to a method w/ different name
69 return "Cannot change a final field in " + getResolvedType().toJavaCode() +
173 // Make this the ".get()" and add an extra field access for the observable field
249 private static boolean attributeMatchesName(String attribute, String field) { argument
251 return attribute.substring(colonIndex + 1).equals(field);
307 return model.field(clonedTarget, mName);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
H A DWifiAwareDataPathStateManagerTest.java631 Field field = WifiAwareStateManager.class.getDeclaredField("mDataPathMgr");
632 field.setAccessible(true);
633 Object mDataPathMgr = field.get(mDut);
635 field = WifiAwareDataPathStateManager.class.getDeclaredField("mNwService");
636 field.setAccessible(true);
637 field.set(mDataPathMgr, mMockNwMgt);
639 field = WifiAwareDataPathStateManager.class.getDeclaredField("mNiWrapper");
640 field.setAccessible(true);
641 field.set(mDataPathMgr, mMockNetworkInterface);
H A DWifiAwareStateManagerTest.java2723 Field field = WifiAwareClientState.class.getDeclaredField("mSessions");
2724 field.setAccessible(true);
2727 (SparseArray<WifiAwareDiscoverySessionState>) field.get(client);
2761 Field field = WifiAwareStateManager.class.getDeclaredField("mRtt");
2762 field.setAccessible(true);
2763 field.set(awareStateManager, mockRtt);
2765 field = WifiAwareStateManager.class.getDeclaredField("mDataPathMgr");
2766 field.setAccessible(true);
2767 field.set(awareStateManager, mockDpMgr);
2772 Field field
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIStorageManager.aidl239 * Set a field in the crypto header.
240 * @param field field to set
241 * @param contents contents to set in field
243 oneway void setField(in String field, in String contents) = 38;
245 * Gets a field from the crypto header.
246 * @param field field to get
247 * @return contents of field
249 String getField(in String field)
[all...]
/frameworks/multidex/library/src/android/support/multidex/
H A DMultiDex.java127 * dalvik.system.DexPathList pathList field to append additional DEX
237 * Locates a given field anywhere in the class inheritance hierarchy.
239 * @param instance an object to search the field into.
240 * @param name field name
241 * @return a field object
242 * @throws NoSuchFieldException if the field cannot be located
247 Field field = clazz.getDeclaredField(name);
250 if (!field.isAccessible()) {
251 field.setAccessible(true);
254 return field;
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DParsedMessage.cpp180 bool ParsedMessage::getRequestField(size_t index, AString *field) const {
201 field->setTo(line, prevOffset, offset - prevOffset - 1);
/frameworks/base/cmds/incidentd/
H A DAndroid.mk31 -Wall -Werror -Wno-missing-field-initializers -Wno-unused-variable -Wunused-parameter
/frameworks/base/libs/hwui/
H A DRenderNode.h144 bool isPropertyFieldDirty(DirtyPropertyMask field) const {
145 return mDirtyPropertyFields & field;
H A DAnimator.cpp411 CanvasPropertyPaint* property, PaintField field, float finalValue)
414 , mField(field) {
424 LOG_ALWAYS_FATAL("Unknown field %d", (int) mField);
442 LOG_ALWAYS_FATAL("Unknown field %d", (int) mField);
410 CanvasPropertyPaintAnimator( CanvasPropertyPaint* property, PaintField field, float finalValue) argument
H A DAnimator.h251 PaintField field, float finalValue);
/frameworks/base/core/tests/coretests/src/android/provider/
H A DSettingsBackupTest.java535 for (Field field : clazz.getDeclaredFields()) {
536 if (looksLikeValidSetting(field)) {
538 result.add((String) field.get(null));
548 private static boolean looksLikeValidSetting(Field field) { argument
549 int modifiers = field.getModifiers();
553 && field.getType() == String.class
554 && field.getAnnotation(Deprecated.class) == null;
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java257 * @param field the field ID for the global variable
261 public Future getGlobal(Script.FieldID field) { argument
262 Future f = mGlobalFuture.get(field);
265 // If the field is not bound to this closure, this will return a future
267 // cross-module (cross-script) linking in this case where a field not
269 Object obj = mBindings.get(field);
273 f = new Future(this, field, obj);
274 mGlobalFuture.put(field, f);
536 * of connections: kernel to kernel and kernel to field
870 Binding(Script.FieldID field, Object value) argument
[all...]
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptGroup.java254 * @param field the field ID for the global variable
258 public Future getGlobal(Script.FieldID field) { argument
259 Future f = mGlobalFuture.get(field);
262 // If the field is not bound to this closure, this will return a future
264 // cross-module (cross-script) linking in this case where a field not
266 Object obj = mBindings.get(field);
270 f = new Future(this, field, obj);
271 mGlobalFuture.put(field, f);
599 * of connections: kernel to kernel and kernel to field
987 Binding(Script.FieldID field, Object value) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowManager.java427 // Print field names paired with their values
428 for (Field field : fields) {
431 result.append(field.getName());
433 //requires access to private field:
434 result.append(field.get(this));
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
H A DAccessibilityShortcutControllerTest.java152 // Initialize the mWindowAttributes field which was not properly initialized during mock
155 Field field = Window.class.getDeclaredField("mWindowAttributes");
156 field.setAccessible(true);
157 field.set(window, new WindowManager.LayoutParams());
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
H A DImsPhoneConnectionTest.java231 Field field = ImsPhoneConnection.class.getDeclaredField("PAUSE_DELAY_MILLIS");
232 field.setAccessible(true);
233 waitForMs((Integer) field.get(null) + 50);
/frameworks/base/core/java/android/app/
H A DNotificationChannel.java261 public void lockFields(int field) { argument
262 mUserLockedFields |= field;
268 public void unlockFields(int field) { argument
269 mUserLockedFields &= ~field;
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DRenderTests.java158 Field field = insetsWidgetClass.getDeclaredField("sApplyInsetsCalled");
159 assertFalse((Boolean)field.get(null));
171 assertTrue((Boolean)field.get(null));
172 field.set(null, false);
/frameworks/rs/rsov/compiler/spirit/
H A Dgenerate.py157 for field in bases:
158 str += " %s mField%d;\n" % (field, i)
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseGridLayoutManagerTest.java78 Field field = Config.class.getDeclaredField(fieldName);
82 field.set(newConfig, variation);
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp600 // save context in opaque field
1107 struct field { struct
1114 static void find_fields(JNIEnv *env, field *fields, int count)
1117 field *f = &fields[i];
1119 jfieldID field = GetFieldIDOrDie(env, clazz, f->field_name, f->field_type); local
1120 *(f->jfield) = field;
1127 field fields_to_find[] = {
H A Dandroid_util_Process.cpp738 const String8& field = fields[i]; local
739 if (strncmp(p, field.string(), field.length()) == 0) {
740 p += field.length();
751 //ALOGI("Field %s = %" PRId64, field.string(), sizesArray[i]);
/frameworks/base/core/java/android/text/format/
H A DTime.java212 * Ensures the values in each field are in range. For example if the
217 * If "ignoreDst" is true, then this method sets the "isDst" field to -1
254 * Return the maximum possible value for the given field given the value of
257 * @param field one of the constants for HOUR, MINUTE, SECOND, etc.
258 * @return the maximum value for the field.
260 public int getActualMaximum(int field) { argument
261 switch (field) {
291 throw new RuntimeException("bad field=" + field);
374 * format that does not include the "time" field
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMockStorageManager.java307 public void setField(String field, String contents) throws RemoteException { argument
313 public String getField(String field) throws RemoteException { argument
/frameworks/native/cmds/dumpstate/
H A DAndroid.mk13 -Wall -Werror -Wno-missing-field-initializers -Wno-unused-variable -Wunused-parameter

Completed in 1408 milliseconds

12345