/cts/tools/dex-tools/test/dex/reader/ |
DexFileReaderTests.java | 39 import dex.structure.DexFile; 55 DexFile dexFile = javaToDexUtil.getFrom(A); 56 assertEquals(1, dexFile.getDefinedClasses().size()); 58 DexClass class1 = getClass(dexFile, "La/b/c/A;"); 59 System.out.println(dexFile); 83 DexFile dexFile = javaToDexUtil.getFrom(T0); 84 assertEquals(1, dexFile.getDefinedClasses().size()); 85 DexClass clazz = dexFile.getDefinedClasses().get(0) [all...] |
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/ |
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...] |
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;");
|
/dalvik/libdex/ |
DexProto.c | 122 return dexGetProtoId(pProto->dexFile, pProto->protoIdx); 132 return dexStringById(pProto->dexFile, protoId->shortyIdx); 140 const DexFile* dexFile = pProto->dexFile; 142 const DexTypeList* typeList = dexGetProtoParameters(dexFile, protoId); 149 length += strlen(dexStringByTypeIdx(dexFile, idx)); 152 length += strlen(dexStringByTypeIdx(dexFile, protoId->returnTypeIdx)); 161 const char* desc = dexStringByTypeIdx(dexFile, idx); 168 strcpy(at, dexStringByTypeIdx(dexFile, protoId->returnTypeIdx)) [all...] |
DexProto.h | 24 #include "DexFile.h" 71 * particular DexFile. 74 const DexFile* dexFile; /* file the idx refers to */ 75 u4 protoIdx; /* index into proto_ids table of dexFile */ 82 const DexFile* pDexFile, const DexMethodId* pMethodId) 84 pProto->dexFile = pDexFile; 117 DEX_INLINE const char* dexGetDescriptorFromMethodId(const DexFile* pDexFile, 131 DEX_INLINE char* dexCopyDescriptorFromMethodId(const DexFile* pDexFile,
|
DexSwapVerify.c | 21 #include "DexFile.h" 76 const DexFile* pDexFile; // set after intraitem verification [all...] |
/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...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/ |
ApkBuilderMain.java | 49 File dexFile = null; 80 if (dexFile != null) { 89 dexFile = new File(args[index++]); 128 ApkBuilder builder = new ApkBuilder(outApk, zipArchives.get(0), dexFile,
|
ApkBuilder.java | 234 * @param dexFile the file representing the dex file. This can be null for apk with no code. 240 public ApkBuilder(File apkFile, File resFile, File dexFile, String storeOsPath, 244 if (dexFile != null) { 245 checkInputFile(mDexFile = dexFile, true /*throwIfDoesntExist*/);
|
/frameworks/base/test-runner/src/android/test/ |
ClassPathPackageInfoSource.java | 23 import dalvik.system.DexFile; 122 } else if ("true".equals(System.getProperty("android.vm.dexfile", "false"))) { 221 DexFile dexFile = null; 223 dexFile = new DexFile(apkPath); 224 Enumeration<String> apkClassNames = dexFile.entries(); 247 if (dexFile != null) { 249 // dexFile.close();
|
/sdk/anttasks/src/com/android/ant/ |
ApkBuilderTask.java | 237 File dexFile = null; 245 dexFile = new File(dexFiles[0]); 260 dexFile,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/ |
MultiApkExportAction.java | 284 IFile dexFile = projectBinFolder.getFile(SdkConstants.FN_APK_CLASSES_DEX); 293 dexFile.getLocation().toOSString(),
|
/cts/tools/vm-tests/src/util/build/ |
BuildDalvikSuite.java | 540 BuildStep.BuildFile dexFile = new BuildStep.BuildFile( 543 DFHBuildStep buildStep = new DFHBuildStep(inputFile, dexFile); 547 JarBuildStep jarBuildStep = new JarBuildStep(dexFile, 559 BuildStep.BuildFile dexFile = new BuildStep.BuildFile( 562 DasmBuildStep buildStep = new DasmBuildStep(inputFile, dexFile); 567 JarBuildStep jarBuildStep = new JarBuildStep(dexFile,
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
DexUtil.java | 40 import dex.structure.DexFile; 583 public static Set<DexFile> getDexFiles(Set<String> fileNames) 585 Set<DexFile> parsedFiles = new HashSet<DexFile>(); 587 for (String dexFile : fileNames) { 589 DexBuffer dexBuffer = new DexBuffer(dexFile);
|
DexToSigConverter.java | 93 import dex.structure.DexFile; 128 public SigApi convertApi(String apiName, Set<DexFile> dexFiles, 138 * Converts the given {@link DexFile}s into the corresponding (packages 145 /* package */Set<IPackage> convertPackages(Set<DexFile> parsedFiles) { 153 for (DexFile dexFile : parsedFiles) { 154 List<DexClass> definedClasses = dexFile.getDefinedClasses(); [all...] |
/cts/tools/dasm/src/dasm/ |
DAsm.java | 33 import com.android.dx.dex.file.DexFile; 86 DexFile dexFile; 329 dexFile.add(classDef); [all...] |