Home
last modified time | relevance | path

Searched refs:isCarrierMerged (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DWifiState.kt26 @JvmField var isCarrierMerged: Boolean = false, variable in com.android.systemui.statusbar.connectivity.WifiState
45 isCarrierMerged = state.isCarrierMerged in copyFrom()
56 .append(",isCarrierMerged=").append(isCarrierMerged) in toString()
78 isCarrierMerged, in tableData()
98 if (isCarrierMerged != other.isCarrierMerged) return false in equals()
111 result = 31 * result + isCarrierMerged.hashCode() in hashCode()
DWifiSignalController.java90 if (mCurrentState.isCarrierMerged) { in notifyListeners()
236 mCurrentState.isCarrierMerged = mWifiTracker.isCarrierMerged; in copyWifiStates()
239 mCurrentState.isCarrierMerged ? mCarrierMergedWifiIconGroup in copyWifiStates()
245 && mCurrentState.isCarrierMerged && (mCurrentState.subId == subId); in isCarrierMergedWifi()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt351 setWifiState(isCarrierMerged = true) in <lambda>()
364 setWifiState(isCarrierMerged = true) in <lambda>()
518 setWifiState(isCarrierMerged = true) in <lambda>()
535 setWifiState(isCarrierMerged = true) in <lambda>()
552 setWifiState(isCarrierMerged = true) in <lambda>()
564 setWifiState(isCarrierMerged = false) in <lambda>()
580 setWifiState(isCarrierMerged = false) in <lambda>()
593 setWifiState(isCarrierMerged = true) in <lambda>()
680 setWifiState(isCarrierMerged = true) in <lambda>()
901 mock<WifiInfo>().apply { whenever(this.isCarrierMerged).thenReturn(true) } in <lambda>()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/
DWifiStatusTrackerTest.java155 assertThat(mWifiStatusTracker.isCarrierMerged).isFalse(); in isCarrierMerged_typicalWifi_false()
169 assertThat(mWifiStatusTracker.isCarrierMerged).isFalse(); in isCarrierMerged_typicalCellular_false()
176 when(primaryWifiInfo.isCarrierMerged()).thenReturn(true); in isCarrierMerged_cellularCarrierMergedWifi_true()
188 assertThat(mWifiStatusTracker.isCarrierMerged).isTrue(); in isCarrierMerged_cellularCarrierMergedWifi_true()
196 when(underlyingCarrierMergedInfo.isCarrierMerged()).thenReturn(true); in isCarrierMerged_cellularWithUnderlyingCarrierMergedWifi_true()
221 assertThat(mWifiStatusTracker.isCarrierMerged).isTrue(); in isCarrierMerged_cellularWithUnderlyingCarrierMergedWifi_true()
260 when(primaryWifiInfo.isCarrierMerged()).thenReturn(true); in isDefaultNetwork_cellularCarrierMergedWifi_true()
280 when(underlyingCarrierMergedInfo.isCarrierMerged()).thenReturn(true); in isDefaultNetwork_cellularWithUnderlyingCarrierMergedWifi_true()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DFullMobileConnectionRepository.kt64 fun setIsCarrierMerged(isCarrierMerged: Boolean) { in <lambda>()
65 _isCarrierMerged.value = isCarrierMerged in <lambda>()
74 private val isCarrierMerged: StateFlow<Boolean> = in <lambda>() constant
107 this.isCarrierMerged in <lambda>()
108 .mapLatest { isCarrierMerged -> in <lambda>() method
109 if (isCarrierMerged) { in <lambda>()
DMobileConnectionsRepositoryImpl.kt420 isCarrierMerged(subId), in <lambda>()
429 repo.get()?.setIsCarrierMerged(isCarrierMerged(subId)) in <lambda>()
433 private fun isCarrierMerged(subId: Int): Boolean { in <lambda>() method
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java164 public boolean isCarrierMerged; field in WifiStatusTracker
246 isCarrierMerged = mWifiInfo.isCarrierMerged(); in fetchInitialState()
276 isCarrierMerged = mWifiInfo.isCarrierMerged(); in updateWifiInfo()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DMergedCarrierEntryTest.java75 when(mMockWifiInfo.isCarrierMerged()).thenReturn(true); in testGetConnectedState_wifiInfoMatches_returnsConnected()
129 when(mMockWifiInfo.isCarrierMerged()).thenReturn(true); in testGetSsid_connected_returnsSanitizedWifiInfoSsid()
DWifiPickerTrackerTest.java1996 when(mMockWifiInfo.isCarrierMerged()).thenReturn(true); in testGetMergedCarrierEntry_wifiInfoHasMatchingSubId_entryIsConnected()
2205 when(mMockWifiInfo.isCarrierMerged()).thenReturn(true); in testGetMergedCarrierEntry_wifiIsDefault_entryIsDefaultNetwork()
2257 when(mMockWifiInfo.isCarrierMerged()).thenReturn(true); in testGetMergedCarrierEntry_vcnWifiIsDefault_entryIsDefaultNetwork()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/data/repository/
DConnectivityRepositoryImplTest.kt336 mock<WifiInfo>().apply { whenever(this.isCarrierMerged).thenReturn(true) } in defaultConnections_carrierMergedViaWifi_wifiAndCarrierMergedDefault()
361 mock<WifiInfo>().apply { whenever(this.isCarrierMerged).thenReturn(true) } in defaultConnections_carrierMergedViaMobile_mobileCarrierMergedWifiDefault()
386 mock<WifiInfo>().apply { whenever(this.isCarrierMerged).thenReturn(true) } in defaultConnections_carrierMergedViaWifiWithVcnTransport_wifiAndCarrierMergedDefault()
411 mock<WifiInfo>().apply { whenever(this.isCarrierMerged).thenReturn(true) } in defaultConnections_carrierMergedViaMobileWithVcnTransport_mobileCarrierMergedWifiDefault()
436 mock<WifiInfo>().apply { whenever(this.isCarrierMerged).thenReturn(false) } in defaultConnections_notCarrierMergedViaWifi_carrierMergedNotDefault()
459 mock<WifiInfo>().apply { whenever(this.isCarrierMerged).thenReturn(false) } in defaultConnections_notCarrierMergedViaMobile_carrierMergedNotDefault()
537 mock<WifiInfo>().apply { whenever(this.isCarrierMerged).thenReturn(true) } in defaultConnections_cellular_underlyingCarrierMergedViaWifi_allDefault()
574 mock<WifiInfo>().apply { whenever(this.isCarrierMerged).thenReturn(true) } in defaultConnections_cellular_underlyingCarrierMergedViaMobileWithVcnTransport_allDefault()
947 mock<WifiInfo>().apply { whenever(this.isCarrierMerged).thenReturn(true) } in getMainOrUnderlyingWifiInfo_cellular_underlyingCellularWithCarrierMerged_hasInfo()
967 assertThat(result!!.isCarrierMerged).isTrue() in getMainOrUnderlyingWifiInfo_cellular_underlyingCellularWithCarrierMerged_hasInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerWifiTest.java285 when(underlyingCarrierMergedInfo.isCarrierMerged()).thenReturn(true); in vcnOnlyOnUnderlyingNetwork()
397 when(mWifiInfo.isCarrierMerged()).thenReturn(true); in setWifiLevelForVcn()
415 when(mWifiInfo.isCarrierMerged()).thenReturn(true); in setWifiStateForVcn()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DMergedCarrierEntry.java155 return wifiInfo.isCarrierMerged() && mSubscriptionId == wifiInfo.getSubscriptionId(); in connectionInfoMatches()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/repository/
DConnectivityRepository.kt198 val isCarrierMergedDefault = wifiInfo?.isCarrierMerged == true in networkCapabilities()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...