/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/ |
D | WifiInteractorImplTest.kt | 52 private lateinit var wifiRepository: FakeWifiRepository variable in com.android.systemui.statusbar.pipeline.wifi.domain.interactor.WifiInteractorImplTest 59 wifiRepository = FakeWifiRepository() in setUp() 61 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope) in setUp() 67 wifiRepository.setWifiNetwork(WifiNetworkModel.Unavailable) in ssid_unavailableNetwork_outputsNull() 81 wifiRepository.setWifiNetwork(WifiNetworkModel.Inactive) in ssid_inactiveNetwork_outputsNull() 95 wifiRepository.setWifiNetwork( in ssid_carrierMergedNetwork_outputsNull() 111 wifiRepository.setWifiNetwork( in ssid_isPasspointAccessPoint_outputsPasspointName() 132 wifiRepository.setWifiNetwork( in ssid_isOnlineSignUpForPasspoint_outputsPasspointName() 153 wifiRepository.setWifiNetwork( in ssid_unknownSsid_outputsNull() 173 wifiRepository.setWifiNetwork( in ssid_validSsid_outputsSsid() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/ |
D | WifiViewModelTest.kt | 69 private lateinit var wifiRepository: FakeWifiRepository variable in com.android.systemui.statusbar.pipeline.wifi.ui.viewmodel.WifiViewModelTest 80 wifiRepository = FakeWifiRepository() in setUp() 81 wifiRepository.setIsWifiEnabled(true) in setUp() 83 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope) in setUp() 116 wifiRepository.setWifiNetwork( in wifiIcon_allLocationViewModelsReceiveSameData() 131 wifiRepository.setWifiNetwork( in wifiIcon_validHotspot_hotspotIconNotShown() 155 wifiRepository.setWifiNetwork(ACTIVE_VALID_WIFI_NETWORK) in activity_showActivityConfigFalse_outputsFalse() 172 wifiRepository.setWifiNetwork(ACTIVE_VALID_WIFI_NETWORK) in activity_showActivityConfigFalse_noUpdatesReceived() 180 wifiRepository.setWifiActivity(activity) in activity_showActivityConfigFalse_noUpdatesReceived() 195 wifiRepository.setWifiNetwork( in activity_nullSsid_outputsFalse_staticFlagOff() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | CarrierMergedConnectionRepositoryTest.kt | 52 private lateinit var wifiRepository: FakeWifiRepository variable in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepositoryTest 65 wifiRepository = FakeWifiRepository() in setUp() 74 wifiRepository, in setUp() 88 wifiRepository.setWifiNetwork(WifiNetworkModel.Inactive) in inactiveWifi_isDefault() 107 wifiRepository.setWifiNetwork(WifiNetworkModel.Active(networkId = NET_ID, level = 1)) in activeWifi_isDefault() 122 wifiRepository.setIsWifiEnabled(true) in carrierMergedWifi_isValidAndFieldsComeFromWifiNetwork() 123 wifiRepository.setIsWifiDefault(true) in carrierMergedWifi_isValidAndFieldsComeFromWifiNetwork() 125 wifiRepository.setWifiNetwork( in carrierMergedWifi_isValidAndFieldsComeFromWifiNetwork() 144 wifiRepository.setIsWifiEnabled(true) in activity_comesFromWifiActivity() 145 wifiRepository.setIsWifiDefault(true) in activity_comesFromWifiActivity() [all …]
|
D | FullMobileConnectionRepositoryTest.kt | 504 val wifiRepository = FakeWifiRepository() in connectionInfo_logging_carrierMerged_getsUpdates() constant 505 createRealCarrierMergedRepo(telephonyManager, wifiRepository) in connectionInfo_logging_carrierMerged_getsUpdates() 513 wifiRepository.setWifiNetwork( in connectionInfo_logging_carrierMerged_getsUpdates() 525 wifiRepository.setWifiNetwork( in connectionInfo_logging_carrierMerged_getsUpdates() 547 val wifiRepository = FakeWifiRepository() in connectionInfo_logging_updatesWhenCarrierMergedUpdates() constant 548 createRealCarrierMergedRepo(telephonyManager, wifiRepository) in connectionInfo_logging_updatesWhenCarrierMergedUpdates() 566 wifiRepository.setWifiNetwork( in connectionInfo_logging_updatesWhenCarrierMergedUpdates() 579 wifiRepository.setWifiNetwork( in connectionInfo_logging_updatesWhenCarrierMergedUpdates() 618 val wifiRepository = FakeWifiRepository() in connectionInfo_logging_doesNotLogUpdatesForNotActiveRepo() constant 619 createRealCarrierMergedRepo(telephonyManager, wifiRepository) in connectionInfo_logging_doesNotLogUpdatesForNotActiveRepo() [all …]
|
D | MobileConnectionsRepositoryTest.kt | 122 private lateinit var wifiRepository: WifiRepository in <lambda>() variable in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.MobileConnectionsRepositoryTest 192 wifiRepository = in <lambda>() 231 wifiRepository, in <lambda>() 256 wifiRepository, in <lambda>() 1233 wifiRepository, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/ |
D | WifiInteractor.kt | 73 wifiRepository: WifiRepository, 78 wifiRepository.wifiNetwork.map { info -> in info() 94 override val isEnabled: Flow<Boolean> = wifiRepository.isWifiEnabled 96 override val isDefault: Flow<Boolean> = wifiRepository.isWifiDefault 98 override val wifiNetwork: Flow<WifiNetworkModel> = wifiRepository.wifiNetwork 100 override val activity: StateFlow<DataActivityModel> = wifiRepository.wifiActivity 108 wifiRepository.wifiScanResults,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | CarrierMergedConnectionRepository.kt | 63 val wifiRepository: WifiRepository, in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository 80 wifiRepository.isWifiEnabled, in <lambda>() 81 wifiRepository.isWifiDefault, in <lambda>() 82 wifiRepository.wifiNetwork, in <lambda>() 118 wifiRepository.wifiNetwork in <lambda>() 138 override val dataActivityDirection = wifiRepository.wifiActivity in <lambda>() 191 override val dataEnabled: StateFlow<Boolean> = wifiRepository.isWifiEnabled in <lambda>() 208 private val wifiRepository: WifiRepository, in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository.Factory 220 wifiRepository, in <lambda>()
|
D | MobileConnectionsRepositoryImpl.kt | 108 wifiRepository: WifiRepository, in <lambda>() 133 wifiRepository.wifiNetwork, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | InternetTileNewImplTest.kt | 73 private var wifiRepository = FakeWifiRepository() variable in com.android.systemui.qs.tiles.InternetTileNewImplTest 75 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope) 135 wifiRepository.wifiScanResults.value = listOf() in noDefaultConnection_noNetworkAvailable() 149 wifiRepository.wifiScanResults.value = in noDefaultConnection_networksAvailable() 168 wifiRepository.setIsWifiEnabled(false) in airplaneMode_enabled_wifiDisabled() 183 wifiRepository.setIsWifiEnabled(true) in airplaneMode_enabled_wifiEnabledButNotConnected() 202 wifiRepository.setIsWifiEnabled(true) in airplaneMode_enabled_wifiEnabledAndConnected() 203 wifiRepository.setWifiNetwork(ACTIVE_WIFI) in airplaneMode_enabled_wifiEnabledAndConnected() 221 wifiRepository.setIsWifiEnabled(true) in wifiConnected() 222 wifiRepository.setWifiNetwork(ACTIVE_WIFI) in wifiConnected()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/ |
D | InternetTileViewModelTest.kt | 67 private val wifiRepository = FakeWifiRepository() constant in com.android.systemui.statusbar.pipeline.shared.ui.viewmodel.InternetTileViewModelTest 71 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope) 161 wifiRepository.setIsWifiDefault(true) in wifiDefaultAndActive() 162 wifiRepository.setWifiNetwork(networkModel) in wifiDefaultAndActive() 189 wifiRepository.setIsWifiDefault(true) in wifiDefaultAndActive_hotspotNone() 190 wifiRepository.setWifiNetwork(networkModel) in wifiDefaultAndActive_hotspotNone() 297 wifiRepository.setIsWifiDefault(true) in wifiDefaultAndNotActive_noNetworksAvailable() 298 wifiRepository.setWifiNetwork(networkModel) in wifiDefaultAndNotActive_noNetworksAvailable() 299 wifiRepository.wifiScanResults.value = emptyList() in wifiDefaultAndNotActive_noNetworksAvailable() 312 wifiRepository.setIsWifiDefault(true) in wifiDefaultAndNotActive_networksAvailable() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/view/ |
D | ModernStatusBarWifiViewTest.kt | 72 private lateinit var wifiRepository: FakeWifiRepository variable in com.android.systemui.statusbar.pipeline.wifi.ui.view.ModernStatusBarWifiViewTest 85 wifiRepository = FakeWifiRepository() in setUp() 86 wifiRepository.setIsWifiEnabled(true) in setUp() 88 interactor = WifiInteractorImpl(connectivityRepository, wifiRepository, scope) in setUp() 195 wifiRepository.setIsWifiEnabled(false) in isIconVisible_notEnabled_outputsFalse() 196 wifiRepository.setWifiNetwork( in isIconVisible_notEnabled_outputsFalse() 212 wifiRepository.setIsWifiEnabled(true) in isIconVisible_enabled_outputsTrue() 213 wifiRepository.setWifiNetwork( in isIconVisible_enabled_outputsTrue()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/wifi/domain/interactor/ |
D | WifiInteractorKosmos.kt | 22 import com.android.systemui.statusbar.pipeline.wifi.data.repository.wifiRepository 28 wifiRepository, in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/ |
D | InternetTileDataInteractorTest.kt | 84 private val wifiRepository = FakeWifiRepository() in <lambda>() constant in com.android.systemui.qs.tiles.impl.internet.domain.interactor.InternetTileDataInteractorTest 87 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope) in <lambda>() 197 wifiRepository.setIsWifiDefault(true) in <lambda>() 198 wifiRepository.setWifiNetwork(networkModel) in <lambda>() 231 wifiRepository.setIsWifiDefault(true) in <lambda>() 232 wifiRepository.setWifiNetwork(networkModel) in <lambda>() 406 wifiRepository.setIsWifiDefault(true) in <lambda>() 407 wifiRepository.setWifiNetwork(networkModel) in <lambda>() 408 wifiRepository.wifiScanResults.value = emptyList() in <lambda>() 424 wifiRepository.setIsWifiDefault(true) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/ui/viewmodel/ |
D | WifiViewModelIconParameterizedTest.kt | 75 private lateinit var wifiRepository: FakeWifiRepository in <lambda>() variable in com.android.systemui.statusbar.pipeline.wifi.ui.viewmodel.WifiViewModelIconParameterizedTest 85 wifiRepository = FakeWifiRepository() in <lambda>() 86 wifiRepository.setIsWifiEnabled(true) in <lambda>() 88 interactor = WifiInteractorImpl(connectivityRepository, wifiRepository, scope) in <lambda>() 109 wifiRepository.setIsWifiEnabled(testCase.enabled) in <lambda>() 110 wifiRepository.setIsWifiDefault(testCase.isDefault) in <lambda>() 138 wifiRepository.setWifiNetwork(testCase.network) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/ |
D | DeviceBasedSatelliteViewModelTest.kt | 57 private val wifiRepository = FakeWifiRepository() constant in com.android.systemui.statusbar.pipeline.satellite.ui.viewmodel.DeviceBasedSatelliteViewModelTest 59 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope) 286 wifiRepository.setWifiNetwork(WifiNetworkModel.Active(networkId = 0, level = 1)) in icon_wifiIsActive() 292 wifiRepository.setWifiNetwork(WifiNetworkModel.Invalid("test")) in icon_wifiIsActive() 509 wifiRepository.setWifiNetwork(WifiNetworkModel.Active(networkId = 0, level = 1)) in carrierText_wifiIsActive() 515 wifiRepository.setWifiNetwork(WifiNetworkModel.Invalid("test")) in carrierText_wifiIsActive()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/ |
D | WifiRepositoryKosmos.kt | 22 val Kosmos.wifiRepository: WifiRepository by Kosmos.Fixture { fakeWifiRepository } in <lambda>() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/ |
D | MobileRepositorySwitcherTest.kt | 84 private lateinit var wifiRepository: FakeWifiRepository variable in com.android.systemui.statusbar.pipeline.mobile.data.repository.MobileRepositorySwitcherTest 119 wifiRepository = FakeWifiRepository() in setUp() 138 wifiRepository, in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/ |
D | DeviceBasedSatelliteInteractorTest.kt | 57 private val wifiRepository = FakeWifiRepository() constant in com.android.systemui.statusbar.pipeline.satellite.domain.interactor.DeviceBasedSatelliteInteractorTest 59 WifiInteractorImpl(connectivityRepository, wifiRepository, testScope.backgroundScope) 557 wifiRepository.setWifiNetwork(WifiNetworkModel.Invalid("test")) in isWifiActive_falseWhenWifiNotActive() 569 wifiRepository.setWifiNetwork(WifiNetworkModel.Active(networkId = 0, level = 1)) in isWifiActive_trueWhenWifiIsActive()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextManager.java | 193 WifiRepository wifiRepository, in CarrierTextManager() argument 209 mWifiRepository = wifiRepository; in CarrierTextManager() 694 @Nullable WifiRepository wifiRepository, in Builder() argument 707 mWifiRepository = wifiRepository; in Builder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/dagger/ |
D | StatusBarPipelineModule.kt | 102 @Binds abstract fun wifiRepository(impl: WifiRepositorySwitcher): WifiRepository in airplaneModeRepository() method in com.android.systemui.statusbar.pipeline.dagger.StatusBarPipelineModule
|