Home
last modified time | relevance | path

Searched refs:networkName (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractor.kt101 val networkName: StateFlow<NetworkNameModel> in <lambda>() constant
172 override val networkName = constant
173 combine(connectionRepository.operatorAlphaShort, connectionRepository.networkName) {
175 networkName -> in operatorAlphaShort() method
176 if (networkName is NetworkNameModel.Default && operatorAlphaShort != null) { in operatorAlphaShort()
179 networkName
185 connectionRepository.networkName.value
191 networkName -> in operatorAlphaShort() method
192 if (networkName is NetworkNameModel.Default && operatorAlphaShort != null) { in operatorAlphaShort()
195 networkName.name
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DMobileState.kt36 @JvmField var networkName: String? = null, variable in com.android.systemui.statusbar.connectivity.MobileState
86 networkName = o.networkName in copyFrom()
168 builder.append("networkName=$networkName,") in toString()
220 networkName, in tableData()
249 if (networkName != other.networkName) return false in equals()
271 result = 31 * result + (networkName?.hashCode() ?: 0) in hashCode()
DMobileSignalController.java148 String networkName = info.getCarrierName() != null ? info.getCarrierName().toString() in MobileSignalController() local
150 mLastState.networkName = mCurrentState.networkName = networkName; in MobileSignalController()
151 mLastState.networkNameData = mCurrentState.networkNameData = networkName; in MobileSignalController()
315 qsDescription = mCurrentState.networkName; in getQsInfo()
425 mCurrentState.networkName = str.toString(); in updateNetworkName()
427 mCurrentState.networkName = mNetworkNameDefault; in updateNetworkName()
511 if (mCurrentState.networkName.equals(mNetworkNameDefault) in updateTelephony()
513 mCurrentState.networkName = mCurrentState.getOperatorAlphaShort(); in updateTelephony()
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
DHotspotNetwork.java153 public Builder setNetworkName(@NonNull String networkName) { in setNetworkName() argument
154 mNetworkName = networkName; in setNetworkName()
224 private static void validate(long deviceId, @NetworkType int networkType, String networkName, in validate() argument
236 if (Objects.isNull(networkName)) { in validate()
245 @NonNull String networkName, in HotspotNetwork() argument
252 networkName, in HotspotNetwork()
257 mNetworkName = networkName; in HotspotNetwork()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModel.kt117 it.networkName, in <lambda>()
151 networkName: String?, in <lambda>()
155 return networkName ?: "" in <lambda>()
157 if (networkName == null) { in <lambda>()
164 networkName, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractor.kt119 it.networkName, in <lambda>()
165 networkName: String?, in <lambda>()
169 return networkName ?: "" in <lambda>()
171 if (networkName == null) { in <lambda>()
178 networkName, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DFullMobileConnectionRepository.kt331 override val networkName = in <lambda>() constant
333 .flatMapLatest { it.networkName } in <lambda>()
337 initialValue = activeRepo.value.networkName.value, in <lambda>()
339 .stateIn(scope, SharingStarted.WhileSubscribed(), activeRepo.value.networkName.value) in <lambda>()
DCarrierMergedConnectionRepository.kt103 override val networkName: StateFlow<NetworkNameModel> = in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.CarrierMergedConnectionRepository
115 override val carrierName: StateFlow<NetworkNameModel> = networkName in <lambda>()
DMobileConnectionRepositoryImpl.kt379 override val networkName: StateFlow<NetworkNameModel> = in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionRepository.kt224 override val networkName = MutableStateFlow(NetworkNameModel.IntentDerived(DEMO_CARRIER_NAME)) in <lambda>() constant in com.android.systemui.statusbar.pipeline.mobile.data.repository.demo.DemoMobileConnectionRepository
246 networkName.value = NetworkNameModel.IntentDerived(event.name) in <lambda>()
278 networkName.value = NetworkNameModel.IntentDerived(CARRIER_MERGED_NAME) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DFakeMobileIconInteractor.kt53 override val networkName = MutableStateFlow(NetworkNameModel.IntentDerived("demo mode")) constant in com.android.systemui.statusbar.pipeline.mobile.domain.interactor.FakeMobileIconInteractor
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DMobileConnectionRepository.kt140 val networkName: StateFlow<NetworkNameModel> constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
DFakeMobileConnectionRepository.kt58 override val networkName: MutableStateFlow<NetworkNameModel> = 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/
DMobileConnectionRepositoryTest.kt799 val job = underTest.networkName.onEach { latest = it }.launchIn(this) in networkName_default()
810 val job = underTest.networkName.onEach { latest = it }.launchIn(this) in networkName_usesBroadcastInfo_returnsDerived()
826 val job = underTest.networkName.onEach { latest = it }.launchIn(this) in networkName_broadcastNotForThisSubId_keepsOldValue()
850 val job = underTest.networkName.onEach { latest = it }.launchIn(this) in networkName_broadcastHasNoData_updatesToDefault()
879 assertThat(underTest.networkName.value).isEqualTo(DEFAULT_NAME_MODEL) in networkName_usingEagerStrategy_retainsNameBetweenSubscribers()
887 assertThat(underTest.networkName.value).isEqualTo(intent.toNetworkNameModel(SEP)) in networkName_usingEagerStrategy_retainsNameBetweenSubscribers()
DCarrierMergedConnectionRepositoryTest.kt293 val job = underTest.networkName.onEach { latest = it }.launchIn(this) in networkName_usesSimOperatorNameAsInitial()
306 val job = underTest.networkName.onEach { latest = it }.launchIn(this) in networkName_updatesOnNetworkUpdate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionParameterizedTest.kt142 launch { conn.networkName.collect {} } in TestScope()
166 assertThat(conn.networkName.value) in TestScope()
DDemoMobileConnectionsRepositoryTest.kt551 launch { conn.networkName.collect {} } in <lambda>()
577 assertThat(conn.networkName.value) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconInteractorTest.kt462 val job = underTest.networkName.onEach { latest = it }.launchIn(this) in networkName_usesOperatorAlphaShortWhenNonNullAndRepoIsDefault()
467 connectionRepository.networkName.value = DEFAULT_NAME_MODEL in networkName_usesOperatorAlphaShortWhenNonNullAndRepoIsDefault()
478 connectionRepository.networkName.value = DERIVED_NAME_MODEL in networkName_usesOperatorAlphaShortWhenNonNullAndRepoIsDefault()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/internet/domain/interactor/
DInternetTileDataInteractorTest.kt463 networkName.value = NetworkNameModel.Default("test network") in <lambda>()
489 networkName.value = NetworkNameModel.Default("test network") in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
DInternetTileViewModelTest.kt338 networkName.value = NetworkNameModel.Default("test network") in mobileDefault_usesNetworkNameAndIcon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerBaseTest.java674 assertEquals("Network name", expected, mMobileSignalController.getState().networkName); in assertNetworkNameEquals()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...