781 Commits

Author SHA1 Message Date
Mingguang Xu
4073dc0bd1 Merge "Wifi usability: Add Wifi usability score into Wifi.proto for metrics collection" 2019-01-19 01:29:51 +00:00
Mingguang Xu
ca2aab18a6 Wifi usability: Add Wifi usability score into Wifi.proto for metrics collection
Wifi usability score together with other related stats are added into Wifi.proto.

Bug: 113262380

Test: Unit tests for Wifi

Change-Id: I451eb9914f47d17eb42016b6d13f1f1759e17f48
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
2019-01-18 20:33:53 +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
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
Eyal Posener
a9cf9c723f Add blocking helper logging
The added logging events are: blocking helper view displayed or
dismissed, any button click within the view, undo clicks and
system suggests of blocking helper.

* Move some of the getLogMaker logic of server's NotificationRecord
  class to the common StatusBarNotification class.
* Use the StatusBarNotification.getLogMaker to produce blocking helper
  logging.
* Add logging in the NotificationInfo for interaction and display of
  the blocking helper view.
* Add logging in the NotificationBlockingHelperManager for system
  suggests of blocking helper.

Bug: 112482290
Test: unittests and manual - viewed produced logs.
Change-Id: I3a5267d55faba21f6668d35ff8aa12deb0dc5921
2019-01-14 10:58:29 +02:00
Alexey Kuzmin
ccdaebb5f7 Split ring and notification vibration settings
Synchronize settings between sound and accessibility menus

Bug: 116172311
Test: See accessibility vibration settings - ring and notification
settings sould be separate. Try changing vibration settings in sound and
accessibility menus - the settings should stay in sync.

Change-Id: Ia0276dfdd0efafe211c14cda140831b57f8c42b1
2019-01-10 16:36:48 +00:00
Tony Mak
5a5f0d52c3 Introduce TextClassifierEventTronLogger
1. SelectionEvent will be still logged via SelectionSessionLogger
   to make sure we don't break existing logs.

2. New features including language detection and conversation actions
   are logged via TextClassifierEventTronLogger.

3. Added TYPE_ACTIONS_GENERATED to log when actions are generated.
   This is used to calcuate the recall, i.e. among all the requests,
   how many of them TextClassifier returns something.

Test: atest TextClassifierEventTronLoggerTest
Test: Turn on the DEBUG flag and observe the logging.

BUG: 120803809
BUG: 120828422

Change-Id: I33f2ce58885d90bc35316f54abcd42b137b42a13
2019-01-08 11:07:23 +00:00
TreeHugger Robot
3b1ce72383 Merge "Clear snoozing state when app data is cleared." 2019-01-07 19:34:52 +00:00
Julia Reynolds
67c1e963b8 Clear snoozing state when app data is cleared.
Test: atest
Change-Id: Id1cdbc73211d4ae6dd9dd0cbfe24cd9e03064c4b
Fixes: 65152774
2019-01-04 14:01:10 -05:00
Yiwei Zhang
71434b7924 GUP: Add metrics constant for GUP UI
Bug: 119221883
Test: build
Change-Id: Ife43b388fce1e158ecc6ea1088530f005ff0f583
2019-01-04 10:42:47 +08:00
Beverly
f3c2c86467 Metrics constants for new dnd settings pages
Test: n/a
Bug: 111475013
Change-Id: I87a09fba0f2ec6eff88c8bd33e02765bb7c3a6d3
2018-12-21 09:57:31 -05:00
Gustav Sennton
6f65fc346b Add metric fields for Smart Suggestions in Notifications logging.
Add extra data when logging
1. whenever smart replies and actions in notifications become visible,
and
2. whenever a smart action in a notification is clicked.

Documentation:
go/ssin-metrics

Bug: 120767764
Test: tested together with ag/5764960
Change-Id: I7bc735000df9380998e0e4c8f672bca08e8707df
2018-12-17 11:55:24 +00:00
Chad Brubaker
90f391fe87 Prototype Spaceship mode qstile
Initial prototype disabling location/sensors and enabling airplane mode.
Camera/Mic will come in a followup.

Test: manual
Bug: 110842805
Change-Id: I26132fcc9ffea83e3e78a0e54882d23c99ee590c
2018-12-14 20:46:04 +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
TreeHugger Robot
754fbf92a1 Merge "strings.xml: Resources to post notification for network suggestions" 2018-12-12 10:38:56 +00:00
Roshan Pius
6eb1b3a982 strings.xml: Resources to post notification for network suggestions
The exact string wording will be changed after consultation with
the UI folks.

Bug: 120072329
Test: Manual verification of notification.
Change-Id: I9420b70629edee35aa928c94d3aa3a8e5e14e895
2018-12-11 15:24:14 +00: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
Issei Suzuki
ae492c924a Merge "Add metric constants for foldable screen" 2018-12-11 00:02:03 +00:00
Blake Kragten
df4ae4aca3 Merge "Adding additional wifi power metrics to wifi power metrics" 2018-12-10 21:59:28 +00:00
Issei Suzuki
9e5ff4bf58 Add metric constants for foldable screen
Test: n/a
Bug: 117783763
Change-Id: I4459c9bce085ac8ecc243dbc27264710caea81db
2018-12-10 13:37:35 -08:00
Susi Kharraz-Post
9b03367ad2 Add Status Bar State to QS click log
This is adding the StatusBarState to the tron logs for QS click to
answer the question if the quick setting was clicked from lockscreen.
The currently available states are
SHADE = 0
KEYGUARD = 1
SHADE_LOCKED = 2
FULLSCREEN_USER_SWITCHER = 3
For descriptions see StatusBarState.java

Bug: 110157820
Test: added unit test and tested manually
Change-Id: Ibcadebc737a0d71b51e764ee2d3fd4ddb5f7ef3a
2018-12-09 09:59:35 -05:00
Blake Kragten
354c83dcba Adding additional wifi power metrics to wifi power metrics
Bug: 116168459
Test: Compared batteryStats with wifi metrics changes
Test: adb shell dumpsys wifi WifiMetricsProto > wMetrics.txt
Test: adb shell dumpsys batterystats > test.txt

Change-Id: I6ecf5e1da4cc293039581544d7ae2c3db2594d92
2018-12-04 16:38:48 -08:00
Chienyuan
e7a535c608 Add new metrics constant for disable developer options
Bug: 80449594
Test: build Settings app
Change-Id: I7711d0e50309b0ed9eed0d2f863536d9f7825e2c
2018-11-30 16:01:48 +08:00
xshu
a33726eea6 WifiUsability proto for ML
Bug: 113262380
Test: compile, unit tests

Change-Id: I60d29116fa2ee3d5781ef49e30b462b7a26d90bc
2018-11-19 11:12:53 -08:00
Esteban Talavera
7a5926bb46 Merge "Log notification direct reply to TRON" 2018-11-15 18:05:06 +00:00
Oscar Shu
0b422043dc Merge "WifiLinkLayerUsageStats proto change" 2018-11-14 19:07:16 +00:00
Esteban Talavera
f9c53b63ec Log notification direct reply to TRON
Bug: 118375812
Test: runtest systemui-notification
Change-Id: I29de32a36c0cafb869c8ae79bcaee67beb68c5c2
2018-11-14 18:35:37 +00:00
TreeHugger Robot
6b9404dacf Merge "Add metric constants for new dnd settings pages" 2018-11-13 18:52:53 +00:00
Winson Chung
d27f6b3fc6 Merge "Expose task id and activity component in task snapshot and assist structure" 2018-11-12 17:56:22 +00:00
Beverly
d58cc77238 Add metric constants for new dnd settings pages
Test: n/a
Bug: 111475013
Change-Id: I7c63ddc32cd87f0cc949f9ee2ddedd5359acd610
2018-11-09 16:23:11 -05:00
Winson Chung
48b25653f4 Expose task id and activity component in task snapshot and assist structure
- This would allow the AiAi service to cross-reference assist data with
  streaming text data and snapshots
- Pre-fill the task id/activity when receiving the assist data from the
  activity and remove unnecessary autofill santization down the line

Bug: 117268952
Test: adb shell dumpsys window all
Test: atest CtsAutoFillServiceTestCases
Test: atest CtsAssistTestCases

Change-Id: I0d0d2c85426777cc77397716db34b520593db100
2018-11-09 09:08:11 -08:00
xshu
0f91dd6acc WifiLinkLayerUsageStats proto change
Adds a breakdown of different scan times.

Bug: 79111545
Test: compile
Change-Id: If1ae540e3746c43577e04efb95b9c83354350dac
2018-11-08 15:51:07 -08:00
tmfang
a3f63a9e66 Add constants which can be used by Privacy Setting
-Add a category key for privacy settings
-Add two metrics constants for privacy settings

Test: robotest
Bug: 116628158
Change-Id: Id9b210cc44bcc421c67525c4919d99586525bfc2
2018-11-08 10:27:22 +08:00
Kevin Chyn
b879f51b41 Add biometric enroll constant
Bug: 112925362

Test: Builds
Change-Id: I96aec2d14dac8f0056bf45215a539e5c5abb2de9
2018-10-31 17:56:26 -07:00
Kevin Chyn
f589b6c72c Add metric constant for ConfirmDeviceCredential BiometricFragment
Bug: 111461540

Test: Builds
Change-Id: I4617af59a75aaa299cce14799ae4d396330d9194
2018-10-29 15:53:39 -07:00
Fan Zhang
916c13b5f5 Add a Settings atom
Bug: 117860032
Test: rebuild
Change-Id: I0cd0422891ca9a18168eb57cf4b61ad1089263f6
2018-10-22 11:34:50 -07:00
Lei Yu
f3fee9c01f Merge "Add metric id for mobile network settings" 2018-10-12 18:27:40 +00: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
jackqdyulei
db71d28f08 Add metric id for mobile network settings
Bug: 114749736
Test: Build
Change-Id: I62fd6407ec92de16d952d966960b5caf447ea0c0
2018-10-10 11:33:28 -07:00
Oscar Shu
3d0a22d53b Merge "proto change for wifi link layer usage stats" 2018-10-02 18:11:47 +00:00
TreeHugger Robot
ec809d0e22 Merge "Update wireless charging documentation val" 2018-10-01 21:56:08 +00:00
Lucas Dupin
493cb6d5cb Merge "Renaming gesture" 2018-09-28 22:00:56 +00:00
Lucas Dupin
13b0cb9890 Renaming gesture
Bug: 111414690
Test: make
Change-Id: I9d2a6507a942c56fe5b626d8dce46321ff70014b
2018-09-28 09:27:46 -07:00
Julia Reynolds
23a4635d01 Add metrics constants for notification adjustments
Test: make
Bug: 116445483
Change-Id: Ifff344c1867a1b2ec73277c89f3f77620749e2fc
2018-09-25 19:33:45 +00:00
xshu
0e0dea406e proto change for wifi link layer usage stats
Adds a new proto field.

Bug: 77603419
Test: compile, unit test
Change-Id: I540e0eda718b6ef586837855e8d650f373f986f2
2018-09-24 14:42:54 -07:00
Beverly
c47ba514b4 Update wireless charging documentation val
Test: manual
Change-Id: I09b3d7b02907a2d3a05e3e32278b89f381952399
Fixes: 116150237
2018-09-24 14:02:23 -05:00
Felipe Leme
d9dc954e8f Fixed FillCallback.onFailure() and SaveCallback.onFailure() behavior.
FillCallback.onFailure() was not working as intented - it finished the session
on AutofillManagerService, but didn't update the client state on
AutofillManager.

And both of these methods were displaying Toasts to the user, which is something
the autofill services could take care of. Hence, for services target with SDK
Q, the message is ignored.

Also added a new Autofill Metric: FIELD_AUTOFILL_MESSAGE_LEN

Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.LoginActivityTest#testAutofillAgainAfterOnFailure
Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything
Test: time mmm -j frameworks/base/:doc-comment-check-docs
Test: m -j update-api

Bug: 112192360
Fixes: 116103297

Change-Id: I499909200980943dedf1fc8524dd1f14b49e2158
2018-09-21 13:31:44 -07:00
Howard Ro
826655ae7e Add cwren@android.com to metrics_constants OWNERS
Test: I promise that this change doesn't break Android.
Change-Id: Idab58ee91412836a514eaca0ef1aa7cc6450bad8
2018-09-11 16:58:00 -07:00