Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/model/
DSignalIconModelParameterizedTest.kt37 numberOfLevels = 4, in drawableFromModel_level0_numLevels4_noExclamation_notCarrierNetworkChange()
56 val numberOfLevels: Int, constant in com.android.systemui.statusbar.pipeline.mobile.ui.model.SignalIconModelParameterizedTest.TestCase
64 numberOfLevels = numberOfLevels, in toSignalIconModel()
71 "numberOfLevels=$numberOfLevels," + in toSignalIconModel()
83 numberOfLevels = 4, in toSignalIconModel()
90 numberOfLevels = 4, in toSignalIconModel()
97 numberOfLevels = 5, in toSignalIconModel()
104 numberOfLevels = 5, in toSignalIconModel()
111 numberOfLevels = 5, in toSignalIconModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/model/
DSignalIconModel.kt40 val numberOfLevels: Int, in logFull() constant in com.android.systemui.statusbar.pipeline.mobile.domain.model.SignalIconModel.Cellular
51 if (prevVal.numberOfLevels != numberOfLevels) { in logFull()
52 row.logChange(COL_NUM_LEVELS, numberOfLevels) in logFull()
66 row.logChange(COL_NUM_LEVELS, numberOfLevels) in logFull()
74 SignalDrawable.getCarrierChangeState(numberOfLevels) in logFull()
76 SignalDrawable.getState(level, numberOfLevels, showExclamationMark) in logFull()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DAccessibilityContentDescriptions.java79 public static int getDescriptionForLevel(int level, int numberOfLevels) { in getDescriptionForLevel() argument
80 if (numberOfLevels == 5) { in getDescriptionForLevel()
82 } else if (numberOfLevels == 6) { in getDescriptionForLevel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/shared/model/
DWifiNetworkModel.kt153 val numberOfLevels: Int = MobileConnectionRepository.DEFAULT_NUM_LEVELS, constant in com.android.systemui.statusbar.pipeline.wifi.shared.model.WifiNetworkModel.CarrierMerged
156 require(level in MIN_VALID_LEVEL..numberOfLevels) { in <lambda>()
157 "0 <= wifi level <= $numberOfLevels required; level was $level" in <lambda>()
179 if (prevVal.numberOfLevels != numberOfLevels) { in logDiffs()
180 row.logChange(COL_NUM_LEVELS, numberOfLevels) in logDiffs()
190 row.logChange(COL_NUM_LEVELS, numberOfLevels) in logFull()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractor.kt304 private val numberOfLevels: StateFlow<Int> = connectionRepository.numberOfLevels constant
343 numberOfLevels,
346 ) { shownLevel, numberOfLevels, showExclamationMark, carrierNetworkChange -> in shownLevel() method
349 numberOfLevels, in shownLevel()
369 numberOfLevels.value, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/
DDemoModeWifiDataSource.kt74 val numberOfLevels = getString("numlevels")?.toInt() ?: DEFAULT_NUM_LEVELS in <lambda>() constant
77 return FakeWifiEventModel.CarrierMerged(subId, level, numberOfLevels, activity) in <lambda>()
DDemoWifiRepository.kt122 numberOfLevels = numberOfLevels, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/model/
DFakeWifiEventModel.kt40 val numberOfLevels: Int, constant in com.android.systemui.statusbar.pipeline.wifi.data.repository.demo.model.FakeWifiEventModel.CarrierMerged
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractorTest.kt168 .onEach { latest = (it as? SignalIconModel.Cellular)?.numberOfLevels } in numberOfLevels_comesFromRepo_whenApplicable()
171 connectionRepository.numberOfLevels.value = 5 in numberOfLevels_comesFromRepo_whenApplicable()
174 connectionRepository.numberOfLevels.value = 4 in numberOfLevels_comesFromRepo_whenApplicable()
607 connectionRepository.numberOfLevels.value = 5 in cellBasedIcon_usesNumberOfLevelsFromInteractor()
608 assertThat(latest!!.numberOfLevels).isEqualTo(5) in cellBasedIcon_usesNumberOfLevelsFromInteractor()
610 connectionRepository.numberOfLevels.value = 2 in cellBasedIcon_usesNumberOfLevelsFromInteractor()
611 assertThat(latest!!.numberOfLevels).isEqualTo(2) in cellBasedIcon_usesNumberOfLevelsFromInteractor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DCarrierMergedConnectionRepository.kt117 override val numberOfLevels: StateFlow<Int> = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
121 it.numberOfLevels in <lambda>()
DFullMobileConnectionRepository.kt326 override val numberOfLevels = in <lambda>() constant
328 .flatMapLatest { it.numberOfLevels } in <lambda>()
329 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.numberOfLevels.value) in <lambda>()
DMobileConnectionRepositoryImpl.kt315 override val numberOfLevels = in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DFakeMobileIconInteractor.kt78 numberOfLevels = 4,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileConnectionRepository.kt126 val numberOfLevels: StateFlow<Int> constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionRepository.kt51 override val numberOfLevels = MutableStateFlow(DEFAULT_NUM_LEVELS) constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DCarrierMergedConnectionRepositoryTest.kt245 val job = underTest.numberOfLevels.onEach { latest = it }.launchIn(this) in numberOfLevels_comesFromCarrierMerged()
252 numberOfLevels = 6, in numberOfLevels_comesFromCarrierMerged()
DMobileConnectionRepositoryTest.kt569 val job = underTest.numberOfLevels.onEach { latest = it }.launchIn(this) in numberOfLevels_isDefault()
1008 val job = underTest.numberOfLevels.onEach { latest = it }.launchIn(this) in numberOfLevels_usesCarrierConfig()
/frameworks/base/packages/SystemUI/docs/
Dstatus-bar-data-pipeline.md170 iconInteractor.numberOfLevels,
172 ) { level, numberOfLevels, bar ->
176 calcIcon(level, numberOfLevels)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionsRepositoryTest.kt639 numberOfLevels: Int = 4,
645 numberOfLevels = numberOfLevels,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DLocationBasedMobileIconViewModelTest.kt104 numberOfLevels.value = 4 in setUp()
DMobileIconViewModelTest.kt301 repository.numberOfLevels.value = 6 in contentDescription_inflated_invalidLevelIsNull()
315 repository.numberOfLevels.value = 5 in contentDescription_nonInflated_testABunchOfLevelsForNull()
336 repository.numberOfLevels.value = 6 in contentDescription_inflated_testABunchOfLevelsForNull()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModel.kt219 it.numberOfLevels in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionRepository.kt209 override val numberOfLevels = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImpl.kt267 numberOfLevels = wifiManager.maxSignalLevel + 1, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt563 assertThat(latestMerged.numberOfLevels).isEqualTo(6) in wifiNetwork_isCarrierMerged_getsMaxSignalLevel()