Home
last modified time | relevance | path

Searched refs:dataEnabled (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DFullMobileConnectionRepository.kt285 override val dataEnabled = in <lambda>() constant
287 .flatMapLatest { it.dataEnabled } in <lambda>()
292 initialValue = activeRepo.value.dataEnabled.value, in <lambda>()
294 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.dataEnabled.value) in <lambda>()
DCarrierMergedConnectionRepository.kt191 override val dataEnabled: StateFlow<Boolean> = wifiRepository.isWifiEnabled in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
DMobileConnectionRepositoryImpl.kt409 override val dataEnabled = run { in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionRepository.kt220 override val dataEnabled = MutableStateFlow(true) in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository
245 dataEnabled.value = true in <lambda>()
277 dataEnabled.value = true in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileConnectionRepository.kt129 val dataEnabled: StateFlow<Boolean> constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionRepository.kt54 override val dataEnabled = _dataEnabled constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModel.kt237 ) { dataConnected, dataEnabled, alwaysShow, mobileIsDefault, carrierNetworkChange -> in dataConnected() method
239 (!carrierNetworkChange && (dataEnabled && dataConnected && mobileIsDefault)) in dataConnected()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModelTest.kt111 dataEnabled.value = true in setUp()
449 repository.dataEnabled.value = true in networkType_null_changeToDisabled()
455 repository.dataEnabled.value = false in networkType_null_changeToDisabled()
465 repository.dataEnabled.value = false in networkType_alwaysShow_shownEvenWhenDisabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionRepositoryTest.kt542 assertThat(underTest.dataEnabled.value).isFalse() in dataEnabled_initial_false()
549 val job = underTest.dataEnabled.onEach { latest = it }.launchIn(this) in isDataEnabled_tracksTelephonyCallback()
552 assertThat(underTest.dataEnabled.value).isFalse() in isDataEnabled_tracksTelephonyCallback()
DMobileConnectionTelephonySmokeTests.kt250 val job = underTest.dataEnabled.onEach { latest = it }.launchIn(this) in <lambda>()
DCarrierMergedConnectionRepositoryTest.kt265 val job = underTest.dataEnabled.onEach { latest = it }.launchIn(this) in dataEnabled_matchesWifiEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractor.kt158 override val isDataEnabled: StateFlow<Boolean> = connectionRepository.dataEnabled
DMobileIconsInteractor.kt165 .flatMapLatest { it?.dataEnabled ?: flowOf(false) } in <lambda>()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DPhoneSwitcherTest.java1958 private void notifyDataEnabled(boolean dataEnabled) { in notifyDataEnabled() argument
1960 doReturn(dataEnabled).when(mDataSettingsManager).isDataEnabled(); in notifyDataEnabled()
1961 doReturn(dataEnabled).when(mDataSettingsManager2).isDataEnabled(); in notifyDataEnabled()
1962 mDataSettingsManagerCallbacks.get(0).onDataEnabledChanged(dataEnabled, 123 , ""); in notifyDataEnabled()
1964 mDataSettingsManagerCallbacks.get(1).onDataEnabledChanged(dataEnabled, 123, ""); in notifyDataEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModelTest.kt94 dataEnabled.value = true in setUp()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractorTest.kt110 dataEnabled.value = true in <lambda>()