Device mobility state is helpful for predicting Wifi usability in a
future time conditioned on current Wifi status.
Extend the Wifi.proto to include mobility state.
Bug: 129409568
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I40a46bb797e4185720391ff24a943364e81bb00e
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Firmware alert can trigger Wifi usability stats data collection.
Currently the reason code of firmware alert is not collected as an
attribute. Add the reason code into Wifi usability stats as an
attribute.
Bug: 129426122
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I5640745b5ee4588bb8ac106420262685ad8d6a28
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
IP reachability is a strong indicator of Wi-Fi network quality. Extend
the WifiIsUnusableEvent list to include IP reachability lost.
Bug: 129282057
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I0ff1075d619073d19fa365a1e6fc9894a109b8e9
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
This way we can track what the general desire for the display is. Note
that this is different than tracking the actual display state since, for
example, you may be applying POLICY_DOZE but the DozeService actually
has the display in the ON state.
Bug: 122949636
Test: manual inspection
Change-Id: I65b7e26937f6fbb40057a49c4ebe4aed7380100b
As part of Security Review's requirements, I need to add a notification to
Test Harness Mode. It is visible iff Test Harness Mode is active (unless
the user blocks notifications from the system).
Currently, tapping on it does nothing; there's no Intent available in
the system to direct the user to perform a factory reset.
Bug: 80137798
Test: make && adb shell cmd testharness enable; verify that the dialog
exists
Change-Id: I9b391bce57ec1ef5392bd78bfdcf62a3a7e00e55
Adds the results of CalculateImportance by default on notification
logs, so that we can track the effects of NotificationAssistant and
user and system importance overrides.
Adds tests for the various different sources of importance.
Bug: 127834982
Test: atest frameworks/base/services/tests/uiservicestests/src/com/android/server/notification SystemUITests
Change-Id: I044d1206f5180a028bb55704ced05117bc0a00bb
In some networks, network validation may only get success
result for http probe but fail result for https probe.
For this kind of network, it may still work at some websites
or apps, but user didn't know about that. In order to fix this
issue, we will check if network has partial connectivity and
notify user to make a choice if they want to use this partial
connectivity or not.
Bug: 113450764
Test: 1. Build pass.
2. Fake partial connectivity case for testing.
3. atest FrameworksNetTests
4. atest NetworkStackTests
Change-Id: I69ed00ac4850904ff708c9fef22e148879a10e92
Addressed all comments from API review council:
1. Rename WifiUsabilityStatsListener to OnWifiUsabilityStatsListener.
2. Change the modifier of member variables in WifiUsabilityStatsEntry.java to private and use getters.
3. Document the unit of predicitonHoirzonSec and its expected range.
4. Add @ProbeStaus in probeStatusSinceLastUpdate.
5. Rename probeElapsedTimeMsSinceLastUpdate to
ProbeElapsedTimeSinceLastUpdateMs.
6. Marked @NonNull for Argument 3 in onWifiUsabilityStats.
Bug: 126391553
Bug: 126699865
Bug: 113262380
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I20d9ad05dc0bb537b09006ca44a447401b3e1001
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Rename MapEntryInt32Int32 to Int32Count to be more specific to the actual use
case.
Bug: 112029045
Test: compiles
Change-Id: I71d70e7572078a9ff62d80993256e55d25dfbc5d
Currently screen status is not included in WifiIsUnusableEvent. Need to
add this status to allow for better classification of WifiIsUnusableEvent.
Bug: 126640380
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I04fb8c50a114053a70de3a939e193715e515d983
Signed-off-by: Mingguang Xu <mingguangxu@google.com>
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
Direct share targets can update after they have been initially
displayed. This modifies the logging that was there to indicate when the
direct targets are displayed for the first time and when they are being
reordered.
Bug: 126920281
Test: successfully ran atest ChooserActivityTest
Change-Id: I1d16c0fb2b5631473879ba9758128e6f482567c2
To allow for a breakdown of authentication failures.
Bug: 121223972
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I30898ecb6acd779c1e41baf535bcf45df3ef4b56
Signed-off-by: Mingguang Xu <mingguangxu@google.com>