Searched refs:accessFlags (Results 1 - 25 of 54) sorted by relevance

123

/dalvik/dx/src/com/android/dx/dex/file/
H A DEncodedMember.java31 private final int accessFlags; field in class:EncodedMember
36 * @param accessFlags access flags for the member
38 public EncodedMember(int accessFlags) { argument
39 this.accessFlags = accessFlags;
48 return accessFlags;
H A DEncodedField.java40 * @param accessFlags access flags
42 public EncodedField(CstFieldRef field, int accessFlags) { argument
43 super(accessFlags);
50 * TODO: Maybe check accessFlags, at least for
137 int accessFlags = getAccessFlags();
144 out.annotate(Leb128Utils.unsignedLeb128Size(accessFlags),
146 AccessFlags.fieldString(accessFlags));
150 out.writeUnsignedLeb128(accessFlags);
H A DEncodedMethod.java48 * @param accessFlags access flags
54 public EncodedMethod(CstMethodRef method, int accessFlags, argument
56 super(accessFlags);
67 boolean isStatic = (accessFlags & AccessFlags.ACC_STATIC) != 0;
163 int accessFlags = getAccessFlags();
166 boolean shouldHaveCode = (accessFlags &
183 out.annotate(Leb128Utils.unsignedLeb128Size(accessFlags),
185 AccessFlags.methodString(accessFlags));
191 out.writeUnsignedLeb128(accessFlags);
H A DClassDefItem.java52 private final int accessFlags; field in class:ClassDefItem
83 * @param accessFlags access flags
90 public ClassDefItem(CstType thisClass, int accessFlags, argument
97 * TODO: Maybe check accessFlags and superclass, at
106 this.accessFlags = accessFlags;
192 AccessFlags.classString(accessFlags));
214 out.writeInt(accessFlags);
238 return accessFlags;
398 pw.println(" accessFlags
[all...]
H A DAnnotationUtils.java69 /** {@code non-null;} the UTF-8 constant {@code "accessFlags"} */
70 private static final CstUtf8 ACCESS_FLAGS_UTF = new CstUtf8("accessFlags");
132 * @param accessFlags the original access flags
135 public static Annotation makeInnerClass(CstUtf8 name, int accessFlags) { argument
142 CstInteger.make(accessFlags)));
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DInnerClassList.java56 * @param accessFlags original declared access flags
59 CstUtf8 innerName, int accessFlags) {
60 set0(n, new Item(innerClass, outerClass, innerName, accessFlags));
77 private final int accessFlags; field in class:InnerClassList.Item
87 * @param accessFlags original declared access flags
90 CstUtf8 innerName, int accessFlags) {
98 this.accessFlags = accessFlags;
134 return accessFlags;
58 set(int n, CstType innerClass, CstType outerClass, CstUtf8 innerName, int accessFlags) argument
89 Item(CstType innerClass, CstType outerClass, CstUtf8 innerName, int accessFlags) argument
/dalvik/vm/oo/
H A DAccessCheck.c89 const ClassObject* accessTo, u4 accessFlags)
92 if (accessFlags & ACC_PUBLIC)
100 if (accessFlags & ACC_PRIVATE)
107 if (accessFlags & ACC_PROTECTED)
138 return checkAccess(accessFrom, method->clazz, method->accessFlags);
148 // field->clazz->descriptor, field->accessFlags);
149 return checkAccess(accessFrom, field->clazz, field->accessFlags);
88 checkAccess(const ClassObject* accessFrom, const ClassObject* accessTo, u4 accessFlags) argument
H A DObject.h103 do { (clazz)->accessFlags |= (flag); } while (0)
106 do { (clazz)->accessFlags &= ~(flag); } while (0)
109 (((clazz)->accessFlags & (flag)) != 0)
112 ((u4)((clazz)->accessFlags & (flags)))
126 do { (method)->accessFlags |= (flag); } while (0)
129 do { (method)->accessFlags &= ~(flag); } while (0)
132 (((method)->accessFlags & (flag)) != 0)
135 ((u4)((method)->accessFlags & (flags)))
329 * pointer (e.g. for reflection stuff). Testing the accessFlags for
336 u4 accessFlags; member in struct:Field
400 u4 accessFlags; member in struct:ClassObject
532 u4 accessFlags; member in struct:Method
[all...]
H A DObject.c722 pField->field.accessFlags, pField->byteOffset, dval);
735 pField->field.accessFlags, pField->byteOffset, lval);
759 pField->field.accessFlags, byteOffset, dval);
772 pField->field.accessFlags, byteOffset, lval);
H A DArray.c503 newClass->accessFlags = ((newClass->elementClass->accessFlags &
507 * This must happen after accessFlags is set.
539 newClass->accessFlags >> 16,
540 newClass->accessFlags & JAVA_FLAGS_MASK);
641 newClass->accessFlags = ACC_PUBLIC | ACC_FINAL | ACC_ABSTRACT;
/dalvik/dx/src/com/android/dx/cf/iface/
H A DStdMember.java32 private final int accessFlags; field in class:StdMember
44 * @param accessFlags access flags
48 public StdMember(CstType definingClass, int accessFlags, CstNat nat, argument
63 this.accessFlags = accessFlags;
88 return accessFlags;
H A DStdMethod.java36 * @param accessFlags access flags
40 public StdMethod(CstType definingClass, int accessFlags, CstNat nat, argument
42 super(definingClass, accessFlags, nat, attributes);
47 AccessFlags.isStatic(accessFlags),
H A DStdField.java33 * @param accessFlags access flags
37 public StdField(CstType definingClass, int accessFlags, CstNat nat, argument
39 super(definingClass, accessFlags, nat, attributes);
/dalvik/dx/src/com/android/dx/cf/direct/
H A DFieldListParser.java66 protected String humanAccessFlags(int accessFlags) { argument
67 return AccessFlags.fieldString(accessFlags);
78 protected Member set(int n, int accessFlags, CstNat nat, argument
81 new StdField(getDefiner(), accessFlags, nat, attributes);
H A DMethodListParser.java66 protected String humanAccessFlags(int accessFlags) { argument
67 return AccessFlags.methodString(accessFlags);
78 protected Member set(int n, int accessFlags, CstNat nat, argument
81 new StdMethod(getDefiner(), accessFlags, nat, attributes);
H A DMemberListParser.java143 * @param accessFlags the flags
146 protected abstract String humanAccessFlags(int accessFlags); argument
160 * @param accessFlags the {@code access_flags}
166 protected abstract Member set(int n, int accessFlags, CstNat nat, argument
187 int accessFlags = bytes.getUnsignedShort(at);
201 humanAccessFlags(accessFlags));
217 Member member = set(i, accessFlags, nat, attributes);
H A DDirectClassFile.java100 private int accessFlags; field in class:DirectClassFile
186 this.accessFlags = -1;
257 return accessFlags;
374 if (accessFlags == -1) {
473 int accessFlags = bytes.getUnsignedShort(at); // u2 access_flags;
483 AccessFlags.classString(accessFlags));
514 * Only set the instance variable accessFlags here, since
518 this.accessFlags = accessFlags;
/dalvik/libdex/
H A DDexClass.h38 u4 accessFlags; member in struct:DexField
44 u4 accessFlags; member in struct:DexMethod
140 pField->accessFlags = readUnsignedLeb128(pData);
156 pMethod->accessFlags = readUnsignedLeb128(pData);
H A DDexSwapVerify.c906 SWAP_FIELD4(item->accessFlags);
1442 u4 accessFlags = field->accessFlags; local
1443 bool isStatic = (accessFlags & ACC_STATIC) != 0;
1452 if ((accessFlags & ~ACC_FIELD_MASK) != 0) {
1453 LOGE("Bogus field access flags %x @ %d\n", accessFlags, i);
1471 u4 accessFlags = method->accessFlags; local
1473 (accessFlags & (ACC_STATIC | ACC_PRIVATE | ACC_CONSTRUCTOR)) != 0;
1474 bool expectCode = (accessFlags
[all...]
/dalvik/dx/src/com/android/dx/dex/cf/
H A DCfTranslator.java151 int accessFlags = one.getAccessFlags();
153 if (AccessFlags.isStatic(accessFlags)) {
155 EncodedField fi = new EncodedField(field, accessFlags);
161 EncodedField fi = new EncodedField(field, accessFlags);
230 int accessFlags = one.getAccessFlags();
231 boolean isStatic = AccessFlags.isStatic(accessFlags);
232 boolean isPrivate = AccessFlags.isPrivate(accessFlags);
233 boolean isNative = AccessFlags.isNative(accessFlags);
234 boolean isAbstract = AccessFlags.isAbstract(accessFlags);
299 if (AccessFlags.isSynchronized(accessFlags)) {
[all...]
/dalvik/dexdump/
H A DDexDump.c213 static const char* quotedVisibility(u4 accessFlags) argument
215 if ((accessFlags & ACC_PUBLIC) != 0)
217 else if ((accessFlags & ACC_PROTECTED) != 0)
219 else if ((accessFlags & ACC_PRIVATE) != 0)
521 pClassDef->accessFlags, pClassDef->accessFlags);
622 pDexMethod->accessFlags, dumpPositionsCb, NULL, NULL);
648 pDexMethod->accessFlags, NULL, dumpLocalsCb, NULL);
1123 (pDexMethod->accessFlags & (ACC_PUBLIC | ACC_PROTECTED)) == 0)
1134 accessStr = createAccessFlagStr(pDexMethod->accessFlags,
[all...]
/dalvik/vm/mterp/armv5te/
H A Ddebug.c67 ((method->accessFlags & (ACC_STATIC|ACC_PRIVATE)) != 0) ||
/dalvik/vm/native/
H A Djava_lang_Class.c304 u4 accessFlags; local
306 accessFlags = clazz->accessFlags & JAVA_FLAGS_MASK;
314 accessFlags = innerFlags & JAVA_FLAGS_MASK;
319 RETURN_INT(accessFlags);
690 int accessFlags; local
697 if (!dvmGetInnerClass(clazz, &className, &accessFlags))
H A Djava_lang_reflect_Constructor.c36 RETURN_INT(dvmFixMethodFlags(meth->accessFlags));
/dalvik/vm/compiler/template/armv5te/
H A DTEMPLATE_INVOKE_METHOD_NO_OPT.S21 ldr r10, [r0, #offMethod_accessFlags] @ r10<- methodToCall->accessFlags

Completed in 292 milliseconds

123