History log of /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WakeupOnboardingTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5aad8ece7e38a80db917d49b5245f6b8c6dca273 14-Mar-2018 Eric Schwarzenbach <easchwar@google.com> Change onboarding flow.

This CL incorporates a few changes to the Wifi Wake onboarding flow.

Wifi Wake now operates as normal even if the user has not interacted
with the onboarding notification.

The onboarding notification will be shown when WiFi is disabled if the
user is not onboarded (3 times max, at most once every 24 hours).

The user is considered onboarded if they have interacted with the
notification, seen 3 notifications, or manually changed enabled/disabled
the feature from Wifi Settings page.

Bug: 72399908
Test: runtest, manual

Change-Id: I5fd02510b39ae89223ad28352f2045af33c13a5e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WakeupOnboardingTest.java
9d60c0ff94757e8862f167f6de54789fe2e1bab2 15-Dec-2017 Eric Schwarzenbach <easchwar@google.com> Add onboarding process for Wifi Wake.

Creates a notification to display to the user the first time they turn
off wifi with the feature enabled. Updates the ConfigStoreData to
include a bit for "isOnboarded". Creates a factory class to handle
constructing the actual notification. Gates handleScanResults on user
onboarded status.

Bug: 64094365
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: adb push old WifiConfigStore.xml; adb shell stop; adb shell start;
verify that the config store loads properly and writes the new
WakeupConfigStoreData

Change-Id: Ia3949a70a2c64bc40fc658788e395061a7ca86ee
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WakeupOnboardingTest.java