summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-12Prefix temp files to ensure they are cleaned upJon Noack
Temp files are removed unconditionally in a finally block following extraction. However, if the process is killed during extraction this finally block will not run. Because temp files started with extractedFilePrefix, they wouldn't be cleaned up in prepareDexDir(). This change ensures that prepareDexDir() will remove any existing temp files before extraction begins. Bug: 27769642 Bug: 33718827 Test: Passes Google Play services tests Change-Id: I803ba2c7234801551d36cbbe2941eeaa986d31f8
2016-12-22Change multidex version file am: 07bca8fb7f am: 8e58f1bef2 am: 91ff19c89bYohann Roussel
am: 282eaa7b17 Change-Id: If88c07584b9bc2f2878504c4622f8233bf64099b
2016-12-22Change multidex version file am: 07bca8fb7f am: 8e58f1bef2Yohann Roussel
am: 91ff19c89b Change-Id: I3fae80ab5ddf1cb2666037216a26498ce81e1c62
2016-12-22Change multidex version file am: 07bca8fb7fYohann Roussel
am: 8e58f1bef2 Change-Id: I532d31d12968688c81426e175ef986d18e96a42c
2016-12-22Change multidex version fileYohann Roussel
am: 07bca8fb7f Change-Id: I33264c4389947c816e20b1dfea1d65478280dcd3
2016-12-21Change multidex version fileandroid-n-mr2-preview-1Yohann Roussel
- Stop collecting build id and version to allow better behavior with incremental builds. - Make it resistant to git errors. Test: mm Change-Id: I03b1e36048f92f50227cfc0e370454438bee31cf
2016-09-21Add missing dependency to jack-meta content am: a2e21e7861 am: c23db7187e ↵Yohann Roussel
am: 3fdcf1a004 am: 6b14ba2339 Change-Id: Id143f90c549aaca030ad6a1eb7dddba9742aede3
2016-09-21Add missing dependency to jack-meta content am: a2e21e7861 am: c23db7187eYohann Roussel
am: 3fdcf1a004 Change-Id: I76d7bf999e161459484eb4f576342aab2f4101c7
2016-09-21Add missing dependency to jack-meta content am: a2e21e7861Yohann Roussel
am: c23db7187e Change-Id: I333a9f99220cdb2f13d6cd767dfa18e99d5890d5
2016-09-21Add missing dependency to jack-meta contentYohann Roussel
am: a2e21e7861 Change-Id: I1096b62319c363d240984bab5b0895e1c9eec823
2016-09-20Add missing dependency to jack-meta contentandroid-n-mr1-preview-2android-n-mr1-preview-1Yohann Roussel
Test: mm Change-Id: I70c50b5b9fe7f06b0adde5616590aec24b6d0dff
2016-07-26Prevent concurrent extractions am: d89431ead3 am: c094a2de01Andrew Johnson
am: 1d40f0ca24 Change-Id: I0af420be82ad7eb5ad5db742e5317d1e2cdd0fe3
2016-07-26Prevent concurrent extractions am: d89431ead3Andrew Johnson
am: c094a2de01 Change-Id: I7806402f71a51749321a655ddef98b1bfc34ac12
2016-07-26Prevent concurrent extractionsandroid-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1nougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-dr1-releaseAndrew Johnson
am: d89431ead3 Change-Id: I8fe1f1aeb0d814aca58dbc9d35089377d8af0a9a
2016-07-25Prevent concurrent extractionsAndrew Johnson
This prevernt multiple processes of the same application from simultaneously caching the same secondary dex files. Bug: 27263431 (cherry picked from commit 048fbf7ccf53782a265c277df38c273d43e5450e) Change-Id: Iacd9cb1ab2084a66285f120fb313b578a2f5e14b
2016-07-12Fix typo in javadoc am: 9ee9a9bd9dSebastien Hertz
am: de484f5684 Change-Id: I6c85494e56ed0d25b4834d02c5c325fbe32be7fe
2016-07-12Fix typo in javadocSebastien Hertz
am: 9ee9a9bd9d Change-Id: I53f00a7b26263027a80631d072004f2104b9e141
2016-07-12Fix typo in javadocSebastien Hertz
Bug: 30076851 (cherry picked from commit 8be7c7a5a6377745054dcd3f1176a7f4cb96b153) Change-Id: Ie00f5fa2d38a79e387be9ef567bf49282852c2ad
2016-07-12Fix typo in javadoc am: 8be7c7a5a6 am: 98e6488e66 am: 35fc196052Sebastien Hertz
am: 5a4314aee6 Change-Id: I9647d9d3333053360adfbf68a709ecf8862b91c4
2016-07-12Fix typo in javadoc am: 8be7c7a5a6 am: 98e6488e66Sebastien Hertz
am: 35fc196052 Change-Id: I19dae92a4dfb94d411a2c4ecef12f2886e36832d
2016-07-12Fix typo in javadoc am: 8be7c7a5a6Sebastien Hertz
am: 98e6488e66 Change-Id: Ife21db6713468d053b6f7685c6acd6c4a53ba460
2016-07-12Fix typo in javadocSebastien Hertz
am: 8be7c7a5a6 Change-Id: Idfcb6733a8283dc4ff4366750b1a3cf9157fbba3
2016-07-12Fix typo in javadocandroid-wear-n-preview-2android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Sebastien Hertz
Bug: 30076851 Change-Id: I6a148d0038baebfcfb987bf3ca498a0acf5d106c
2016-06-22Prevent concurrent extractions am: 048fbf7ccf am: d1d6bead7f am: bf0f4b6a08Andrew Johnson
am: ce9f080ec7 Change-Id: I01b673d1148d88a9cdc25c305b6efa5821228267
2016-06-22Prevent concurrent extractions am: 048fbf7ccf am: d1d6bead7fAndrew Johnson
am: bf0f4b6a08 Change-Id: I6931426969a753cce0c8c8bce54aa3bf8d5b61fb
2016-06-22Prevent concurrent extractions am: 048fbf7ccfAndrew Johnson
am: d1d6bead7f Change-Id: I376e6171ef80d4455498871035bf32a626dcf0bf
2016-06-22Prevent concurrent extractionsAndrew Johnson
am: 048fbf7ccf Change-Id: I265ae2a889203ff383242d24f1b3ec8a117e66ef
2016-06-14Prevent concurrent extractionsAndrew Johnson
This prevernt multiple processes of the same application from simultaneously caching the same secondary dex files. Bug: 27263431 Change-Id: If78ce2d2c5a37a3299b2bb3fa598a3ddd6acb7dd
2016-05-24Fix handling of suppressed exception am: 1247e62e91 am: a64a32c78fYohann Roussel
am: 3f5f8538bc * commit '3f5f8538bc8dcc83771cdcf726ef2c5db90a5668': Change-Id: I362782c0b415a04bf63d1af942d6f3a3b0f1943c
2016-05-24Fix handling of suppressed exception am: 1247e62e91Yohann Roussel
am: a64a32c78f * commit 'a64a32c78f39f116a15a71ad60544d900cb7353d': Change-Id: I04121ee10bde56be0c5ca6b680595a2e5cd8ebac
2016-05-24Fix handling of suppressed exception am: 1247e62e91 am: 5410803f06Yohann Roussel
am: 1d405f0210 * commit '1d405f0210bf229151ff9b2f00a714440d72b2e2': Fix handling of suppressed exception Change-Id: I37b31870294e129f1278923087fea724bac48c89
2016-05-24Fix handling of suppressed exceptionYohann Roussel
am: 1247e62e91 * commit '1247e62e916098962f95dcba3b49d84e5ace380b': Fix handling of suppressed exception Change-Id: I16a12d04c08064f4fccff44731f03bedcf83c945
2016-05-24Fix handling of suppressed exception am: 1247e62e91Yohann Roussel
am: 5410803f06 * commit '5410803f06de3f4512ed18eab32f7bf6421a4aa8': Fix handling of suppressed exception Change-Id: If9ae1a7a9ce88b576f572e5787aca4741eda7dbb
2016-05-24Fix handling of suppressed exceptionYohann Roussel
am: 1247e62e91 * commit '1247e62e916098962f95dcba3b49d84e5ace380b': Fix handling of suppressed exception Change-Id: Ibb4d9579a194bc0edf8a7280cd29eaa738d7ab8b
2016-05-19Fix handling of suppressed exception am: 74e66b8013 am: a257da82d2 am: ↵Yohann Roussel
0f710c5d3c am: 49cbce3746 * commit '49cbce3746ccc34ce803dca0ee3862e31a7efe63': Fix handling of suppressed exception Change-Id: I79c1bebbe7b91349bf9cd35d58eba81ba898dd4e
2016-05-19Fix handling of suppressed exception am: 74e66b8013 am: a257da82d2Yohann Roussel
am: 0f710c5d3c * commit '0f710c5d3c592f61b0ed77ff071d57df318f1930': Fix handling of suppressed exception Change-Id: I4b4aef29ab5156b06932c85dca1e22f33b76ee7f
2016-05-19Fix handling of suppressed exception am: 74e66b8013Yohann Roussel
am: a257da82d2 * commit 'a257da82d27902fd488a09049caa5296a324a8a5': Fix handling of suppressed exception Change-Id: I61c632145cb047137ac8e3516d847a8b60ebf401
2016-05-19Fix handling of suppressed exceptionYohann Roussel
am: 74e66b8013 * commit '74e66b8013b5b9002f67e53825c189a18597b1e8': Fix handling of suppressed exception Change-Id: Iab3d80e64ac435c57f545358448c49b3b1af69c5
2016-05-19Fix handling of suppressed exceptionandroid-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1nougat-releasenougat-mr0.5-releasenougat-devnougat-cts-releasenougat-bugfix-releaseYohann Roussel
On API 19 and 20, the library was trying to save "suppressed exceptions" in the loader.dexElementsSuppressedExceptions but the field is not there, it's in DexPathList, so the correct path is loader.pathList.dexElementsSuppressedExceptions. Bug: 28808797 (cherry picked from commit 74e66b8013b5b9002f67e53825c189a18597b1e8) Change-Id: Ibd6e623d037a706a78c79eff47b17fe9a86fced2
2016-05-17Fix handling of suppressed exceptionandroid-n-preview-4Yohann Roussel
On API 19 and 20, the library was trying to save "suppressed exceptions" in the loader.dexElementsSuppressedExceptions but the field is not there, it's in DexPathList, so the correct path is loader.pathList.dexElementsSuppressedExceptions. Bug: 28808797 Change-Id: I549e2120e744345a86df2f588f03823d9dfab659
2015-08-27am b6a08d3e: am d7953536: (-s ours) am f9f54ac6: am 606af947: Use ↵Yohann Roussel
Context.getFilesDir as a backup dex location * commit 'b6a08d3e06651dbee74a98d54b3f39d4c1b44763':
2015-08-27am d7953536: (-s ours) am f9f54ac6: am 606af947: Use Context.getFilesDir as ↵android-wear-n-preview-3android-wear-n-preview-1android-n-preview-3android-n-preview-2android-n-preview-1Yohann Roussel
a backup dex location * commit 'd79535366e05980887f7a1bf90ff3db7fa572aa6':
2015-08-05am dbc7d8ab: am f9f54ac6: am 606af947: Use Context.getFilesDir as a backup ↵Yohann Roussel
dex location * commit 'dbc7d8abf36785c381448914433138ffcef0ef5a': Use Context.getFilesDir as a backup dex location
2015-08-05am f9f54ac6: am 606af947: Use Context.getFilesDir as a backup dex locationYohann Roussel
* commit 'f9f54ac65185338b2726a9c6b9d791c5994c38e2': Use Context.getFilesDir as a backup dex location
2015-08-05am f9f54ac6: am 606af947: Use Context.getFilesDir as a backup dex locationYohann Roussel
* commit 'f9f54ac65185338b2726a9c6b9d791c5994c38e2': Use Context.getFilesDir as a backup dex location
2015-08-05am 606af947: Use Context.getFilesDir as a backup dex locationYohann Roussel
* commit '606af94785cb96d418d87fe5a90bb2e09ccfa97f': Use Context.getFilesDir as a backup dex location
2015-05-26Use Context.getFilesDir as a backup dex locationandroid-m-preview-2Yohann Roussel
On some devices it seems impossible to read or write the application data directory. There, creating code_cache at the proper location is impossible. In this case fallback to the 'files' directory. This may lead to not cleaning the useless extracted secondary dex files if one such devices is ever updated to L. Bug: https://code.google.com/p/android/issues/detail?id=79388 Change-Id: I4b6725572f10fd511992dc8a5043d2f135abd3a5
2015-05-21am c19d1d6f: (-s ours) am d76348dc: (-s ours) am 5c2dd97b: (-s ours) [DO NOT ↵Yohann Roussel
MERGE] Declare Jack multidex configuration * commit 'c19d1d6fbafb17f1e4246b346822bfc252160c25': [DO NOT MERGE] Declare Jack multidex configuration
2015-05-21am d76348dc: (-s ours) am 5c2dd97b: (-s ours) [DO NOT MERGE] Declare Jack ↵Yohann Roussel
multidex configuration * commit 'd76348dc71ea7d71defa0d6577face75ff133904': [DO NOT MERGE] Declare Jack multidex configuration
2015-05-21am 5c2dd97b: (-s ours) [DO NOT MERGE] Declare Jack multidex configurationYohann Roussel
* commit '5c2dd97be0a197f6d4004f9528026025c7e4f248': [DO NOT MERGE] Declare Jack multidex configuration