524 Commits

Author SHA1 Message Date
Soroosh Mariooryad
ee6842323c Add logging const for smart setting suggestion enabled/disabled state
Test: builds
Bug: 64121058
Change-Id: I9d1e27082d535da90a5a30f6c2fc9b717c07bf1b
2017-09-07 23:23:02 -07:00
Hugo Benichi
166413798d Merge changes Ic92b6d5c,I98b23b22,I0fb40d7b
am: 9c57accc45

Change-Id: Id1a9f8232ef3e08cf708d2406403fce3c59be9e5
2017-09-08 01:42:28 +00:00
Jack He
47d881acb0 Bluetooth: add metrics for pairing with devices without names
Bug: 34685932
Test: make, unit test
Change-Id: I486c210790fe72a594d6144dfd17b01a7a4a9003
Merged-In: I486c210790fe72a594d6144dfd17b01a7a4a9003
2017-09-07 12:12:34 -07:00
Hugo Benichi
6022f7b657 Connectivity metrics: update ipconnectivity.proto
Bug: 34901696
Bug: 65439160
Test: $runtest frameworks-net
      build, flashed, booted phone, $ adb shell dumpsys connmetrics list

Merged-In: I4cf5b95956df721aecd63fddfb026a7266c190b9

(cherry picked from commit 6d2f506bfd788a3685292d404dc9d82a27357cfe)

Change-Id: I0fb40d7b644786efc839468b2d7e1cfcedd71ad8
2017-09-07 22:17:10 +09:00
Jason Monk
aa60c74f5d resolve merge conflicts of 64e19de569ac to master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I485e2fd5ef4e449223e1c095652ee5b596a8d77c
2017-09-07 08:26:28 -04:00
Jason Monk
f8c2f7bd7b Add metrics for status bar
Test: runtest systemui
Fixes: 65289824
Change-Id: Ife5ce98862fc6a92740eaf80cdc0b74cb01dd04e
2017-09-06 15:03:41 -04:00
Jack He
4b60579ded Bluetooth: add metrics for pairing with devices without names
Bug: 34685932
Test: make, unit test
Change-Id: I486c210790fe72a594d6144dfd17b01a7a4a9003
2017-09-06 01:34:36 +00:00
TreeHugger Robot
55cd5e185a Merge "Add a photos app filter and a metric for using it." into oc-mr1-dev 2017-09-02 03:29:51 +00:00
Mehdi Alizadeh
e341d061ed Merge "Adds PnoScanMetrics to wifi.proto" into oc-mr1-dev am: 63c5cd7fb0
am: b1277e75e3

Change-Id: I9d370bdb5ecb030b550e6f8bf7c6b047da89c2e7
2017-09-01 20:52:10 +00:00
Daniel Nishi
4325c181b7 Add a photos app filter and a metric for using it.
Bug: 64147318
Test: SettingsLib integ tests

Change-Id: Id165a514aa65d2efdd4e6753c3e73762293e892e
Merged-In: I4cae384fa565ac0928177bd85804d7904cd6156c
2017-09-01 10:38:43 -07:00
Julia Reynolds
8c6fe753dd Merge "Add more functionality to channel groups" 2017-09-01 12:49:49 +00:00
Mehdi Alizadeh
d9163cf00b Adds PnoScanMetrics to wifi.proto
Bug: 32842314
Test: verify builds and runtests.sh
Change-Id: Ia97dfe1c36c95701dd8a4f88707f757cdb7d6bb2
2017-08-31 16:07:19 -07:00
Daniel Nishi
87a74185da Merge "Add a photos app filter and a metric for using it." 2017-08-31 00:05:47 +00:00
Julia Reynolds
005c8b9098 Add more functionality to channel groups
Description, blocking, links to/from the app

Test: cts, runtest systemui-notification
Bug: 63927402
Change-Id: Icc8caf319651f9ac2d622fb54110270c89bdff61
2017-08-30 17:07:58 -04:00
Daniel Nishi
a86115fdb3 Add a photos app filter and a metric for using it.
Bug: 64147318
Test: SettingsLib integ tests
Change-Id: I4cae384fa565ac0928177bd85804d7904cd6156c
2017-08-30 11:00:03 -07:00
Kevin Chyn
71beb06f0a Merge "Update comment for ASSIST_GESTURE_TRIGGERED" into oc-mr1-dev am: 102e9e7858
am: a8cb0993e8

Change-Id: I0cbbb21048b9ffc06840e913eceaeaa1ba7bf349
2017-08-30 04:22:25 +00:00
TreeHugger Robot
102e9e7858 Merge "Update comment for ASSIST_GESTURE_TRIGGERED" into oc-mr1-dev 2017-08-30 03:54:06 +00:00
Jorim Jaggi
249a45363a resolve merge conflicts of c55cce487c64 to master
Change-Id: If833e3c5efed891fb1ba7b32b2edc96a60ea2566
2017-08-22 13:28:57 +02:00
Jorim Jaggi
4d27b84d95 Log reportFullyDrawn into TRON
Test: AppStartTests
Change-Id: I17c511c9c4305c4cb327d52c81d97ad6d6a8c9d3
Fixes: 36093481
2017-08-21 15:35:49 +02:00
Kevin Chyn
aa8a511305 Update comment for ASSIST_GESTURE_TRIGGERED
Bug: 37874460

Test: make -j56
Change-Id: Idbe9d3b3dfb0e3a2a6c4c66baa44d078e0cb15cb
2017-08-17 12:56:24 -07:00
Fan Zhang
a2f2c919a8 Add metrics constant for feature flag UI
Bug: 36222960
Test: builds
Change-Id: I7726ff827db6d47d5fd1e5a1c8ef65e9e4c1254a
2017-08-15 17:20:37 -07:00
TreeHugger Robot
c91b3bd09c Merge "Add metric constant for settings preference int value change." into oc-mr1-dev 2017-08-10 03:41:06 +00:00
Doris Ling
ce007ebecc Add metric constant for settings preference int value change.
- and added a buffer of 50 numbers in between constants not in mr1.

Bug: 64485529
Test: build
Change-Id: Ic5733fc48bc6cab6a9ada73b9e531f9fde787240
2017-08-09 15:02:13 -07:00
Doris Ling
2b5f30cebf Add metric constant for settings preference int value change.
Bug: 64485529
Test: build
Change-Id: Ib9f04ce8f1ff671196c3f269c555288fcc0df35c
Merged-In: Ic5733fc48bc6cab6a9ada73b9e531f9fde787240
2017-08-09 14:04:00 -07:00
Glen Kuhne
621e08e265 Merge "WifiMetrics: add histogram of connectable networks" into oc-dr1-dev am: 3edc463902 am: 2f55ef1681
am: 05026936a3

Change-Id: Ic939e595651f6d867dc1c226458aba5f6bfd5ba7
2017-08-09 13:27:34 +00:00
Glen Kuhne
2f55ef1681 Merge "WifiMetrics: add histogram of connectable networks" into oc-dr1-dev
am: 3edc463902

Change-Id: I575446562bfb560ace060300afb828fc52c4201d
2017-08-09 12:56:05 +00:00
TreeHugger Robot
699028a515 Merge "Add MetricsEvent ENUMS for "Mobile network" preferences." 2017-08-02 01:23:52 +00:00
Glen Kuhne
e2d67c052e WifiMetrics: add histogram of connectable networks
Added histograms tracking the number of networks in range of a scan.
Histograms are dimensioned on: <SSID|BSSID>*
<Total|Saved|Open|Saved_or_Open|Passpoint>

Test: Added unit test.
frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Bug: 36819798
Change-Id: If7a6f2bb844394966bd2cc542dd3ebfff42609e8
2017-07-31 14:40:19 -07:00
Matthew Fritze
b9b8a00f1d Merge "Add metrics event for trampoline activity" into oc-dr1-dev am: 44f7badb73
am: d112e6391b

Change-Id: Ic13893b4cca32a4e014fc8fb96370ee63234a188
2017-07-26 20:14:25 +00:00
Matthew Fritze
2d194816ca Merge "Add metrics event for trampoline activity" into oc-dr1-dev
am: 44f7badb73

Change-Id: I7b9bf39041d91b35296952d5e6651ad83e9e81cd
2017-07-26 20:07:18 +00:00
Malcolm Chen
8c2b4712ba Add MetricsEvent ENUMS for "Mobile network" preferences.
Bug: 34775714
Test: Manual
Change-Id: I71645de4f07d10c6c3772a6fef119dbdec2db8ef
2017-07-26 11:58:17 -07:00
Matthew Fritze
dc2ad2838d Add metrics event for trampoline activity
Bug: 62022517
Test: none
Change-Id: Id5561b0efb0a4de496182a56e6e2417753f4b8a6
2017-07-25 13:13:21 -07:00
Rajeev Kumar
a8ba66e870 Add metrics constant for data plan usage screen.
Change-Id: Ia5d13e4c3a8783e5c920791e7c2d6ef9b511b0bb
Note: This change is required for Data balance UI.
Bug: 62349208
Test: mmma frameworks/base/proto/
(cherry picked from commit 998f97f41d1d2c779202155e9c55361919eff365)
2017-07-20 22:59:57 +00:00
Rajeev Kumar
a027bf939e Merge "Add metrics constant for data plan usage screen." 2017-07-20 19:26:33 +00:00
Peter Qiu
d0a6603868 Merge "proto: add system message descriptor for Wi-Fi wrong password notification" into oc-dr1-dev am: 7bd4b3912b
am: 187a26d602

Change-Id: I1aaf401ef4e3125a5d7d5d65a6c415710266a2b3
2017-07-20 00:57:38 +00:00
TreeHugger Robot
7bd4b3912b Merge "proto: add system message descriptor for Wi-Fi wrong password notification" into oc-dr1-dev 2017-07-20 00:46:05 +00:00
Rajeev Kumar
998f97f41d Add metrics constant for data plan usage screen.
Change-Id: Ia5d13e4c3a8783e5c920791e7c2d6ef9b511b0bb
Note: This change is required for Data balance UI.
Bug: 62349208
Test: mmma frameworks/base/proto/
2017-07-19 16:51:55 -07:00
Eino-Ville Talvala
36b92684f1 Merge changes from topic 'camera-tron' into oc-dr1-dev am: 280165118d
am: 7dcff07a28

Change-Id: I4dedd4ce9dac9f2a15b651fb9e3cd5c09b39e7c1
2017-07-14 17:32:49 +00:00
TreeHugger Robot
280165118d Merge changes from topic 'camera-tron' into oc-dr1-dev
* changes:
  CameraServiceProxy: Log camera usage metrics
  CameraServiceProxy: Add CameraStatsLoggingService, event dumping
2017-07-14 17:17:47 +00:00
Hugo Benichi
6d2f506bfd Connectivity metrics: update ipconnectivity.proto
Bug: 34901696
Test: $runtest frameworks-net
      build, flashed, booted phone, $ adb shell dumpsys connmetrics list

Change-Id: I4cf5b95956df721aecd63fddfb026a7266c190b9
2017-07-14 13:39:24 +09:00
Eino-Ville Talvala
31ad8a3dcb CameraServiceProxy: Log camera usage metrics
- Add new events for camera usage by camera facing
- Dump stored camera events into metrics logs
- Shuffle event ordering for privacy
- Limit history to 100 entries at most

Test: Verify event log collection includes camera events
Bug: 32449509
Change-Id: I2e80b84f9bba3691893dca653ac085fef0b6c98c
2017-07-13 11:14:10 -07:00
Kang Li
2c57189130 Add metrics to log performance of different ranker services in
ChooserActivity.

bug: 63353389

Test: tested by GmsCore debug logs.

Change-Id: Iacfef00531953344af190d3bd381c0ea38c37fe2
2017-07-13 10:06:08 -07:00
TreeHugger Robot
1ecf426f08 Merge "Add new metric for SMS Mirroring Setting." 2017-07-12 23:51:03 +00:00
Siddharth Ray
fb20a3676d Merge "Average of top 4 CNO" into oc-dr1-dev am: e7f5c6aa38
am: 7c7475fcf6

Change-Id: I759ba1d030aa78277af1294d9b32d41d349febba
2017-07-12 22:52:26 +00:00
TreeHugger Robot
e7f5c6aa38 Merge "Average of top 4 CNO" into oc-dr1-dev 2017-07-12 22:38:43 +00:00
Oren Blasberg
68e8e8a267 Add new metric for SMS Mirroring Setting.
Test: N/A, just adding a metric

Bug: 37546615

Change-Id: I6c160f33e423b25ce43215eb01b64dcd1751b00c
2017-07-12 15:00:34 -07:00
Peter Qiu
e44608a71f Merge "WifiMetrics: add Passpoint related metrics" into oc-dr1-dev am: b07f49dd92
am: 428b997e55

Change-Id: I9f17b94e0e9494a5ecb20bd3d0cfe1c4d95f5cc8
2017-07-12 18:01:07 +00:00
Peter Qiu
b07f49dd92 Merge "WifiMetrics: add Passpoint related metrics" into oc-dr1-dev 2017-07-12 17:44:25 +00:00
Hugo Benichi
8fd2c7d745 Instrument captive portal login activity
Also add CAPTIVE_PORTAL_LOGIN_ACTIVITY_SSL_ERROR constants to
metrics_constants.proto for counting ssl error pages shown by the
captive portal login activity.

Bug: 36203355
Bug: 34901696
Bug: 36532213
Test: manually tested with captive portal testing setup while watching
      event logs: adb logcat -b events | grep captiveportallogin
        06-08 16:25:20.279 21558 21558 I sysui_action: [1004,com.android.captiveportallogin]
        06-08 17:01:04.052 21558 21558 I sysui_action: [1007,com.android.captiveportallogin]

Change-Id: I38b8e4dd3d62ad1261695780aeb2377f26a25997
Merged-In: Ia05853506d424ad4cb2c11770ae7718fbef3f01c
Merged-In: I9184f6263a003c2be28f41a550c6164c8d6ee907

(cherry picked from commit c61dc92fc0619d101c4b789f6305012701cc47a0)
2017-07-11 16:14:56 +09:00
Hugo Benichi
0275780c6c New Metrics constants for captive portal related UI
This patch adds 5 new constants in metrics_constants for counting
various UI interactions involving captive portals:
  - sign-in button in wifi network details card
  - captive portal login activity start up
  - captive portal login activity menu interactions (2 constants)
  - captive portal login activity auto-closes on portal dismissed

Bug: 34901696
Bug: 26303355
Test: compiled, flashed
Change-Id: I01e2f2942b9d0183512cfddb248e66d3e33418d3
Merged-In: I489e5f2f8ff27da60fed215fa5f51326933fd79e

(cherry pick from commit 11da42bbb63dba98515e6a3ca7c55e77cbb3c7bf)
2017-07-11 15:08:43 +09:00