summaryrefslogtreecommitdiff
path: root/core/java/android/metrics/MetricsReader.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove @TestApi from @SystemApi symbolsAnton Hansson2020-10-201-2/+0
| | | | | | | | | | | | | I ran these commands: cd frameworks/base grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@SystemApi[\s\n]+(\@\w+[\s\n]+)?\@TestApi/\@SystemApi\1/gs' grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \ 's/\@TestApi[\s\n]+(\@\w+[\s\n]+)?\@SystemApi/\1\@SystemApi/gs' Bug: 171179806 Test: m checkapi Change-Id: I772790b783b0a8730b8bf680c9e569a886b8d789
* Added some TestApi that are already used by CTSWale Ogunwale2019-02-211-0/+2
| | | | | | | | Allows us to remove the use of private platform API from CTS. Bug: 124134247 Test: builds Change-Id: Iceb81ff7c9385e877d2612fbb7b506245d116928
* expose the UID in the EventLog APIChris Wren2017-04-281-1/+9
| | | | | | Bug: 32806111 Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Change-Id: I16800a33bc6d4d37b3addd71b675fd760bd5d7b8
* don't interpret milliseconds as nanosecondsChris Wren2017-04-121-8/+11
| | | | | | | | | | | | The bug fix is in the readEvents() wrapper, but also make sure that both the Event and LogReader interfaces only expose milliseconds. No test changes, because the Java-layer didn't change, the bug was in the JNI wrapper, below the level that's easily testable. Bug: 37205954 Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Change-Id: I0c4ad9233a81bcf585ab525b3a5cc63fbb645093
* revise the reader semanticsChris Wren2017-03-181-38/+129
| | | | | | | | | | checkpoint modifies the underlying log rather than reading timestamps. reset replays without going back to the underlying log. add a test Bug: 32982362 Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Change-Id: I381b203a1c24fcd098d7df4d9d0a50bd8aaa1309
* add process ID to LogMakerChris Wren2017-03-091-1/+2
| | | | | | Bug: 32806111 Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Change-Id: I3efa38a6b25502def3ba7ace04b6ba76e4d1a6cb
* remove the last of the legacy log helpersChris Wren2017-03-071-17/+68
| | | | | | | | All logs should now flow through LogMaker. Bug: 34705522 Test: mmma -j20 platform_testing/tests/functional/notificationtests && adb install -r -g /data/app/NotificationFunctionalTests/NotificationFunctionalTests.apk && adb shell am instrument -w -e iterations 1 -e class com.android.notification.functional.NotificationInteractionTests com.android.notification.functional/android.support.test.runner.AndroidJUnitRunner && runtest --path platform_testing/libraries/metrics-helper/tests Change-Id: I94732c84564e4cb25d77b63be8beb4aab4c38985
* Move MetricsReader to SystemApiChris Wren2017-01-241-0/+68
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics && runtest --path frameworks/base/core/tests/coretests/src/com/android/internal/logging/legacy/ Change-Id: If55f0444d5a836f24234182d298ebc128643efc1