Home
last modified time | relevance | path

Searched refs:hasPrioritizedNetworkCapabilities (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractor.kt258 connectionRepository.hasPrioritizedNetworkCapabilities,
259 ) { allowed, hasPrioritizedNetworkCapabilities -> in allowed() method
260 allowed && hasPrioritizedNetworkCapabilities in allowed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DFullMobileConnectionRepository.kt360 override val hasPrioritizedNetworkCapabilities = in <lambda>() constant
362 .flatMapLatest { it.hasPrioritizedNetworkCapabilities } in <lambda>()
366 activeRepo.value.hasPrioritizedNetworkCapabilities.value, in <lambda>()
DCarrierMergedConnectionRepository.kt189 override val hasPrioritizedNetworkCapabilities = MutableStateFlow(false).asStateFlow() in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
DMobileConnectionRepositoryImpl.kt437 override val hasPrioritizedNetworkCapabilities: StateFlow<Boolean> = in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionRepository.kt231 override val hasPrioritizedNetworkCapabilities = MutableStateFlow(false) in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository
272 hasPrioritizedNetworkCapabilities.value = event.slice in <lambda>()
297 hasPrioritizedNetworkCapabilities.value = false in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileConnectionRepository.kt159 val hasPrioritizedNetworkCapabilities: StateFlow<Boolean> constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionRepository.kt66 override val hasPrioritizedNetworkCapabilities = MutableStateFlow(false) constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractorTest.kt202 connectionRepository.hasPrioritizedNetworkCapabilities.value = true in networkSlice_configOn_hasPrioritizedCaps_showsSlice()
213 connectionRepository.hasPrioritizedNetworkCapabilities.value = false in networkSlice_configOn_noPrioritizedCaps_noSlice()
224 connectionRepository.hasPrioritizedNetworkCapabilities.value = true in networkSlice_configOff_hasPrioritizedCaps_noSlice()
235 connectionRepository.hasPrioritizedNetworkCapabilities.value = false in networkSlice_configOff_noPrioritizedCaps_noSlice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionParameterizedTest.kt146 launch { conn.hasPrioritizedNetworkCapabilities.collect {} } in TestScope()
170 assertThat(conn.hasPrioritizedNetworkCapabilities.value).isEqualTo(model.slice) in TestScope()
DDemoMobileConnectionsRepositoryTest.kt555 launch { conn.hasPrioritizedNetworkCapabilities.collect {} } in <lambda>()
581 assertThat(conn.hasPrioritizedNetworkCapabilities.value).isEqualTo(model.slice) in <lambda>()
608 assertThat(conn.hasPrioritizedNetworkCapabilities.value).isFalse() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModelTest.kt752 repository.hasPrioritizedNetworkCapabilities.value = true in netTypeBackground_flagOff_isNull()
765 repository.hasPrioritizedNetworkCapabilities.value = false in netTypeBackground_flagOn_nullWhenNoPrioritizedCapabilities()
778 repository.hasPrioritizedNetworkCapabilities.value = true in netTypeBackground_flagOn_notNullWhenPrioritizedCapabilities()
821 repository.hasPrioritizedNetworkCapabilities.value = true in nonTerrestrial_ignoresDefaultProperties()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionRepositoryTest.kt1075 assertThat(underTest.hasPrioritizedNetworkCapabilities.value).isFalse() in hasPrioritizedCaps_defaultFalse()
1081 val latest by collectLastValue(underTest.hasPrioritizedNetworkCapabilities) in hasPrioritizedCaps_trueWhenAvailable()
1096 val latest by collectLastValue(underTest.hasPrioritizedNetworkCapabilities) in hasPrioritizedCaps_becomesFalseWhenNetworkLost()