Home
last modified time | relevance | path

Searched refs:accessFlags (Results 1 – 25 of 55) 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/vm/oo/
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)))
336 u4 accessFlags; member
400 u4 accessFlags; member
[all …]
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()
DArray.c503 newClass->accessFlags = ((newClass->elementClass->accessFlags & in createArrayClass()
539 newClass->accessFlags >> 16, in createArrayClass()
540 newClass->accessFlags & JAVA_FLAGS_MASK); in createArrayClass()
641 newClass->accessFlags = ACC_PUBLIC | ACC_FINAL | ACC_ABSTRACT; in createPrimitiveClass()
DObject.c722 pField->field.accessFlags, pField->byteOffset, dval); in dvmDumpObject()
735 pField->field.accessFlags, pField->byteOffset, lval); in dvmDumpObject()
759 pField->field.accessFlags, byteOffset, dval); in dvmDumpObject()
772 pField->field.accessFlags, byteOffset, lval); in dvmDumpObject()
/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()
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()
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()
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/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/
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()
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()
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/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.c906 SWAP_FIELD4(item->accessFlags); in swapClassDefItem()
1442 u4 accessFlags = field->accessFlags; in verifyFields() local
1443 bool isStatic = (accessFlags & ACC_STATIC) != 0; in verifyFields()
1452 if ((accessFlags & ~ACC_FIELD_MASK) != 0) { in verifyFields()
1453 LOGE("Bogus field access flags %x @ %d\n", accessFlags, i); in verifyFields()
1471 u4 accessFlags = method->accessFlags; in verifyMethods() local
1473 (accessFlags & (ACC_STATIC | ACC_PRIVATE | ACC_CONSTRUCTOR)) != 0; in verifyMethods()
1474 bool expectCode = (accessFlags & (ACC_NATIVE | ACC_ABSTRACT)) == 0; in verifyMethods()
1475 bool isSynchronized = (accessFlags & ACC_SYNCHRONIZED) != 0; in verifyMethods()
1476 bool allowSynchronized = (accessFlags & ACC_NATIVE) != 0; in verifyMethods()
[all …]
/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/dexdump/
DDexDump.c213 static const char* quotedVisibility(u4 accessFlags) in quotedVisibility() argument
215 if ((accessFlags & ACC_PUBLIC) != 0) in quotedVisibility()
217 else if ((accessFlags & ACC_PROTECTED) != 0) in quotedVisibility()
219 else if ((accessFlags & ACC_PRIVATE) != 0) in quotedVisibility()
521 pClassDef->accessFlags, pClassDef->accessFlags); in dumpClassDef()
622 pDexMethod->accessFlags, dumpPositionsCb, NULL, NULL); in dumpPositions()
648 pDexMethod->accessFlags, NULL, dumpLocalsCb, NULL); in dumpLocals()
1123 (pDexMethod->accessFlags & (ACC_PUBLIC | ACC_PROTECTED)) == 0) in dumpMethod()
1134 accessStr = createAccessFlagStr(pDexMethod->accessFlags, in dumpMethod()
1142 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.c304 u4 accessFlags; in Dalvik_java_lang_Class_getModifiers() local
306 accessFlags = clazz->accessFlags & JAVA_FLAGS_MASK; in Dalvik_java_lang_Class_getModifiers()
314 accessFlags = innerFlags & JAVA_FLAGS_MASK; in Dalvik_java_lang_Class_getModifiers()
319 RETURN_INT(accessFlags); in Dalvik_java_lang_Class_getModifiers()
690 int accessFlags; in Dalvik_java_lang_Class_isAnonymousClass() local
697 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()

123