Searched refs:isWifiScanEnabled (Results 1 – 4 of 4) sorted by relevance
371 final boolean isWifiScanEnabled = mInternetDialogController.isWifiScanEnabled(); in updateDialog()375 updateWifiScanNotify(isWifiEnabled, isWifiScanEnabled, isDeviceLocked); in updateDialog()673 private void updateWifiScanNotify(boolean isWifiEnabled, boolean isWifiScanEnabled, in updateWifiScanNotify() argument675 if (mDialog == null || isWifiEnabled || !isWifiScanEnabled || isDeviceLocked) { in updateWifiScanNotify()
1077 boolean isWifiScanEnabled() {
571 when(mInternetDialogController.isWifiScanEnabled()).thenReturn(false); in updateDialog_wifiOffAndWifiScanOff_hideWifiScanNotify()581 when(mInternetDialogController.isWifiScanEnabled()).thenReturn(true); in updateDialog_wifiOffAndWifiScanOnAndDeviceLocked_hideWifiScanNotify()592 when(mInternetDialogController.isWifiScanEnabled()).thenReturn(true); in updateDialog_wifiOffAndWifiScanOnAndDeviceUnlocked_showWifiScanNotify()
822 assertThat(mInternetDialogController.isWifiScanEnabled()).isFalse(); in isWifiScanEnabled_locationOff_returnFalse()826 assertThat(mInternetDialogController.isWifiScanEnabled()).isFalse(); in isWifiScanEnabled_locationOff_returnFalse()834 assertThat(mInternetDialogController.isWifiScanEnabled()).isFalse(); in isWifiScanEnabled_locationOn_returnIsScanAlwaysAvailable()838 assertThat(mInternetDialogController.isWifiScanEnabled()).isTrue(); in isWifiScanEnabled_locationOn_returnIsScanAlwaysAvailable()