aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Implement memory-mapped ExecutionData class."HEADmasterOliver Nguyen2020-09-252-399/+1
| | | | | | | | This reverts commit cb523bf186baa02b7478c81a7a64d2a2ee3d6b5f. Reason for revert: Fix boot failure Change-Id: I7480ca95e548ea663b3d16ca62cc5b5ec3d30514
* Implement memory-mapped ExecutionData class.Oliver Nguyen2020-09-152-1/+399
| | | | | | | | | | | | | | 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
* Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as mergedXin Li2020-08-270-0/+0
|\ | | | | | | | | | | Bug: 166295507 Merged-In: I70c3b0d6ba6823bee7ec2a406399537c6f5f70f9 Change-Id: Ie5ee8a2aabcd140a8c0a0f5cdd518a5d179ec5f8
| * Add license type: EPL is a RECIPROCAL license am: b9499e9c56 am: bdbfb7047dBob Badour2020-04-271-0/+1
| |\ | | | | | | | | | Change-Id: I70c3b0d6ba6823bee7ec2a406399537c6f5f70f9
| * \ [automerger skipped] DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into ↵Xin Li2020-04-100-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | stag-aosp-master am: cf6b7c55dc -s ours am skip reason: subject contains skip directive Change-Id: Ic94ae919b46749ca3e8a9bcb0d5cbd53ff82a704
| * \ \ [automerger skipped] DO NOT MERGE - Empty merge ↵Xin Li2020-03-190-0/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt-qpr1-dev-plus-aosp@6304901 into stag-aosp-master am: 5c6ecc4bc5 -s ours am skip reason: subject contains skip directive Change-Id: I83e7e2f546dc496dd33358f2b002574a11503dc7
| * \ \ \ make jacocoagent available to all the apex. am: 6cb4de2ab1 am: d6e4eb2f3e ↵android-mainline-11.0.0_r1android11-mainline-releaseandroid11-devKun Niu2020-02-141-0/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: af335a6d98 Change-Id: I194c1e7be04d619f6f3477d2d813c46c6961fb0b
| * \ \ \ \ Upgrade jacoco to v0.8.4 am: 9b5f0cebfe am: 12dee3496f am: 0f0b5ebf86Haibo Huang2019-05-19776-6138/+13700
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8e37ff1470 Change-Id: I07b51555e0c1e4c73e013ae5e9da305897cfc4f3
| * \ \ \ \ \ Merge master@5428150 into git_qt-dev. am: e1cda7d072Bill Rassieur2019-04-030-0/+0
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: e6b63c88d2 Change-Id: I52f257f446e2aad527dab79d1666baf605198502
| | * \ \ \ \ \ Merge master@5428150 into git_qt-dev.Bill Rassieur2019-04-030-0/+0
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: e1cda7d072 Change-Id: Iad687edbc01ea2a611af14fbc8a33ae293333105
| | | * \ \ \ \ \ Merge master@5428150 into git_qt-dev.Bill Rassieur2019-04-022-21/+7
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id9bb9180a51f2a0c31076d442db34116006cea5a BUG: 129345239
* | | | \ \ \ \ \ \ Revert "Revert "Add IExecutionData interface and move all usage ..." am: ↵Oliver Nguyen2020-08-2121-86/+313
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bf6088bd3a Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1402988 Change-Id: I96a676d4a6b5deda9bdd334ff5ee98fd25b2687b
| * | | | | | | | | | Revert "Revert "Add IExecutionData interface and move all usage ..."Oliver Nguyen2020-08-1721-86/+313
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | Revert "Add IExecutionData interface and move all usage to the i..." am: ↵Jackal Guo2020-08-1321-313/+86
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d29cfbbb94 Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1398750 Change-Id: I8459c4a3e18c9646f4184de7ae60589482fd3030
| * | | | | | | | | | Revert "Add IExecutionData interface and move all usage to the i..."Jackal Guo2020-08-1321-313/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | Add IExecutionData interface and move all usage to the interface. am: 28558ef2ecOliver Nguyen2020-08-1221-86/+313
|\| | | | | | | | | | | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/external/jacoco/+/1360937 Change-Id: I2635a0c2f43416a20d95ffe9b6ce31af1b75516f
| * | | | | | | | | Add IExecutionData interface and move all usage to the interface.Oliver Nguyen2020-08-1121-86/+313
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | Add license type: EPL is a RECIPROCAL license am: b9499e9c56android-r-beta-3android-r-beta-2Bob Badour2020-04-271-0/+1
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Change-Id: I960cb9a7fc759f95fe37504935cffd36262f6181
| * | | | | | | | Add license type: EPL is a RECIPROCAL licenseBob Badour2020-04-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 68860345 Bug: 69058154 Bug: 151953481 Test: no code changes Change-Id: I9c68a95da9b40beea49a76560a817ca678922121
* | | | | | | | | DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp into stag-aosp-masterXin Li2020-04-090-0/+0
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 151763422 Change-Id: Ie12d0b6f6fb4d3ccbef419ac223335a4374659e9
| * | | | | | | | DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp@6304901 into ↵Xin Li2020-03-190-0/+0
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | / | | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | stag-aosp-master am: 5c6ecc4bc5 Change-Id: I67f9f469247b48cc04bf543d3b03b162e8648424
* | | | | | | | DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp@6304901 into stag-aosp-masterXin Li2020-03-180-0/+0
|\| | | | | | | | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | Bug: 151763422 Change-Id: I4805179160ce5a45033a4c5b693e6a97d334d26f
| * | | | | | make jacocoagent available to all the apex. am: 6cb4de2ab1 am: d6e4eb2f3eKun Niu2020-02-141-0/+5
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | / | | |_|_|_|/ | |/| | | | Change-Id: I95ff079808a1f371c526521cd788bd052967332d
* | | | | | make jacocoagent available to all the apex. am: 6cb4de2ab1android-r-preview-4android-r-preview-3android-r-preview-2Kun Niu2020-02-141-0/+5
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | Change-Id: I8704fe89139ccbb570f8b75f7539dac3a24e5d24
| * | | | | make jacocoagent available to all the apex.Kun Niu2020-02-131-0/+5
|/ / / / / | | | | | | | | | | | | | | | | | | | | Test: m EMMA_INSTRUMENT=true com.android.media Change-Id: I1db554c8f33ea98a0391f759af097e491ccec44e
* | | | | Upgrade jacoco to v0.8.4 am: 9b5f0cebfe am: 12dee3496fandroid-r-preview-1android-mainline-10.0.0_r8android-mainline-10.0.0_r6android10-mainline-resolv-releaseandroid10-mainline-networking-releaseHaibo Huang2019-05-19776-6138/+13700
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | am: 0f0b5ebf86 Change-Id: Ice1512bc21409270a58b7542bce06745db99af6c
| * | | | Upgrade jacoco to v0.8.4 am: 9b5f0cebfendk-sysroot-r21Haibo Huang2019-05-19776-6138/+13700
|/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 12dee3496f Change-Id: Ied87e81d2a101afa03f65e70e3c85410c6ceb2b0
| * | | | Upgrade jacoco to v0.8.4Haibo Huang2019-05-19776-6138/+13700
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 9b5f0cebfe Change-Id: I7952a532483bea4b7540adea09d95d190c43cdab
| | * | | | Upgrade jacoco to v0.8.4android-o-mr1-iot-release-1.0.14android-o-mr1-iot-release-1.0.13Haibo Huang2019-05-16776-6138/+13700
| |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: None Change-Id: I4ca05dd439b98fabd6054bee728d85e3aa11486d
| | * | | | Prepare release 0.8.4Evgeny Mandrikov2019-05-0828-28/+28
| | | | | |
| | * | | | Upgrade Kotlin to 1.3.31Evgeny Mandrikov2019-05-031-1/+1
| | | | | |
| | * | | | Upgrade Kotlin to 1.3.30Evgeny Mandrikov2019-04-172-3/+4
| | | | | |
| | * | | | Add validation test for Kotlin callable referencesEvgeny Mandrikov2019-04-172-0/+58
| | | | | |
| | * | | | Happy birthday JDK 12!Evgeny Mandrikov2019-03-224-9/+6
| | | | | |
| | * | | | Build with JDK 13 EA in TravisEvgeny Mandrikov2019-03-223-0/+25
| | | | | |
| | * | | | Upgrade maven-javadoc-plugin to 3.0.1Evgeny Mandrikov2019-03-221-9/+5
| | | | | |
| | * | | | module-info.class should be excluded from analysis (#859)Evgeny Mandrikov2019-03-163-0/+21
| | | | | |
| | * | | | `nextIsInvokeStatic` and `nextIsInvokeVirtual` should check method ↵Evgeny Mandrikov2019-03-1417-125/+62
| | | | | | | | | | | | | | | | | | | | | | | | descriptor (#857)
| | * | | | Fix unlikely yet theoretically possible NPE (#853)Evgeny Mandrikov2019-03-091-0/+3
| | | | | |
| | * | | | Add unit test for NoneProbeArrayStrategy (#855)Evgeny Mandrikov2019-03-091-0/+46
| | | | | |
| | * | | | Method `needsFrames` should also consider high byte of version (#854)Evgeny Mandrikov2019-03-082-1/+3
| | | | | |
| | * | | | Remove redundant parenthesesEvgeny Mandrikov2019-03-081-1/+1
| | | | | |
| | * | | | Upgrade ASM to 7.1 (#851)Evgeny Mandrikov2019-03-086-20/+97
| | | | | |
| | * | | | Fix typo (#852)Evgeny Mandrikov2019-03-081-1/+1
| | | | | |
| | * | | | Remove useless method callEvgeny Mandrikov2019-03-051-1/+0
| | | | | |
| | * | | | Use condy for probes array in Java 11+ class files (#845)Evgeny Mandrikov2019-03-057-19/+268
| | | | | |
| | * | | | Remove `instrument(ClassReader)` and `analyzeClass(ClassReader)` (#850)Evgeny Mandrikov2019-03-045-31/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * they use field `ClassReader.b` which is marked as deprecated in ASM 7.1 * they don't work when field contains more than just bytes of one class (see `ClassReader(byte[] classFileBuffer, int classFileOffset, int classFileLength)`)
| | * | | | Update KotlinCoroutineFilter for Kotlin 1.3.30 (#849)Evgeny Mandrikov2019-03-043-14/+114
| | | | | |
| | * | | | Add missing JavadocsEvgeny Mandrikov2019-03-011-0/+10
| | | | | |
| | * | | | Remove duplicate throw clauseEvgeny Mandrikov2019-02-091-2/+1
| | | | | |