Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DLocationBasedMobileViewModel.kt105 private val isSingleCarrier = interactor.isSingleCarrier constant
109 combine(super.isVisible, isSingleCarrier) { isVisible, isSingleCarrier -> in isSingleCarrier() method
110 if (isSingleCarrier) false else isVisible in isSingleCarrier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/carrier/
DShadeCarrier.java105 public boolean updateState(CellSignalState state, boolean isSingleCarrier) { in updateState() argument
106 if (Objects.equals(state, mLastSignalState) && isSingleCarrier == mIsSingleCarrier) { in updateState()
110 mIsSingleCarrier = isSingleCarrier; in updateState()
111 final boolean visible = state.visible && !isSingleCarrier; in updateState()
113 mSpacer.setVisibility(isSingleCarrier ? View.VISIBLE : View.GONE); in updateState()
DShadeCarrierGroupController.java297 public boolean isSingleCarrier() { in isSingleCarrier() method in ShadeCarrierGroupController
550 void onSingleCarrierChanged(boolean isSingleCarrier); in onSingleCarrierChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractor.kt96 val isSingleCarrier: StateFlow<Boolean> in <lambda>() constant
337 override val isSingleCarrier: StateFlow<Boolean> = constant
400 isSingleCarrier, in getMobileConnectionInteractorForSubId()
DMobileIconInteractor.kt117 val isSingleCarrier: StateFlow<Boolean> in <lambda>() constant
144 override val isSingleCarrier: StateFlow<Boolean>, constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ui/viewmodel/
DShadeHeaderViewModel.kt72 val isSingleCarrier: StateFlow<Boolean> = mobileIconsInteractor.isSingleCarrier in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DFakeMobileIconInteractor.kt44 override val isSingleCarrier = MutableStateFlow(true) constant in com.android.systemui.statusbar.pipeline.mobile.domain.interactor.FakeMobileIconInteractor
DFakeMobileIconsInteractor.kt69 override val isSingleCarrier = MutableStateFlow(true) constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractorTest.kt674 val latest by collectLastValue(underTest.isSingleCarrier) in isSingleCarrier_zeroSubscriptions_false()
684 val latest by collectLastValue(underTest.isSingleCarrier) in isSingleCarrier_oneSubscription_true()
694 val latest by collectLastValue(underTest.isSingleCarrier) in isSingleCarrier_twoSubscriptions_false()
704 val latest by collectLastValue(underTest.isSingleCarrier) in isSingleCarrier_updates()
DMobileIconInteractorTest.kt519 val job = underTest.isSingleCarrier.onEach { latest = it }.launchIn(this) in isSingleCarrier_matchesParent()
521 mobileIconsInteractor.isSingleCarrier.value = true in isSingleCarrier_matchesParent()
524 mobileIconsInteractor.isSingleCarrier.value = false in isSingleCarrier_matchesParent()
746 mobileIconsInteractor.isSingleCarrier, in createInteractor()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DShadeHeader.kt488 val isSingleCarrier by viewModel.isSingleCarrier.collectAsStateWithLifecycle() in StatusIcons() constant
516 if (isSingleCarrier || !useExpandedFormat) { in StatusIcons()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DLocationBasedMobileIconViewModelTest.kt131 iconsInteractor.isSingleCarrier, in setUp()
DMobileIconViewModelTest.kt142 iconsInteractor.isSingleCarrier, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeHeaderControllerTest.kt239 whenever(mShadeCarrierGroupController.isSingleCarrier).thenReturn(true) in <lambda>()
248 whenever(mShadeCarrierGroupController.isSingleCarrier).thenReturn(false) in <lambda>()
258 whenever(mShadeCarrierGroupController.isSingleCarrier).thenReturn(false) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeHeaderController.kt529 singleCarrier = mShadeCarrierGroupController.isSingleCarrier in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/carrier/
DShadeCarrierGroupControllerTest.java200 assertFalse(mShadeCarrierGroupController.isSingleCarrier()); in testInitiallyMultiCarrier()