OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:classDefItem
(Results
1 - 9
of
9
) sorted by null
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
DexFileClassMap.java
31
import org.jf.dexlib.
ClassDefItem
;
41
private final HashMap<String,
ClassDefItem
> definedClasses = new HashMap<String,
ClassDefItem
>();
44
for (
ClassDefItem
classDefItem
: dexFile.ClassDefsSection.getItems()) {
45
definedClasses.put(
classDefItem
.getClassType().getTypeDescriptor(),
classDefItem
);
49
public
ClassDefItem
getClassDefByName(String typeName) {
53
public
ClassDefItem
getClassDefByType(TypeIdItem typeIdItem) {
SyntheticAccessorResolver.java
61
ClassDefItem
classDefItem
= classMap.getClassDefByType(methodIdItem.getContainingClass());
62
if (
classDefItem
== null) {
66
ClassDataItem classDataItem =
classDefItem
.getClassData();
ClassPath.java
222
for (
ClassDefItem
classDefItem
: dexFile.ClassDefsSection.getItems()) {
224
UnresolvedClassInfo unresolvedClassInfo = new UnresolvedClassInfo(dexFilePath,
classDefItem
);
231
classDefItem
.getClassType().getTypeDescriptor()));
[
all
...]
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
ClassDefinition.java
48
private
ClassDefItem
classDefItem
;
56
public ClassDefinition(
ClassDefItem
classDefItem
) {
57
this.
classDefItem
=
classDefItem
;
58
this.classDataItem =
classDefItem
.getClassData();
123
writer.write(
classDefItem
.getClassType().getTypeDescriptor());
128
for (AccessFlags accessFlag: AccessFlags.getAccessFlagsForClass(
classDefItem
.getAccessFlags())) {
135
TypeIdItem superClass =
classDefItem
.getSuperclass()
[
all
...]
/external/smali/dexlib/src/main/java/org/jf/dexlib/
ClassDefItem.java
42
public class
ClassDefItem
extends Item<
ClassDefItem
> {
53
* Creates a new uninitialized <code>
ClassDefItem
</code>
56
protected
ClassDefItem
(DexFile dexFile) {
61
* Creates a new <code>
ClassDefItem
</code> with the given values
76
private
ClassDefItem
(DexFile dexFile, TypeIdItem classType, int accessFlags, @Nullable TypeIdItem superType,
93
* Returns a <code>
ClassDefItem
</code> for the given values, and that has been interned into the given
107
* @return a <code>
ClassDefItem
</code> for the given values, and that has been interned into the given
110
public static
ClassDefItem
internClassDefItem(DexFile dexFile, TypeIdItem classType, int accessFlags,
122
ClassDefItem
classDefItem = new ClassDefItem(dexFile, classType, accessFlags, superType, implementedInterfaces
[
all
...]
/cts/tools/dex-tools/src/dex/reader/
DexClassImpl.java
28
import dex.reader.DexFileReader.
ClassDefItem
;
43
private final
ClassDefItem
classDefItem
;
69
public DexClassImpl(DexBuffer buffer,
ClassDefItem
classDefItem
,
73
this.
classDefItem
=
classDefItem
;
79
hasClassData =
classDefItem
.class_data_off != 0;
119
if (
classDefItem
.annotations_off != 0) {
120
buffer.setPosition(
classDefItem
.annotations_off)
[
all
...]
/cts/tools/dex-tools/test/dex/reader/util/
JavaSourceToDexUtil.java
35
import com.android.dx.dex.file.
ClassDefItem
;
78
ClassDefItem
classDefItem
= CfTranslator.translate(memoryByteCode.getName().replace('.', '/') +".class", memoryByteCode.getBytes(), cfOptions);
79
dexFile.add(
classDefItem
);
/external/smali/baksmali/src/main/java/org/jf/baksmali/
baksmali.java
32
import org.jf.dexlib.
ClassDefItem
;
131
ArrayList<
ClassDefItem
> classDefItems = new ArrayList<
ClassDefItem
>(dexFile.ClassDefsSection.getItems());
132
Collections.sort(classDefItems, new Comparator<
ClassDefItem
>() {
133
public int compare(
ClassDefItem
classDefItem1,
ClassDefItem
classDefItem2) {
140
for (
ClassDefItem
classDefItem
: classDefItems) {
149
String classDescriptor =
classDefItem
.getClassType().getTypeDescriptor();
161
ClassDefinition classDefinition = new ClassDefinition(
classDefItem
);
[
all
...]
/external/smali/smali/src/main/antlr3/
smaliTreeWalker.g
124
ClassDefItem
classDefItem
= null;
145
classDefItem
=
ClassDefItem
.internClassDefItem(dexFile, $header.classType, $header.accessFlags,
223
List<
ClassDefItem
.StaticFieldInitializer> staticFieldInitialValues, List<AnnotationDirectoryItem.FieldAnnotation> fieldAnnotations]
228
$staticFieldInitialValues = new ArrayList<
ClassDefItem
.StaticFieldInitializer>();
235
$staticFieldInitialValues.add(new
ClassDefItem
.StaticFieldInitializer(
[
all
...]
Completed in 994 milliseconds