/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/model/ |
D | SignalIconModelParameterizedTest.kt | 37 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/ |
D | SignalIconModel.kt | 40 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/ |
D | AccessibilityContentDescriptions.java | 79 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/ |
D | WifiNetworkModel.kt | 153 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/ |
D | MobileIconInteractor.kt | 304 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/ |
D | DemoModeWifiDataSource.kt | 74 val numberOfLevels = getString("numlevels")?.toInt() ?: DEFAULT_NUM_LEVELS in <lambda>() constant 77 return FakeWifiEventModel.CarrierMerged(subId, level, numberOfLevels, activity) in <lambda>()
|
D | DemoWifiRepository.kt | 122 numberOfLevels = numberOfLevels, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/model/ |
D | FakeWifiEventModel.kt | 40 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/ |
D | MobileIconInteractorTest.kt | 168 .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/ |
D | CarrierMergedConnectionRepository.kt | 117 override val numberOfLevels: StateFlow<Int> = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository 121 it.numberOfLevels in <lambda>()
|
D | FullMobileConnectionRepository.kt | 326 override val numberOfLevels = in <lambda>() constant 328 .flatMapLatest { it.numberOfLevels } in <lambda>() 329 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.numberOfLevels.value) in <lambda>()
|
D | MobileConnectionRepositoryImpl.kt | 315 override val numberOfLevels = in <lambda>() constant
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | FakeMobileIconInteractor.kt | 78 numberOfLevels = 4,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | MobileConnectionRepository.kt | 126 val numberOfLevels: StateFlow<Int> constant
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | FakeMobileConnectionRepository.kt | 51 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/ |
D | CarrierMergedConnectionRepositoryTest.kt | 245 val job = underTest.numberOfLevels.onEach { latest = it }.launchIn(this) in numberOfLevels_comesFromCarrierMerged() 252 numberOfLevels = 6, in numberOfLevels_comesFromCarrierMerged()
|
D | MobileConnectionRepositoryTest.kt | 569 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/ |
D | status-bar-data-pipeline.md | 170 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/ |
D | DemoMobileConnectionsRepositoryTest.kt | 639 numberOfLevels: Int = 4, 645 numberOfLevels = numberOfLevels,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | LocationBasedMobileIconViewModelTest.kt | 104 numberOfLevels.value = 4 in setUp()
|
D | MobileIconViewModelTest.kt | 301 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/ |
D | MobileIconViewModel.kt | 219 it.numberOfLevels in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionRepository.kt | 209 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/ |
D | WifiRepositoryImpl.kt | 267 numberOfLevels = wifiManager.maxSignalLevel + 1, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/ |
D | WifiRepositoryImplTest.kt | 563 assertThat(latestMerged.numberOfLevels).isEqualTo(6) in wifiNetwork_isCarrierMerged_getsMaxSignalLevel()
|