Home
last modified time | relevance | path

Searched refs:NetworkTypeIconModel (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/model/
DNetworkTypeIconModel.kt33 sealed interface NetworkTypeIconModel : Diffable<NetworkTypeIconModel> { interface
40 ) : NetworkTypeIconModel {
45 override fun logDiffs(prevVal: NetworkTypeIconModel, row: TableRowLogger) { in logDiffs()
55 ) : NetworkTypeIconModel {
59 override fun logDiffs(prevVal: NetworkTypeIconModel, row: TableRowLogger) { in logDiffs()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconsViewModelTest.kt33 import com.android.systemui.statusbar.pipeline.mobile.domain.model.NetworkTypeIconModel
217 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.UNKNOWN) in firstMobileSubShowingNetworkTypeIcon_oneSub_notShowingRat_false()
234 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G) in firstMobileSubShowingNetworkTypeIcon_oneSub_showingRat_true()
252 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G) in firstMobileSubShowingNetworkTypeIcon_updatesAsSubUpdates()
256 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.UNKNOWN) in firstMobileSubShowingNetworkTypeIcon_updatesAsSubUpdates()
260 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.LTE) in firstMobileSubShowingNetworkTypeIcon_updatesAsSubUpdates()
275 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G) in firstMobileSubShowingNetworkTypeIcon_multipleSubs_lastSubNotShowingRat_false()
277 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.UNKNOWN) in firstMobileSubShowingNetworkTypeIcon_multipleSubs_lastSubNotShowingRat_false()
293 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.UNKNOWN) in firstMobileSubShowingNetworkTypeIcon_multipleSubs_lastSubShowingRat_true()
295 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G) in firstMobileSubShowingNetworkTypeIcon_multipleSubs_lastSubShowingRat_true()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DFakeMobileIconInteractor.kt22 import com.android.systemui.statusbar.pipeline.mobile.domain.model.NetworkTypeIconModel
47 MutableStateFlow<NetworkTypeIconModel>(
48 NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractorTest.kt39 import com.android.systemui.statusbar.pipeline.mobile.domain.model.NetworkTypeIconModel
246 var latest: NetworkTypeIconModel? = null in iconGroup_three_g()
249 assertThat(latest).isEqualTo(NetworkTypeIconModel.DefaultIcon(TelephonyIcons.THREE_G)) in iconGroup_three_g()
260 var latest: NetworkTypeIconModel? = null in iconGroup_updates_on_change()
266 assertThat(latest).isEqualTo(NetworkTypeIconModel.DefaultIcon(TelephonyIcons.FOUR_G)) in iconGroup_updates_on_change()
277 var latest: NetworkTypeIconModel? = null in iconGroup_5g_override_type()
280 assertThat(latest).isEqualTo(NetworkTypeIconModel.DefaultIcon(TelephonyIcons.NR_5G)) in iconGroup_5g_override_type()
291 var latest: NetworkTypeIconModel? = null in iconGroup_default_if_no_lookup()
295 .isEqualTo(NetworkTypeIconModel.DefaultIcon(FakeMobileIconsInteractor.DEFAULT_ICON)) in iconGroup_default_if_no_lookup()
305 var latest: NetworkTypeIconModel? = null in iconGroup_carrierMerged_usesOverride()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractor.kt32 import com.android.systemui.statusbar.pipeline.mobile.domain.model.NetworkTypeIconModel in <lambda>()
33 import com.android.systemui.statusbar.pipeline.mobile.domain.model.NetworkTypeIconModel.DefaultIcon in <lambda>()
34 import com.android.systemui.statusbar.pipeline.mobile.domain.model.NetworkTypeIconModel.OverriddenI… in <lambda>()
85 val networkTypeIconGroup: StateFlow<NetworkTypeIconModel> in <lambda>()