Home
last modified time | relevance | path

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

1234

/dalvik/dx/src/com/android/dx/io/
DClassData.java65 private final int accessFlags; field in ClassData.Field
67 public Field(int fieldIndex, int accessFlags) { in Field() argument
69 this.accessFlags = accessFlags; in Field()
77 return accessFlags; in getAccessFlags()
83 private final int accessFlags; field in ClassData.Method
86 public Method(int methodIndex, int accessFlags, int codeOffset) { in Method() argument
88 this.accessFlags = accessFlags; in Method()
97 return accessFlags; in getAccessFlags()
DClassDef.java27 private final int accessFlags; field in ClassDef
35 public ClassDef(DexBuffer buffer, int offset, int typeIndex, int accessFlags, in ClassDef() argument
41 this.accessFlags = accessFlags; in ClassDef()
71 return accessFlags; in getAccessFlags()
/dalvik/vm/oo/
DObject.h93 do { (clazz)->accessFlags |= (flag); } while (0)
96 do { (clazz)->accessFlags &= ~(flag); } while (0)
99 (((clazz)->accessFlags & (flag)) != 0)
102 ((u4)((clazz)->accessFlags & (flags)))
116 do { (method)->accessFlags |= (flag); } while (0)
119 do { (method)->accessFlags &= ~(flag); } while (0)
122 (((method)->accessFlags & (flag)) != 0)
125 ((u4)((method)->accessFlags & (flags)))
306 u4 accessFlags; member
361 u4 accessFlags; member
[all …]
DAccessCheck.cpp89 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()
/dalvik/dx/src/com/android/dx/cf/attrib/
DInnerClassList.java59 CstString 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 CstString innerName, int accessFlags) { in Item() argument
98 this.accessFlags = accessFlags; in Item()
134 return accessFlags; in getAccessFlags()
/dalvik/dexgen/src/com/android/dexgen/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()
/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.writeUleb128(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.writeUleb128(accessFlags); in encode()
DClassDefItem.java50 private final int accessFlags; field in ClassDefItem
88 public ClassDefItem(CstType thisClass, int accessFlags, in ClassDefItem() argument
104 this.accessFlags = accessFlags; in ClassDefItem()
190 AccessFlags.classString(accessFlags)); in writeTo()
212 out.writeInt(accessFlags); in writeTo()
236 return accessFlags; in getAccessFlags()
396 pw.println(" accessFlags: " + Hex.u2(accessFlags)); in debugPrint()
/dalvik/dexgen/src/com/android/dexgen/rop/
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()
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/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.java103 private int accessFlags; field in DirectClassFile
189 this.accessFlags = -1; in DirectClassFile()
260 return accessFlags; in getAccessFlags()
377 if (accessFlags == -1) { in parseToInterfacesIfNecessary()
476 int accessFlags = bytes.getUnsignedShort(at); // u2 access_flags; in parse0() local
486 AccessFlags.classString(accessFlags)); in parse0()
521 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()
/dalvik/dx/src/com/android/dx/dex/cf/
DCfTranslator.java154 int accessFlags = one.getAccessFlags(); in processFields() local
156 if (AccessFlags.isStatic(accessFlags)) { in processFields()
158 EncodedField fi = new EncodedField(field, accessFlags); in processFields()
164 EncodedField fi = new EncodedField(field, accessFlags); in processFields()
234 int accessFlags = one.getAccessFlags(); in processMethods() local
235 boolean isStatic = AccessFlags.isStatic(accessFlags); in processMethods()
236 boolean isPrivate = AccessFlags.isPrivate(accessFlags); in processMethods()
237 boolean isNative = AccessFlags.isNative(accessFlags); in processMethods()
238 boolean isAbstract = AccessFlags.isAbstract(accessFlags); in processMethods()
303 if (AccessFlags.isSynchronized(accessFlags)) { in processMethods()
[all …]
/dalvik/dexdump/
DDexDump.cpp215 static const char* quotedVisibility(u4 accessFlags) in quotedVisibility() argument
217 if ((accessFlags & ACC_PUBLIC) != 0) in quotedVisibility()
219 else if ((accessFlags & ACC_PROTECTED) != 0) in quotedVisibility()
221 else if ((accessFlags & ACC_PRIVATE) != 0) in quotedVisibility()
523 pClassDef->accessFlags, pClassDef->accessFlags); in dumpClassDef()
624 pDexMethod->accessFlags, dumpPositionsCb, NULL, NULL); in dumpPositions()
650 pDexMethod->accessFlags, NULL, dumpLocalsCb, NULL); in dumpLocals()
1151 (pDexMethod->accessFlags & (ACC_PUBLIC | ACC_PROTECTED)) == 0) in dumpMethod()
1162 accessStr = createAccessFlagStr(pDexMethod->accessFlags, in dumpMethod()
1170 pDexMethod->accessFlags, accessStr); in dumpMethod()
[all …]

1234