summaryrefslogtreecommitdiff
path: root/cmds
AgeCommit message (Collapse)Author
2020-08-11Do not log package name on privacy-indicator logsPhilip P. Moltmann
as requested by privacy review. Bug: 162547999 Test: Built Change-Id: I9333facfdc39cc7a344c5671f487928977f5d82e
2020-08-10Merge "Add KeystoreKeyEventReported atom for keystore logging."Hasini Gunasinghe
2020-08-04Merge "Use -target 8 for android_uiautomator"Treehugger Robot
2020-08-04Use -target 8 for android_uiautomatorColin Cross
android_uiautomator is distributed as part of the SDK and should use -target 8 for compatibility with old JDKs. Bug: 150153790 Bug: 162522383 Test: javap -v -cp out/target/common/obj/JAVA_LIBRARIES/android_uiautomator_intermediates/classes.jar com.android.uiautomator.core.Configurator | grep "major version" Change-Id: I6871ab5436232ad3bffff6bd26adf2de6b3c06ff Merged-In: I6871ab5436232ad3bffff6bd26adf2de6b3c06ff (cherry picked from commit 51387a027dc8de48ed8f24d81f14552ac9fdbf6c)
2020-08-04Merge "Use -target 8 for android_uiautomator" into rvc-devColin Cross
2020-08-03Use -target 8 for android_uiautomatorColin Cross
android_uiautomator is distributed as part of the SDK and should use -target 8 for compatibility with old JDKs. Bug: 150153790 Bug: 162522383 Test: javap -v -cp out/target/common/obj/JAVA_LIBRARIES/android_uiautomator_intermediates/classes.jar com.android.uiautomator.core.Configurator | grep "major version" Change-Id: I6871ab5436232ad3bffff6bd26adf2de6b3c06ff
2020-08-03Remove `create_stubs: false` from droiddocLiz Kammer
`create_stubs: false` is the default behavior in soong as of https://r.android.com/1380730 Test: m docs Bug: 144248501 Bug: 143136634 Change-Id: If13de5c0a4071b032bc460f5c57e27819b33051d
2020-07-31address use of DummyIME in UI AutomatorGuang Zhu
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: compile (code is not active in use) Change-Id: Ice71490ff09969f229943d6ef952a09f4e283d14 Merged-In: Ice71490ff09969f229943d6ef952a09f4e283d14
2020-07-29Merge "Update language to comply with Android's inclusive language guidance"Kelly Rossmoyer
2020-07-29Update language to comply with Android's inclusive language guidanceKelly Rossmoyer
See https://source.android.com/setup/contribute/respectful-code for reference BUG=161896447 Change-Id: I7a081cb7385c6db047c4ba369a91ac409f3ab20f
2020-07-29Update language to comply with Android's inclusive language guidanceKelly Rossmoyer
See https://source.android.com/setup/contribute/respectful-code for reference BUG=161896447 Change-Id: I8d670c2c1aac98f06de3f714a957b08dfd285a0b
2020-07-29Merge "Delete more unused includes in statsd"Tom Cherry
2020-07-28Delete more unused includes in statsdTom Cherry
Test: build Merged-In: Ie639f57f86c2573cd5e06a1fa9397487f4b3f235 Change-Id: Ie639f57f86c2573cd5e06a1fa9397487f4b3f235
2020-07-28Merge "Run CtsTelecomTestCases in presubmit"Hall Liu
2020-07-28Merge "Convert uiautomator-stubs-docs to use metalava"Liz Kammer
2020-07-27Delete unused imports in StatsdJeffrey Huang
Delete libplatformprotos since its not used. Test: m -j Bug: 147599928 Merged-In: I80203756d714bf123978d26bbe81351a1abdc967 Change-Id: I80203756d714bf123978d26bbe81351a1abdc967
2020-07-27Convert uiautomator-stubs-docs to use metalavaLiz Kammer
Update current.txt and removed.txt to be created with metalava. Test: m android_uiautomator Test: m uiautomator-stubs-docs Test: m checkapi Bug: 144248501 Bug: 143136634 Change-Id: Ie1c52530dd03a05e244ebfd47bf9acf4448c5794
2020-07-17Merge changes I7d98ab42,I8753e681 into rvc-dev am: 7368ed7d03TreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12166028 Change-Id: I2d6eb9bbc142e7da1a270a9bea22d645b6f54885
2020-07-16Report NR connected state to provide resolution of 5G NSA modejunyulai
Test: adb shell cmd stats pull-source 10082 Test: atest UidAtomTests#testDataUsageBytesTransfer Bug: 160727498 Change-Id: I7d98ab425852ffa064c68f5dc50bd1f5a4a49ab9 Merged-In: I7d98ab425852ffa064c68f5dc50bd1f5a4a49ab9 (cherry-picked from ag/12167625)
2020-07-08Merge "Add telecom command to stop block suppression" into rvc-devHall Liu
2020-07-08Add KeystoreKeyEventReported atom for keystore logging.Hasini Gunasinghe
This is for migrating keystore logging to using statsd. Test: Adding tests for logging is yet to be decided. Change-Id: I858ff1fe46fcdd5acbca0c5b7972632f35377002 Merged-In: I66fbc2b8ed98a34f243387f8550b6523b13cb9a2
2020-07-08Add telecom command to stop block suppressionHall Liu
Add a Telecom command to stop the number blocking suppression that happens after an emergency call. Bug: 158798240 Fixes: 160667708 Test: atest CtsTelecomTestCases Change-Id: I122de1962fb6aa48a3092c2aa323dcbdcbb8f42e
2020-07-01Run CtsTelecomTestCases in presubmitHall Liu
Run Telecom CTS in presubmit, and include a few fixes to prevent flakiness in said presubmit. Fixes: 158798240 Test: presubmit Change-Id: I9b9e2f2604615e93301bc83be7c3545c6f80cb9c
2020-07-01Merge "Add atom for general external storage access stats" into rvc-dev am: ↵Shafik Nassar
b1951ee22d Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11894164 Change-Id: I8fe2721308efc9ebb019a9de0c8c27093c98b1ce
2020-07-01Merge "Add atom for general external storage access stats" into rvc-devShafik Nassar
2020-06-30Merge "Fix edge case in statsd alarms"Treehugger Robot
2020-06-30Fix edge case in statsd alarmsTej Singh
Right now, if an alarm fires exactly on time (within 1 second), or exactly on a multiple of its period, statsd will reset the alarm for the same time, which can result a loop of statsd setting an alarm, the alarm firing, statsd setting an alarm at the same time, etc. The fix is that if an alarm fires on time, we should move to the next period. Test: atest statsd_test (added to a test, which would fail without the code change) Bug: 159098080 Change-Id: I150538cb1d3d5a2b943df2a32d92f8f84bb96626 Merged-In: I150538cb1d3d5a2b943df2a32d92f8f84bb96626
2020-06-26Merge "Add telecom command to stop block suppression" am: afe114c2f5 am: ↵Treehugger Robot
533a19175c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1350781 Change-Id: I4cface851f70245a7efc4063e54c2943f2d0e362
2020-06-26Merge "Add telecom command to stop block suppression"Treehugger Robot
2020-06-26Add telecom command to stop block suppressionHall Liu
Add a Telecom command to stop the number blocking suppression that happens after an emergency call. Bug: 158798240 Test: atest CtsTelecomTestCases Change-Id: I122de1962fb6aa48a3092c2aa323dcbdcbb8f42e
2020-06-26Merge "Fix edge case in statsd alarms" into rvc-dev am: ac2c18c314TreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12004848 Change-Id: Ib178e5d7f50152478543de24b29854b411567898
2020-06-26Merge "Fix edge case in statsd alarms" into rvc-devTreeHugger Robot
2020-06-26Add atom for general external storage access statsshafik
Define a new pulled atom which will be logged in MediaProvider. The atom collects general access stats for external storage: * Total number of accesses * Total number of file path accesses * Total number of secondary storage accesses * List of accesses mime types Test: build Test: make statsd_testdrive ; ./out/host/linux-x86/bin/statsd_testdrive \ -p com.google.android.providers.media.module 10085 Bug: 149669087 Change-Id: Ic0ebb040a05ec06603f1a617f290af6a2f21916d
2020-06-26Merge "Add COUNT_LIMIT_EXCEEDED as reason for BlobCommitted/Leased." into ↵Sudheer Shanka
rvc-dev am: 9cd29ba6d6 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11980358 Change-Id: I47a819564002ae688edcc33b5921b796bcbcf057
2020-06-26Merge "Add COUNT_LIMIT_EXCEEDED as reason for BlobCommitted/Leased." into ↵Sudheer Shanka
rvc-dev
2020-06-25Fix edge case in statsd alarmsTej Singh
Right now, if an alarm fires exactly on time (within 1 second), or exactly on a multiple of its period, statsd will reset the alarm for the same time, which can result a loop of statsd setting an alarm, the alarm firing, statsd setting an alarm at the same time, etc. The fix is that if an alarm fires on time, we should move to the next period. Test: atest statsd_test (added to a test, which would fail without the code change) Bug: 159098080 Change-Id: I150538cb1d3d5a2b943df2a32d92f8f84bb96626
2020-06-25Merge "Inroduce UNIFORM_OPS sampling." into rvc-dev am: ae135c8108TreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11689592 Change-Id: I0dbc266a2528abbc582c908b63e895713100da60
2020-06-25Merge "Inroduce UNIFORM_OPS sampling." into rvc-devTreeHugger Robot
2020-06-25Inroduce UNIFORM_OPS sampling.Stanislav Zholnin
Introduce strategy which uniformly samples OPs, without biasing in favour of specific ops. Use this strategy half of the time. Test: atest RuntimeMessageCollectionTest && statsd_testdrive 10069 Bug: 143519689 Change-Id: I481d3a9ef9c66f04577b57432cecdf2c02055e58
2020-06-24Merge "Add shard ID to statsd atom for procstats collection" into rvc-dev ↵TreeHugger Robot
am: b0f26f32d8 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11971040 Change-Id: I1bf803475b106b476b6a941af975b09ad05c32ab
2020-06-24Add shard ID to statsd atom for procstats collectionRichard Gaywood
Without this, RANDOM_ONE_SAMPLE would result in statsd dropping all bar the first shard. Adding the shard id as a dimension field preserves all the data. Bug: 158294266 Test: manual build & test Change-Id: I94ffb610ef3651f460600e3df6b32c87fc430594
2020-06-23Add COUNT_LIMIT_EXCEEDED as reason for BlobCommitted/Leased.Sudheer Shanka
Bug: 144155167 Bug: 159754450 Test: atest android.cts.statsd.atom.UidAtomTests Change-Id: Ic6a7d81833f98ea88e7543ac9c1710871ed7582b
2020-06-23Merge "Remove libstatsmetadata" into rvc-dev am: 271cbbd708Muhammad Qureshi
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11923902 Change-Id: Ief9909dfe6c21bb62e891677d3e08612241c56c3
2020-06-23Merge "Remove libstatsmetadata" into rvc-devMuhammad Qureshi
2020-06-22Merge "Log IME Touches. Design document: ↵Maryam Karimzadehgan
https://docs.google.com/document/d/1e7JrjjEVvjrUxSDuPWdsdKcGziNQbW11bdCPlCdA2Wk/edit?ts=5ed57c93#heading=h.ixy3934b5ag" into rvc-dev am: cdae986c3d Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11955285 Change-Id: I521b8413af8856bf376e9fdc12efe30465efb224
2020-06-22Log IME Touches. Design document: ↵Maryam
https://docs.google.com/document/d/1e7JrjjEVvjrUxSDuPWdsdKcGziNQbW11bdCPlCdA2Wk/edit?ts=5ed57c93#heading=h.ixy3934b5ag bug: 159343582 Test: manual test Change-Id: I263f9810592dcd0fc05913875dd31154d041455a
2020-06-18Remove libstatsmetadataMuhammad Qureshi
Remove kWhitelistedAtoms usage in MetricsManager and remove: - atoms_info references from statsd - libstatsmetadata usages from statsd - libstatsmetadata library - atoms_info_writer.h/.cpp - references to atoms_info in rest of stats-log-api-gen - allow_from_any_uid annotation Fixes: 147600720 Fixes: 154856835 Fixes: 148993016 Test: m stats-log-api-gen Test: m stats-log-api-gen-test && out/host/linux-x86/nativetest/stats-log-api-gen-test/stats-log-api-gen-test Test: m statsd Change-Id: I2e0579609ff257da934b95cdda397f3ca0ffa1f0
2020-06-19Adding Network Tethering Metrics/atoms in the statsdlifr
Test: Run statsd_testdrive Bug: 15192618 Change-Id: Ia0dc1dd45e006348c3856b483972a4ccd6048d05 Merged-In: Ia0dc1dd45e006348c3856b483972a4ccd6048d05 (cherry picked from commit 8abf3a7c23976340179e109e1b3a009737414bd1)
2020-06-18Merge "Add pullTimeoutDurations to statsdstats" into rvc-dev am: caa0c3758dJeffrey Huang
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881634 Change-Id: I60366d85193647f52b707fc3d8b674f3a32ad41e
2020-06-18Merge "Add pullTimeoutDurations to statsdstats" into rvc-devJeffrey Huang