Commit Graph

974 Commits

Author SHA1 Message Date
Lucas Lin
eb24608dbc Merge "Better notification to user when DNS-over-TLS is broken"
am: 81852c8481

Change-Id: I8be963e35ed5e5ba914c6d3504a52ccb789aaf29
2019-10-23 02:51:56 -07:00
lucaslin
783f221065 Better notification to user when DNS-over-TLS is broken
Provide a specifc notification to let users know that device
has no internet is because it really doesn't have internet access
or it's caused by private DNS resolution failed.

Bug: 113242081
Test: atest FrameworksNetTests
Change-Id: I710c88a4742f5fd56c39fc797d7fa3ad36dba553
2019-10-22 18:27:33 +08:00
Kai Shi
714e449ff5 Merge "WifiMetrics: add per-band Tx and Rx speed histogram" into qt-r1-dev
am: 6564df6264

Change-Id: I89c4a1b1bb96ab8d36ccff4a0c5a1cbdd503e964
2019-07-25 13:28:34 -07:00
Kai Shi
026e5441a4 WifiMetrics: add per-band Tx and Rx speed histogram
Bug: 137886569
Test: Unit tests for Wifi: frameworks/opt/net/wifi/tests/wifitests/runtest.sh and manual test

Change-Id: I30aae21651237b1bc7291527d0beab3e28dadb21
2019-07-19 09:56:45 -07:00
Mehdi Alizadeh
d104ed0a67 Merge "Adds metrics categories for gesture navigation dialogs" into qt-dev
am: cdd5808bd0

Change-Id: Id01df942a1f89096f30b71fb5636b615d4aa8ee3
2019-06-24 17:36:17 -07: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
Tim Joines
2b9196611e Merge "Add config to control full task snapshot scale" into qt-dev
am: 10b9def7cb

Change-Id: I6e07c1e6d9aa300e42e27daa10ad048af56fc40b
2019-06-19 15:03:46 -07:00
Tim Joines
10b9def7cb Merge "Add config to control full task snapshot scale" into qt-dev 2019-06-19 21:33:29 +00:00
Andrew Sapperstein
41d9e7ca8d Merge "Add metrics for mainline modules license UI." into qt-dev
am: eb1b030175

Change-Id: I3b568d73d56bddf3943e4106703ee10da5629dd6
2019-06-18 20:19:35 -07: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
Winson Chung
ffde2ea8e5 Add config to control full task snapshot scale
- Also save the scale with the snapshot data instead of trying to infer it
  from the state
- Also recycle the reduced resolution snapshot copy after writing it

Bug: 135150767
Test: atest TaskSnapshotPersisterLoaderTest
Change-Id: I64a9ccf16f3966ad5c6d07ff0b6ce8e9dd710e40
2019-06-18 14:12:25 -07:00
Paul Duffin
d93f565421 Remove superfluous use of no_framework_libs: true
Bug: 134566750
Test: m droid
Change-Id: I2777e8f9da0c7e0f3fc84277600f9db45b2f837e
Exempt-From-Owner-Approval: no response from owners minor build change
2019-06-18 19:21:34 +01:00
Will Brockman
c22772c36a Log usage of addPerson() and setStyle() in notifications.
Added Tron logging to StatusBarNotification.getLogMaker() so it will
be present in most logs about the notification.

Change-Id: I720706d37c663f2018bdfe2153ad180970166c90
Test: atest android.service.notification.StatusBarNotificationTest
Bug: 135180518
2019-06-14 19:10:02 +00:00
Beth Thibodeau
4b05fbcf49 Add logging for media notification seekbar
Also includes some minor fixes and improvements:
- Only update visibility of seekbar/scrubber if it changed
- Switching between seekable and not seekable media will update the
scrubber visibility
- Switching from seekbar to none will not restart the timer

Fixes: 132631846
Test: manual, atest com.android.systemui.statusbar.notification.row.wrapper.NotificationMediaTemplateViewWrapperTest
Change-Id: I158670119ad0742cf6a2387e08d54e548ee14ef5
2019-05-28 16:34:14 -04:00
Jan Althaus
367eb8ca1f Adding issuer information to NAS Adjustments
Test: manually tested with ExtServices and AiAi as NAS
Bug: 132679875
Change-Id: I3b4b3135037fe3f82b18e7c024931842986c70bb
2019-05-23 19:35:01 +00:00
Steven Wu
40cbada807 Logs biometric authentication error type.
Test: manual
Bug: 132644177
Change-Id: I99398140eb17aa6f9b1404815908ef56890dfc7e
2019-05-22 13:10:46 -04: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
Julia Reynolds
b58434a869 Revert "Adding issuer information to NAS Adjustments"
This reverts commit 3b33a04fb3.

Reason for revert: This is crashing ExtServices on qt-dev

Bug: 132679875
Change-Id: I60b7b6b8db33585f62e108389367c74ce682b922
2019-05-21 15:04:27 +00:00
Jan Althaus
3b33a04fb3 Adding issuer information to NAS Adjustments
Test: manually tested with AiAi NAS
Fixes: 132679875

Change-Id: I5d4bf41383143e9573ddad5c08205e1dca3ba6b3
2019-05-21 08:57:02 +02:00
Leo Hsu
d8faaf97ef Revise metrics for emergency dialer
Add new metrics constants and deprecate old ones for Emergency Dialer.

Bug: 124427605
Test: Manually. Check the result of
'adb logcat -b events | grep -e sysui_multi_action'

Change-Id: Ia72709a237a78e3a80540cb8f18c80f2bfe37adc
2019-05-20 14:36:58 +08:00
Susi Kharraz-Post
1474655fc5 Fixing the metrics_constants jump
There were merge problems because master was modified independent of
qt-dev. This should be fixed by now so moving the number back to next
available.

Bug: 132719892
Change-Id: I19b28734b08877cb54574d5a059da5e7befe54ba
Test: N/A
2019-05-17 11:09:55 +00:00
Susi Kharraz-Post
4a401882a3 Align qt-dev and master
This CL only adds a new line to re-align qt-dev and master for
metrics_constants to make it possible to rebase the enums.

Bug: 132719892
Test: N/A
Change-Id: Ie6354c904f3751f8620ff3ae7d420754b6314b33
2019-05-15 14:42:06 -04: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
Felipe Leme
c0df895a41 Added moar augmented-autofill metrics:
- AUTOFILL_AUGMENTED_WHITELIST_REQUEST
- AUTOFILL_AUGMENTED_RESPONSE
- FIELD_AUTOFILL_AUGMENTED_ONLY on AUTOFILL_SESSION_FINISHED

Test: adb shell logcat -b events | grep sysui
Test: atest CtsContentCaptureServiceTestCases # sanity check

Bug: 112192360
Fixes: 122858578

Merged-In: Ia6bfced9396dd9e3f8ef2a6c45415dc22f4327c9
Change-Id: Ia6bfced9396dd9e3f8ef2a6c45415dc22f4327c9
2019-05-07 11:46:12 -07:00
Aran Ink
35231f7fc5 DO NOT MERGE: Bump metrics_constants value by ~100 to avoid conflicts with master.
Add Global Actions Panel Settings constant.

Bug: 127295457
Test: Automated tests pass.
Change-Id: Ib37a13192fb1aa20cf3d914beee7b9a4eb399168
2019-05-07 13:55:20 -04:00
Mehdi Alizadeh
97fb3ed8bc Collects metrics for the new Sharing Shortcuts api
Bug: 122904954
Test: atest com.android.server.pm.ShortcutManagerTest1 \
            com.android.server.pm.ShortcutManagerTest2 \
            com.android.server.pm.ShortcutManagerTest3 \
            com.android.server.pm.ShortcutManagerTest4 \
            com.android.server.pm.ShortcutManagerTest5 \
            com.android.server.pm.ShortcutManagerTest6 \
            com.android.server.pm.ShortcutManagerTest7 \
            com.android.server.pm.ShortcutManagerTest8 \
            com.android.server.pm.ShortcutManagerTest9 \
            com.android.server.pm.ShortcutManagerTest10
Change-Id: Ifafcaa789814618846d41431d6190e4d79e871e5
2019-05-06 12:35:03 -07:00
Steven Wu
11da5744bf Add logging for assistant start activity.
Test: manual
Bug: 128982146
Change-Id: Icb9973facd9a1fdd90ea669c21d772c981254777
2019-05-03 15:20:38 -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
David Su
cf263d9535 Merge "wifi.proto: Count number of probes triggered by experiments" into qt-dev 2019-04-29 17:05:49 +00:00
TreeHugger Robot
831dc426f1 Merge "Add action metrics for Wi-Fi provision features" into qt-dev 2019-04-23 17:36:54 +00:00
Mingguang Xu
b09eed2309 Merge "Wifi usability: Add timestamp in WifiUsabilityStats" into qt-dev 2019-04-23 06:00:22 +00: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
TreeHugger Robot
7feb1a1f7d Merge "Add logging enums for 3 new SIM related pages." into qt-dev 2019-04-22 21:37:29 +00:00
David Su
36da81ff8a wifi.proto: Count number of probes triggered by experiments
Protos to count number of probes triggered by each experiment.

Bug: 131091030
Test: compiles
Change-Id: I61c15d5183fd7e1b819f2f751bd5a98bd7dd5202
2019-04-22 11:23:45 -07: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
Mingguang Xu
3e5d63a8f7 Wifi usability: Add timestamp in WifiUsabilityStats
Together with the timestamps in each entry (WifiUsabilityStatsEntry) of WifiUsabilityStats, the added timestamp allows us to check whether the WifiUsabilityStats is obsolete or not.

Bug: 129282057
Test: frameworks/base/wifi/tests/runtests.sh

Change-Id: I1c968786173f0e719b10651315a6d1bb5b42438f
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
2019-04-19 13:59:56 -07:00
hsuvictor
c0106148c6 WifiMetrics: add histogram of installed Passpoint profiles for R2
Added Histogram of the EAP method type of installed
Passpoint profiles for R2

Bug: 122542221
Test: atest WifiMetricsTest PasspointManagerTest

Change-Id: I5c09d13a284dc15f9ba08d175212ad56cf0bc244
2019-04-19 11:09:55 +08:00
hsuvictor
17510161ac WifiMetrics: add histogram of passpoint provisioning
Added histograms tracking the number of passpoint provisioning.
Histograms are dimensioned on: <failure code>

Bug: 122542221
Test: atest WifiMetricsTest PasspointProvisionerTest
PasspointManagerTest

Change-Id: If71ed11c1898e210e08f694d85a931c811598c17
2019-04-15 11:35:13 +08:00
Lucas Dupin
046282eabd Dark Theme QS tile
Creates Dark Theme tile and adds it to the default config,
under the fold.

Test: manually toggle tile
Fixes: 130253100
Change-Id: I2859d2eb20db1c6d9dd8e8e24979294316b905bb
2019-04-11 09:58:11 -07:00
Oscar Shu
a39c85fc2b Merge "wifi proto change for some legacy API usage metrics" into qt-dev 2019-04-08 17:07:11 +00:00
xshu
08c6738b1c wifi proto change for some legacy API usage metrics
Bug: 129884654
Test: unit tests
Change-Id: I9f67c0dc8bb3813236335b62c8ecee81d44cd69b
2019-04-04 17:39:33 -07:00
David Su
a847e58eec wifi.proto: Add link probe event to StaEvent
Add link probe event type to StaEvent in order to correlate link probe
success/failure with other StaEvents (e.g. disconnection, score breach).

Bug: 112029045
Test: compiles
Change-Id: I2a18abc6f19179b164cd4c007597ba6cb69bf889
2019-04-04 18:28:43 +00:00
Susi Kharraz-Post
14cbfcdbd0 Add logging for direct share target
To answer the question if users share mainly with 1 or 2 direct targets
or with a multitude of contacts, we need to log the direct target +
package name. For privacy, this gets hashed with a salt that expires by
default every 7 days. The PH flag will allow us to change the expiration
time if we obtain PWG permission for that.

Bug: 126365511
Test: New test in ChooserActivityTest + manual testing of consistency
and flag rollout using adb shell device_config put systemui
hash_salt_max_days with multiple values

Change-Id: Ib4255b3eb39ca91ccb5803dc036ffe0ea83a27c9
2019-04-03 17:54:25 -04: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
Mingguang Xu
66c7c95c05 Merge "Wifi usability: Add firmware alert reason code into WifiUsabilityStats" 2019-04-03 01:41:28 +00:00
Ahmed ElArabawy
5b54cbd631 Merge "wifi.proto: Add WifiLock statistics" 2019-04-01 22:57:54 +00:00
TreeHugger Robot
5e4bd68c95 Merge "Metrics constants for bubble confirmation" 2019-03-30 01:31:28 +00:00
Mingguang Xu
67af9085e4 Merge "Wifi usability: Add IP reachability lost into Wifi unusable event" 2019-03-29 21:13:36 +00:00
Mingguang Xu
b331242220 Merge "Wifi usability: Add device mobility state into Wifi usability stats" 2019-03-29 21:01:08 +00:00