Commit Graph

93 Commits

Author SHA1 Message Date
Edgar Wang
53cd712dfe Add log metrics for Tap Gesture
Bug: 138296598
Test: rebuild
Change-Id: I468eee30b58921d4c0378278672a19b3fa7754ca
Merged-In: I0ffaf58fa5fbe8af9f0959f653dc213e3c3d7435
2019-11-01 00:56:14 +08:00
Edgar Wang
f37615e4f8 Add log metrics for Aware Display Settings
Bug: 136610131
Test: rebuild
Merged-In: I5b96a3a04a1d2c1ba01b9ec1f707dec040a331c3
Change-Id: Ibfdcba4be652cf7885f46e7549c344e12ae11127
2019-09-20 15:35:15 +08:00
Mehdi Alizadeh
873f1727e5 Adds metrics categories for gesture navigation dialogs
Bug: 135211145
Test: Builds
Change-Id: I0bc0749bbbb9b78d3d125e1a0f1e9bc35b645db2
2019-06-24 20:31:11 +00:00
Aran Ink
5590c56102 Fix conflict between metrics_constants and settings_enums.
Change-Id: I483bf6b26f2f258f2e2f6f3d839deee4953c203d
Test: Automated tests pass.
Fixes: 135720071
(cherry picked from commit 08659ccdb7)
2019-06-21 19:36:20 +00:00
Andrew Sapperstein
aad89bd490 Add metrics for mainline modules license UI.
Bug: 135183006
Test: none
Change-Id: Id5f0ed37f64545d7e1b73f9aad61a0357460eea5
2019-06-18 14:25:07 -07:00
Salvador Martinez
20d1db4ebb Add metrics constants for dark ui dialog
This just adds some constants needed for a new dialog that shows
up on the first time dark theme is toggled.

Test: none, is a metrics change
Bug: 132695689
Change-Id: Ic7527879003a7d883e74cb00792e69655e5ec9ad
2019-05-21 15:20:11 -07:00
tmfang
fb4dbb7812 Add logging enums for slice converter exceptions
- [Refactor] Also remove ACTION_DISPLAY_WHITE_BALANCE_SETTING_CHANGED
to Action enum.

Test: Rebuild rom
Bug: 131449561

Change-Id: I4edfdf275b7858a57cb12a1b4e3c03d2ec37e181
2019-05-09 10:32:17 +08:00
Aaron Heuckroth
00ff1180b2 Add secure settings for Global Actions Panel.
Test: Automated tests pass.
Fixes: 131751030

Change-Id: I969a56ecc0b9310ed32cd5bd5d8ad0c2499ae63b
2019-05-07 14:59:28 -04:00
Julia Reynolds
c0fb5c1851 Metrics constants for new screen
Test: make
Bug: 128445911
Change-Id: I8577ed12b6c60e7a8996ec313d22b2adcba12b6a
2019-05-03 09:45:39 -04:00
Antony Sargent
0a7036b919 Add metrics for Delete sim dialogs
These are for the new dialogs being added for b/124254555. There is one
for the confirmation dialog, and one for the progress dialog.

Bug: 131519375
Test: manual
Change-Id: I32d639f45b5b2d5ef14c53c37f5d8e34f27524bd
2019-04-29 15:07:06 -07:00
Arc Wang
036f404d88 Add action metrics for Wi-Fi provision features
// ACTION: Share a Wi-Fi network by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_QR_CODE

  // ACTION: Connect to a Wi-Fi network by scanning a QR code
  ACTION_SETTINGS_ENROLL_WIFI_QR_CODE

  // ACTION: Share Wi-Fi hotspot by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_HOTSPOT_QR_CODE

Bug: 130521826
Test: manual
Change-Id: I99e55b53c49830347e48f688aa38afc3912e71b1
2019-04-23 11:26:45 +08:00
Fan Zhang
6cd3b90123 Add logging enums for 3 new SIM related pages.
Bug: 130897640
Test: rebuild
Change-Id: I97fa886d54af7f1035b2fda100e276c5b34c5c63
2019-04-19 14:24:22 -07:00
Christine Franks
92aa9b2fba Reserve display white balance metric
Bug: 123930917
Test: n/a
Change-Id: Ieb7fb22566dee89b9128756ec2e2c06cc0211f9a
2019-04-03 17:53:01 -04:00
Amith Yamasani
f235d0b53a Avoid elevating apps to high proc states on binding
For service and provider bindings from TOP and
FOREGROUND_SERVICE apps, don't elevate bound apps
to above BOUND_FOREGROUND_SERVICE.

For service bindings, it is possible to explicitly
request the binding to match the foreground app
such that the bound app can get similar privileges
of foreground permissions.

For instance, when a foreground service has a location
type, providers it binds to don't automatically get the
location privilege. On the other hand, sometimes apps
showing UI want to treat their dependencies also as if
they are showing UI.

This change does not affect the oom_adj calculation,
only the proc state calculation for bound processes.

New BIND_INCLUDE_CAPABILITIES flag can be used to restore old
behavior for bound services.

Introduces a new state PROCESS_STATE_BOUND_TOP

Bug: 128337543
Test: atest CtsAppTestCases:ActivityManagerProcessStateTest

Change-Id: I13733e7f43a78903299254bc110cd8f7a8db4c40
2019-04-02 10:27:03 -07:00
Julia Reynolds
50e18ca6e9 Metrics constants for bubble confirmation
Test: make
Bug: 129068779
Change-Id: I7f38ab0548078ef4efec3784df8ec19a11e06019
2019-03-29 16:01:20 -04:00
TreeHugger Robot
e663a02404 Merge "Add log metrics for Aware status dialog" 2019-03-27 05:43:24 +00:00
Edgar Wang
b132eed3f7 Add log metrics for Aware status dialog
Bug: 128853573
Test: rebuild
Change-Id: I90ac8ffff10d8d75a4b0fa4b282855276e32548e
2019-03-27 02:18:55 +00:00
Joe Onorato
99598ee6ee incidentd can now handle multiple callers asking it for incident reports
Test: bit incident_test:* GtsIncidentManagerTestCases:*
Bug: 123543706
Change-Id: I9f671dd5d8b2ad139f952a23e575c2be16120459
2019-03-26 11:20:48 -07:00
Julia Reynolds
1251103159 Metrics constants for new settings screens
Test: make
Bug: 129068779
Change-Id: I7eb96c3e9369c2dd9a3686c0a6e793f5fa2c4104
2019-03-26 12:32:41 +00:00
Salvador Martinez
39adab4a5b Add new constants for dark mode screen
This just adds constants to the new dark mode screen

Test: Build succeeds
Bug: 128686189
Change-Id: Iefb32f6f9beaa443cae661de21d4975585d9f475
2019-03-22 12:39:57 -07:00
Michael Groover
c640422ad5 Merge "Add Sensors Off QS tile and display status bar icon when active" 2019-03-22 00:34:22 +00:00
Michael Groover
a51ea81f44 Add Sensors Off QS tile and display status bar icon when active
This CL will replace the SensorPrivacyTile with a new tile that can be
enabled from the developer settings. When this new tile is enabled only
the camera, mic, and sensors controlled by the SensorManager will be
disabled; the location and airplane mode tiles will not be modified.
The user will be notified when this tile is enabled with the sensors
off icon in the status bar.

Fixes: 126618519
Test: Manually verified airplane and location are not modified when sensors
      off is enabled; also verified icon is displayed when mode is active.

Change-Id: Iabf099d0d76c015015ce9859edc0b225ec554020
2019-03-20 11:48:23 -07:00
Kevin Chyn
59e6749ccb Add metrics constants / enums for removal dialog
Bug: 123605413

Test: Builds
Change-Id: I4693771066d02a5920d97790f2f9e0c40bc76b5c
2019-03-19 19:59:16 -07:00
Fan Zhang
255464a1bd Add metric enums for zen access control page.
Bug: 128547723
Test: rebuild
Change-Id: I7a45fa91259497ceba9aafc0d55964e1f7e280d3
2019-03-15 15:51:17 -07:00
Matthew Fritze
20caff697e Add Wifi Settings Panel API
Wifi Panel is the fourth Settings Panel, which hosts Wifi related settings.
Currently the panel only holds the Wifi slice, but is open to future
additions.

Also add metrics constants for panel logging.

Test: atest SettingsPanelTest
Bug: 126894142
Change-Id: Ie72b3b52ea89047dfde77daa35ff2f95c655dbb7
2019-03-05 10:43:28 -08:00
Yi-Ling Chuang
ea9ec71908 Add log metrics for contextual card loading.
Bug: 124492762
Test: rebuild
Change-Id: I1481e72eb166f97f505ce2ad37a231c4bce96e01
2019-03-05 15:55:49 +08:00
Mill Chen
d768dc6163 Add log metric for Grayscale conditional
Bug: 118387886
Test: rebuild
Change-Id: I033f75e3dee2d335d540f7aed2a21dd52d2b8bc7
2019-03-04 13:10:52 +00:00
Jackal Guo
3cc93c47e3 Add new enum for accessibility detail settings
- new PageId ACCESSIBILITY_DETAILS_SETTINGS

Bug: 123693167
Test: rebuild
Change-Id: I8e18384a5978b8dddba5d48f71b5f3679c4e558d
2019-02-27 10:46:14 +08:00
Mariia Sandrikova
908d813bdf Add Settings Aware Tutorial proto enums
Design doc: go/oslo-tutorial-logging

Test: manual
Bug: 123995137
Change-Id: Icb969343cb1f8092ab0427d04d4401107f5f4335
2019-02-26 11:40:29 +00:00
Raff Tsai
c3d33ca42f Add Settings Contextual homepage log metrics
Bug: 124701288
Test: compile it
Change-Id: I5ab2b8d4982c700062f0e9b24b1a501ad12738df
2019-02-23 15:01:32 +08:00
Fabian Kozynski
171f40d8a7 Create setting screen from Notification Assistant
Test: atest
Fixes: 120852765
Change-Id: I90b22daa67f73809697fd629dabec22ef991de54
2019-02-22 14:18:58 -05:00
Matthew Fritze
4d1dc0bcdf Add Settings Panels proto enums
Test: manual
Bug: 117804231
Change-Id: I8f9637e69e98745608464fcd76727fde9259722e
2019-02-12 13:26:18 -08:00
Bernard Chau
dd6c3b1e22 New enum values for logging Settings SetNewPasswordActivity events
- new PageId SET_NEW_PASSWORD_ACTIVITY
- new Action ACTION_SET_NEW_PASSWORD
- new Action ACTION_SET_NEW_PARENT_PROFILE_PASSWORD

Bug: 120840632
Test: N/A
Change-Id: I330651d9858a45f8ae1489e49fddf969e0cb4957
2019-02-01 12:50:55 +00:00
Sunny Shao
ab08c4c76b Define the proto for search avatar
.Define the ACTION_CLICK_ACCOUNT_AVATAR for metrics_constants.proto.
.Define the CLICK_ACCOUNT_AVATAR for settings_enums.proto.

Change-Id: I1ed2afb4715629682fd846a1ff1db99a1991cec5
Fixes: 123560980
Test: compilation
2019-01-31 07:25:06 +08:00
Antony Sargent
4348de5dec Add metrics constants for dialog used to rename mobile networks
We're adding a new dialog that lets you set the display name used for a
mobile network, which is mostly useful in multi-SIM situations.

Bug: 122670283
Test: n/a
Change-Id: Ia44934fa13cac0d15cd91edec54520687100afaa
2019-01-29 16:46:13 -08:00
TreeHugger Robot
1ea5775448 Merge "Game Driver: rename GUP to Game Driver" 2019-01-29 10:51:26 +00:00
Kweku Adams
8845d01b72 Add logging to statsd for job constraint changes.
Bug: 117846754
Bug: 111423978
Bug: 120941744
Test: `make statsd_testdrive &&
./out/host/linux-x86/bin/statsd_testdrive 150` and check output

Change-Id: Iadfdb07171b8d4f99b8f57008cc7c1fc2865bb8e
2019-01-28 10:39:16 -08:00
Yiwei Zhang
2b3be86334 Game Driver: rename GUP to Game Driver
Bug: 119221883
Test: Build, flash, boot and make RunSettingsRoboTests
Change-Id: I39724917b516b4871c6b1b1f0d30aa0f793942a4
2019-01-28 00:24:30 -08:00
Edgar Wang
5ee8154aea Add setting for Aware enable/disable
Bug: 122712565
Test: make
Change-Id: I65358e815c1e2cb30be0ad90b3c94f4af11f17d9
2019-01-24 14:43:07 +08:00
Alex Salo
af1d90c777 Add ADAPTIVE_SLEEP into settings_enums.proto
Test: make RunSettingsRoboTests
Bug: 111939367
Change-Id: Iead7a2d09dd0adb3918d9f2992ef9fa3361b66fc
2019-01-23 01:57:51 +00:00
Antony Sargent
299320612f Add metrics constants for new mobile networks page
We're going to be adding a new settings page for when a device has
multiple mobile network subscriptions. This CL has values needed for
metrics of visits to that page.

Bug: 116349402
Test: n/a
Change-Id: Ic8802936c740ced6182a51877c02c9eb8d236784
2019-01-17 22:21:47 -08:00
Fan Zhang
faf1f6589b Copy all settings protos into settings_enums.proto
Bug: 122855168
Test: rebuild
Change-Id: I4a4cb01d92ed7e5131ac05aa254e8005219263f8
2019-01-17 15:12:49 -08:00
Lucas Dupin
d43bf70c58 Add support to SLPI tap gestures
This CL introduces a new configurable sensor type: config_dozeTapSensorType

Test: atest SystemUITests
Test: set config_dozeTapSensorType to double tap gesture on overlay
Bug: 121198822
Bug: 111414690
Change-Id: I54f3c20473a6d97c860ee02f324edbcf89ba85d1
2019-01-16 11:45:40 -08:00
Beverly
5015ac872e Add skip and silence gestures
Test: manual
Bug: 118388808
Change-Id: I099484cd37737741bf9d003ea9003e76ac8cf147
2019-01-14 19:50:48 -05:00
Ruchi Kandoi
6513d9d646 Add Metrics for Tap & Pay Default app settings
Test: atest NfcForegroundPreferenceControllerTest
Bug: 111458041
Change-Id: I1ef1fd9fe1e025283053757c180571e29df3ad09
2019-01-14 13:19:44 -08:00
Adrian Roos
5f8b52cb3e Add WindowConfiguration's bounds to proto
Test: make droid
Change-Id: I8334c51a3ffa6c33340869d24240ede1c9259c51
2019-01-10 14:25:02 +00:00
Hongming Jin
5172ec1216 Add page id for financial apps sms access.
Bug: 111207447
Test: rebuild
Change-Id: I0adc1ebdee96f1796c80ba55bc54ec4793f16b5e
2018-12-13 11:04:02 -08:00
Arc Wang
b16327ab2e Add Wi-Fi DPP metrics category constants.
Bug: 118794858
Bug: 118797380

Test: NA
Change-Id: I5fdd7d107fec621086a3d0a1ab31a0dfc7f1a277
2018-12-11 01:59:34 +00:00
Wei Wang
c90e979d6e Merge "Throttle jobs when thermal status is in THROTTLING_SEVERE and above" 2018-12-07 19:17:40 +00:00
Wei Wang
8c0c3c10ec Throttle jobs when thermal status is in THROTTLING_SEVERE and above
Bug: 116541003
Test: manually lower thermal thresholds on Pixel3
Change-Id: I26344716e2b6d84a04d9da02493673cc48c2854d
2018-12-06 21:30:11 -08:00