Home
last modified time | relevance | path

Searched refs:WakeupNotificationFactory (Results 1 – 4 of 4) 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;
56 private final WakeupNotificationFactory mWakeupNotificationFactory;
98 WakeupNotificationFactory wakeupNotificationFactory) { in WakeupOnboarding()
134 getNotificationManager().notify(WakeupNotificationFactory.ONBOARD_ID, in maybeShowNotification()
175 getNotificationManager().cancel(WakeupNotificationFactory.ONBOARD_ID); in dismissNotification()
DWakeupNotificationFactory.java30 public class WakeupNotificationFactory { class
47 WakeupNotificationFactory(Context context, FrameworkFacade frameworkFacade) { in WakeupNotificationFactory() method in WakeupNotificationFactory
DWifiInjector.java324 WakeupNotificationFactory wakeupNotificationFactory = in WifiInjector()
325 new WakeupNotificationFactory(mContext, mFrameworkFacade); in WifiInjector()