summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-18Snap for 4610834 from 359aa079d3dcff5f4aee11faf5a74239d0cbe64a to pi-releaseandroid-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r34android-wear-9.0.0_r33android-wear-9.0.0_r32android-wear-9.0.0_r31android-wear-9.0.0_r30android-wear-9.0.0_r3android-wear-9.0.0_r29android-wear-9.0.0_r28android-wear-9.0.0_r27android-wear-9.0.0_r26android-wear-9.0.0_r25android-wear-9.0.0_r24android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r19android-vts-9.0_r18android-vts-9.0_r17android-vts-9.0_r16android-vts-9.0_r15android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-security-9.0.0_r76android-security-9.0.0_r75android-security-9.0.0_r74android-security-9.0.0_r73android-security-9.0.0_r72android-security-9.0.0_r71android-security-9.0.0_r70android-security-9.0.0_r69android-security-9.0.0_r68android-security-9.0.0_r67android-security-9.0.0_r66android-security-9.0.0_r65android-security-9.0.0_r64android-security-9.0.0_r63android-security-9.0.0_r62android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r20android-cts-9.0_r2android-cts-9.0_r19android-cts-9.0_r18android-cts-9.0_r17android-cts-9.0_r16android-cts-9.0_r15android-cts-9.0_r14android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r61android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1security-pi-releasepie-vts-releasepie-security-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releasepie-platform-releasepie-gsipie-cuttlefish-testingpie-cts-releaseandroid-build-team Robot
Change-Id: I6382adadb4487efe07d1b274f06a6d4fb7b41dda
2018-02-16Merge "Add flags to bsdiff main to generate the Endsley format." am: ↵android-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-devAlex Deymo
aa3cb25c11 am: db3afbd069 am: 90e451a183 Change-Id: If1fd2ad6fe890fb787387e7337a74963b344b753
2018-02-16Merge "Add flags to bsdiff main to generate the Endsley format." am: aa3cb25c11Alex Deymo
am: db3afbd069 Change-Id: Ie2059ed3f1b3898a1961f8e9f9037f4ffaffc88a
2018-02-16Merge "Add flags to bsdiff main to generate the Endsley format."Alex Deymo
am: aa3cb25c11 Change-Id: I96f1477db04eeb945d63ddbd3a72097896fe010c
2018-02-16Merge "Add flags to bsdiff main to generate the Endsley format."android-p-preview-1Alex Deymo
2018-02-16Merge changes I2bd068c6,If46080a8 am: f6f8ae0cba am: 328224ec87Alex Deymo
am: c3de65b894 Change-Id: I6e6a8b1b05f6880f7cb886ec9bf55809ae7ae040
2018-02-16Merge changes I2bd068c6,If46080a8 am: f6f8ae0cbaAlex Deymo
am: 328224ec87 Change-Id: I076ac664f54941b8f61ff77722be837d3917ffa0
2018-02-16Merge changes I2bd068c6,If46080a8Alex Deymo
am: f6f8ae0cba Change-Id: I05713a01bf98be24d60a04262a7baf75d78e1493
2018-02-16Add flags to bsdiff main to generate the Endsley format.Alex Deymo
This patch adds a format flag option in bsdiff main program to support generating a patch in Endsley format from the command line. This is helpful to generate patches for performance analysis of the different settings and patch formats. Bug: 71854816 Test: Ran bsdiff with --format=endsley Change-Id: Iba4a3beb4b4cbb82ea1bd5b64d229b1aad871b37
2018-02-16Merge changes I2bd068c6,If46080a8Alex Deymo
* changes: Support compression in the Endsley format. Include missing copyright notices
2018-02-15Support compression in the Endsley format.Alex Deymo
While compression is normally handled by a higher level in the Endsley format, this patch allows to optionally compress the patch here. This helps estimate the size of the compressed Endsley patch which is what ends up being transmitted. Bug: 71854816 Test: Added unittests, ran it from the command line Change-Id: I2bd068c62a7d6aa5b1c71c38dcfe45ef82b9c2f2
2018-02-15Include missing copyright noticesAlex Deymo
Bug: None Test: Still builds Change-Id: If46080a84e3dc121c157310ff73846d16f6b8857
2018-02-15Snap for 4605948 from 3d4929c16ca1d0cf868cf6c736b7d900f66447c0 to pi-releaseandroid-build-team Robot
Change-Id: I5fcf6df19c8053d48230675c3a476c69eaee0164
2018-02-14Merge "munmap() buffers after running bsdiff in main." am: 7d4f51b407 am: ↵Alex Deymo
1ae5000dd8 am: 7f98a953cf Change-Id: I82e3bd56bcda6b76c5b91fe5401173920ac71114
2018-02-14Merge "munmap() buffers after running bsdiff in main." am: 7d4f51b407Alex Deymo
am: 1ae5000dd8 Change-Id: I90fd0ceb248d888f68ed923c98a573f167ba969a
2018-02-14Merge "munmap() buffers after running bsdiff in main."Alex Deymo
am: 7d4f51b407 Change-Id: I0c76da54092f49b67a94bfea0419adbbfac73ed5
2018-02-14Merge "munmap() buffers after running bsdiff in main."Treehugger Robot
2018-02-14Merge "Add missing newline at end of file." am: 7c583c70ab am: 6a2b97cf7aAlex Deymo
am: d9b57958a3 Change-Id: I3026ac57dff539e5e746b9bdc522ce66801456cd
2018-02-14Merge "Add missing newline at end of file." am: 7c583c70abAlex Deymo
am: 6a2b97cf7a Change-Id: Id96285210160c97d02900c9208c32a17c63b9a76
2018-02-14Merge "Add missing newline at end of file."Alex Deymo
am: 7c583c70ab Change-Id: Ifae5880aa3edf70e6ef1af4550bec35f272d187e
2018-02-14Merge "Add missing newline at end of file."Treehugger Robot
2018-02-14munmap() buffers after running bsdiff in main.Alex Deymo
We were technically leaking mmap'ed memory in the main program. This was not really a problem in normal execution of the binary because the process would finish right after it, but releasing the mmap() helps find actual leaks when instrumenting the code with asan tools. Bug: None Test: ran bsdiff over a sample file. Change-Id: I5fac808ba6d0ba9b2331e40a764cac1a3620062f
2018-02-14Add missing newline at end of file.Alex Deymo
Bug: None Test: Still builds. Change-Id: I26f9a3155315c3b7fb8104dc708df312a5860731
2018-02-14Snap for 4603395 from 0b6eab0f1421d6abfd701b751e90c2dec0e9bb51 to pi-releaseandroid-build-team Robot
Change-Id: I070f8c2b9816a2390e8996451675919ed17d1dc1
2018-02-13Merge "Remove "using" from header files." am: 9bb5b82238 am: 669ac3c7daAlex Deymo
am: 84e6345e6a Change-Id: I2522005f1c916d238d2f608ba090c21f32e04b2a
2018-02-13Merge "Remove "using" from header files." am: 9bb5b82238Alex Deymo
am: 669ac3c7da Change-Id: I8608023d9b983455e102d55fb278d6a9f51e65ef
2018-02-13Merge "Remove "using" from header files."Alex Deymo
am: 9bb5b82238 Change-Id: I6ac01a72e839eeaf79b0a02d9a2a7742735f58ea
2018-02-13Merge "Remove "using" from header files."Alex Deymo
2018-02-13Merge "Allow to set the minimum required match length." am: 46e8a3d9bd am: ↵Alex Deymo
8593ed6bd8 am: f71e7b4bed Change-Id: Ic074fa44328ea9b7091d7ba1ce8356530cd7a34f
2018-02-13Merge "Allow to set the minimum required match length." am: 46e8a3d9bdAlex Deymo
am: 8593ed6bd8 Change-Id: I01e8d40066551750fc02cce9fc32a339780afd0f
2018-02-13Remove "using" from header files.Alex Deymo
Per style guide, we should not have global using clausules in header files since they polute the namespace for everybody including the header. Bug: None Test: It still builds. Change-Id: Id34b18fbed9e71e3c502e4a91c4d242e553b6f88
2018-02-13Merge "Allow to set the minimum required match length."Alex Deymo
am: 46e8a3d9bd Change-Id: I12762cfed95f24ad6e0873cf7c03ba1d878e69ce
2018-02-13Merge "Allow to set the minimum required match length."Alex Deymo
2018-02-12Allow to set the minimum required match length.Alex Deymo
The minimum required match length plays an important role in the current algorithm. This algorithm requires that the current match has at least 8 mismatches over a region where we find a new match, therefore imposing a minimum match length of at least 8 bytes. This patch allows to increase this minium value to avoid using small matches that only match a very small region. A larger value can improve the patch size, depending on the data, but a too large value will cause the algorithm to miss matches that were otherwise benefical. Bug: 73107113 Test: Added unittests. Ran it with different minlen values. Change-Id: Iac594fc1cd7ecd5cfdc676bdb6ebe7c626de6dcd
2018-02-11Snap for 4598635 from 20d3657fc9092e9d96333db00973fb6297dc0419 to pi-releaseandroid-build-team Robot
Change-Id: I1792dc8436f4cb14863ae2d365c4b1a3e76e036f
2018-02-10Merge "Export the constants.h to public API" am: 6c53ba8a18 am: 370d665d98Tianjie Xu
am: 7efa7ac2af Change-Id: If0a059ab83685c1f0e4088a28c4e6c05c4e7393f
2018-02-10Merge "Export the constants.h to public API" am: 6c53ba8a18Tianjie Xu
am: 370d665d98 Change-Id: I473743ab91bd283bd20f3bad467eed57b120326c
2018-02-10Merge "Export the constants.h to public API"Tianjie Xu
am: 6c53ba8a18 Change-Id: Icc73869793f867af1b40805f70889072bfb82d01
2018-02-10Merge "Export the constants.h to public API"Tianjie Xu
2018-02-08Export the constants.h to public APITianjie Xu
constants.h used to be private but we are using it in patch_writer_factory.h, which is part of the public API. So we also need move constants.h there to maintain the coherency. Test: unittest pass Change-Id: I8cddb617d59a68bed2242084cd556d6494d00a82
2018-01-22merge in pi-release history after reset to mastergitbuildkicker
2018-01-22merge in pi-release history after reset to mastergitbuildkicker
2018-01-21Snap for 4557233 from d0b6605bcb4df4f040a35ba72651501f43f2e121 to pi-releaseandroid-build-team Robot
Change-Id: I792dcba3bf38564045ce9456ba6a45d4af2ac114
2018-01-18Merge "Add an argument parser in bsdiff" am: 922cdaab26 am: 937a978882Tianjie Xu
am: 094114284e Change-Id: I8c5450318dbac0d6e92e3347845a70c6d008c1ec
2018-01-18Merge "Add an argument parser in bsdiff" am: 922cdaab26Tianjie Xu
am: 937a978882 Change-Id: I3073a6f02311a8be228074c9e3cfe6ff57019320
2018-01-18Merge "Add an argument parser in bsdiff"Tianjie Xu
am: 922cdaab26 Change-Id: I0d53fbfd682cefb315ca5c3d9e5ac720bcc3da61
2018-01-18Merge "Add an argument parser in bsdiff"android-wear-8.0.0_r1Treehugger Robot
2018-01-18Add an argument parser in bsdiffTianjie Xu
Add a parser of format, type and quality in the bsdiff main function. This allow the bsdiff binary to choose between the BSDFF40|BSDF2 patch format and compress the patch with desired algorithms. Bug: 34220646 Test: unittest pass; generate brotli compressed patches with bsdiff binary Change-Id: Ia4f7941e4eca7e6047e2749315127d1cf4a988ee
2018-01-16Snap for 4546953 from 350dfd2d51ba7e6ded8b71d8a0f4d1d01838c0f4 to pi-releaseandroid-build-team Robot
Change-Id: I89b8daf276e6c96a31da0f360bd8cd46c5c7975b
2018-01-15Merge "Fix A/B update fail for 32-bit devices" am: 0474f1be45 am: 5902405547Iris Chang
am: 290269b9f5 Change-Id: I359c0427c330e60fd9d42996b132f5a4636697f0