/external/smali/dexlib/src/main/java/org/jf/dexlib/ |
HeaderItem.java | 62 * @param dexFile The <code>DexFile</code> containing this <code>HeaderItem</code> 64 protected HeaderItem(final DexFile dexFile) { 65 super(dexFile); 194 out.annotate("file_size: 0x" + Integer.toHexString(dexFile.getFileSize()) + " (" + dexFile.getFileSize() + 196 out.writeInt(dexFile.getFileSize()); 210 out.annotate("map_off: 0x" + Integer.toHexString(dexFile.MapItem.getOffset())); 211 out.writeInt(dexFile.MapItem.getOffset()) [all...] |
Item.java | 49 * The DexFile that this item is associatedr with 51 protected final DexFile dexFile; 54 * The constructor that is used when reading in a <code>DexFile</code> 55 * @param dexFile the <code>DexFile</code> that this item is associated with 57 protected Item(DexFile dexFile) { 58 assert dexFile != null; 60 this.dexFile = dexFile [all...] |
FieldIdItem.java | 43 * @param dexFile The <code>DexFile</code> that this item belongs to 45 protected FieldIdItem(DexFile dexFile) { 46 super(dexFile); 51 * @param dexFile The <code>DexFile</code> that this item belongs to 56 private FieldIdItem(DexFile dexFile, TypeIdItem classType, TypeIdItem fieldType, StringIdItem fieldName) { 57 this(dexFile); [all...] |
/frameworks/testing/androidtestlib/src/com/android/test/runner/ |
ClassPathScanner.java | 19 import dalvik.system.DexFile; 170 DexFile dexFile = null; 172 dexFile = new DexFile(apkPath); 173 Enumeration<String> apkClassNames = getDexEntries(dexFile); 181 if (dexFile != null) { 182 dexFile.close(); 188 * Retrieves the entry names from given {@link DexFile}. 192 * @param dexFile [all...] |
/cts/tools/dex-tools/test/dex/reader/ |
LargeDexTests.java | 22 import dex.structure.DexFile; 45 DexFile dexFile = javaToDexUtil.getFrom(source); 46 assertEquals(1, dexFile.getDefinedClasses().size()); 47 DexClass clazz = dexFile.getDefinedClasses().get(0);
|
/cts/tools/signature-tools/test/signature/converter/dex/ |
DexTestConverter.java | 21 import dex.structure.DexFile; 42 DexFile dexFile = toDexUtil.getAllFrom(sources); 43 return converter.convertApi("Dex Tests", Collections.singleton(dexFile), visibility);
|
GenericSignatureParserTest.java | 25 import dex.structure.DexFile; 53 DexFile dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")); 54 DexClass dexClass = getClass(dexFile, "LB;");
|
DexUtilTest.java | 24 import dex.structure.DexFile; 73 DexFile dexFile = dexUtil.getFrom(new JavaSource("A", "public class A{}")); 74 DexClass dexClass = getClass(dexFile, "LA;"); 77 dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")); 78 dexClass = getClass(dexFile, "LB;"); 84 DexFile dexFile = dexUtil.getFrom(new JavaSource("A", "public class A{}")); 85 DexClass dexClass = getClass(dexFile, "LA;"); 88 dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")) [all...] |
/dalvik/dx/src/com/android/dx/command/findusages/ |
Main.java | 26 String dexFile = args[0]; 30 Dex dex = new Dex(new File(dexFile));
|
/dalvik/dx/src/com/android/dx/command/grep/ |
Main.java | 27 String dexFile = args[0]; 30 Dex dex = new Dex(new File(dexFile));
|
/dalvik/libdex/ |
DexProto.h | 24 #include "DexFile.h" 77 * particular DexFile. 80 const DexFile* dexFile; /* file the idx refers to */ 81 u4 protoIdx; /* index into proto_ids table of dexFile */ 88 const DexFile* pDexFile, const DexMethodId* pMethodId) 90 pProto->dexFile = pDexFile; 123 DEX_INLINE const char* dexGetDescriptorFromMethodId(const DexFile* pDexFile, 137 DEX_INLINE char* dexCopyDescriptorFromMethodId(const DexFile* pDexFile,
|
DexProto.cpp | 122 return dexGetProtoId(pProto->dexFile, pProto->protoIdx); 129 return dexStringById(pProto->dexFile, protoId->shortyIdx); 135 const DexFile* dexFile = pProto->dexFile; 137 const DexTypeList* typeList = dexGetProtoParameters(dexFile, protoId); 144 length += strlen(dexStringByTypeIdx(dexFile, idx)); 147 length += strlen(dexStringByTypeIdx(dexFile, protoId->returnTypeIdx)); 156 const char* desc = dexStringByTypeIdx(dexFile, idx); 163 strcpy(at, dexStringByTypeIdx(dexFile, protoId->returnTypeIdx)) [all...] |
/libcore/libart/src/main/java/java/lang/ |
DexCache.java | 40 * A dex cache holds resolved copies of strings, fields, methods, and classes from the dexfile. 76 /** Holds C pointer to dexFile. */ 77 private int dexFile;
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
dump.java | 31 import org.jf.dexlib.DexFile; 39 public static void dump(DexFile dexFile, String dumpFileName, String outputDexFileName, boolean sort) 44 dexFile.setSortAllItems(true); 47 dexFile.setInplace(true); 56 dexFile.place(); 57 dexFile.writeTo(out); 87 DexFile.calcSignature(bytes); 88 DexFile.calcChecksum(bytes);
|
/art/test/087-gc-after-link/src/ |
Main.java | 72 Object dexFile = null; 78 * Find the DexFile class, and construct a DexFile object 82 loadClass("dalvik.system.DexFile"); 85 dexFile = ctor.newInstance(DEX_FILE); 93 meth.invoke(dexFile, name, this); 95 if (dexFile != null) { 96 /* close the DexFile to make CloseGuard happy */ 98 meth.invoke(dexFile);
|
/cts/tools/dex-tools/test/dex/reader/util/ |
JavaSourceToDexUtil.java | 36 import com.android.dx.dex.file.DexFile; 43 public dex.structure.DexFile getFrom(JavaSource source) throws IOException{ 47 public dex.structure.DexFile getFrom(JavaSource... source) throws IOException{ 51 public dex.structure.DexFile getAllFrom(Set<JavaSource> sources) throws IOException{ 56 * Converts java source code to a {@link dex.structure.DexFile} loaded by 62 public dex.structure.DexFile getFrom(Set<JavaSource> sources, 75 DexFile dexFile = new DexFile(); 79 dexFile.add(classDefItem) [all...] |
/dalvik/tests/087-gc-after-link/src/ |
Main.java | 72 Object dexFile = null; 78 * Find the DexFile class, and construct a DexFile object 82 loadClass("dalvik.system.DexFile"); 85 dexFile = ctor.newInstance(DEX_FILE); 93 meth.invoke(dexFile, name, this); 95 if (dexFile != null) { 96 /* close the DexFile to make CloseGuard happy */ 98 meth.invoke(dexFile);
|
/frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
RunTestCommand.java | 25 import dalvik.system.DexFile; 200 DexFile dexFile = new DexFile(fileName); 201 for(Enumeration<String> e = dexFile.entries(); e.hasMoreElements();) { 207 dexFile.close();
|
/frameworks/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
RunTestCommand.java | 25 import dalvik.system.DexFile; 200 DexFile dexFile = new DexFile(fileName); 201 for(Enumeration<String> e = dexFile.entries(); e.hasMoreElements();) { 207 dexFile.close();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
ExportHelper.java | 184 File dexFile = File.createTempFile(TEMP_PREFIX, SdkConstants.DOT_DEX); 185 dexFile.deleteOnExit(); 280 helper.executeDx(javaProject, dxInput, dexFile.getAbsolutePath()); 286 dexFile.getAbsolutePath(),
|
/external/smali/smali/src/main/java/org/jf/smali/ |
main.java | 37 import org.jf.dexlib.DexFile; 192 DexFile dexFile = new DexFile(); 195 dexFile.HeaderItem.setVersion(36); 201 if (!assembleSmaliFile(file, dexFile, verboseErrors, printTokens, allowOdex, apiLevel)) { 212 dexFile.setSortAllItems(true); 216 fixInstructions(dexFile, true, fixGoto); 219 dexFile.place(); 227 dexFile.writeTo(out) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
DeodexUtil.java | 45 public final DexFile dexFile; 47 public DeodexUtil(DexFile dexFile) { 48 this.dexFile = dexFile; 49 OdexHeader odexHeader = dexFile.getOdexHeader(); 58 public DeodexUtil(DexFile dexFile, InlineMethodResolver inlineMethodResolver) { 59 this.dexFile = dexFile [all...] |
/frameworks/base/test-runner/src/android/test/ |
ClassPathPackageInfoSource.java | 22 import dalvik.system.DexFile; 210 DexFile dexFile = null; 212 dexFile = new DexFile(apkPath); 213 Enumeration<String> apkClassNames = dexFile.entries(); 236 if (dexFile != null) { 238 // dexFile.close();
|
/libcore/dalvik/src/main/java/dalvik/system/ |
DexPathList.java | 215 DexFile dex = null; 233 * IOException might get thrown "legitimately" by the DexFile constructor if the 257 * Constructs a {@code DexFile} instance, as appropriate depending 260 private static DexFile loadDexFile(File file, File optimizedDirectory) 263 return new DexFile(file); 266 return DexFile.loadDex(file.getPath(), optimizedPath, 0); 319 DexFile dex = element.dexFile; 398 private final DexFile dexFile; [all...] |
/cts/tools/dasm/src/dasm/ |
DAsm.java | 34 import com.android.dx.dex.file.DexFile; 89 DexFile dexFile; 332 dexFile.add(classDef); [all...] |