Commit Graph

29 Commits

Author SHA1 Message Date
Bernie Innocenti
fa499f9259 Add NS_R_INTERNAL_ERROR item into NsRcode
Bug: 119862317
Test: ./out/host/linux-x86/bin/statsd_testdrive 116

Merged-In: I023ff5dc0ae2efe45f81494929640c9b96821a0d
Merged-In: I0cf28032f8079c64253ed3f90fcf9d4705a5b492
(cherry picked from commit 83ef1697e3)

Change-Id: I106f73e8b0251bc7a64c68dfb450269ac7cd4feb
2019-07-25 21:57:44 +00:00
Frank Li
be8ecaa59e Refine the proto dns_resolver.proto
1. refine the enum type Transport
   The name of 1st enum value is TRANSPORT_UNKNOWN
2. remove the wrong character "CR"

Bug: 119862317
Test: ./out/host/linux-x86/bin/statsd_testdrive 116

Merged-In: Iaf7abac6170d5818a263392731069d7bf021d981
Merged-In: I8f0e7449036062ecc3827e477ced325d84c1bf54
(cherry picked from commit aee26c026c)

Change-Id: Ie33a2ea58d6f39345d0f1d4141eea8b9c458dcfc
2019-07-25 21:57:26 +00:00
Hongyi Zhang
700137e637 Add Usage info for LocationManager's APIs
All new code in LMS wrapped with try/catch and swallowing exceptions
to make sure new code never crashes LocationManagerService.

Bug: 133906682,133190291
Test: Tested with (statsd_testdrive + gnss test apk). Work as intended.
Change-Id: I989b1361c029e76d35861cf23d5c3d152f0bf81a
2019-05-30 03:41:17 +00:00
Kunhung Li
286c52f8c2 Add live wallpaper metrics to atoms.proto
Resue StyleUIChanged message to append live wallpaper events.

Test: make statsd_testdrive && statsd_testdrive 179
Bug: 133209268
Bug: 127745228
Change-Id: I864d8e35bd071f7bcd2249ef20446a42a680dc6d
2019-05-24 01:42:15 +00:00
lifr
a2e19c0f91 Extend NetworkDnsEventReported and add new DnsCallReported to log per-query information
NetworkDnsEventReported -The message represents the entire lookup operation,
which may result one or more queries to the recursive DNS resolvers.

DnsCallReported - Those DNS queries are individually logged in DnsCallReported
to enable computing error rates and network latency and timeouts broken up by
query type, transport, network interface, etc

Test: make statsd_testdrive
     ./out/host/linux-x86/bin/statsd_testdrive 116 => pass
Bug: 129253665

Change-Id: Ib75affea5d849437a293affbe294732153511d97
Merged-In: Ib75affea5d849437a293affbe294732153511d97
2019-05-03 02:58:09 +00:00
TreeHugger Robot
b5e2988558 Merge "define media.metrics events for statsd" into qt-dev 2019-05-01 20:36:27 +00:00
Jonathan Scott
38ad638644 Add metrics to CrossProfileApps methods.
Fixes: 123864184
Test: atest CrossProfileAppsHostSideTest
Change-Id: I13c53c7eada4b7d0dd5edc2b378b589bc4ec1f45
2019-05-01 08:29:20 +00:00
Ray Essick
8ab04df45a define media.metrics events for statsd
define atoms/messages that express the media.metrics events as they get
passed to statsd. This mirrors the data that was already being
collected via 'dumpsys media.metrics'.

Update the test app's list of acceptable uid's from which it takes
submissions to include the media.metrics service.

Bug: 118782504
Test: statsd/test_drive
Change-Id: I825f6cb7a9baa61f51c45b1b56a20dd94ae48015
2019-04-27 13:01:27 -07:00
Ben Blount
763a5d5d52 Organize intelligence counters together
Intelligence is a mainline module with several counter usecases.
Rather than create a very similar atom for each we'll use an event enum
for these simple counters.

Test: compile proto
Bug: 129491708

Change-Id: Ic30c0d6e15f6afbef90d89d1b53a20f8af38902e
2019-04-16 18:59:15 +00:00
arangelov
cb6f7bd499 Add new metrics for ManagedProvisioning.
Bug: 122652345
Bug: 123526470
Test: none
Change-Id: I7c8db15b1896ad6b2e3a88e4e41ecbbba50dfa37
2019-04-12 16:07:24 +00:00
lifr
b6b90b683c update dns message atom
Test: make statsd_testdrive
     ./out/host/linux-x86/bin/statsd_testdrive 116 => pass
Bug: 129463409
Change-Id: I267f97eacb2dd36b8ab26019f61d80fa0281678c
2019-04-02 02:12:42 +08:00
Chiachang Wang
0e88ebfb28 Add network stack proto
Bug: 128887306
Test: Build pass
Change-Id: Iec48037771f2729fcbf741eb1c16edf08dbc70a4
2019-03-21 10:18:07 +08:00
Carmen Agimof
eb83cb51fe Merge "Add new pushed atom to log when an app is installed on external storage." 2019-03-18 19:47:06 +00:00
Carmen Agimof
6688a35923 Add new pushed atom to log when an app is installed on external storage.
Change-Id: I998a64bf02c0bf97938396ff12e3ded2e2ac043d
Bug: 123688171
Test: Manually tested using statsd_testdrive script.
2019-03-15 14:52:12 +00:00
Rubin Xu
8b17ad02b7 Add metric logging for new delegated APIs
Add metric logging to:
 * Delegated cert selection
 * Delegated network logging access
 * Delegated silent package installation and removal

Bug: 122639711
Test: manual
Change-Id: I0655b742937b6413bc5c10474e4fd4559a8eaf92
2019-03-14 22:12:23 +00:00
TreeHugger Robot
6c1d1c32e3 Merge "Update comment to use statsd." 2019-03-07 22:34:12 +00:00
arangelov
c255cfad4a Update comment to use statsd.
Bug: 127824947
Test: none
Change-Id: Iaad68dbb2f44ee5d9ec3fbfd6f3ebd10d53d6b52
2019-03-07 19:51:31 +00:00
Hyunyoung Song
80adf6be29 Add StyleUIChanged field to atoms.proto
Test: builds and flashed
Bug: 123356136

Change-Id: Ic24f282d7e799b263fada371d16c03dd4539a023
2019-02-23 22:04:11 -08:00
yuemingw
d2bfbc8246 API change for cross profile calendar feature.
According to new requirements in b/121179845, we are changing the
API pattern from "add/remove" to "set(set<string>)" to support
"enable all packages" operation. Setting the whitelist to null
will enable all packages. This behavior is consistent with existing
methods in DevicePolicyManager, e.g. setPermittedInputMethods.

Also corrected some languages in the comments and annotations.

Bug: 121179845
Test: atest ManagedProfileTest#testCrossProfileCalendar
atest DevicePolicyManagerTest

Change-Id: I87f17a2094792e44fdeb672658bddb871c2c1eeb
2019-01-24 10:04:50 +00:00
shawnlin
a75e82d709 Add phase 2 atoms for documentsui
Test: manual
Bug: 111552654

Change-Id: Iabf5e64871aafe885bf2b304a7a0c6e61c8c08da
2019-01-09 09:18:50 +08:00
arangelov
6145acc3a3 Add additional event ids for DevicePolicyEvent atom.
Test: None
Bug: 120853676
Change-Id: I4810f5e3ee884dccf2356fac4f4109207e7cfa3b
2018-12-12 16:35:18 +00:00
arangelov
1302e2d2b1 Add WifiService add networks enums.
Test: None
Bug: 119911940
Change-Id: I688a48479dbfb8ae2e1773eab2284910a0cfe217
2018-12-10 22:29:20 +00:00
Shawn Lin
029e4efc6b Merge "Migrate docsui tron metrics to westworld" 2018-12-10 08:10:54 +00:00
arangelov
1476826d99 Improve naming of some of the constants in device_policy_enums.
Also add 4 new types of metrics.

Test: None
Bug: 119911940
Change-Id: Iecc5298f5cb611a878aad22a0ea91208ac134e38
2018-12-06 23:03:00 +00:00
shawnlin
ea5b66be7b Migrate docsui tron metrics to westworld
add docsui atoms

Test: manual
Bug: 111552654
Change-Id: I232be950281423a38763b6be1b70f70090d4e61b
2018-12-06 15:15:19 +08:00
arangelov
4e9940608d Add generic atom definition for device policy events.
Bug: 119492678
Test: None
Change-Id: Ic6bee84b0c2ec0028c5078da74a7b32db1881638
2018-11-27 17:25:49 +00:00
Hyunyoung Song
b7b155c655 Add build rule to get compiled jar of launcher proto
Bug: 113043444
Test: builds and verified against Launcher code
Change-Id: Ie6c9b9ffb5439c82acb59a60f9185ec445e26e3f
2018-11-01 10:29:25 -07:00
Yao Chen
8c43386145 Adding tests and move launcher.proto
Test: statsd_test

Change-Id: I0655f70098d78f8f6dc9381921c4a687d2195bd4
2018-10-26 10:28:05 -07:00
Howard Ro
9a862de7e9 Move/rename stats_enums.proto's directory/name
Migrate stats_enums.proto to core/proto/android/stats/ directory for the
consistency with other enums file imported in atoms.proto

Test: mma
Change-Id: I79f068889ac5c34c6fd8c5966687669efb37d180
2018-10-11 23:52:09 -07:00