summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-09Migrate multidex to androidxandroid-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devAlan Viverette
Bug: 74397601 Test: make Change-Id: Iddea6f92cc7796125cf4d1ba86cf9b7425daef72
2018-02-05Fix installation on some JB am: 38be0f4882 am: 84362fa835Yohann Roussel
am: f954060c0d Change-Id: Ibb4d500616caa5e6c1f4a88caa78726d896f2b3e
2018-02-05Fix installation on some JB am: 38be0f4882Yohann Roussel
am: 84362fa835 Change-Id: Ief08de3010d7620b79010297c93bab5325f9e7cd
2018-02-05Fix installation on some JBYohann Roussel
am: 38be0f4882 Change-Id: I7c07eb5df16dec854274a74fc61ecf8f546b7113
2018-02-01Fix installation on some JBandroid-p-preview-1android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7android-n-iot-release-lg-thinq-wk7o-mr1-iot-preview-8o-mr1-iot-preview-7Yohann Roussel
DexPathList had a few changes accross Jelly Bean versions: - dexElements was renamed pathElements and then renamed back to dexElements. - Element constructor was changed twice. Test: MultiDex tests several differents 4.x Android emulators and devices. Bug: 71989458 Change-Id: I242937a9f444d53cf6dd5b15d7933d0a9b51e162
2018-01-26Tag library jar with git version am: 67bac2efbb am: 37f401f641Yohann Roussel
am: 2304fcd141 Change-Id: I7c4bca0c17162825c5ea6a9fdf158c2a31ffd2cb
2018-01-26Fix gradle build: set source level to Java 7 am: 78dfa21606 am: 3baa0bfebfYohann Roussel
am: 66b29ae511 Change-Id: I1df4ad98ba32dea7c5a0473226cacdf6926d8bfa
2018-01-26Tag library jar with git version am: 67bac2efbbYohann Roussel
am: 37f401f641 Change-Id: I4f3a17f5969a8e04a8d3ec07bc27723bed02301e
2018-01-26Fix gradle build: set source level to Java 7 am: 78dfa21606Yohann Roussel
am: 3baa0bfebf Change-Id: Ie922eb8fdd69ec3bef767f139571e91511590a14
2018-01-26Tag library jar with git versionYohann Roussel
am: 67bac2efbb Change-Id: I6da7b165830ffbefc2a0346a510839f817702b40
2018-01-26Fix gradle build: set source level to Java 7Yohann Roussel
am: 78dfa21606 Change-Id: I63e1b387ec2b89c04ac6ccb742581766556ef209
2018-01-25Bump multidex library version to 1.0.3 am: 864bc628e3 am: a9c031a772Yohann Roussel
am: ffe6f4b472 Change-Id: I7bc8bd794898abd2eb584d7b0f33ac4b919360b8
2018-01-25Bump multidex library version to 1.0.3 am: 864bc628e3Yohann Roussel
am: a9c031a772 Change-Id: I8f009b6e4cc01633593a682145c2ecbe4e1e819a
2018-01-25Bump multidex library version to 1.0.3Yohann Roussel
am: 864bc628e3 Change-Id: I545a2626c31cae02cd8bf501fbda9b8e3457ee26
2018-01-24Tag library jar with git versionYohann Roussel
Test: ./gradlew dist Change-Id: Iae1567d72cfde7d4d52f62f0a121e239bb002566
2018-01-24Fix gradle build: set source level to Java 7Yohann Roussel
Source code requires Java 7 source level. Test: ./gradlew dist Change-Id: I8acef77485d961850d529692b61210784204d1a0
2018-01-24Bump multidex library version to 1.0.3android-wear-8.0.0_r1Yohann Roussel
Change-Id: I5466c4a1f78ef1faf1b2d8edb810d26df8e9cd19
2018-01-22Use a rewriten makeDexElement on V 14 to 18 am: b2483811cf am: 5c2b756124Yohann Roussel
am: 88e540c4dc Change-Id: I166a9da6525494e3959ff6634a492a532e20d2ec
2018-01-22Use a rewriten makeDexElement on V 14 to 18 am: b2483811cfYohann Roussel
am: 5c2b756124 Change-Id: I9e30cbf451a3dd6e8fec720ac1be96f62870a14a
2018-01-22Use a rewriten makeDexElement on V 14 to 18Yohann Roussel
am: b2483811cf Change-Id: I12ce59c0bfee5dc1690ab969887492c82a527591
2018-01-18Use a rewriten makeDexElement on V 14 to 18Yohann Roussel
On those versions DexPathList.makeDexElement is hiding problems by logging (or just ignoring) IOException instead of throwing them. This change includes in the library a version of makeDexElement simplified to support only the case concerning the zip files for the extracted secondary dexes. Bug: 71989458 28832787 Test: MultiDexLegacyTestServicesTests2 Change-Id: I7532908eda8fcd123433222856752c2086a9ad3a
2018-01-18Reinstall on IOException when patching the CL am: 0813385e7b am: 830d092ae0Yohann Roussel
am: 75464b8769 Change-Id: If9dae1a28939b339f2e64ddd7c6b31e59e4c80d3
2018-01-18Reinstall on IOException when patching the CL am: 0813385e7bYohann Roussel
am: 830d092ae0 Change-Id: I16307ce84b1156a150514a25f7581c39e6f42fb1
2018-01-18Reinstall on IOException when patching the CLYohann Roussel
am: 0813385e7b Change-Id: If5635db156bdb02bf45912a6a597f22b169e5fd1
2018-01-17Reinstall on IOException when patching the CLYohann Roussel
When an IOException occurs during installSecondaryDexes of MultiDex.install, clear the extraction dir and make one supplementary attempt to extract and install. The obective is to recover from some cases of corrupted extractions or corrupted odex files whitout requiring manual clearing of application data. The extraction, patching of the classloader, and recover is now done under file lock protection to avoid clearing the cache directory while another process would be using it. This should not cause more ANRs because extraction was already done under file lock and dexopt which is the main part of classloader patching is running under its own lock protection. MultiDex.installInstrumentation isn't attempting this recover to keep test failing in case of corruption and keep corrupted files and hopefully allow more precise investigations. Note that adding recovering capability to MultiDex.installInstrumentation would require changing locking strategy. Bug: 28832787 Test: MultiDexLegacyTestServicesTests2 Change-Id: I247918c1fbec8686ade12b37b8680539688a61a9
2017-12-07DO NOT MERGE: Merge Oreo MR1 into master am: 6f110bb98d -s ours am: 045409d78aXin Li
am: ffa7a12fd4 -s ours Change-Id: I9e623b944767679aba0d6b3415ee8a2103ecda99
2017-12-07DO NOT MERGE: Merge Oreo MR1 into master am: 6f110bb98d -s oursXin Li
am: 045409d78a Change-Id: I0d4d90c2b23d0b7e194b7be6c9a32f75d6e52a0d
2017-12-07DO NOT MERGE: Merge Oreo MR1 into masterXin Li
am: 6f110bb98d -s ours Change-Id: Id206a03d05f2c8577630d1a6f42de188607e800e
2017-12-06DO NOT MERGE: Merge Oreo MR1 into masterXin Li
Exempt-From-Owner-Approval: Changes already landed internally Change-Id: Ic5e756290cd6e1c096984cce2e0b75feb82b3b67
2017-06-13Add OWNERS in frameworks/multidex am: 6450225f3e am: 8545cc0df3 am: afb74c2dfcoreo-mr1-devChih-Hung Hsieh
am: ca11166173 Change-Id: Ie6e0b269ca3364114c5d6158c490e27357deaefb
2017-06-13Add OWNERS in frameworks/multidex am: 6450225f3e am: 8545cc0df3android-o-mr1-iot-preview-6o-mr1-iot-preview-6Chih-Hung Hsieh
am: afb74c2dfc Change-Id: If61f83c3dceb28fe14fbf5b665802dcfe21c24bc
2017-06-13Add OWNERS in frameworks/multidex am: 6450225f3eandroid-o-mr1-preview-2android-o-mr1-preview-1Chih-Hung Hsieh
am: 8545cc0df3 Change-Id: Ibfe535ee531cd0ae40d5102e67e09526b87592d5
2017-06-13Add OWNERS in frameworks/multidexChih-Hung Hsieh
am: 6450225f3e Change-Id: I8937395dc7cfb28be23a12269e33103d0219a77a
2017-06-12Add OWNERS in frameworks/multidexandroid-o-preview-4android-o-iot-preview-5o-iot-preview-5Chih-Hung Hsieh
* Owners are selected from top CL approvals or owners. They will be suggested to review/approve future CLs. * OWNERS files are recognized by the new find-owners plugin, see .md files in https://gerrit.googlesource.com/plugins/find-owners/+/master/src/main/resources/Documentation/ Test: build/make/tools/checkowners.py -c -v OWNERS Change-Id: Ie19555aa2e95b2cd5d88e388cdccb44f641c471d
2017-06-07Fix pom files to contain all the informationAurimas Liutikas
Before this patch we were creating a new upload task for creating maven repository which was not getting the values from each project build.gradle. With this patch we now use that task instead. Bug: 62423455 Test: locally verified that the pom files now contain license tag Change-Id: Ie22da868567327f5660a186f0a0c8b5d6368ee26
2017-06-01Allow multidex of instrumentations am: 50823410c9 am: 53329c37a1 am: d14d4b8cbdoreo-dr1-devYohann Roussel
am: 78a8310ade Change-Id: I1d857f3d2d6291b7ad207085673bdc99578047d8
2017-06-01Keep InstrumentationTestCase in main dex am: b68f891c88 am: ed74391906 am: ↵Yohann Roussel
ba450e759c am: 4f494eea21 Change-Id: Ibf6df76b1a35af6577ca95c982799a1282b9128a
2017-06-01Allow multidex of instrumentations am: 50823410c9 am: 53329c37a1Yohann Roussel
am: d14d4b8cbd Change-Id: Iea5cf46d51bfee031ab6eafebf918b6aafcf0016
2017-06-01Keep InstrumentationTestCase in main dex am: b68f891c88 am: ed74391906Yohann Roussel
am: ba450e759c Change-Id: Ie98460078d6b1ae8ff3803ced18c7563214fee05
2017-06-01Allow multidex of instrumentations am: 50823410c9Yohann Roussel
am: 53329c37a1 Change-Id: Iecad0fd85cacdc886b8457c449be83835db666bc
2017-06-01Keep InstrumentationTestCase in main dex am: b68f891c88Yohann Roussel
am: ed74391906 Change-Id: I0680683032710a39bedf0e710dd28fd30328e512
2017-06-01Allow multidex of instrumentationsYohann Roussel
am: 50823410c9 Change-Id: I95168c589f2feab904ab7aaab89e86f8ff872d2a
2017-06-01Keep InstrumentationTestCase in main dexYohann Roussel
am: b68f891c88 Change-Id: Ie4f2481b94252cde75b05898352e559619f27c7b
2017-05-30Allow multidex of instrumentationsandroid-o-preview-3Yohann Roussel
Allow installation of instrumentation secondary dex files. Both the instrumentation and the instrumented application are installed (if necessary) by MultiDex.installInstrumentation. Instrumentation secondary dex files are extracted in the Application code cache folder because it generally doesn't have access to its own folder. Instrumentation preferences are saved in the Application preferences with a prefix. Bug: 31383194 Test: frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacy* Change-Id: I705ed87162326fd64128454aa144a359b09436cd
2017-05-30Keep InstrumentationTestCase in main dexYohann Roussel
They must be in main dex or InstrumentationTestRunner won't find them. Bug: 31383194 Test: frameworks/base/core/tests/hosttests/test-apps/MultiDex* Change-Id: I76ea9e9f46fa95f6a1f2d35410480be42f7a5151
2017-05-10Revert "Prepare for removal of junit and android.test classes from Android ↵Paul Duffin
API (step 1)" am: 031b913e17 am: 3173cc34c7 am: 9ea489ac77 am: 4406105ad1 Change-Id: Ia57d62e20c7dc192c4a583021e6afc9a53cb1e90
2017-05-10Revert "Prepare for removal of junit and android.test classes from Android ↵Paul Duffin
API (step 1)" am: 031b913e17 am: 3173cc34c7 am: 9ea489ac77 Change-Id: I433fcb87accb5bc3bfb6926befa34027e67dfe4f
2017-05-10Revert "Prepare for removal of junit and android.test classes from Android ↵Paul Duffin
API (step 1)" am: 031b913e17 am: 3173cc34c7 Change-Id: I47886fa141b68b021c036715760132b607509881
2017-05-10Revert "Prepare for removal of junit and android.test classes from Android ↵Paul Duffin
API (step 1)" am: 031b913e17 Change-Id: Ic8b5c9cecc387023bc0805f043fc02bf9850e144
2017-05-10Revert "Prepare for removal of junit and android.test classes from Android ↵android-n-iot-preview-4n-iot-preview-4Paul Duffin
API (step 1)" This reverts commit 49f3d944cf2413562ae5032b8dfc2c39955c6bf7. Change-Id: Ibf7153a117b997b473e861503669d4cd5e8e2984