Home
last modified time | relevance | path

Searched refs:hasActivityOut (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/model/
DDataActivityModel.kt30 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/
DMobileStateTest.kt93 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/
DWifiViewModelTest.kt179 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/
DCarrierMergedConnectionRepositoryTest.kt156 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()
DMobileConnectionRepositoryTest.kt724 .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()
DMobileConnectionTelephonySmokeTests.kt201 hasActivityOut = true, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/
DDemoWifiRepository.kt56 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/
DWifiViewModel.kt124 .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/
DMobileIconViewModelTest.kt622 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/
DWifiInteractorImplTest.kt260 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/
DDisabledWifiRepositoryTest.kt59 .isEqualTo(DataActivityModel(hasActivityIn = false, hasActivityOut = false)) in activity_alwaysFalse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DDisabledWifiRepository.kt54 private val ACTIVITY = DataActivityModel(hasActivityIn = false, hasActivityOut = false)
DWifiRepositoryImpl.kt439 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/
DFakeMobileIconInteractor.kt36 hasActivityOut = false,
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionRepository.kt46 MutableStateFlow(DataActivityModel(hasActivityIn = false, hasActivityOut = false))
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
DMobileIconViewModel.kt309 .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/
DMobileState.kt72 fun hasActivityOut(): Boolean { in hasActivityOut() method
DMobileSignalController.java286 mCurrentState.hasActivityOut(), in notifyListeners()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/
DWifiRepositoryImplTest.kt1161 .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/
DDemoMobileConnectionRepository.kt183 hasActivityOut = false, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionRepositoryImpl.kt283 DataActivityModel(hasActivityIn = false, hasActivityOut = false) in <lambda>()