/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiStateWorkerTest.java | 110 assertThat(mWifiStateWorker.isWifiEnabled()).isFalse(); in isWifiEnabled_wifiStateDisabling_returnFalse() 118 assertThat(mWifiStateWorker.isWifiEnabled()).isFalse(); in isWifiEnabled_wifiStateDisabled_returnFalse() 126 assertThat(mWifiStateWorker.isWifiEnabled()).isFalse(); in isWifiEnabled_wifiStateEnabling_returnFalse() 134 assertThat(mWifiStateWorker.isWifiEnabled()).isTrue(); in isWifiEnabled_wifiStateEnabled_returnTrue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/ |
D | InternetDialogDelegate.java | 370 final boolean isWifiEnabled = mInternetDialogController.isWifiEnabled(); in updateDialog() 372 updateWifiToggle(isWifiEnabled, isDeviceLocked); in updateDialog() 373 updateConnectedWifi(isWifiEnabled, isDeviceLocked); in updateDialog() 374 updateWifiListAndSeeAll(isWifiEnabled, isDeviceLocked); in updateDialog() 375 updateWifiScanNotify(isWifiEnabled, isWifiScanEnabled, isDeviceLocked); in updateDialog() 432 if (mInternetDialogController.isWifiEnabled() == isChecked) { in setWifiEnable() 462 boolean isWifiEnabled = mInternetDialogController.isWifiEnabled(); in setMobileDataLayout() 464 && (!isWifiEnabled || !isCarrierNetworkActive)) { in setMobileDataLayout() 582 private void updateWifiToggle(boolean isWifiEnabled, boolean isDeviceLocked) { in updateWifiToggle() argument 583 if (mWiFiToggle.isChecked() != isWifiEnabled) { in updateWifiToggle() [all …]
|
D | WifiStateWorker.java | 109 public boolean isWifiEnabled() { in isWifiEnabled() method in WifiStateWorker
|
D | InternetDialogController.java | 388 if (mCanConfigWifi && !isWifiEnabled()) { in getSubtitleText() 815 public boolean isWifiEnabled() { 816 return mWifiStateWorker.isWifiEnabled(); 1164 if (!isWifiEnabled() || isDeviceLocked()) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/connectivity/ |
D | ConnectivitySubsystemsRecoveryManager.java | 162 private boolean isWifiEnabled() { in isWifiEnabled() method in ConnectivitySubsystemsRecoveryManager 166 return mWifiManager != null && (mWifiManager.isWifiEnabled() in isWifiEnabled() 180 return isWifiEnabled(); in isRecoveryAvailable() 277 if (isWifiEnabled()) { in triggerSubsystemRestart()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/ |
D | WifiRepositorySwitcher.kt | 103 override val isWifiEnabled: StateFlow<Boolean> = in <lambda>() constant 105 .flatMapLatest { it.isWifiEnabled } in <lambda>() 106 .stateIn(scope, SharingStarted.WhileSubscribed(), realImpl.isWifiEnabled.value) in <lambda>()
|
D | WifiRepository.kt | 27 val isWifiEnabled: StateFlow<Boolean> constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/ |
D | WifiStateWorkerTest.java | 179 assertThat(mWifiStateWorker.isWifiEnabled()).isFalse(); in isWifiEnabled_receiveWifiStateDisabling_returnFalse() 187 assertThat(mWifiStateWorker.isWifiEnabled()).isFalse(); in isWifiEnabled_receiveWifiStateDisabled_returnFalse() 195 assertThat(mWifiStateWorker.isWifiEnabled()).isTrue(); in isWifiEnabled_receiveWifiStateEnabling_returnTrue() 203 assertThat(mWifiStateWorker.isWifiEnabled()).isTrue(); in isWifiEnabled_receiveWifiStateEnabled_returnTrue()
|
D | InternetDialogDelegateTest.java | 123 when(mInternetDialogController.isWifiEnabled()).thenReturn(true); in setUp() 266 when(mInternetDialogController.isWifiEnabled()).thenReturn(false); in updateDialog_apmOnWithCarrierNetworkAndWifiStatus_mobileDataLayout() 275 when(mInternetDialogController.isWifiEnabled()).thenReturn(true); in updateDialog_apmOnWithCarrierNetworkAndWifiStatus_mobileDataLayout() 570 when(mInternetDialogController.isWifiEnabled()).thenReturn(false); in updateDialog_wifiOffAndWifiScanOff_hideWifiScanNotify() 580 when(mInternetDialogController.isWifiEnabled()).thenReturn(false); in updateDialog_wifiOffAndWifiScanOnAndDeviceLocked_hideWifiScanNotify() 591 when(mInternetDialogController.isWifiEnabled()).thenReturn(false); in updateDialog_wifiOffAndWifiScanOnAndDeviceUnlocked_showWifiScanNotify() 605 when(mInternetDialogController.isWifiEnabled()).thenReturn(false); in updateDialog_wifiIsDisabled_uncheckWifiSwitch() 615 when(mInternetDialogController.isWifiEnabled()).thenReturn(true); in updateDialog_wifiIsEnabled_checkWifiSwitch()
|
D | InternetDialogDelegateControllerTest.java | 228 when(mWifiStateWorker.isWifiEnabled()).thenReturn(true); in setUp() 369 when(mWifiStateWorker.isWifiEnabled()).thenReturn(false); in getSubtitleText_withApmOnAndWifiOff_returnWifiIsOff() 384 when(mWifiStateWorker.isWifiEnabled()).thenReturn(false); in getSubtitleText_withWifiOff_returnWifiIsOff() 399 when(mWifiStateWorker.isWifiEnabled()).thenReturn(true); in getSubtitleText_withNoWifiEntry_returnSearchWifi() 416 when(mWifiStateWorker.isWifiEnabled()).thenReturn(true); in getSubtitleText_withWifiEntry_returnTapToConnect() 431 when(mWifiStateWorker.isWifiEnabled()).thenReturn(true); in getSubtitleText_deviceLockedWithWifiOn_returnUnlockToViewNetworks() 443 when(mWifiStateWorker.isWifiEnabled()).thenReturn(true); in getSubtitleText_withNoService_returnNoNetworksAvailable() 465 when(mWifiStateWorker.isWifiEnabled()).thenReturn(true); in getSubtitleText_withNoService_returnNoNetworksAvailable_flagOff() 485 when(mWifiStateWorker.isWifiEnabled()).thenReturn(true); in getSubtitleText_withMobileDataDisabled_returnNoOtherAvailable() 506 when(mWifiStateWorker.isWifiEnabled()).thenReturn(true); in getSubtitleText_withCarrierNetworkActiveOnly_returnNoOtherAvailable() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | CarrierMergedConnectionRepository.kt | 80 wifiRepository.isWifiEnabled, in <lambda>() 191 override val dataEnabled: StateFlow<Boolean> = wifiRepository.isWifiEnabled in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/ |
D | DisabledWifiRepositoryTest.kt | 43 assertThat(underTest.isWifiEnabled.value).isEqualTo(false) in enabled_alwaysFalse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/ |
D | DisabledWifiRepository.kt | 37 override val isWifiEnabled: StateFlow<Boolean> = MutableStateFlow(false).asStateFlow() constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.prod.DisabledWifiRepository
|
D | WifiRepositoryImpl.kt | 186 override val isWifiEnabled: StateFlow<Boolean> = in <lambda>() constant
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/ |
D | FakeWifiRepository.kt | 29 override val isWifiEnabled: StateFlow<Boolean> = _isWifiEnabled constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.FakeWifiRepository
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/ |
D | WifiInteractor.kt | 94 override val isEnabled: Flow<Boolean> = wifiRepository.isWifiEnabled
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStateWorker.java | 152 public boolean isWifiEnabled() { in isWifiEnabled() method in WifiStateWorker
|
D | WifiTracker.java | 312 if (isWifiEnabled()) { in resumeScanning() 443 public boolean isWifiEnabled() { in isWifiEnabled() method in WifiTracker 444 return mWifiManager != null && mWifiManager.isWifiEnabled(); in isWifiEnabled() 783 if (!isWifiEnabled()) { in updateNetworkInfo()
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/ |
D | ConnectivitySetupRule.java | 105 return mWifiManager.isWifiEnabled() && mConnectivityManager.getActiveNetwork() != null
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 333 if (!mWifiManager.isWifiEnabled()) { in connectToWifiWithConfiguration() 363 if (!mWifiManager.isWifiEnabled()) { in disconnectAP()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/ |
D | DemoWifiRepository.kt | 44 override val isWifiEnabled: StateFlow<Boolean> = _isWifiEnabled in <lambda>() constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.demo.DemoWifiRepository
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/ |
D | WifiRepositoryImplTest.kt | 124 val latest by collectLastValue(underTest.isWifiEnabled) in isWifiEnabled_enabled_true() 135 val latest by collectLastValue(underTest.isWifiEnabled) in isWifiEnabled_enabling_false() 146 val latest by collectLastValue(underTest.isWifiEnabled) in isWifiEnabled_disabling_true() 157 val latest by collectLastValue(underTest.isWifiEnabled) in isWifiEnabled_disabled_false() 168 val latest by collectLastValue(underTest.isWifiEnabled) in isWifiEnabled_respondsToUpdates()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 99 if (!mWifiManager.isWifiEnabled()) { in setUp()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 557 if (!mWifiManager.isWifiEnabled()) { in connectToWifiWithConfiguration()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 182 when(mockWifiManager.isWifiEnabled()).thenReturn(true); in setUp() 933 when(mockWifiManager.isWifiEnabled()).thenReturn(false); in disablingWifiShouldClearExistingAccessPoints()
|