Home
last modified time | relevance | path

Searched refs:isInService (Results 1 – 23 of 23) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
H A DMobileIconInteractor.kt65 val isInService: StateFlow<Boolean>
281 override val isInService = connectionRepository.isInService
290 isInService,
291 ) { isDefaultDataEnabled, isDefaultConnectionFailed, isInService ->
292 !isDefaultDataEnabled || isDefaultConnectionFailed || !isInService
299 isInService,
300 ) { level, isInService ->
301 if (isInService) level else 0
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
H A DMobileIconInteractorTest.kt81 connectionRepository.isInService.value = true
318 val job = underTest.isInService.onEach { latest = it }.launchIn(this)
320 connectionRepository.isInService.value = true
324 connectionRepository.isInService.value = false
494 connectionRepository.isInService.value = true
510 connectionRepository.isInService.value = true
568 connectionRepository.isInService.value = true
586 connectionRepository.isInService.value = false
597 connectionRepository.isInService.value = true
610 connectionRepository.isInService.value = true
H A DFakeMobileIconInteractor.kt59 override val isInService = MutableStateFlow(true)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
H A DFullMobileConnectionRepository.kt166 override val isInService =
168 .flatMapLatest { it.isInService }
173 activeRepo.value.isInService.value
175 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.isInService.value)
H A DCarrierMergedConnectionRepository.kt166 override val isInService = MutableStateFlow(true).asStateFlow()
H A DMobileConnectionRepositoryImpl.kt215 override val isInService =
218 .map { Utils.isInService(it.serviceState) }
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
H A DUtilsTest.java230 assertThat(Utils.isInService(null)).isFalse(); in isInService_servicestateNull_returnFalse()
237 assertThat(Utils.isInService(mServiceState)).isTrue(); in isInService_voiceInService_returnTrue()
249 assertThat(Utils.isInService(mServiceState)).isTrue(); in isInService_voiceOutOfServiceDataInService_returnTrue()
261 assertThat(Utils.isInService(mServiceState)).isFalse(); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse()
270 assertThat(Utils.isInService(mServiceState)).isFalse(); in isInService_voiceOutOfServiceDataOutOfService_returnFalse()
277 assertThat(Utils.isInService(mServiceState)).isFalse(); in isInService_ServiceStatePowerOff_returnFalse()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
H A DMobileState.kt129 fun isInService(): Boolean { regex
130 return Utils.isInService(serviceState)
233 isInService(),
H A DMobileSignalController.java342 public boolean isInService() { in isInService() method in MobileSignalController
343 return mCurrentState.isInService(); in isInService()
477 + mCurrentState.isInService() in updateTelephony()
482 mCurrentState.connected = mCurrentState.isInService(); in updateTelephony()
H A DNetworkControllerImpl.java628 return controller != null && controller.isInService(); in isMobileDataNetworkInService()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
H A DMobileConnectionRepository.kt74 val isInService: StateFlow<Boolean>
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
H A DFakeMobileConnectionRepository.kt37 override val isInService = MutableStateFlow(false)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
H A DLocationBasedMobileIconViewModelTest.kt89 isInService.value = true
H A DMobileIconViewModelTest.kt91 isInService.value = true
237 repository.isInService.value = false
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
H A DInternetTileViewModelTest.kt79 isInService.value = true
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
H A DDemoMobileConnectionRepository.kt103 override val isInService =
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
H A DInternetDialog.java679 boolean isInService = mInternetDialogController.isVoiceStateInService(mDefaultDataSubId); in showTurnOffMobileDialog()
680 if (TextUtils.isEmpty(carrierName) || !isInService) { in showTurnOffMobileDialog()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
H A DMobileConnectionRepositoryTest.kt879 val job = underTest.isInService.onEach { latest = it }.launchIn(this)
916 val job = underTest.isInService.onEach { latest = it }.launchIn(this)
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DServiceState.java1778 if (iwlanRegInfo == null || !iwlanRegInfo.isInService()) { in getDataNetworkType()
1786 if (!wwanRegInfo.isInService() || mIsIwlanPreferred) { in getDataNetworkType()
H A DNetworkRegistrationInfo.java561 public boolean isInService() { in isInService() method in NetworkRegistrationInfo
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java536 public static boolean isInService(ServiceState serviceState) { in isInService() method in Utils
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt14305 HSPLandroid/telephony/NetworkRegistrationInfo;->isInService()Z
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt14369 HSPLandroid/telephony/NetworkRegistrationInfo;->isInService()Z