/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/ |
D | DeviceBasedSatelliteInteractorTest.kt | 277 i1.isInService.value = true in areAllConnectionsOutOfService_oneConnectionInService_thenLost_noDeviceEmergencyCalls_yes() 303 i1.isInService.value = true in areAllConnectionsOutOfService_oneConnectionInService_thenLost_deviceEmergencyCalls_no() 330 i1.isInService.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_noDeviceEmergencyCalls_yes() 333 i2.isInService.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_noDeviceEmergencyCalls_yes() 354 i1.isInService.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_deviceEmergencyCalls_no() 357 i2.isInService.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_deviceEmergencyCalls_no() 378 i1.isInService.value = false in areAllConnectionsOutOfService_twoConnectionsOos_noDeviceEmergencyCalls_oneNtn_no() 381 i2.isInService.value = false in areAllConnectionsOutOfService_twoConnectionsOos_noDeviceEmergencyCalls_oneNtn_no() 403 i1.isInService.value = false in areAllConnectionsOutOfService_oneConnectionOos_noDeviceEmergencyCalls_nonNtn_yes() 423 i1.isInService.value = false in areAllConnectionsOutOfService_oneConnectionOos_nonNtn_no() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/ |
D | DeviceBasedSatelliteViewModelTest.kt | 95 i1.isInService.value = false in icon_nullWhenShouldNotShow_satelliteNotAllowed() 115 i1.isInService.value = true in icon_nullWhenShouldNotShow_notAllOos() 136 i1.isInService.value = false in icon_nullWhenShouldNotShow_isEmergencyOnly() 165 i1.isInService.value = false in icon_nullWhenShouldNotShow_apmIsEnabled() 186 i1.isInService.value = false in icon_satelliteIsOn() 210 i1.isInService.value = false in icon_hysteresisWhenEnablingIcon() 243 i1.isInService.value = false in icon_deviceIsProvisioned() 276 i1.isInService.value = false in icon_wifiIsActive() 311 i1.isInService.value = false in carrierText_nullWhenShouldNotShow_satelliteNotAllowed() 332 i1.isInService.value = true in carrierText_nullWhenShouldNotShow_notAllOos() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconInteractor.kt | 70 val isInService: StateFlow<Boolean> in <lambda>() constant 311 override val isInService = connectionRepository.isInService constant 322 isInService, 323 ) { isDefaultDataEnabled, isDefaultConnectionFailed, isInService -> in isDefaultDataEnabled() method 324 !isDefaultDataEnabled || isDefaultConnectionFailed || !isInService in isDefaultDataEnabled() 331 isInService, 333 ) { level, isInService, inflate -> in inflate() method 334 if (isInService) { in inflate()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | UtilsTest.java | 217 assertThat(Utils.isInService(null)).isFalse(); in isInService_servicestateNull_returnFalse() 224 assertThat(Utils.isInService(mServiceState)).isTrue(); in isInService_voiceInService_returnTrue() 235 when(mNetworkRegistrationInfo.isInService()).thenReturn(true); in isInService_voiceOutOfServiceDataInService_returnTrue() 237 assertThat(Utils.isInService(mServiceState)).isTrue(); in isInService_voiceOutOfServiceDataInService_returnTrue() 248 when(mNetworkRegistrationInfo.isInService()).thenReturn(true); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse() 250 assertThat(Utils.isInService(mServiceState)).isFalse(); in isInService_voiceOutOfServiceDataInServiceOnIwLan_returnFalse() 261 assertThat(Utils.isInService(mServiceState)).isFalse(); in isInService_voiceOutOfServiceDataNull_returnFalse() 271 when(mNetworkRegistrationInfo.isInService()).thenReturn(false); in isInService_voiceOutOfServiceDataOutOfService_returnFalse() 273 assertThat(Utils.isInService(mServiceState)).isFalse(); in isInService_voiceOutOfServiceDataOutOfService_returnFalse() 280 assertThat(Utils.isInService(mServiceState)).isFalse(); in isInService_ServiceStatePowerOff_returnFalse() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/ |
D | DeviceBasedSatelliteInteractor.kt | 87 combine(intr.isInService, intr.isEmergencyOnly, intr.isNonTerrestrial) { in <lambda>() 88 isInService, in <lambda>() method 91 !isInService && !isEmergencyOnly && !isNtn in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconInteractorTest.kt | 84 connectionRepository.isInService.value = true in setUp() 384 val job = underTest.isInService.onEach { latest = it }.launchIn(this) in isInService_usesRepositoryValue() 386 connectionRepository.isInService.value = true in isInService_usesRepositoryValue() 390 connectionRepository.isInService.value = false in isInService_usesRepositoryValue() 561 connectionRepository.isInService.value = true in cellBasedIconId_correctLevel_notCutout() 582 connectionRepository.isInService.value = true in icon_usesLevelFromInteractor() 654 connectionRepository.isInService.value = true in cellBasedIcon_enabledAndNotFailed_showExclamationFalse() 679 connectionRepository.isInService.value = false in cellBasedIcon_usesEmptyState_whenNotInService() 690 connectionRepository.isInService.value = true in cellBasedIcon_usesEmptyState_whenNotInService() 707 connectionRepository.isInService.value = true in cellBasedIcon_usesCarrierNetworkState_whenInCarrierNetworkChangeMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | FullMobileConnectionRepository.kt | 169 override val isInService = in <lambda>() constant 171 .flatMapLatest { it.isInService } in <lambda>() 176 activeRepo.value.isInService.value in <lambda>() 178 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.isInService.value) in <lambda>()
|
D | CarrierMergedConnectionRepository.kt | 172 override val isInService = MutableStateFlow(true).asStateFlow() in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
|
D | MobileConnectionRepositoryImpl.kt | 231 override val isInService = in <lambda>() constant 234 .map { Utils.isInService(it.serviceState) } in <lambda>()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamRequest.h | 63 bool isInService() const { in isInService() function
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | MobileState.kt | 129 fun isInService(): Boolean { in isInService() method in com.android.systemui.statusbar.connectivity.MobileState 130 return Utils.isInService(serviceState) in isInService() 233 isInService(), in tableData()
|
D | MobileSignalController.java | 342 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()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/ |
D | NtnCapabilityResolver.java | 51 && networkRegistrationInfo.isInService()) { in resolveNtnCapability()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | AutoDataSwitchController.java | 268 return isInService(mDataRegState) in getRatSignalScore() 534 if (isInService(oldRegState) != isInService(newRegState) 549 private static boolean isInService(@RegistrationState int dataRegState) { 796 } else if (isInService(mPhonesSignalStatus[defaultDataPhoneId].mDataRegState)) { 853 && isInService(mPhonesSignalStatus[defaultPhoneId].mDataRegState)) { 896 if (isInService(defaultPhoneStatus.mDataRegState)) {
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | FakeMobileIconInteractor.kt | 61 override val isInService = MutableStateFlow(true) constant in com.android.systemui.statusbar.pipeline.mobile.domain.interactor.FakeMobileIconInteractor
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | MobileConnectionRepository.kt | 81 val isInService: StateFlow<Boolean> constant
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | FakeMobileConnectionRepository.kt | 39 override val isInService = MutableStateFlow(false) constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.h | 146 bool isInService() const { return mInService; } in isInService() function
|
D | AudioStreamInternal.cpp | 122 request.setInService(isInService()); in open() 144 && !isInService()) { in open()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | LocationBasedMobileIconViewModelTest.kt | 100 isInService.value = true in setUp()
|
D | MobileIconViewModelTest.kt | 109 isInService.value = true in setUp() 257 repository.isInService.value = false in contentDescription_notInService_usesNoPhone()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ServiceStateStats.java | 395 return wwanRegInfo != null && wwanRegInfo.isInService() in getRat() 405 return regInfo != null && !regInfo.isInService() && regInfo.isEmergencyEnabled(); in isEmergencyOnly()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 616 public static boolean isInService(ServiceState serviceState) { in isInService() method in Utils 676 return networkRegWwan.isInService(); in isDataRegInWwanAndInService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionRepository.kt | 119 override val isInService = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsDispatchersController.java | 573 if (isInService()) { in reevaluateTimerStatus() 636 if (isInService()) { in resetPartialSegmentWaitTimer() 658 private boolean isInService() { in isInService() method in SmsDispatchersController
|