Searched refs:mWakeupOnboarding (Results 1 – 3 of 3) sorted by relevance
58 private WakeupOnboarding mWakeupOnboarding; field in WakeupOnboardingTest62 mWakeupOnboarding.getIsOnboadedDataSource().setData(isOnboarded); in setOnboardedStatus()66 mWakeupOnboarding.getNotificationsDataSource().setData(numNotifications); in setNotificationsShown()74 mWakeupOnboarding = new WakeupOnboarding(mContext, mWifiConfigManager, in setUp()85 mWakeupOnboarding.maybeShowNotification(); in showsNotificationIfNotOnboarded()96 mWakeupOnboarding.maybeShowNotification(); in doesNotShowNotificationIfAlreadyOnboarded()108 mWakeupOnboarding.maybeShowNotification(); in doesNotShowNotificationIfAlreadyShowing()109 mWakeupOnboarding.maybeShowNotification(); in doesNotShowNotificationIfAlreadyShowing()123 assertFalse(mWakeupOnboarding.isOnboarded()); in dismissNotificationAction_setsOnboarded()125 mWakeupOnboarding.maybeShowNotification(); in dismissNotificationAction_setsOnboarded()[all …]
85 @Mock private WakeupOnboarding mWakeupOnboarding; field in WakeupControllerTest173 when(mWakeupOnboarding.isOnboarded()).thenReturn(true); in initializeWakeupController()178 mWakeupOnboarding, in initializeWakeupController()715 when(mWakeupOnboarding.isOnboarded()).thenReturn(false); in onResultsUpdatesIfNotOnboarded()780 verify(mWakeupOnboarding, never()).maybeShowNotification(); in controllerDoesNoWorkIfUserStoreIsNotRead()787 verify(mWakeupOnboarding, never()).setOnboarded(); in userIsNotOnboardedByInitialization()799 verify(mWakeupOnboarding).setOnboarded(); in userIsOnboardedBySettingChange()
62 private final WakeupOnboarding mWakeupOnboarding; field in WakeupController149 mWakeupOnboarding = wakeupOnboarding; in WakeupController()160 mWakeupOnboarding.setOnboarded(); in WakeupController()171 mWakeupOnboarding.getIsOnboadedDataSource(), in WakeupController()172 mWakeupOnboarding.getNotificationsDataSource(), in WakeupController()275 mWakeupOnboarding.maybeShowNotification(); in start()316 mWakeupOnboarding.onStop(); in stop()409 mWakeupOnboarding.maybeShowNotification(); in handleScanResults()472 pw.println("isOnboarded: " + mWakeupOnboarding.isOnboarded()); in dump()494 mWakeupOnboarding.onStop(); in resetNotification()