243 Commits

Author SHA1 Message Date
Siddharth Ray
bb608c8958 Addition of GNSS key performance indicator logs
Bug: 35963181
Test: Manual
Change-Id: Ibbc8986eb5c52b8e0065b5fd2fdb8579eda11949
2017-04-05 12:00:08 -07:00
TreeHugger Robot
ec814cc255 Merge "Revert "Add constant to track the number of emergency contacts set Test: This CL requires no tests"" 2017-04-04 16:45:53 +00:00
Chris Wren
c4e2e4c3c8 Merge "standardize account manager notification IDs" into oc-dev am: 31a6d784d6
am: 3947186017

Change-Id: I65db298669a1d7d269976c69dde16413950369c0
2017-04-04 14:44:21 +00:00
Chris Wren
717a8815c2 standardize account manager notification IDs
Bug: 36807942
Test: frameworks/base/services/tests/runtests/py
Change-Id: Iad5383ebbf9cf1765da5ad7405da1f79a3761c63
2017-04-04 08:20:58 -04:00
Chad Brubaker
d6ce1adabf Merge "Rename READ_PHONE_NUMBER to READ_PHONE_NUMBERS" into oc-dev am: e35d50622c
am: a8c068f723

Change-Id: Id57b91b68ce6a4e1f31e8670798b59b82593ea96
2017-04-03 18:25:36 +00:00
Maria Garcia Puyol
5841aa811e Revert "Add constant to track the number of emergency contacts set Test: This CL requires no tests"
This reverts commit c7ded40e566be6849a980e2b0dad1c698cbe0848.

Change-Id: I169f57704623c6ac79c45d7f1666fa5f8a840522
2017-04-03 18:17:37 +00:00
Chris Wren
be5d41d551 Merge "standardize network policy notification IDs" into oc-dev am: ef3a28cb92
am: 04b0e05bef

Change-Id: Ifd5acffff7b45e02d5ba404550e32e16b5003bd7
2017-04-03 17:58:54 +00:00
Chad Brubaker
e35d50622c Merge "Rename READ_PHONE_NUMBER to READ_PHONE_NUMBERS" into oc-dev 2017-04-03 17:34:13 +00:00
Chris Wren
ef3a28cb92 Merge "standardize network policy notification IDs" into oc-dev 2017-04-03 13:42:44 +00:00
Chris Wren
e970a91765 Merge "move network notification IDs to central registry" into oc-dev am: fb54aee325
am: af2a16bfb0

Change-Id: I3400b06758615aa82e2a87cd4140b91aa9ec853b
2017-04-01 16:28:53 +00:00
TreeHugger Robot
34524fe4f2 Merge "Add constant to track the number of emergency contacts set Test: This CL requires no tests" 2017-04-01 03:11:26 +00:00
Chris Wren
193ae6bc78 standardize network policy notification IDs
Bug: 36811253
Test: make
Change-Id: I8cb2c0a4be549f6e600b4d75b8113a2fd6d7cd64
2017-03-31 15:17:11 -04:00
Chad Brubaker
0c1651f289 Rename READ_PHONE_NUMBER to READ_PHONE_NUMBERS
Bug: 35853790
Test: make -j128 checkbuild
Test: cts-tradefed run commandAndExit cts-dev -m CtsPermission2TestCases
Change-Id: I11d374cbbb6c2deaf74ac784ff995bd182fe9157
2017-03-31 11:20:02 -07:00
Chris Wren
f8c4f620ca move network notification IDs to central registry
Bug: 36808999
Test: make
Change-Id: I34bafa9ce69fc6913a6b4a5935cafd8979d0193b
2017-03-31 14:02:23 -04:00
Chris Wren
49ce49034f Merge "standardize system notification IDs" into oc-dev am: 441162562b
am: 72eb5da93b

Change-Id: Icf0abd881615f16e85547b275edbf081d6ee1819
2017-03-31 17:21:33 +00:00
Chris Wren
282cfefea0 standardize system notification IDs
All the trivial cases, plus some fixes to try to
mitigate collisions with the complex ones.

Complex services to follow in another CL,

Bug: 32584866
Test: make framework services
Change-Id: Ie9663600171d8ede11676e9d66f009dbb06def03
2017-03-31 11:44:05 -04:00
mariagpuyol
c7ded40e56 Add constant to track the number of emergency contacts set
Test: This CL requires no tests

Change-Id: Ic9e666994bb0907d27a20b756862e832d0a3998b
2017-03-30 11:06:47 -07:00
Daniel Nishi
7baa50c0b8 Add support for movies & tv apps querying.
Bug: 36223441
Test: Robotest
Change-Id: Icfb34844601f87d11b7309eacf9385d49ed36338
2017-03-28 10:51:05 -07:00
Jason Monk
8c09ac7435 Clean up and cover more QS metrics
Change-Id: I4ab5e54398024c8b16ca8223f0639aadcdef4377
Fixes: 34801532
Test: runtest systemui
2017-03-27 12:36:25 -04:00
TreeHugger Robot
a56d9a1841 Merge "add alert and reason enums" 2017-03-27 13:01:39 +00:00
Fan Zhang
1a34e7503e Add logging constant for reset dashboard page.
Change-Id: I526bdd71dad46510a205ed7f540914e83f779224
Fix: 36458355
Test: builds
2017-03-24 13:52:28 -07:00
Antony Sargent
b062e90b2f Create a metrics event for ag/1972563 (instant apps detail screen)
Bug: 35098444
Test: Tests for functional changes are in ag/1972563

Change-Id: I17de46278c815c9b6b385b111ca6544aa456d133
2017-03-24 13:30:03 -07:00
Chris Wren
65f07feeb4 add alert and reason enums
useful for notification logs
also some format cleanup

Test: make framework-protos
Change-Id: Iced9ee1d1648060c80243e34ccca060040207726
2017-03-24 15:49:00 -04:00
Casey Burkhardt
f4e98036a5 Update metrics proto for revised Magnification Settings
Adds 1 new constants for metrics logging:
 - Magnification Settings UI in Settings > Accessibility
   > Magnification

Bug: 1428815208
Test: Manual
Change-Id: I2d15b5b8525235b46ff344fa67a07bf993838df7
2017-03-24 00:25:45 -07:00
Fan Zhang
ed1845fdcc Add logging constant for vr display preference
Change-Id: I46f4add85162a4242adb5b3ff519c21129ef917e
Fix: 36557316
Test: builds
2017-03-23 14:46:59 -07:00
Winson Chung
248278fc82 Merge "Update PiP AppOps flag to enforce all PiP functionality." 2017-03-21 00:29:05 +00:00
Winson Chung
f4ac063f3e Update PiP AppOps flag to enforce all PiP functionality.
- Previously it only enforced whether an app could enter PiP as it was
  hiding.
- Also updating metrics constant name to reflect the change.
- Adding public OPSTR for apps to check if it the user has disabled PiP

Bug: 35957404
Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: I979b5c6d4c85946623999ced1cfb197d830ccecb
2017-03-20 15:15:52 -07:00
Chris Wren
1488055804 revise the reader semantics
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
2017-03-18 09:13:10 -04:00
Philip P. Moltmann
7b77116802 TRON log important auto-fill events
Example log from
android.autofillservice.cts.LoginActivityTest#testAutoFill#testAutoFillOneDatasetAndSave
(translated from numbers of human readable string):

AUTOFILL_SESSION_STARTED
   package=android.autofillservice.cts
AUTOFILL_REQUEST
   type=TYPE_SUCCESS
   package=android.autofillservice.cts
   FIELD_AUTOFILL_SERVICE=android.autofillservice.cts
   FIELD_AUTOFILL_NUM_DATASETS=1
AUTOFILL_FILL_UI
   type=TYPE_ACTION
   package=android.autofillservice.cts
   FIELD_AUTOFILL_NUM_DATASETS=1
   FIELD_AUTOFILL_FILTERTEXT_LEN=0
AUTOFILL_DATASET_APPLIED
   package=android.autofillservice.cts
   FIELD_AUTOFILL_NUM_VALUES=2
   FIELD_AUTOFILL_NUM_VIEWS_FILLED=2
AUTOFILL_SAVE_UI
   package=android.autofillservice.cts
   FIELD_AUTOFILL_NUM_IDS=2
AUTOFILL_DATA_SAVE_REQUEST
   type=TYPE_SUCCESS
   package=android.autofillservice.cts
   FIELD_AUTOFILL_SERVICE=android.autofillservice.cts
AUTOFILL_SESSION_FINISHED
   package=android.autofillservice.cts

Test: Ran auto-fill tests and looked at event log.
Change-Id: I58aaa58e4435e7d04c8cd91878411943d3eb13de
2017-03-16 15:41:33 -07:00
Todd Kennedy
7e5407ec43 Add new metrics tags
Change-Id: I79c5609237246a2835c41fffed1092f859cbd4d8
Fixes: 35431326
Fixes: 35430849
Test: Manual; the tree builds and the constants can be accessed by other classes
2017-03-16 15:26:20 -07:00
Philip P. Moltmann
e56c08e852 Add TRON Events for app-ops permissions.
Fixes: 36212313
Test: Added and ran new EventLoggerTest-case. Installed and ran MobilIron Go app (like in the bug-report)
Change-Id: Ib1c69bb3aa2159b9101b6924484b51c223d136e0
2017-03-16 09:21:15 -07:00
Christine Franks
47175c3d4a Change system alert window setting proto comments
Bug: 36070413
Test: only comments changed
Change-Id: I2bb2a8a2be5a0535997e4cb382b52cb98ded6b09
2017-03-16 00:30:21 +00:00
Doris Ling
bf8d9de325 Add logging constants for settings security lockscreen preferences.
Bug: 36163515
Test: builds
Change-Id: I245c69073576975ec1531c83ac90090f3386909f
2017-03-15 11:52:50 -07:00
Fan Zhang
5379793357 Add logging constants for settings search recent results.
Bug: 27391895
Test: builds
Change-Id: I20763eb51e80a9b54a5cfc22cb3a640a7bc3c800
2017-03-14 10:16:03 -07:00
Fan Zhang
082d21c13d Add logging constants for settings
- New constants for logging app details page button clicks
- New constants for logging search result clicks

Change-Id: Ib2d1f1cec656881941a43363cbcb6c57395a7766
Fix: 32798201
Fix: 32652772
Test: Builds
2017-03-14 10:15:50 -07:00
Jorim Jaggi
3878ca3333 Fix multi-dimen app transition delay tron event
Make sure to log everything.

Test: Open app, inspect log.
Test: com.android.systemmetrics.functional.AppStartTests

Bug: 33086172
Change-Id: I6fdfef625c09267dcf20724e853cf7471abc86c9
2017-03-14 16:24:04 +01:00
Doris Ling
6d6b0be4d6 Merge "Add logging constants for setting bluetooth preference." 2017-03-13 17:24:18 +00:00
Insaf Latypov
d8aa2e67e7 Add host-side version of framework-protos.
AfwTestHarness needs to use framework-protos from host-side. This is why
new rule is added to build framework-protos usable from host-side.

Change-Id: Ifa35c5de04483d41e97c5853ea781fc29cef4947
2017-03-13 11:41:54 +00:00
Doris Ling
9ac3ddd36f Add logging constants for setting bluetooth preference.
Bug: 35065258
Test: Builds
Change-Id: Idb462c6c1fded04f45393b9b6a0b5866088639c7
2017-03-09 15:58:21 -08:00
Chris Wren
67b3eb953f add process ID to LogMaker
Bug: 32806111
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: I3efa38a6b25502def3ba7ace04b6ba76e4d1a6cb
2017-03-09 15:57:44 -05:00
Hugo Benichi
f684050e8f IP connectivity metrics: update ipconnectivity.proto
This patch adds several new fields to ipconnectivity.proto for
improving APF metrics, connect metrics, and link_layer inference.

Test: build, flashed, ran $ adb shell dumpsys connmetrics list proto
      updated metrics unit tests depending on proto schema
Bug: 34901696
Change-Id: I6f68e16f583a6b407f33f8a500133e100f3453c7
2017-03-09 15:19:02 +09:00
mariagpuyol
0f5512eeec Add new constants to track successful contact queries
Bug: 35803126,35873712
Test: No need to add any tests for this

Change-Id: Ib902c28ebabb1bf17b4b2b80f70e08ab2571e75f
2017-03-08 09:52:52 -08:00
Fan Zhang
9986131b97 Add logging constant for hardware info dialog
Bug: 35851000
Test: builds
Change-Id: I3083c2cbd43ee04cb01c418962408cf00646d4b5
2017-03-07 14:32:38 -08:00
Stephen Chen
be9a9a60ae Create a Tron event for opening the network scorer settings page.
Bug: 35854268
Test: n/a
Change-Id: I0a021dcc9016f163f75b8077678f54df1c4f2bf6
2017-03-07 10:39:38 -08:00
Julia Reynolds
d373d78d15 Log notification channels and groups.
Test: manual, runtest systemui-notification
Change-Id: I326a35ae87e7a3dc4b2587271056b7dd5cd11f8d
2017-03-07 15:25:27 +00:00
Fan Zhang
b5ce2d125d Add logging constants for pref change tracking in Settings.
Change-Id: I16719ac7749795b9b3772ffe7b8ef1feff53c188
Fix: 34775467
Test: builds
2017-03-06 15:33:10 -08:00
jackqdyulei
a2a1434ee7 Add enums for battery settings page.
Bug: 35063415
Test: Manual
Change-Id: If2d8cb88bd4a91458747730dc9f352fe828de7ad
2017-03-02 11:20:42 -08:00
Sundeep Ghuman
104aa31262 Create a Tron event for opening the network details page.
Bug: 35807357
Test: NA
Change-Id: Icbae30d2e4af4e46e289cad490a6531157c54d5e
2017-02-28 17:51:39 -08:00
Fan Zhang
b66e542567 Add logging constants for setting build number preference.
Change-Id: I79ab6c89ec67e464167a96cf4350d8628bacbd91
Fix: 34774945
Test: Builds
2017-02-24 14:37:45 -08:00
Rebecca Silberstein
e71d9469a3 Merge "wifi.proto: add SoftApReturnCode enum" am: 84374678e0 am: e1dd7de75e
am: ded006f4cf

Change-Id: I8c41e4aff5734db561d2e63a7df344e292179832
2017-02-23 21:57:09 +00:00