/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/model/ |
D | DataActivityModel.kt | 30 val hasActivityOut: Boolean, constant in com.android.systemui.statusbar.pipeline.shared.data.model.DataActivityModel 36 if (prevVal.hasActivityOut != hasActivityOut) { in logDiffs() 37 row.logChange(COL_ACTIVITY_OUT, hasActivityOut) in logDiffs() 43 row.logChange(COL_ACTIVITY_OUT, hasActivityOut) in logFull() 54 DataActivityModel(hasActivityIn = true, hasActivityOut = false) in toMobileDataActivityModel() 56 DataActivityModel(hasActivityIn = false, hasActivityOut = true) in toMobileDataActivityModel() 58 DataActivityModel(hasActivityIn = true, hasActivityOut = true) in toMobileDataActivityModel() 59 else -> DataActivityModel(hasActivityIn = false, hasActivityOut = false) in toMobileDataActivityModel() 65 DataActivityModel(hasActivityIn = true, hasActivityOut = false) in toWifiDataActivityModel() 67 DataActivityModel(hasActivityIn = false, hasActivityOut = true) in toWifiDataActivityModel() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | MobileStateTest.kt | 93 assertFalse(state.hasActivityOut()) in testHasActivityOut_noData_noActivity() 101 assertFalse(state.hasActivityOut()) in testHasActivityOut_noData_activityOut() 109 assertTrue(state.hasActivityOut()) in testHasActivityOut_dataConnected_activityOut() 117 assertFalse(state.hasActivityOut()) in testHasActivityOut_carrierNetworkChange()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/ |
D | WifiViewModelTest.kt | 179 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = true) in activity_showActivityConfigFalse_noUpdatesReceived() 204 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = true) in activity_nullSsid_outputsFalse_staticFlagOff() 229 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = true) in activity_nullSsid_outputsFalse_staticFlagOn() 255 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = true) in activity_allLocationViewModelsReceiveSameData() 272 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = false) in activityIn_hasActivityInTrue_outputsTrue() 287 val activity = DataActivityModel(hasActivityIn = false, hasActivityOut = true) in activityIn_hasActivityInFalse_outputsFalse() 302 val activity = DataActivityModel(hasActivityIn = false, hasActivityOut = true) in activityOut_hasActivityOutTrue_outputsTrue() 317 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = false) in activityOut_hasActivityOutFalse_outputsFalse() 332 val activity = DataActivityModel(hasActivityIn = true, hasActivityOut = false) in activityContainer_hasActivityInTrue_outputsTrue() 347 val activity = DataActivityModel(hasActivityIn = false, hasActivityOut = true) in activityContainer_hasActivityOutTrue_outputsTrue() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | CarrierMergedConnectionRepositoryTest.kt | 156 hasActivityOut = false, in activity_comesFromWifiActivity() 161 assertThat(latest!!.hasActivityOut).isFalse() in activity_comesFromWifiActivity() 166 hasActivityOut = true, in activity_comesFromWifiActivity() 171 assertThat(latest!!.hasActivityOut).isTrue() in activity_comesFromWifiActivity()
|
D | MobileConnectionRepositoryTest.kt | 724 .isEqualTo(DataActivityModel(hasActivityIn = false, hasActivityOut = false)) in activity_updatesFromCallback() 729 .isEqualTo(DataActivityModel(hasActivityIn = true, hasActivityOut = false)) in activity_updatesFromCallback() 733 .isEqualTo(DataActivityModel(hasActivityIn = false, hasActivityOut = true)) in activity_updatesFromCallback() 737 .isEqualTo(DataActivityModel(hasActivityIn = true, hasActivityOut = true)) in activity_updatesFromCallback() 741 .isEqualTo(DataActivityModel(hasActivityIn = false, hasActivityOut = false)) in activity_updatesFromCallback() 745 .isEqualTo(DataActivityModel(hasActivityIn = false, hasActivityOut = false)) in activity_updatesFromCallback() 749 .isEqualTo(DataActivityModel(hasActivityIn = false, hasActivityOut = false)) in activity_updatesFromCallback()
|
D | MobileConnectionTelephonySmokeTests.kt | 201 hasActivityOut = true, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/ |
D | DemoWifiRepository.kt | 56 MutableStateFlow(DataActivityModel(hasActivityIn = false, hasActivityOut = false)) in <lambda>() 84 _wifiActivity.value = DataActivityModel(hasActivityIn = false, hasActivityOut = false) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/ |
D | WifiViewModel.kt | 124 .map { it?.hasActivityOut ?: false } in <lambda>() 131 activity.map { it != null && (it.hasActivityIn || it.hasActivityOut) } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | MobileIconViewModelTest.kt | 622 hasActivityOut = true, in dataActivity_nullWhenConfigIsOff() 655 hasActivityOut = false, in dataActivity_configOn_testIndicators_staticFlagOff() 667 hasActivityOut = true, in dataActivity_configOn_testIndicators_staticFlagOff() 677 hasActivityOut = false, in dataActivity_configOn_testIndicators_staticFlagOff() 710 hasActivityOut = false, in dataActivity_configOn_testIndicators_staticFlagOn() 722 hasActivityOut = true, in dataActivity_configOn_testIndicators_staticFlagOn() 732 hasActivityOut = false, in dataActivity_configOn_testIndicators_staticFlagOn() 825 hasActivityOut = true, in nonTerrestrial_ignoresDefaultProperties()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/ |
D | WifiInteractorImplTest.kt | 260 val activity1 = DataActivityModel(hasActivityIn = true, hasActivityOut = true) in activity_matchesRepoWifiActivity() 265 val activity2 = DataActivityModel(hasActivityIn = false, hasActivityOut = false) in activity_matchesRepoWifiActivity() 270 val activity3 = DataActivityModel(hasActivityIn = true, hasActivityOut = false) in activity_matchesRepoWifiActivity()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/ |
D | DisabledWifiRepositoryTest.kt | 59 .isEqualTo(DataActivityModel(hasActivityIn = false, hasActivityOut = false)) in activity_alwaysFalse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/ |
D | DisabledWifiRepository.kt | 54 private val ACTIVITY = DataActivityModel(hasActivityIn = false, hasActivityOut = false)
|
D | WifiRepositoryImpl.kt | 439 val ACTIVITY_DEFAULT = DataActivityModel(hasActivityIn = false, hasActivityOut = false) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | FakeMobileIconInteractor.kt | 36 hasActivityOut = false,
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | FakeMobileConnectionRepository.kt | 46 MutableStateFlow(DataActivityModel(hasActivityIn = false, hasActivityOut = false))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | MobileIconViewModel.kt | 309 .map { it?.hasActivityOut ?: false } in <lambda>() 316 activity.map { it != null && (it.hasActivityIn || it.hasActivityOut) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | MobileState.kt | 72 fun hasActivityOut(): Boolean { in hasActivityOut() method
|
D | MobileSignalController.java | 286 mCurrentState.hasActivityOut(), in notifyListeners()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/ |
D | WifiRepositoryImplTest.kt | 1161 .isEqualTo(DataActivityModel(hasActivityIn = false, hasActivityOut = false)) in wifiActivity_callbackGivesNone_activityFlowHasNone() 1173 .isEqualTo(DataActivityModel(hasActivityIn = true, hasActivityOut = false)) in wifiActivity_callbackGivesIn_activityFlowHasIn() 1185 .isEqualTo(DataActivityModel(hasActivityIn = false, hasActivityOut = true)) in wifiActivity_callbackGivesOut_activityFlowHasOut() 1197 .isEqualTo(DataActivityModel(hasActivityIn = true, hasActivityOut = true)) in wifiActivity_callbackGivesInout_activityFlowHasInAndOut()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/ |
D | DemoMobileConnectionRepository.kt | 183 hasActivityOut = false, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionRepositoryImpl.kt | 283 DataActivityModel(hasActivityIn = false, hasActivityOut = false) in <lambda>()
|