Home
last modified time | relevance | path

Searched refs:dexA (Results 1 – 3 of 3) sorted by relevance

/dalvik/dx/tests/115-merge/com/android/dx/merge/
DDexMergeTest.java142 Dex dexA = resourceToDexBuffer("/testdata/Basic.dex"); in testMergedOutputSizeIsBounded() local
144 Dex merged = new DexMerger(dexA, dexB, CollisionPolicy.KEEP_FIRST).merge(); in testMergedOutputSizeIsBounded()
148 DexMerger dexMerger = new DexMerger(dexA, merged, CollisionPolicy.KEEP_FIRST); in testMergedOutputSizeIsBounded()
154 int maxExpectedLength = dexA.getLength() + dexB.getLength() + compactWasteThreshold; in testMergedOutputSizeIsBounded()
159 Dex dexA = resourceToDexBuffer(dexAResource); in mergeAndLoad() local
161 Dex merged = new DexMerger(dexA, dexB, CollisionPolicy.KEEP_FIRST).merge(); in mergeAndLoad()
/dalvik/dx/src/com/android/dx/merge/
DDexMerger.java44 private final Dex dexA; field in DexMerger
92 public DexMerger(Dex dexA, Dex dexB, CollisionPolicy collisionPolicy) in DexMerger() argument
94 this(dexA, dexB, collisionPolicy, new WriterSizes(dexA, dexB)); in DexMerger()
97 private DexMerger(Dex dexA, Dex dexB, CollisionPolicy collisionPolicy, in DexMerger() argument
99 this.dexA = dexA; in DexMerger()
106 TableOfContents aContents = dexA.getTableOfContents(); in DexMerger()
211 dexA.getTableOfContents().classDefs.size, in merge()
212 dexA.getLength() / 1024f, in merge()
238 TableOfContents.Section aSection = getSection(dexA.getTableOfContents()); in mergeSorted()
242 Dex.Section inA = aSection.exists() ? dexA.open(aSection.off) : null; in mergeSorted()
[all …]
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java414 Dex dexA = null; in mergeIncremental() local
418 dexA = new Dex(update); in mergeIncremental()
426 if (dexA == null && dexB == null) { in mergeIncremental()
428 } else if (dexA == null) { in mergeIncremental()
431 result = dexA; in mergeIncremental()
433 result = new DexMerger(dexA, dexB, CollisionPolicy.KEEP_FIRST).merge(); in mergeIncremental()