aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-29Revert "Implement memory-mapped ExecutionData class." am: 24205b1075Oliver Nguyen
Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1439571 Change-Id: I53d591218f679e965c64bd74f7723b6df215d9a9
2020-09-25Revert "Implement memory-mapped ExecutionData class."Oliver Nguyen
This reverts commit cb523bf186baa02b7478c81a7a64d2a2ee3d6b5f. Reason for revert: Fix boot failure Change-Id: I7480ca95e548ea663b3d16ca62cc5b5ec3d30514
2020-09-19Snap for 6847951 from cf6961087b212b9ff0a4d8af733a1ef3545c3168 to sc-releaseandroid-build-team Robot
Change-Id: I6ebe8fe643e28654af12e55ad00317a982c2e20e
2020-09-18Implement memory-mapped ExecutionData class. am: cb523bf186 am: 93a9c69195 ↵Oliver Nguyen
am: 59d4be611f am: 8bc3044466 am: 241ba7f5cf Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1364136 Change-Id: I4fb813199f709ddcfc2c2f378120cf96f2fdb7c8
2020-09-18Implement memory-mapped ExecutionData class. am: cb523bf186 am: 93a9c69195 ↵Oliver Nguyen
am: 59d4be611f am: 8bc3044466 Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1364136 Change-Id: I68807dec63ff281c307134babb3ae61a685e235f
2020-09-18Implement memory-mapped ExecutionData class. am: cb523bf186 am: 93a9c69195 ↵Oliver Nguyen
am: 59d4be611f Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1364136 Change-Id: I288f44fc1651055a8e0c316fa5b30bdd9b7909d4
2020-09-17Implement memory-mapped ExecutionData class. am: cb523bf186 am: 93a9c69195Oliver Nguyen
Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1364136 Change-Id: I244b85993a6e004e8708aff31bd752bfa7cf2ab3
2020-09-17Implement memory-mapped ExecutionData class. am: cb523bf186Oliver Nguyen
Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1364136 Change-Id: Ib1efaf874c0e2e978c94e25d4c95633db7a57d66
2020-09-15Implement memory-mapped ExecutionData class.Oliver Nguyen
This allows apps to write coverage to disk during execution and not require any flushing mechanism in order to collect coverage. The results will be left in /data/misc/trace/jacoco-*.mm.ec and can be collected later for coverage analysis. These .mm.ec files conform to the current exec file format and can be loaded with the command-line tool. Test: m -j EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true and generate coverage report from /data/misc/trace Bug: 147904124 Change-Id: If08492405b86a063ae714c259a2fb954bc5aa946
2020-08-29Snap for 6799253 from cdad2b5586bc4bb05c7f8eef176b190366edf733 to sc-releaseandroid-build-team Robot
Change-Id: I88b359221b16561d648bad71b29ff77d0f4b7a40
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 774bc62453 -s ours am: 5abfdd85db -s ours am: d3344a2fbc -s ours am: 4f02963b13 -s ours am skip reason: Change-Id I70c3b0d6ba6823bee7ec2a406399537c6f5f70f9 with SHA-1 5956bfdb55 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/jacoco/+/12469814 Change-Id: I279142697f394534783941459946d7f641275c82
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 774bc62453 -s ours am: 5abfdd85db -s ours am: d3344a2fbc -s ours am skip reason: Change-Id I70c3b0d6ba6823bee7ec2a406399537c6f5f70f9 with SHA-1 5956bfdb55 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/jacoco/+/12469814 Change-Id: Ia00ac4520d11a2eef83fe3fa7f2adde9ceadc006
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 774bc62453 -s ours am: 5abfdd85db -s ours am skip reason: Change-Id I70c3b0d6ba6823bee7ec2a406399537c6f5f70f9 with SHA-1 5956bfdb55 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/jacoco/+/12469814 Change-Id: I87d8c348242ea2311382206f5bcde305ca42fb49
2020-08-27[automerger skipped] Mark Android R ↵Xin Li
(rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 774bc62453 -s ours am skip reason: Change-Id I70c3b0d6ba6823bee7ec2a406399537c6f5f70f9 with SHA-1 5956bfdb55 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/jacoco/+/12469814 Change-Id: I22c67255469b17b72e9e918ce8f165b883bdfc10
2020-08-27Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as mergedXin Li
Bug: 166295507 Merged-In: I70c3b0d6ba6823bee7ec2a406399537c6f5f70f9 Change-Id: Ie5ee8a2aabcd140a8c0a0f5cdd518a5d179ec5f8
2020-08-25Snap for 6787473 from f1e83c222f87522eea20c6ef243fe6ab79960352 to sc-releaseandroid-build-team Robot
Change-Id: I2704cc8a4bebb796853b40b3f94c265305b831e3
2020-08-24Revert "Revert "Add IExecutionData interface and move all usage ..." am: ↵Oliver Nguyen
bf6088bd3a am: f227e6157e am: e0bfed9be8 am: fa48cf05c4 am: b850dc5062 Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1402988 Change-Id: I42c8f0933b1328411c836d332b0a31260e1e963f
2020-08-24Revert "Revert "Add IExecutionData interface and move all usage ..." am: ↵Oliver Nguyen
bf6088bd3a am: f227e6157e am: e0bfed9be8 am: fa48cf05c4 Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1402988 Change-Id: Ib39e093698617aea5436ecba499f8a692e9a6776
2020-08-24Revert "Revert "Add IExecutionData interface and move all usage ..." am: ↵Oliver Nguyen
bf6088bd3a am: f227e6157e am: e0bfed9be8 Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1402988 Change-Id: I51e9b5c35644a28bdcd2a5f0017f6dec586f4f82
2020-08-24Revert "Revert "Add IExecutionData interface and move all usage ..." am: ↵Oliver Nguyen
bf6088bd3a am: f227e6157e Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1402988 Change-Id: Iac7c5128c9967febb72263179a7a5e8479f744c8
2020-08-21Revert "Revert "Add IExecutionData interface and move all usage ..." am: ↵Oliver Nguyen
bf6088bd3a Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1402988 Change-Id: I96a676d4a6b5deda9bdd334ff5ee98fd25b2687b
2020-08-17Revert "Revert "Add IExecutionData interface and move all usage ..."Oliver Nguyen
Revert "Revert "Update JavaCodeCoverageListenerTest to new IExec..." Revert submission 1398750-revert-1364940-IExecutionData-FHXOSGWBLA Reason for revert: Fixed build Reverted Changes: I609da053c:Revert "Add IExecutionData interface and move all ... Iff176c367:Revert "Update JavaCodeCoverageListenerTest to new... Change-Id: I2b1653276b15049c53c8f186a603cfc4b2015ed5
2020-08-14Snap for 6761965 from 056563377e8239217215a77f76498578a58e8b62 to sc-releaseandroid-build-team Robot
Change-Id: I4c2615af90eb1813bf798e32080c1cc23806b8e1
2020-08-13Revert "Add IExecutionData interface and move all usage to the i..." am: ↵Jackal Guo
d29cfbbb94 am: d44b0cd4e7 am: 5ce96905e6 am: 26295a4cb0 am: 6b3251ca9a Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1398750 Change-Id: If800ff730a9c77c4810f86217ddc7112f7793bed
2020-08-13Revert "Add IExecutionData interface and move all usage to the i..." am: ↵Jackal Guo
d29cfbbb94 am: d44b0cd4e7 am: 5ce96905e6 am: 26295a4cb0 Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1398750 Change-Id: Id2de5b37a6146a577e91fe266fa44885fcb9b0af
2020-08-13Revert "Add IExecutionData interface and move all usage to the i..." am: ↵Jackal Guo
d29cfbbb94 am: d44b0cd4e7 am: 5ce96905e6 Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1398750 Change-Id: Ib44c2949a4cfdd7f6c39ad581b62b9ea0d6d579c
2020-08-13Revert "Add IExecutionData interface and move all usage to the i..." am: ↵Jackal Guo
d29cfbbb94 am: d44b0cd4e7 Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1398750 Change-Id: Ia103490ad8e7438300c3a52c97de36e0ed94b966
2020-08-13Revert "Add IExecutionData interface and move all usage to the i..." am: ↵Jackal Guo
d29cfbbb94 Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1398750 Change-Id: I8459c4a3e18c9646f4184de7ae60589482fd3030
2020-08-13Revert "Add IExecutionData interface and move all usage to the i..."Jackal Guo
Revert "Update JavaCodeCoverageListenerTest to new IExecutionDat..." Revert submission 1364940-IExecutionData Reason for revert: b/163919667 Reverted Changes: I4fbee7a43:Update JavaCodeCoverageListenerTest to new IExecut... I41235626b:Add IExecutionData interface and move all usage to... Change-Id: I609da053cf4427b250efe222ee3d54fb0a9f21d2
2020-08-13Add IExecutionData interface and move all usage to the interface. am: ↵Oliver Nguyen
28558ef2ec am: a9476fe17e am: 8c2924d88c am: 8f098f485c am: 873eb314f5 Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1360937 Change-Id: I7c5c2b12bb7a6ce869b4d30a57727493e066c3ca
2020-08-13Add IExecutionData interface and move all usage to the interface. am: ↵Oliver Nguyen
28558ef2ec am: a9476fe17e am: 8c2924d88c am: 8f098f485c Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1360937 Change-Id: I8b2b994f4578f61246b0ea01f46d5a9806d4fda6
2020-08-13Add IExecutionData interface and move all usage to the interface. am: ↵Oliver Nguyen
28558ef2ec am: a9476fe17e am: 8c2924d88c Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1360937 Change-Id: I220c1fbeecd893b25da16ee9282ad84d431813de
2020-08-13Add IExecutionData interface and move all usage to the interface. am: ↵Oliver Nguyen
28558ef2ec am: a9476fe17e Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1360937 Change-Id: I9bf6bb0f971312930899f49260c4479dfefc559b
2020-08-12Add IExecutionData interface and move all usage to the interface. am: 28558ef2ecOliver Nguyen
Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1360937 Change-Id: I2635a0c2f43416a20d95ffe9b6ce31af1b75516f
2020-08-11Add IExecutionData interface and move all usage to the interface.Oliver Nguyen
Abstracts the underlying execution data implementation to allow for more complex execution data storage mechanisms. For offline instrumentation, classes store the IExecutionData object and make calls into it to set probe data. This results in additional overhead of looking up the vtable for the interface and making the method call, rather than just directly setting the value in the boolean array. Bug: 147904124 Test: m EMMA_INSTRUMENT=true EMMA_INSTRUMENT_FRAMEWORK=true and verify Java coverage collection and parsing Change-Id: I41235626b1040a6a21c6aef300f2dfe064393e1f
2020-04-28Snap for 6436511 from 9a3a10586a58c50a172ef492eb728a9ecfc9c7d8 to sc-releaseandroid-build-team Robot
Change-Id: Ia1eb818b0baee0e3eb3e17f29084cdcc9e43b997
2020-04-27Add license type: EPL is a RECIPROCAL license am: b9499e9c56 am: bdbfb7047d ↵Bob Badour
am: 5956bfdb55 am: 8ddf7dbddf am: ec165abf3d Change-Id: I7ef7f9eb8ee5b444990a51f4604bb1d87ee28755
2020-04-27Add license type: EPL is a RECIPROCAL license am: b9499e9c56 am: bdbfb7047d ↵Bob Badour
am: 5956bfdb55 am: 8ddf7dbddf Change-Id: I8de460eb152d8166680975372d0615c3cd7fbbd8
2020-04-27Add license type: EPL is a RECIPROCAL license am: b9499e9c56 am: bdbfb7047d ↵Bob Badour
am: 5956bfdb55 Change-Id: Ie1e6738e871304ac3e3b41dabc89ef7df2f1514d
2020-04-27Add license type: EPL is a RECIPROCAL license am: b9499e9c56 am: bdbfb7047dBob Badour
Change-Id: I70c3b0d6ba6823bee7ec2a406399537c6f5f70f9
2020-04-27Add license type: EPL is a RECIPROCAL license am: b9499e9c56android-r-beta-3android-r-beta-2Bob Badour
Change-Id: I960cb9a7fc759f95fe37504935cffd36262f6181
2020-04-23Add license type: EPL is a RECIPROCAL licenseBob Badour
Bug: 68860345 Bug: 69058154 Bug: 151953481 Test: no code changes Change-Id: I9c68a95da9b40beea49a76560a817ca678922121
2020-04-11Snap for 6386567 from c3a8e8bde2d9c6871854caf5b19abf49d7b9199c to sc-releaseandroid-build-team Robot
Change-Id: Iedd5e1cd6c3f8c3bb9f58aff0298807a5ae3b912
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: cf6b7c55dc -s ours am: a410ba77a4 am: d57050fa4c am: 7cfd74628c -s ours am skip reason: subject contains skip directive Change-Id: I710486d3fa7151357bf1abd96b3e15c30ffb5b51
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: cf6b7c55dc -s ours am: a410ba77a4 am: d57050fa4c Change-Id: I522392ccacaa70fbfa0bbac8672ab3f214eab133
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: cf6b7c55dc -s ours am: a410ba77a4 Change-Id: I05b462b52290857ea81e8b72330fa7594afa39a5
2020-04-10[automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li
stag-aosp-master am: cf6b7c55dc -s ours am skip reason: subject contains skip directive Change-Id: Ic94ae919b46749ca3e8a9bcb0d5cbd53ff82a704
2020-04-09DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-masterXin Li
Bug: 151763422 Change-Id: Ie12d0b6f6fb4d3ccbef419ac223335a4374659e9
2020-03-20Snap for 6314039 from 3add046841eb9fb98ae1194f884bdadaf7688a42 to sc-releaseandroid-build-team Robot
Change-Id: I279254305cde5274b7871815f317851ce376b668
2020-03-19[automerger skipped] DO NOT MERGE - Empty merge ↵Xin Li
qt-qpr1-dev-plus-aosp@6304901 into stag-aosp-master am: 5c6ecc4bc5 -s ours am: 165e2ee793 am: 31c4488be5 am: 0c82d8e6fc -s ours am skip reason: subject contains skip directive Change-Id: I9412920121d767c377f889038a09ad615fc6cd83