/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiStatusTrackerTest.java | 239 assertThat(mWifiStatusTracker.isDefaultNetwork).isTrue(); in isDefaultNetwork_typicalWifi_true() 253 assertThat(mWifiStatusTracker.isDefaultNetwork).isFalse(); in isDefaultNetwork_typicalCellular_false() 272 assertThat(mWifiStatusTracker.isDefaultNetwork).isTrue(); in isDefaultNetwork_cellularCarrierMergedWifi_true() 306 assertThat(mWifiStatusTracker.isDefaultNetwork).isTrue(); in isDefaultNetwork_cellularWithUnderlyingCarrierMergedWifi_true()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 163 public boolean isDefaultNetwork; field in WifiStatusTracker 305 isDefaultNetwork = mDefaultNetworkCapabilities != null in updateStatusLabel() 307 if (isDefaultNetwork) { in updateStatusLabel() 332 } else if (!isDefaultNetwork && mDefaultNetworkCapabilities != null in updateStatusLabel()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/ |
D | WifiRepositoryImplTest.kt | 192 mock<WifiEntry>().apply { whenever(this.isDefaultNetwork).thenReturn(true) } in isWifiDefault_wifiNetwork_isTrue() 206 whenever(this.isDefaultNetwork).thenReturn(true) in isWifiDefault_carrierMerged_isTrue() 220 mock<WifiEntry>().apply { whenever(this.isDefaultNetwork).thenReturn(false) } in isWifiDefault_wifiNetworkNotDefault_isFalse() 234 whenever(this.isDefaultNetwork).thenReturn(false) in isWifiDefault_carrierMergedNotDefault_isFalse() 249 mock<WifiEntry>().apply { whenever(this.isDefaultNetwork).thenReturn(true) } in isWifiDefault_noWifiNetwork_isFalse() 534 whenever(this.isDefaultNetwork).thenReturn(true) in wifiNetwork_isCarrierMerged_flowHasCarrierMerged() 553 whenever(this.isDefaultNetwork).thenReturn(true) in wifiNetwork_isCarrierMerged_getsMaxSignalLevel() 575 whenever(this.isDefaultNetwork).thenReturn(true) in wifiNetwork_carrierMergedButInvalidSubId_flowHasInvalid() 728 whenever(this.isDefaultNetwork).thenReturn(true) in wifiNetwork_currentCarrierMergedNetworkLost_flowHasNoNetwork() 785 whenever(this.isDefaultNetwork).thenReturn(true) in wifiNetwork_carrierMerged_default_usesCarrierMergedInfo() [all …]
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | WifiEntry.java | 370 public boolean isDefaultNetwork() { in isDefaultNetwork() method in WifiEntry 407 return isPrimaryNetwork() && hasInternetAccess() && !isDefaultNetwork() in isLowQuality() 809 .append(isDefaultNetwork()) in getNetworkCapabilityDescription() 1272 if (isDefaultNetwork()) { in toString()
|
D | Utils.java | 255 boolean isDefaultNetwork, in getConnectedDescription() argument 281 shouldShowConnected = isDefaultNetwork; in getConnectedDescription() 291 if (shouldShowConnected || (isDefaultNetwork && isPartialConnectivity)) { in getConnectedDescription()
|
D | PasspointWifiEntry.java | 198 isDefaultNetwork(), in getSummary()
|
D | StandardWifiEntry.java | 210 isDefaultNetwork(), in getSummary()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | SavedNetworkTrackerTest.java | 721 assertThat(connectedWifiEntry.isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 727 assertThat(connectedWifiEntry.isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 739 assertThat(connectedWifiEntry.isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 744 assertThat(connectedWifiEntry.isDefaultNetwork()).isTrue(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 748 assertThat(connectedWifiEntry.isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges()
|
D | WifiPickerTrackerTest.java | 895 assertThat(wifiPickerTracker.getConnectedWifiEntry().isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 902 assertThat(wifiPickerTracker.getConnectedWifiEntry().isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 914 assertThat(wifiPickerTracker.getConnectedWifiEntry().isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 919 assertThat(wifiPickerTracker.getConnectedWifiEntry().isDefaultNetwork()).isTrue(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 923 assertThat(wifiPickerTracker.getConnectedWifiEntry().isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 927 assertThat(wifiPickerTracker.getWifiEntries().get(0).isDefaultNetwork()).isFalse(); in testGetConnectedEntry_defaultNetworkChanges_isDefaultNetworkChanges() 966 assertThat(wifiPickerTracker.getConnectedWifiEntry().isDefaultNetwork()).isTrue(); in testGetConnectedEntry_defaultNetworkHasUnderlyingWifi_becomesDefaultNetwork() 973 assertThat(wifiPickerTracker.getConnectedWifiEntry().isDefaultNetwork()).isTrue(); in testGetConnectedEntry_defaultNetworkHasUnderlyingWifi_becomesDefaultNetwork() 1064 assertThat(wifiPickerTracker.getConnectedWifiEntry().isDefaultNetwork()).isFalse(); in testGetConnectedEntry_wifiValidatedCellDefault_isLowQuality() 2223 assertThat(mergedCarrierEntry.isDefaultNetwork()).isFalse(); in testGetMergedCarrierEntry_wifiIsDefault_entryIsDefaultNetwork() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/ |
D | WifiRepositoryImpl.kt | 136 newIsDefault = connectedEntry?.isDefaultNetwork ?: false, in <lambda>() 229 return if (mergedEntry != null && mergedEntry.isDefaultNetwork) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/ |
D | InternetDialogDelegateControllerTest.java | 210 when(mConnectedEntry.isDefaultNetwork()).thenReturn(true); in setUp() 508 when(mMergedCarrierEntry.isDefaultNetwork()).thenReturn(true); in getSubtitleText_withCarrierNetworkActiveOnly_returnNoOtherAvailable() 703 when(mWifiEntry1.isDefaultNetwork()).thenReturn(true); in onAccessPointsChanged_wifiIsDefaultButNoInternetAccess_putIntoWifiEntries() 720 when(mWifiEntry1.isDefaultNetwork()).thenReturn(true); in onAccessPointsChanged_connectedWifiNoInternetAccess_shouldSetListener() 733 when(mWifiEntry1.isDefaultNetwork()).thenReturn(true); in onUpdated_connectedWifiHasInternetAccess_shouldScanWifiAccessPoints()
|
D | InternetAdapterTest.java | 82 when(mInternetWifiEntry.isDefaultNetwork()).thenReturn(true); in setUp()
|
D | InternetDialogDelegateTest.java | 115 when(mInternetWifiEntry.isDefaultNetwork()).thenReturn(true); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | WifiSignalController.java | 230 mCurrentState.isDefault = mWifiTracker.isDefaultNetwork; in copyWifiStates()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/ |
D | InternetDialogController.java | 859 return mergedCarrierEntry != null && mergedCarrierEntry.isDefaultNetwork(); 1141 if (connectedEntry == null && entry.isDefaultNetwork() 1283 || (entry.isDefaultNetwork() && entry.hasInternetAccess())) { 1309 if (entry.isDefaultNetwork() && entry.hasInternetAccess()) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileConnectionsRepositoryTest.kt | 1401 whenever(this.isDefaultNetwork).thenReturn(true) in <lambda>() 1410 whenever(this.isDefaultNetwork).thenReturn(true) in <lambda>()
|