Home
last modified time | relevance | path

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

12

/external/proguard/src/proguard/classfile/util/
DClassUtil.java175 public static String externalFullClassDescription(int accessFlags, in externalFullClassDescription() argument
178 return externalClassAccessFlags(accessFlags) + in externalFullClassDescription()
539 int accessFlags) in internalMethodParameterSize() argument
542 (accessFlags & ClassConstants.ACC_STATIC) != 0); in internalMethodParameterSize()
875 public static String externalFullFieldDescription(int accessFlags, in externalFullFieldDescription() argument
879 return externalFieldAccessFlags(accessFlags) + in externalFullFieldDescription()
901 int accessFlags, in externalFullMethodDescription() argument
905 return externalMethodAccessFlags(accessFlags) + in externalFullMethodDescription()
921 public static String externalClassAccessFlags(int accessFlags) in externalClassAccessFlags() argument
923 return externalClassAccessFlags(accessFlags, ""); in externalClassAccessFlags()
[all …]
DAccessUtil.java55 public static int accessLevel(int accessFlags) in accessLevel() argument
57 switch (accessFlags & ACCESS_MASK) in accessLevel()
77 public static int accessFlags(int accessLevel) in accessFlags() method in AccessUtil
94 public static int replaceAccessFlags(int accessFlags, int newAccessFlags) in replaceAccessFlags() argument
99 accessFlags &= ~ClassConstants.ACC_FINAL; in replaceAccessFlags()
102 return (accessFlags & ~ACCESS_MASK) | in replaceAccessFlags()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DAccessFlags.java87 public boolean isSet(int accessFlags) { in isSet() argument
88 return (this.value & accessFlags) != 0; in isSet()
99 AccessFlags[] accessFlags = new AccessFlags[size]; in getAccessFlagsForClass() local
103 accessFlags[accessFlagsPosition++] = accessFlag; in getAccessFlagsForClass()
106 return accessFlags; in getAccessFlagsForClass()
109 private static String formatAccessFlags(AccessFlags[] accessFlags) { in formatAccessFlags() argument
111 for (AccessFlags accessFlag: accessFlags) { in formatAccessFlags()
116 for (AccessFlags accessFlag: accessFlags) { in formatAccessFlags()
120 if (accessFlags.length > 0) { in formatAccessFlags()
138 AccessFlags[] accessFlags = new AccessFlags[size]; in getAccessFlagsForMethod() local
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableField.java54 protected final int accessFlags; field in ImmutableField
61 int accessFlags, in ImmutableField() argument
67 this.accessFlags = accessFlags; in ImmutableField()
75 int accessFlags, in ImmutableField() argument
81 this.accessFlags = accessFlags; in ImmutableField()
102 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
DImmutableMethod.java55 protected final int accessFlags; field in ImmutableMethod
63 int accessFlags, in ImmutableMethod() argument
70 this.accessFlags = accessFlags; in ImmutableMethod()
79 int accessFlags, in ImmutableMethod() argument
86 this.accessFlags = accessFlags; in ImmutableMethod()
110 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
DImmutableClassDef.java54 protected final int accessFlags; field in ImmutableClassDef
65 int accessFlags, in ImmutableClassDef() argument
80 this.accessFlags = accessFlags; in ImmutableClassDef()
92 int accessFlags, in ImmutableClassDef() argument
102 this.accessFlags = accessFlags; in ImmutableClassDef()
114 int accessFlags, in ImmutableClassDef() argument
124 this.accessFlags = accessFlags; in ImmutableClassDef()
153 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/
DSmaliModifierListStub.java40 private final int accessFlags; field in SmaliModifierListStub
42 public SmaliModifierListStub(StubElement parent, int accessFlags) { in SmaliModifierListStub() argument
44 this.accessFlags = accessFlags; in SmaliModifierListStub()
48 return accessFlags; in getAccessFlags()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderField.java43 final int accessFlags; field in BuilderField
48 int accessFlags, in BuilderField() argument
52 this.accessFlags = accessFlags; in BuilderField()
58 return accessFlags; in getAccessFlags()
DBuilderMethod.java46 final int accessFlags; field in BuilderMethod
55 int accessFlags, in BuilderMethod() argument
60 this.accessFlags = accessFlags; in BuilderMethod()
70 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
DBuilderClassDef.java48 final int accessFlags; field in BuilderClassDef
63 int accessFlags, in BuilderClassDef() argument
78 this.accessFlags = accessFlags; in BuilderClassDef()
90 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
/external/proguard/src/proguard/optimize/info/
DParameterUsageMarker.java88 int accessFlags = programMethod.getAccessFlags(); in visitProgramMethod() local
92 (accessFlags & ClassConstants.ACC_STATIC) == 0) in visitProgramMethod()
103 (accessFlags & ClassConstants.ACC_STATIC) != 0 ? in visitProgramMethod()
108 if ((accessFlags & ClassConstants.ACC_NATIVE) != 0) in visitProgramMethod()
115 else if ((accessFlags & ClassConstants.ACC_ABSTRACT) != 0) in visitProgramMethod()
126 if ((accessFlags & ClassConstants.ACC_STATIC) == 0 && in visitProgramMethod()
127 ((accessFlags & ClassConstants.ACC_SYNCHRONIZED) != 0 || in visitProgramMethod()
DAccessMethodMarker.java110 int accessFlags = clazz.getAccessFlags(); in visitAnyClass() local
112 if ((accessFlags & ClassConstants.ACC_PUBLIC) == 0) in visitAnyClass()
123 int accessFlags = member.getAccessFlags(); in visitAnyMember() local
125 if ((accessFlags & ClassConstants.ACC_PRIVATE) != 0) in visitAnyMember()
129 else if ((accessFlags & ClassConstants.ACC_PROTECTED) != 0) in visitAnyMember()
133 else if ((accessFlags & ClassConstants.ACC_PUBLIC) == 0) in visitAnyMember()
DFieldOptimizationInfo.java53 int accessFlags = field.getAccessFlags(); in FieldOptimizationInfo() local
56 isRead = (accessFlags & ClassConstants.ACC_VOLATILE) != 0; in FieldOptimizationInfo()
124 int accessFlags = field.getAccessFlags(); in resetValue() local
129 if ((accessFlags & ClassConstants.ACC_STATIC) != 0) in resetValue()
139 (accessFlags & ClassConstants.ACC_FINAL) == 0)) in resetValue()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DFieldDefinition.java47 int accessFlags = field.getAccessFlags(); in writeTo() local
50 AccessFlags.STATIC.isSet(accessFlags) && in writeTo()
51 AccessFlags.FINAL.isSet(accessFlags) && in writeTo()
95 … private static void writeAccessFlags(IndentingWriter writer, int accessFlags) throws IOException { in writeAccessFlags() argument
96 for (AccessFlags accessFlag: AccessFlags.getAccessFlagsForField(accessFlags)) { in writeAccessFlags()
/external/proguard/src/proguard/classfile/visitor/
DMemberAccessFilter.java115 private boolean accepted(int accessFlags) in accepted() argument
117 return (requiredSetAccessFlags & ~accessFlags) == 0 && in accepted()
118 (requiredUnsetAccessFlags & accessFlags) == 0 && in accepted()
120 (requiredOneSetAccessFlags & accessFlags) != 0); in accepted()
DClassAccessFilter.java83 private boolean accepted(int accessFlags) in accepted() argument
85 return (requiredSetAccessFlags & ~accessFlags) == 0 && in accepted()
86 (requiredUnsetAccessFlags & accessFlags) == 0; in accepted()
/external/proguard/src/proguard/classfile/editor/
DMemberAdder.java101 int accessFlags = programField.getAccessFlags(); in visitProgramField() local
155 new ProgramField(accessFlags, in visitProgramField()
188 int accessFlags = programMethod.getAccessFlags(); in visitProgramMethod() local
195 if ((accessFlags & ClassConstants.ACC_ABSTRACT) != 0) in visitProgramMethod()
220 accessFlags & ~ClassConstants.ACC_FINAL; in visitProgramMethod()
252 new ProgramMethod(accessFlags & ~ClassConstants.ACC_FINAL, in visitProgramMethod()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DClassDataItem.java137 int accessFlags = reader.readSmallUleb128(); in makeAnnotator() local
138 out.annotateTo(reader.getOffset(), "access_flags = 0x%x: %s", accessFlags, in makeAnnotator() local
139 Joiner.on('|').join(AccessFlags.getAccessFlagsForField(accessFlags))); in makeAnnotator()
153 int accessFlags = reader.readSmallUleb128(); in makeAnnotator() local
154 out.annotateTo(reader.getOffset(), "access_flags = 0x%x: %s", accessFlags, in makeAnnotator() local
155 Joiner.on('|').join(AccessFlags.getAccessFlagsForMethod(accessFlags))); in makeAnnotator()
DClassDefItem.java74 int accessFlags = dexFile.readInt(out.getCursor()); in makeAnnotator() local
75 out.annotate(4, "access_flags = 0x%x: %s", accessFlags, in makeAnnotator()
76 Joiner.on('|').join(AccessFlags.getAccessFlagsForClass(accessFlags))); in makeAnnotator()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedField.java52 public final int accessFlags; field in DexBackedField
75 this.accessFlags = reader.readSmallUleb128(); in DexBackedField()
94 this.accessFlags = reader.readSmallUleb128(); in DexBackedField()
114 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
DDexBackedMethod.java60 public final int accessFlags; field in DexBackedMethod
84 this.accessFlags = reader.readSmallUleb128(); in DexBackedMethod()
104 this.accessFlags = reader.readSmallUleb128(); in DexBackedMethod()
113 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
/external/proguard/src/proguard/ant/
DClassSpecificationElement.java206 int accessFlags = 0; in requiredAccessFlags() local
234 accessFlags |= accessFlag; in requiredAccessFlags()
254 accessFlags |= accessFlag; in requiredAccessFlags()
257 return accessFlags; in requiredAccessFlags()
DMemberSpecificationElement.java174 int accessFlags = 0; in requiredAccessFlags() local
211 accessFlags |= accessFlag; in requiredAccessFlags()
216 return accessFlags; in requiredAccessFlags()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DDexMaker.java607 private final int accessFlags; field in DexMaker.FieldDeclaration
610 FieldDeclaration(FieldId<?, ?> fieldId, int accessFlags, Object staticValue) { in FieldDeclaration() argument
611 if ((accessFlags & STATIC) == 0 && staticValue != null) { in FieldDeclaration()
615 this.accessFlags = accessFlags; in FieldDeclaration()
620 return new EncodedField(fieldId.constant, accessFlags); in toEncodedField()
624 return (accessFlags & STATIC) != 0; in isStatic()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DCustomInlineMethodResolver.java117 int accessFlags = 0; in parseAndResolveInlineMethod() local
126 accessFlags = method.getAccessFlags(); in parseAndResolveInlineMethod()
136 …return new ImmutableMethod(className, methodName, methodParams, methodRet, accessFlags, null, null… in parseAndResolveInlineMethod()

12