/dalvik/dx/src/com/android/dx/cf/iface/ |
H A D | StdFieldList.java | 41 * Sets the field at the given index. 43 * @param n >= 0, < size(); which field 44 * @param field null-ok; the field object 46 public void set(int n, Field field) { argument 47 set0(n, field);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | FieldIdItem.java | 22 * Representation of a field reference inside a Dalvik file. 28 * @param field non-null; the constant for the field 30 public FieldIdItem(CstFieldRef field) { argument 31 super(field); 50 * Gets the field constant.
|
H A D | FieldAnnotationStruct.java | 26 * Association of a field and its annotations. 30 /** non-null; the field in question */ 31 private final CstFieldRef field; field in class:FieldAnnotationStruct 39 * @param field non-null; the field in question 42 public FieldAnnotationStruct(CstFieldRef field, argument 44 if (field == null) { 45 throw new NullPointerException("field == null"); 52 this.field = field; [all...] |
H A D | FieldIdsSection.java | 32 * non-null; map from field constants to {@link 95 * @param field non-null; the reference to intern 98 public FieldIdItem intern(CstFieldRef field) { argument 99 if (field == null) { 100 throw new NullPointerException("field == null"); 105 FieldIdItem result = fieldIds.get(field); 108 result = new FieldIdItem(field); 109 fieldIds.put(field, result);
|
H A D | EncodedField.java | 29 * Representation of a field of a class, of any sort. 33 /** non-null; constant for the field */ 34 private final CstFieldRef field; field in class:EncodedField 39 * @param field non-null; constant for the field 42 public EncodedField(CstFieldRef field, int accessFlags) { argument 45 if (field == null) { 46 throw new NullPointerException("field == null"); 54 this.field = field; [all...] |
H A D | AnnotationsDirectoryItem.java | 151 * Adds a field annotations item to this instance. 153 * @param field non-null; field in question 156 public void addFieldAnnotations(CstFieldRef field, argument 162 fieldAnnotations.add(new FieldAnnotationStruct(field, 365 out.println(" field annotations:");
|
H A D | ClassDataItem.java | 118 * Adds a static field. 120 * @param field non-null; the field to add 121 * @param value null-ok; initial value for the field, if any 123 public void addStaticField(EncodedField field, Constant value) { argument 124 if (field == null) { 125 throw new NullPointerException("field == null"); 133 staticFields.add(field); 134 staticValues.put(field, value); 138 * Adds an instance field 142 addInstanceField(EncodedField field) argument [all...] |
H A D | ClassDefItem.java | 274 * Adds a static field. 276 * @param field non-null; the field to add 277 * @param value null-ok; initial value for the field, if any 279 public void addStaticField(EncodedField field, Constant value) { argument 280 classData.addStaticField(field, value); 284 * Adds an instance field. 286 * @param field non-null; the field to add 288 public void addInstanceField(EncodedField field) { argument 338 addFieldAnnotations(CstFieldRef field, Annotations annotations) argument [all...] |
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/ |
H A D | ReflectionAccessImpl.java | 41 public Field clone(Field field) { argument 42 return new Field(field);
|
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/ |
H A D | ReflectionAccess.java | 39 * Gets a clone of the given field. 41 * @param field non-null; the field to clone 44 public Field clone(Field field); argument
|
/dalvik/libcore/security/src/main/java/java/security/spec/ |
H A D | EllipticCurve.java | 32 // Underlying finite field 33 private final ECField field; field in class:EllipticCurve 49 * Creates a new {@code EllipticCurve} with the specified field, 52 * @param field 53 * the finite field of this elliptic curve. 61 * if the specified coefficients are not in the specified field. 64 public EllipticCurve(ECField field, BigInteger a, BigInteger b, byte[] seed) { argument 65 this.field = field; 66 if (this.field 120 EllipticCurve(ECField field, BigInteger a, BigInteger b) argument [all...] |
/dalvik/libcore/security/src/test/java/tests/security/permissions/ |
H A D | JavaLangReflectAccessibleObjectTest.java | 39 private int field; field in class:JavaLangReflectAccessibleObjectTest.TestClass 64 Field field = TestClass.class.getDeclaredField("field"); 65 field.setAccessible(true); 94 Field field = TestClass.class.getDeclaredField("field"); 95 field.setAccessible(TestClass.class.getDeclaredFields(), true);
|
/dalvik/tests/064-field-access/src/ |
H A D | Main.java | 22 * Test field access through reflection. 41 * Get the field specified by "field" from "obj". 44 * field.getByte(). 51 public Object getValue(Field field, Object obj, char type, argument 58 result = new Boolean(field.getBoolean(obj)); 61 result = new Byte(field.getByte(obj)); 64 result = new Short(field.getShort(obj)); 67 result = new Character(field.getChar(obj)); 70 result = new Integer(field 283 getValue(Field field, Object obj, char type, Class expectedException) argument [all...] |
/dalvik/vm/oo/ |
H A D | AccessCheck.c | 86 * Validate method/field access. 142 * Determine whether the "accessFrom" class is allowed to get at "field". 144 bool dvmCheckFieldAccess(const ClassObject* accessFrom, const Field* field) argument 146 //LOGI("CHECK ACCESS from '%s' to field '%s' (in %s) flags=0x%x\n", 147 // accessFrom->descriptor, field->name, 148 // field->clazz->descriptor, field->accessFlags); 149 return checkAccess(accessFrom, field->clazz, field->accessFlags);
|
/dalvik/libcore/luni/src/main/java/java/io/ |
H A D | EmulatedFields.java | 32 // A slot is a field plus its value 36 ObjectStreamField field; field in class:EmulatedFields.ObjectSlot 38 // Actual value this emulated field holds 41 // If this field has a default value (true) or something has been 46 * Returns the descriptor for this emulated field. 48 * @return the field descriptor 51 return field; 55 * Returns the value held by this emulated field. 57 * @return the field value 89 * field descripto [all...] |
/dalvik/libcore/support/src/test/java/tests/support/ |
H A D | Support_Format.java | 37 String text, Format.Field field, int begin, int end) { 39 FieldPosition pos = new FieldPosition(field); 53 assertEquals("Test " + count + ": incorrect begin index for field " 54 + field, begin, pos.getBeginIndex()); 55 assertEquals("Test " + count + ": incorrect end index for field" 56 + field, end, pos.getEndIndex()); 36 t_FormatWithField(int count, Format format, Object object, String text, Format.Field field, int begin, int end) argument
|
/dalvik/libcore/text/src/main/java/java/text/ |
H A D | FieldPosition.java | 23 * the start and end indices of the field in the formatted string. 30 * If more than one field information is needed, the method 43 * Constructs a new {@code FieldPosition} for the specified field. 45 * @param field 46 * the field to identify. 49 public FieldPosition(int field) { argument 50 myField = field; 58 * the field attribute to identify. 68 * attribute and field id. 71 * the field attribut 76 FieldPosition(Format.Field attribute, int field) argument [all...] |
H A D | Format.java | 172 * {@code field} is an input/output parameter. If its {@code field} 173 * member contains an enum value specifying a field on input, then its 175 * text offset of the first occurrence of this field in the formatted text. 182 * @param field 183 * on input: an optional alignment field; on output: the offsets 184 * of the alignment field in the formatted text. 191 FieldPosition field); 318 * Constructs a new instance of {@code Field} with the given field name. 321 * the field nam 190 format(Object object, StringBuffer buffer, FieldPosition field) argument [all...] |
H A D | ChoiceFormat.java | 258 * @param field 265 FieldPosition field) { 283 * @param field 290 FieldPosition field) { 291 return format((double) value, buffer, field); 264 format(double value, StringBuffer buffer, FieldPosition field) argument 289 format(long value, StringBuffer buffer, FieldPosition field) argument
|
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/ |
H A D | RuleBasedNumberFormat.java | 142 public StringBuffer format(long value, StringBuffer buffer, FieldPosition field) { argument 150 if(field != null) { 151 fieldType = getFieldType(field.getFieldAttribute()); 154 String result = formatRBNFImpl(this.addr, value, field, 163 FieldPosition field, String fieldType, StringBuffer buffer); 166 public StringBuffer format(double value, StringBuffer buffer, FieldPosition field) { argument 174 if(field != null) { 175 fieldType = getFieldType(field.getFieldAttribute()); 178 String result = formatRBNFImpl(this.addr, value, field, 187 FieldPosition field, Strin 162 formatRBNFImpl(int addr, long value, FieldPosition field, String fieldType, StringBuffer buffer) argument 186 formatRBNFImpl(int addr, double value, FieldPosition field, String fieldType, StringBuffer buffer) argument 219 getFieldType(Format.Field field) argument [all...] |
/dalvik/libcore/sql/src/test/java/tests/java/sql/ |
H A D | MultiThreadAccessTest.java | 233 String field = "field3"; 242 // assertEquals("Wrong value of field " + field, BigDecimal.valueOf(id), 243 // result.getBigDecimal(field)); 247 threadPool.runTask(createTask7(id, field)); 256 // assertEquals("Wrong value of field " + field, expectedVal, result 257 // .getBigDecimal(field).doubleValue()); 444 * field of one record with identifier id in the first table 448 private static Runnable createTask7(final int id, final String field) { argument [all...] |
/dalvik/libcore/suncompat/src/main/java/sun/misc/ |
H A D | Unsafe.java | 67 * the memory used to store the indicated instance field. 69 * @param field non-null; the field in question, which must be an 70 * instance field 71 * @return the offset to the field 73 public long objectFieldOffset(Field field) { argument 74 if (Modifier.isStatic(field.getModifiers())) { 79 return objectFieldOffset0(field); 86 * @param field non-null; the instance field 89 objectFieldOffset0(Field field) argument [all...] |
/dalvik/vm/ |
H A D | DvmDex.h | 138 struct Field* field) 141 pDvmDex->pResFields[fieldIdx] = field; 256 struct Field* field) 265 pDvmDex->pResFields[newIdx] = field; 312 struct Field* field) 137 dvmDexSetResolvedField(DvmDex* pDvmDex, u4 fieldIdx, struct Field* field) argument 255 dvmDexSetResolvedField(DvmDex* pDvmDex, u4 fieldIdx, struct Field* field) argument 311 dvmDexSetResolvedField(DvmDex* pDvmDex, u4 fieldIdx, struct Field* field) argument
|
/dalvik/vm/native/ |
H A D | java_lang_reflect_Field.c | 25 * Get the address of a field from an object. This can be used with "get" 28 * "declaringClass" is the class in which the field was declared. For an 29 * instance field, "obj" is the object that holds the field data; for a 30 * static field its value is ignored. 32 * "If the underlying field is static, the class that declared the 33 * field is initialized if it has not already been initialized." 40 * attempting to set a protected field from an unrelated class causes an 42 * the field causes an IllegalArgumentException. If code does both at the 47 * (2) Make sure the object actually has the field 62 Field* field; local 151 Field* field; local 372 Field* field; local 393 Field* field; local [all...] |
H A D | sun_misc_Unsafe.c | 25 * private static native long objectFieldOffset0(Field field); 31 InstField* field = (InstField*) dvmGetFieldFromReflectObj(fieldObject); local 32 s8 result = ((s8) field->byteOffset);
|