Home
last modified time | relevance | path

Searched refs:WakeupNotificationFactory (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupOnboardingTest.java19 import static com.android.server.wifi.WakeupNotificationFactory.ACTION_DISMISS_NOTIFICATION;
20 import static com.android.server.wifi.WakeupNotificationFactory.ACTION_OPEN_WIFI_PREFERENCES;
21 import static com.android.server.wifi.WakeupNotificationFactory.ACTION_TURN_OFF_WIFI_WAKE;
58 @Mock private WakeupNotificationFactory mWakeupNotificationFactory;
93 verify(mNotificationManager).notify(eq(WakeupNotificationFactory.ONBOARD_ID), any()); in showsNotificationIfNotOnboarded()
105 .notify(eq(WakeupNotificationFactory.ONBOARD_ID), any()); in doesNotShowNotificationIfAlreadyOnboarded()
119 .notify(eq(WakeupNotificationFactory.ONBOARD_ID), any()); in doesNotShowNotificationIfAlreadyShowing()
139 verify(mNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in dismissNotificationAction_setsOnboarded()
163 verify(mNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in turnOffWifiWakeAction_setsOnboardedAndTurnsOffWifiWake()
186 verify(mNotificationManager).cancel(WakeupNotificationFactory.ONBOARD_ID); in openWifiSettingsAction_setsOnboardedAndOpensWifiSettings()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupOnboarding.java19 import static com.android.server.wifi.WakeupNotificationFactory.ACTION_DISMISS_NOTIFICATION;
20 import static com.android.server.wifi.WakeupNotificationFactory.ACTION_OPEN_WIFI_PREFERENCES;
21 import static com.android.server.wifi.WakeupNotificationFactory.ACTION_TURN_OFF_WIFI_WAKE;
55 private final WakeupNotificationFactory mWakeupNotificationFactory;
97 WakeupNotificationFactory wakeupNotificationFactory) { in WakeupOnboarding()
133 getNotificationManager().notify(WakeupNotificationFactory.ONBOARD_ID, in maybeShowNotification()
174 getNotificationManager().cancel(WakeupNotificationFactory.ONBOARD_ID); in dismissNotification()
DWakeupNotificationFactory.java29 public class WakeupNotificationFactory { class
47 WakeupNotificationFactory(WifiContext context, WifiInjector wifiInjector, in WakeupNotificationFactory() method in WakeupNotificationFactory
DWifiInjector.java362 WakeupNotificationFactory wakeupNotificationFactory = in WifiInjector()
363 new WakeupNotificationFactory(mContext, this, mFrameworkFacade); in WifiInjector()
/frameworks/opt/net/wifi/tests/wifitests/
DAndroid.bp351 "com.android.server.wifi.WakeupNotificationFactory",
352 "com.android.server.wifi.WakeupNotificationFactory$*",
353 "com.android.server.wifi.WakeupNotificationFactory.**",