Searched refs:WakeupNotificationFactory (Results 1 – 4 of 4) sorted by relevance
19 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 …]
19 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()
30 public class WakeupNotificationFactory { class47 WakeupNotificationFactory(Context context, FrameworkFacade frameworkFacade) { in WakeupNotificationFactory() method in WakeupNotificationFactory
324 WakeupNotificationFactory wakeupNotificationFactory = in WifiInjector()325 new WakeupNotificationFactory(mContext, mFrameworkFacade); in WifiInjector()