Home
last modified time | relevance | path

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

123

/dalvik/dx/src/com/android/dx/cf/attrib/
DInnerClassList.java59 CstUtf8 innerName, int accessFlags) { in set() argument
60 set0(n, new Item(innerClass, outerClass, innerName, accessFlags)); in set()
77 private final int accessFlags; field in InnerClassList.Item
90 CstUtf8 innerName, int accessFlags) { in Item() argument
98 this.accessFlags = accessFlags; in Item()
134 return accessFlags; in getAccessFlags()
/dalvik/dx/src/com/android/dx/dex/file/
DEncodedMember.java31 private final int accessFlags; field in EncodedMember
38 public EncodedMember(int accessFlags) { in EncodedMember() argument
39 this.accessFlags = accessFlags; in EncodedMember()
48 return accessFlags; in getAccessFlags()
DEncodedMethod.java54 public EncodedMethod(CstMethodRef method, int accessFlags, in EncodedMethod() argument
56 super(accessFlags); in EncodedMethod()
67 boolean isStatic = (accessFlags & AccessFlags.ACC_STATIC) != 0; in EncodedMethod()
163 int accessFlags = getAccessFlags(); in encode() local
166 boolean shouldHaveCode = (accessFlags & in encode()
183 out.annotate(Leb128Utils.unsignedLeb128Size(accessFlags), in encode()
185 AccessFlags.methodString(accessFlags)); in encode()
191 out.writeUnsignedLeb128(accessFlags); in encode()
DEncodedField.java42 public EncodedField(CstFieldRef field, int accessFlags) { in EncodedField() argument
43 super(accessFlags); in EncodedField()
137 int accessFlags = getAccessFlags(); in encode() local
144 out.annotate(Leb128Utils.unsignedLeb128Size(accessFlags), in encode()
146 AccessFlags.fieldString(accessFlags)); in encode()
150 out.writeUnsignedLeb128(accessFlags); in encode()
DClassDefItem.java52 private final int accessFlags; field in ClassDefItem
90 public ClassDefItem(CstType thisClass, int accessFlags, in ClassDefItem() argument
106 this.accessFlags = accessFlags; in ClassDefItem()
192 AccessFlags.classString(accessFlags)); in writeTo()
214 out.writeInt(accessFlags); in writeTo()
238 return accessFlags; in getAccessFlags()
398 pw.println(" accessFlags: " + Hex.u2(accessFlags)); in debugPrint()
DAnnotationUtils.java135 public static Annotation makeInnerClass(CstUtf8 name, int accessFlags) { in makeInnerClass() argument
142 CstInteger.make(accessFlags))); in makeInnerClass()
/dalvik/vm/oo/
DAccessCheck.c89 const ClassObject* accessTo, u4 accessFlags) in checkAccess() argument
92 if (accessFlags & ACC_PUBLIC) in checkAccess()
100 if (accessFlags & ACC_PRIVATE) in checkAccess()
107 if (accessFlags & ACC_PROTECTED) in checkAccess()
138 return checkAccess(accessFrom, method->clazz, method->accessFlags); in dvmCheckMethodAccess()
149 return checkAccess(accessFrom, field->clazz, field->accessFlags); in dvmCheckFieldAccess()
DObject.h101 do { (clazz)->accessFlags |= (flag); } while (0)
104 do { (clazz)->accessFlags &= ~(flag); } while (0)
107 (((clazz)->accessFlags & (flag)) != 0)
110 ((u4)((clazz)->accessFlags & (flags)))
124 do { (method)->accessFlags |= (flag); } while (0)
127 do { (method)->accessFlags &= ~(flag); } while (0)
130 (((method)->accessFlags & (flag)) != 0)
133 ((u4)((method)->accessFlags & (flags)))
342 u4 accessFlags; member
477 u4 accessFlags; member
[all …]
DArray.c509 newClass->accessFlags = ((newClass->elementClass->accessFlags & in createArrayClass()
549 newClass->accessFlags >> 16, in createArrayClass()
550 newClass->accessFlags & JAVA_FLAGS_MASK); in createArrayClass()
654 newClass->accessFlags = ACC_PUBLIC | ACC_FINAL | ACC_ABSTRACT; in createPrimitiveClass()
/dalvik/dx/src/com/android/dx/cf/iface/
DStdMember.java32 private final int accessFlags; field in StdMember
48 public StdMember(CstType definingClass, int accessFlags, CstNat nat, in StdMember() argument
63 this.accessFlags = accessFlags; in StdMember()
88 return accessFlags; in getAccessFlags()
DStdMethod.java40 public StdMethod(CstType definingClass, int accessFlags, CstNat nat, in StdMethod() argument
42 super(definingClass, accessFlags, nat, attributes); in StdMethod()
47 AccessFlags.isStatic(accessFlags), in StdMethod()
DStdField.java37 public StdField(CstType definingClass, int accessFlags, CstNat nat, in StdField() argument
39 super(definingClass, accessFlags, nat, attributes); in StdField()
/dalvik/dx/src/com/android/dx/cf/direct/
DFieldListParser.java66 protected String humanAccessFlags(int accessFlags) { in humanAccessFlags() argument
67 return AccessFlags.fieldString(accessFlags); in humanAccessFlags()
78 protected Member set(int n, int accessFlags, CstNat nat, in set() argument
81 new StdField(getDefiner(), accessFlags, nat, attributes); in set()
DMethodListParser.java66 protected String humanAccessFlags(int accessFlags) { in humanAccessFlags() argument
67 return AccessFlags.methodString(accessFlags); in humanAccessFlags()
78 protected Member set(int n, int accessFlags, CstNat nat, in set() argument
81 new StdMethod(getDefiner(), accessFlags, nat, attributes); in set()
DMemberListParser.java146 protected abstract String humanAccessFlags(int accessFlags); in humanAccessFlags() argument
166 protected abstract Member set(int n, int accessFlags, CstNat nat, in set() argument
187 int accessFlags = bytes.getUnsignedShort(at); in parse() local
201 humanAccessFlags(accessFlags)); in parse()
217 Member member = set(i, accessFlags, nat, attributes); in parse()
DDirectClassFile.java100 private int accessFlags; field in DirectClassFile
186 this.accessFlags = -1; in DirectClassFile()
257 return accessFlags; in getAccessFlags()
374 if (accessFlags == -1) { in parseToInterfacesIfNecessary()
473 int accessFlags = bytes.getUnsignedShort(at); // u2 access_flags; in parse0() local
483 AccessFlags.classString(accessFlags)); in parse0()
518 this.accessFlags = accessFlags; in parse0()
/dalvik/dx/src/com/android/dx/dex/cf/
DCfTranslator.java151 int accessFlags = one.getAccessFlags(); in processFields() local
153 if (AccessFlags.isStatic(accessFlags)) { in processFields()
155 EncodedField fi = new EncodedField(field, accessFlags); in processFields()
161 EncodedField fi = new EncodedField(field, accessFlags); in processFields()
230 int accessFlags = one.getAccessFlags(); in processMethods() local
231 boolean isStatic = AccessFlags.isStatic(accessFlags); in processMethods()
232 boolean isPrivate = AccessFlags.isPrivate(accessFlags); in processMethods()
233 boolean isNative = AccessFlags.isNative(accessFlags); in processMethods()
234 boolean isAbstract = AccessFlags.isAbstract(accessFlags); in processMethods()
299 if (AccessFlags.isSynchronized(accessFlags)) { in processMethods()
[all …]
/dalvik/libdex/
DDexClass.h38 u4 accessFlags; member
44 u4 accessFlags; member
140 pField->accessFlags = readUnsignedLeb128(pData); in dexReadClassDataField()
156 pMethod->accessFlags = readUnsignedLeb128(pData); in dexReadClassDataMethod()
DDexSwapVerify.c874 SWAP_FIELD4(item->accessFlags); in swapClassDefItem()
1405 u4 accessFlags = field->accessFlags; in verifyFields() local
1406 bool isStatic = (accessFlags & ACC_STATIC) != 0; in verifyFields()
1415 if ((accessFlags & ~ACC_FIELD_MASK) != 0) { in verifyFields()
1416 LOGE("Bogus field access flags %x @ %d\n", accessFlags, i); in verifyFields()
1434 u4 accessFlags = method->accessFlags; in verifyMethods() local
1436 (accessFlags & (ACC_STATIC | ACC_PRIVATE | ACC_CONSTRUCTOR)) != 0; in verifyMethods()
1437 bool expectCode = (accessFlags & (ACC_NATIVE | ACC_ABSTRACT)) == 0; in verifyMethods()
1438 bool isSynchronized = (accessFlags & ACC_SYNCHRONIZED) != 0; in verifyMethods()
1439 bool allowSynchronized = (accessFlags & ACC_NATIVE) != 0; in verifyMethods()
[all …]
/dalvik/dexdump/
DDexDump.c214 static const char* quotedVisibility(u4 accessFlags) in quotedVisibility() argument
216 if ((accessFlags & ACC_PUBLIC) != 0) in quotedVisibility()
218 else if ((accessFlags & ACC_PROTECTED) != 0) in quotedVisibility()
220 else if ((accessFlags & ACC_PRIVATE) != 0) in quotedVisibility()
420 pClassDef->accessFlags, pClassDef->accessFlags); in dumpClassDef()
521 pDexMethod->accessFlags, dumpPositionsCb, NULL, NULL); in dumpPositions()
547 pDexMethod->accessFlags, NULL, dumpLocalsCb, NULL); in dumpLocals()
1007 (pDexMethod->accessFlags & (ACC_PUBLIC | ACC_PROTECTED)) == 0) in dumpMethod()
1018 accessStr = createAccessFlagStr(pDexMethod->accessFlags, in dumpMethod()
1026 pDexMethod->accessFlags, accessStr); in dumpMethod()
[all …]
/dalvik/docs/
Ddex-format.css269 table.accessFlags {
274 table.accessFlags td:first-child {
279 table.accessFlags td:first-child + td {
284 table.accessFlags td:first-child + td + td {
288 table.accessFlags td:first-child + td + td + td {
292 table.accessFlags td:first-child + td + td + td + td {
296 table.accessFlags i {
/dalvik/vm/native/
Djava_lang_Class.c302 u4 accessFlags; in Dalvik_java_lang_Class_getModifiers() local
304 accessFlags = clazz->accessFlags & JAVA_FLAGS_MASK; in Dalvik_java_lang_Class_getModifiers()
312 accessFlags = innerFlags & JAVA_FLAGS_MASK; in Dalvik_java_lang_Class_getModifiers()
317 RETURN_INT(accessFlags); in Dalvik_java_lang_Class_getModifiers()
688 int accessFlags; in Dalvik_java_lang_Class_isAnonymousClass() local
695 if (!dvmGetInnerClass(clazz, &className, &accessFlags)) in Dalvik_java_lang_Class_isAnonymousClass()
Djava_lang_reflect_Constructor.c36 RETURN_INT(dvmFixMethodFlags(meth->accessFlags)); in Dalvik_java_lang_reflect_Constructor_getConstructorModifiers()
/dalvik/vm/mterp/armv5te/
Ddebug.c67 ((method->accessFlags & (ACC_STATIC|ACC_PRIVATE)) != 0) || in dvmMterpPrintMethod()
/dalvik/vm/analysis/
DDexVerify.c100 assert((clazz->accessFlags & JAVA_FLAGS_MASK) == in dvmVerifyAllClasses()
101 pClassDef->accessFlags); in dvmVerifyAllClasses()
102 ((DexClassDef*)pClassDef)->accessFlags |= in dvmVerifyAllClasses()

123