Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/
DDeviceBasedSatelliteInteractorTest.kt277 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/
DDeviceBasedSatelliteViewModelTest.kt95 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/
DMobileIconInteractor.kt70 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/
DUtilsTest.java217 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/
DDeviceBasedSatelliteInteractor.kt87 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/
DMobileIconInteractorTest.kt84 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/
DFullMobileConnectionRepository.kt169 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>()
DCarrierMergedConnectionRepository.kt172 override val isInService = MutableStateFlow(true).asStateFlow() in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
DMobileConnectionRepositoryImpl.kt231 override val isInService = in <lambda>() constant
234 .map { Utils.isInService(it.serviceState) } in <lambda>()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamRequest.h63 bool isInService() const { in isInService() function
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DMobileState.kt129 fun isInService(): Boolean { in isInService() method in com.android.systemui.statusbar.connectivity.MobileState
130 return Utils.isInService(serviceState) in isInService()
233 isInService(), in tableData()
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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DNtnCapabilityResolver.java51 && networkRegistrationInfo.isInService()) { in resolveNtnCapability()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DAutoDataSwitchController.java268 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/
DFakeMobileIconInteractor.kt61 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/
DMobileConnectionRepository.kt81 val isInService: StateFlow<Boolean> constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionRepository.kt39 override val isInService = MutableStateFlow(false) constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.h146 bool isInService() const { return mInService; } in isInService() function
DAudioStreamInternal.cpp122 request.setInService(isInService()); in open()
144 && !isInService()) { in open()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DLocationBasedMobileIconViewModelTest.kt100 isInService.value = true in setUp()
DMobileIconViewModelTest.kt109 isInService.value = true in setUp()
257 repository.isInService.value = false in contentDescription_notInService_usesNoPhone()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DServiceStateStats.java395 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/
DUtils.java616 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/
DDemoMobileConnectionRepository.kt119 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/
DSmsDispatchersController.java573 if (isInService()) { in reevaluateTimerStatus()
636 if (isInService()) { in resetPartialSegmentWaitTimer()
658 private boolean isInService() { in isInService() method in SmsDispatchersController

12