Home
last modified time | relevance | path

Searched refs:isWifiScanEnabled (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegate.java371 final boolean isWifiScanEnabled = mInternetDialogController.isWifiScanEnabled(); in updateDialog()
375 updateWifiScanNotify(isWifiEnabled, isWifiScanEnabled, isDeviceLocked); in updateDialog()
673 private void updateWifiScanNotify(boolean isWifiEnabled, boolean isWifiScanEnabled, in updateWifiScanNotify() argument
675 if (mDialog == null || isWifiEnabled || !isWifiScanEnabled || isDeviceLocked) { in updateWifiScanNotify()
DInternetDialogController.java1077 boolean isWifiScanEnabled() {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegateTest.java571 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()
DInternetDialogDelegateControllerTest.java822 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()