/external/proguard/src/proguard/classfile/ |
LibraryClass.java | 43 * An extra field pointing to the superclass of this class. 44 * This field is filled out by the {@link ClassSuperHierarchyInitializer}. 49 * An extra field pointing to the interfaces of this class. 50 * This field is filled out by the {@link ClassSuperHierarchyInitializer}. 55 * An extra field pointing to the subclasses of this class. 56 * This field is filled out by the {@link ClassSubHierarchyInitializer}. 61 * An extra field in which visitors can store information. 265 public Field findField(String name, String descriptor) 269 Field field = fields[index] local 463 Field field = fields[index]; local 474 Field field = findField(name, descriptor); local [all...] |
ProgramClass.java | 54 * An extra field pointing to the subclasses of this class. 55 * This field is filled out by the {@link ClassSubHierarchyInitializer}. 60 * An extra field in which visitors can store information. 312 public Field findField(String name, String descriptor) 316 Field field = fields[index]; local 317 if ((name == null || field.getName(this).equals(name)) && 318 (descriptor == null || field.getDescriptor(this).equals(descriptor))) 320 return field; 492 Field field = findField(name, descriptor) local [all...] |
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
FileTransferNegotiator.java | 295 FormField field = null;
local 297 field = it.next();
298 if (field.getVariable().equals(STREAM_DATA_FIELD_NAME)) {
301 field = null;
303 return field;
306 private StreamNegotiator getNegotiator(final FormField field)
311 for (Iterator<FormField.Option> it = field.getOptions(); it.hasNext();) {
327 //if (isByteStream && isIBB && field.getType().equals(FormField.TYPE_LIST_MULTI)) {
441 private StreamNegotiator getOutgoingNegotiator(final FormField field)
446 for (Iterator<String> it = field.getValues(); it.hasNext();) { 476 FormField field = new FormField(STREAM_DATA_FIELD_NAME); local [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentProviderOperationTest.java | 29 import java.lang.reflect.Field; 388 Field field; local 389 field = CLASS_BUILDER.getDeclaredField("mSelectionArgsBackReferences"); 390 field.setAccessible(true); 391 field.set(builder, selArgsBackRef); 397 Field field; local 398 field = CLASS_BUILDER.getDeclaredField("mValuesBackReferences"); 399 field.setAccessible(true) 406 Field field; local 415 Field field; local 424 Field field; local 433 Field field; local 441 final Field field = CLASS_OPERATION.getDeclaredField("mType"); local 448 final Field field = CLASS_OPERATION.getDeclaredField("mUri"); local 455 final Field field = CLASS_OPERATION.getDeclaredField("mSelection"); local 462 final Field field = CLASS_OPERATION.getDeclaredField("mSelectionArgs"); local 469 final Field field = CLASS_OPERATION.getDeclaredField("mValues"); local 476 final Field field = CLASS_OPERATION.getDeclaredField("mExpectedCount"); local 483 final Field field = CLASS_OPERATION.getDeclaredField("mValuesBackReferences"); local 491 final Field field = CLASS_OPERATION.getDeclaredField("mSelectionArgsBackReferences"); local [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
AnnotatedElementBenchmark.java | 23 import java.lang.reflect.Field; 29 private Field field; field in class:AnnotatedElementBenchmark 34 field = Type.class.getField("field"); 49 field.getAnnotations(); 73 field.getAnnotation(Marker.class); 91 field.isAnnotationPresent(Marker.class); 153 @Marker public String field; field in class:AnnotatedElementBenchmark.Type
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
TextFormat.java | 167 public static void printField(final FieldDescriptor field, 171 DEFAULT_PRINTER.printField(field, value, new TextGenerator(output)); 174 public static String printFieldToString(final FieldDescriptor field, 178 printField(field, value, text); 186 * Outputs a textual representation of the value of given field value. 188 * @param field the descriptor of the field 189 * @param value the value of the field 192 * given field descriptor 195 public static void printFieldValue(final FieldDescriptor field, 415 final UnknownFieldSet.Field field = entry.getValue(); local 1074 FieldDescriptor field; local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
Robolectric.java | 3 import java.lang.reflect.Field; 1300 Field field = classWhichContainsField.getDeclaredField(fieldName); local [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ShadowWrangler.java | 15 import java.lang.reflect.Field; 35 private Map<Class, Field> shadowFieldMap = new HashMap<Class, Field>(); 61 CtField field = new CtField(objectClass, SHADOW_FIELD_NAME, ctClass); local 62 field.setModifiers(Modifier.PUBLIC); 63 ctClass.addField(field); 158 Field field = getShadowField(instance); local 159 Object shadow = readField(instance, field); 177 field.set(instance, shadow) 242 Field field = shadowFieldMap.get(clazz); local 258 Field field = getShadowField(instance); local [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPSerializerRDF.java | 442 * field of a struct, or an item of an array. The indent is that for the 665 XMPNode field = (XMPNode) ic.next(); local 666 if (canBeRDFAttrProp(field)) 843 XMPNode field = (XMPNode) it.next(); local 844 declareNamespace(field.getName(), null, usedPrefixes, indent); 908 * top level property, a field of a struct, or an item of an array. The [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldAndroidClassTest.java | 20 import java.lang.reflect.Field; 114 Field field = obj.getClass().getDeclaredField("str"); local 115 field.set(obj, null);
|
/art/runtime/ |
common_throws.cc | 176 msg << "Field '" << PrettyField(accessed, false) << "' is inaccessible to class '" 184 msg << "Final field '" << PrettyField(accessed, false) << "' cannot be written to by method '" 244 << (is_static ? "static" : "instance") << " field" << " rather than a " 245 << (is_static ? "instance" : "static") << " field"; 300 msg << "No " << scope << "field " << name << " of type " << type 330 mirror::ArtField* field, bool is_read) { 333 << " field '" << PrettyField(field, true) << "' on a null object reference"; 414 mirror::ArtField* field = local 417 ThrowNullPointerExceptionForFieldAccess(throw_location, field, true /* read */) 425 mirror::ArtField* field = local 445 mirror::ArtField* field = local 456 mirror::ArtField* field = local [all...] |
/art/runtime/gc/accounting/ |
space_bitmap.cc | 194 mirror::ArtField* field = fields->Get(i); local 195 if (!field->IsPrimitiveType()) { 196 mirror::Object* value = field->GetObj(obj); 223 mirror::ArtField* field = fields->Get(i); local 224 if (!field->IsPrimitiveType()) { 225 mirror::Object* value = field->GetObj(NULL);
|
/art/runtime/mirror/ |
art_field-inl.h | 292 mirror::ArtField* field = f->GetObject(soa.Decode<mirror::Object*>(jlr_field))->AsArtField(); local 293 DCHECK(field != nullptr); 294 return field;
|
/art/runtime/quick/ |
inline_method_analyser.cc | 335 mirror::ArtField* field = dex_cache->GetResolvedField(field_idx); local 336 if (method == nullptr || field == nullptr || field->IsStatic()) { 340 mirror::Class* field_class = field->GetDeclaringClass(); 341 if (!method_class->CanAccessResolvedField(field_class, field, dex_cache, field_idx) || 342 (is_put && field->IsFinal() && method_class != field_class)) { 345 DCHECK_GE(field->GetOffset().Int32Value(), 0); 347 result->field_offset = field->GetOffset().Int32Value(); 348 result->is_volatile = field->IsVolatile();
|
/art/test/004-JniTest/ |
jni_test.cc | 83 jfieldID field = env->GetStaticFieldID(clazz, "testFindFieldOnAttachedNativeThreadField", "Z"); local 84 assert(field != nullptr); 87 env->SetStaticBooleanField(clazz, field, JNI_TRUE); 105 "(Ljava/lang/String;)Ljava/lang/reflect/Field;"); 113 jobject field = env->CallObjectMethod(clazz, getFieldMetodId, field_name); local 114 assert(field != nullptr); 117 jclass field_clazz = env->FindClass("java/lang/reflect/Field"); 126 jboolean value = env->CallBooleanMethod(field, getBooleanMetodId, /* ignored */ clazz);
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
SplitAppTest.java | 42 import java.lang.reflect.Field; 261 final Field field = provider.getDeclaredField("sCreated"); local 262 assertTrue("Expected provider to have been created", (boolean) field.get(null));
|
/cts/tests/tests/jni/libjnitest/ |
macroized_tests.c | 43 /** reference to field {@code InstanceFromNative.theOne} */ 89 jfieldID field; local 105 field = CALL(GetStaticFieldID, InstanceFromNative, "theOne", 107 if (field == NULL) { 111 InstanceFromNative_theOne = field; [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ClassDataItem.java | 118 * Adds a static field. 120 * @param field {@code non-null;} the field to add 121 * @param value {@code null-ok;} initial value for the field, if any 123 public void addStaticField(EncodedField field, Constant value) { 124 if (field == null) { 125 throw new NullPointerException("field == null"); 133 staticFields.add(field); 134 staticValues.put(field, value); 138 * Adds an instance field 292 EncodedField field = staticFields.get(size - 1); local 313 EncodedField field = staticFields.get(i); local [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
ClassDataItem.java | 114 * Adds a static field. 116 * @param field {@code non-null;} the field to add 117 * @param value {@code null-ok;} initial value for the field, if any 119 public void addStaticField(EncodedField field, Constant value) { 120 if (field == null) { 121 throw new NullPointerException("field == null"); 129 staticFields.add(field); 130 staticValues.put(field, value); 134 * Adds an instance field 288 EncodedField field = staticFields.get(size - 1); local 309 EncodedField field = staticFields.get(i); local [all...] |
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
DexMergeTest.java | 27 import java.lang.reflect.Field; 106 Field field = annotated.getField("field"); local 119 assertEquals("@testdata.Annotated$Marker(a=on field, b=[], " 121 field.getAnnotation(marker).toString());
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
RemoteControlClientCompat.java | 24 import java.lang.reflect.Field; 56 for (Field field : RemoteControlClientCompat.class.getFields()) { 58 Field realField = sRemoteControlClientClass.getField(field.getName()); 60 field.set(null, realValue); 62 Log.w(TAG, "Could not get real field: " + field.getName()); 64 Log.w(TAG, "Error trying to pull field value for: " + field.getName( [all...] |
/external/chromium_org/base/json/ |
json_value_converter.h | 51 // for an int field. Do not report failures for missing fields. 55 // For nested field, the internal message also has to implement the registration 66 // For repeated field, we just assume ScopedVector for its container 111 virtual bool Convert(const base::Value& value, FieldType* field) const = 0; 118 FieldType StructType::* field, 121 field_pointer_(field), 144 virtual bool Convert(const base::Value& value, int* field) const OVERRIDE { 145 return value.GetAsInteger(field); 158 const base::Value& value, std::string* field) const OVERRIDE { 159 return value.GetAsString(field); 508 const base::Value* field = NULL; local [all...] |
/external/chromium_org/chrome/browser/ui/autofill/ |
data_model_wrapper.cc | 383 ::i18n::addressinput::AddressField field; local 384 if (!i18ninput::FieldForType(type.GetStorableType(), &field)) 387 if (field == ::i18n::addressinput::STREET_ADDRESS) 390 if (field == ::i18n::addressinput::COUNTRY) { 395 return base::UTF8ToUTF16(address_->GetFieldValue(field));
|
/external/chromium_org/chromeos/network/onc/ |
onc_merger.cc | 23 // Returns true if the field is the identifier of a configuration, i.e. the GUID 35 // Inserts |true| at every field name in |result| that is recommended in 97 for (base::DictionaryValue::Iterator field(**it_outer); !field.IsAtEnd(); 98 field.Advance()) { 99 const std::string& key = field.key(); 104 if (field.value().IsType(base::Value::TYPE_DICTIONARY)) { 297 // Can be reached if the current field is recommended, but none of the 371 const OncFieldSignature* field = NULL; variable 373 field = GetFieldSignature(*signature_, key) 450 const OncFieldSignature* field = variable [all...] |
/external/chromium_org/components/autofill/core/browser/ |
autofill_metrics_unittest.cc | 152 AutofillField* form_field = field(i); 292 FormFieldData field; local 295 "Autofilled", "autofilled", "Elvis Aaron Presley", "text", &field); 296 field.is_autofilled = true; 297 form.fields.push_back(field); 302 "Autofill Failed", "autofillfailed", "buddy@gmail.com", "text", &field); 303 field.is_autofilled = false; 304 form.fields.push_back(field); 308 test::CreateTestFormField("Empty", "empty", "", "text", &field); 309 field.is_autofilled = false 401 FormFieldData field; local 500 FormFieldData field; local 610 FormFieldData field; local 699 FormFieldData field; local 833 FormFieldData field; local 940 FormFieldData field; local [all...] |