Home
last modified time | relevance | path

Searched refs:DexFormat (Results 1 – 10 of 10) sorted by relevance

/dalvik/dx/src/com/android/dx/dex/
DDexOptions.java19 import com.android.dex.DexFormat;
42 public int minSdkVersion = DexFormat.API_NO_EXTENDED_OPCODES;
66 return DexFormat.apiToMagic(minSdkVersion); in getMagic()
/dalvik/dx/src/com/android/dx/dex/file/
DMemberIdsSection.java19 import com.android.dex.DexFormat;
47 if (items().size() > DexFormat.MAX_MEMBER_IDX + 1) { in orderItems()
76 memberType, items().size(), DexFormat.MAX_MEMBER_IDX + 1); in getTooManyMembersMessage()
DHeaderItem.java19 import com.android.dex.DexFormat;
73 out.annotate(4, "endian_tag: " + Hex.u4(DexFormat.ENDIAN_TAG)); in writeTo()
89 out.writeInt(DexFormat.ENDIAN_TAG); in writeTo()
DTypeIdsSection.java19 import com.android.dex.DexFormat;
85 if (sz > DexFormat.MAX_TYPE_IDX + 1) { in writeHeaderPart()
90 items().size(), DexFormat.MAX_MEMBER_IDX + 1)); in writeHeaderPart()
DDexFile.java19 import com.android.dex.DexFormat;
144 if (dexOptions.apiIsSupported(DexFormat.API_METHOD_HANDLES)) { in DexFile()
622 if (dexOptions.apiIsSupported(DexFormat.API_METHOD_HANDLES)) { in toDex0()
627 if (dexOptions.apiIsSupported(DexFormat.API_METHOD_HANDLES)) { in toDex0()
/dalvik/dx/src/com/android/dx/cf/code/
DSimulator.java19 import com.android.dex.DexFormat;
838 if (!dexOptions.apiIsSupported(DexFormat.API_CONST_METHOD_HANDLE)) { in checkConstMethodHandleSupported()
841 cst.typeName(), DexFormat.API_CONST_METHOD_HANDLE, in checkConstMethodHandleSupported()
847 if (!dexOptions.apiIsSupported(DexFormat.API_METHOD_HANDLES)) { in checkInvokeDynamicSupported()
850 opcode, DexFormat.API_METHOD_HANDLES, dexOptions.minSdkVersion)); in checkInvokeDynamicSupported()
860 if (dexOptions.apiIsSupported(DexFormat.API_INVOKE_INTERFACE_METHODS)) { in checkInvokeInterfaceSupported()
891 softFail &= dexOptions.apiIsSupported(DexFormat.API_INVOKE_STATIC_INTERFACE_METHODS); in checkInvokeInterfaceSupported()
908 DexFormat.API_INVOKE_INTERFACE_METHODS, dexOptions.minSdkVersion); in checkInvokeInterfaceSupported()
916 DexFormat.API_INVOKE_INTERFACE_METHODS, dexOptions.minSdkVersion); in checkInvokeInterfaceSupported()
922 if (!dexOptions.apiIsSupported(DexFormat.API_DEFINE_INTERFACE_METHODS)) { in checkInterfaceMethodDeclaration()
[all …]
/dalvik/dx/src/com/android/dex/
DDexFormat.java23 public final class DexFormat { class
24 private DexFormat() {} in DexFormat() method in DexFormat
DTableOfContents.java80 if (!DexFormat.isSupportedDexMagic(magic)) { in readHeader()
89 apiLevel = DexFormat.magicToApi(magic); in readHeader()
98 if (endianTag != DexFormat.ENDIAN_TAG) { in readHeader()
175 out.write(DexFormat.apiToMagic(api).getBytes("UTF-8")); in writeHeader()
180 out.writeInt(DexFormat.ENDIAN_TAG); in writeHeader()
DDex.java109 ZipEntry entry = zipFile.getEntry(DexFormat.DEX_IN_JAR_NAME); in Dex()
116 throw new DexException("Expected " + DexFormat.DEX_IN_JAR_NAME + " in " + file); in Dex()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java21 import com.android.dex.DexFormat;
340 outputResources.put(DexFormat.DEX_IN_JAR_NAME, outArray); in runMonoDex()
426 return DexFormat.DEX_IN_JAR_NAME; in getDexFileName()
698 boolean isClassesDex = name.equals(DexFormat.DEX_IN_JAR_NAME); in processFileBytes()
974 attribs.putValue("Dex-Location", DexFormat.DEX_IN_JAR_NAME); in makeManifest()
1317 public int minSdkVersion = DexFormat.API_NO_EXTENDED_OPCODES;
1370 public int maxNumberOfIdxPerDex = DexFormat.MAX_MEMBER_IDX + 1;
1668 outName = new File(outName, DexFormat.DEX_IN_JAR_NAME).getPath(); in parse()