/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiInfoTest.java | 79 private void addMloInfo(WifiInfo info) { in addMloInfo() 97 private void assertMloNoRedaction(WifiInfo info) { in assertMloNoRedaction() 118 private void assertMloLocalMacRedaction(WifiInfo info) { in assertMloLocalMacRedaction() 130 private void assertMloSensitiveLocationRedaction(WifiInfo info) { in assertMloSensitiveLocationRedaction() 141 private WifiInfo makeWifiInfoForRedactionTest( in makeWifiInfoForRedactionTest() 143 WifiInfo info = new WifiInfo(); in makeWifiInfoForRedactionTest() 176 private void assertNoRedaction(WifiInfo info, in assertNoRedaction() 230 WifiInfo writeWifiInfo = makeWifiInfoForRedactionTest(informationElements); in testWifiInfoRedactNoRedactions() 233 WifiInfo redactedWifiInfo = writeWifiInfo.makeCopy(NetworkCapabilities.REDACT_NONE); in testWifiInfoRedactNoRedactions() 239 WifiInfo readWifiInfo = WifiInfo.CREATOR.createFromParcel(parcel); in testWifiInfoRedactNoRedactions() [all …]
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/model/ |
D | WifiInfoRoboTest.java | 47 WifiInfo wifiInfo = WifiInfo.Builder.builder() in testBuilderWriteAndReadBack() 70 WifiInfo.Builder.builder() in testFailToConstructWifiInfoWithoutSsid() 84 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() in testEquals() 94 WifiInfo wifiInfo2 = WifiInfo.Builder.builder() in testEquals() 112 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() in testNotEquals() 122 WifiInfo wifiInfo2 = WifiInfo.Builder.builder() in testNotEquals() 140 WifiInfo expectedWifiInfo = WifiInfo.Builder.builder() in testParceable() 155 WifiInfo actualWifiInfo = WifiInfo.CREATOR.createFromParcel(parcel); in testParceable()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | AccessPoint.java | 24 import android.net.wifi.WifiInfo; 41 public static final int SECURITY_NONE = WifiInfo.SECURITY_TYPE_OPEN; 42 public static final int SECURITY_WEP = WifiInfo.SECURITY_TYPE_WEP; 43 public static final int SECURITY_PSK = WifiInfo.SECURITY_TYPE_PSK; 44 public static final int SECURITY_EAP = WifiInfo.SECURITY_TYPE_EAP; 45 public static final int SECURITY_OWE = WifiInfo.SECURITY_TYPE_OWE; 46 public static final int SECURITY_SAE = WifiInfo.SECURITY_TYPE_SAE; 48 WifiInfo.SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BIT; 157 public WifiInfo getInfo() { in getInfo() 195 return WifiInfo.SECURITY_TYPE_UNKNOWN; in getSingleSecurityTypeFromMultipleSecurityTypes() [all …]
|
D | ConnectivityListener.java | 33 import android.net.wifi.WifiInfo; 277 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in applyMacRandomizationSetting() 293 WifiInfo connectionInfo = mWifiManager.getConnectionInfo(); in isWifiConnected() 387 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiSignalStrength() 441 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in updateConnectivityStatus() 511 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getSsid()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiAnnotations.java | 153 WifiInfo.SECURITY_TYPE_UNKNOWN, 154 WifiInfo.SECURITY_TYPE_OPEN, 155 WifiInfo.SECURITY_TYPE_WEP, 156 WifiInfo.SECURITY_TYPE_PSK, 157 WifiInfo.SECURITY_TYPE_EAP, 158 WifiInfo.SECURITY_TYPE_SAE, 159 WifiInfo.SECURITY_TYPE_OWE, 160 WifiInfo.SECURITY_TYPE_WAPI_PSK, 161 WifiInfo.SECURITY_TYPE_WAPI_CERT, 162 WifiInfo.SECURITY_TYPE_EAP_WPA3_ENTERPRISE, [all …]
|
D | MloLink.java | 126 mRssi = WifiInfo.INVALID_RSSI; in MloLink() 127 mRxLinkSpeed = WifiInfo.LINK_SPEED_UNKNOWN; in MloLink() 128 mTxLinkSpeed = WifiInfo.LINK_SPEED_UNKNOWN; in MloLink() 318 if (rssi < WifiInfo.INVALID_RSSI) rssi = WifiInfo.INVALID_RSSI; in setRssi() 319 if (rssi > WifiInfo.MAX_RSSI) rssi = WifiInfo.MAX_RSSI; in setRssi() 523 WifiInfo.LINK_SPEED_UNITS); in toString() 525 WifiInfo.LINK_SPEED_UNITS); in toString()
|
D | WifiInfo.java | 81 public class WifiInfo implements TransportInfo, Parcelable { class 501 public WifiInfo() { in WifiInfo() method in WifiInfo 577 public WifiInfo(WifiInfo source) { in WifiInfo() method in WifiInfo 585 private WifiInfo(WifiInfo source, long redactions) { in WifiInfo() method in WifiInfo 661 private final WifiInfo mWifiInfo = new WifiInfo(); 771 public WifiInfo build() { in build() 772 return new WifiInfo(mWifiInfo); in build() 1679 public static final @android.annotation.NonNull Creator<WifiInfo> CREATOR = 1680 new Creator<WifiInfo>() { 1681 public WifiInfo createFromParcel(Parcel in) { [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | WifiInfoTest.java | 47 WifiInfo wifiInfo = WifiInfo.Builder.builder() in testBuilderWriteAndReadBack() 86 WifiInfo wifiInfo = WifiInfo.Builder.builder() in testFailToConstructWifiInfoWithoutSsid() 111 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() in testEquals() 128 WifiInfo wifiInfo2 = WifiInfo.Builder.builder() in testEquals() 153 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() in testNotEquals() 170 WifiInfo wifiInfo2 = WifiInfo.Builder.builder() in testNotEquals() 195 WifiInfo expectedWifiInfo = WifiInfo.Builder.builder() in testParceable() 217 WifiInfo actualWifiInfo = WifiInfo.CREATOR.createFromParcel(parcel); in testParceable()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | WifiTileTest.java | 29 import android.net.wifi.WifiInfo; 74 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_wifiNotConnected_returnsTile() 89 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_wifiConnected_returnsTile() 106 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsTile() 124 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow() 142 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_osuWifiConnected_hasFriendlyName_returnsTile() 160 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_osuWifiConnected_noFriendlyName_returnsTile() 209 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_createsTile_zoneWrite() 225 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_createsTile_zoneRead() 242 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_createsTile_zoneHidden()
|
D | WifiRowTest.java | 29 import android.net.wifi.WifiInfo; 85 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_wifiNotConnected_returnsRow() 101 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_wifiConnected_returnsRow() 119 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsRow() 138 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow() 157 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_osuWifiConnected_hasFriendlyName_returnsRow() 176 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_osuWifiConnected_noFriendlyName_returnsRow() 228 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_createsRow_zoneWrite() 247 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_createsRow_zoneRead() 267 WifiInfo wifiInfo = mock(WifiInfo.class); in getQCItem_createsRow_zoneHidden()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | WifiInfo.java | 49 public final class WifiInfo extends PersistableBundlable { class 53 public static final Parcelable.Creator<WifiInfo> CREATOR 54 = new Parcelable.Creator<WifiInfo>() { 56 public WifiInfo createFromParcel(Parcel in) { 57 return new WifiInfo(in); 61 public WifiInfo[] newArray(int size) { 62 return new WifiInfo[size]; 161 /* package */ static WifiInfo fromPersistableBundle(PersistableBundle bundle) { in fromPersistableBundle() 185 private WifiInfo(Builder builder) { in WifiInfo() method in WifiInfo 205 private WifiInfo(Parcel in) { in WifiInfo() method in WifiInfo [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | RssiUtil.java | 20 import android.net.wifi.WifiInfo; 33 if (rssi > WifiInfo.INVALID_RSSI && rssi < WifiInfo.MAX_RSSI) { in calculateAdjustedRssi() 40 if (rssi > (WifiInfo.INVALID_RSSI + 256)) { in calculateAdjustedRssi() 45 return WifiInfo.INVALID_RSSI; in calculateAdjustedRssi()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProviderTest.java | 29 import com.android.managedprovisioning.model.WifiInfo; 67 private static final WifiInfo.Builder BASE_BUILDER = new WifiInfo.Builder() 71 private static final WifiInfo WIFI_INFO_WPA = BASE_BUILDER 76 private static final WifiInfo WIFI_INFO_WEP = BASE_BUILDER 81 private static final WifiInfo WIFI_INFO_WEP_2 = BASE_BUILDER 86 private static final WifiInfo WIFI_INFO_NONE = BASE_BUILDER 90 private static final WifiInfo WIFI_INFO_NULL = BASE_BUILDER 93 private static final WifiInfo WIFI_INFO_PAC = BASE_BUILDER 97 private static final WifiInfo WIFI_INFO_PROXY = BASE_BUILDER 103 private static final WifiInfo.Builder BASE_EAP_BUILDER = new WifiInfo.Builder() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | WifiQCUtils.java | 20 import android.net.wifi.WifiInfo; 47 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in getSubtitle() 60 return WifiInfo.sanitizeSsid(wifiName); in getSubtitle() 73 WifiInfo wifiInfo = wifiManager.getConnectionInfo(); in getIcon() 78 if (rssi == WifiInfo.INVALID_RSSI) { in getIcon()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | RssiUtilTest.java | 30 import android.net.wifi.WifiInfo; 128 assertThat(RssiUtil.calculateAdjustedRssi(WifiInfo.INVALID_RSSI - 1)) in testCalculateAdjustedRssi() 129 .isEqualTo(WifiInfo.INVALID_RSSI); in testCalculateAdjustedRssi() 130 assertThat(RssiUtil.calculateAdjustedRssi(WifiInfo.INVALID_RSSI + 1)) in testCalculateAdjustedRssi() 131 .isEqualTo(WifiInfo.INVALID_RSSI + 1); in testCalculateAdjustedRssi()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowWifiManager.java | 24 import android.net.wifi.WifiInfo; 51 private WifiInfo mActiveWifiInfo; 71 WifiInfo wifiInfo = getConnectionInfo(); in connect() 154 public WifiInfo getActiveWifiInfo() { in getActiveWifiInfo()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/security/ |
D | WifiSecurityHelper.java | 21 import android.net.wifi.WifiInfo; 103 case WifiInfo.SECURITY_TYPE_WEP: in getConfig() 112 case WifiInfo.SECURITY_TYPE_PSK: in getConfig() 119 case WifiInfo.SECURITY_TYPE_SAE: in getConfig()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | WifiQualityMonitorTest.java | 35 import android.net.wifi.WifiInfo; 63 private WifiInfo mWifiInfo; 98 mWifiInfo = new WifiInfo.Builder().setRssi(mSetRssi).build(); in setUp() 241 mWifiInfo = new WifiInfo.Builder().setRssi(mSetRssi).build(); in testBackhaulTimer() 293 mWifiInfo = new WifiInfo.Builder().setRssi(mSetRssi).build(); in testValidateWqmStatus_ValidRange() 305 mWifiInfo = new WifiInfo.Builder().setRssi(mSetRssi).build(); in testValidateWqmStatus_InValidRssiWithValidThreshold()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | MultiInternetManager.java | 27 import android.net.wifi.WifiInfo; 223 final WifiInfo info = clientModeManager.getConnectionInfo(); in onInternetValidated() 429 final WifiInfo info = clientModeManager.getConnectionInfo(); in notifyBssidAssociatedEvent() 436 final WifiInfo info2 = secondaryCcmm.getConnectionInfo(); in notifyBssidAssociatedEvent() 508 WifiInfo info = clientModeManager.getConnectionInfo(); in updateNetworkConnectionStates() 599 WifiInfo wifiInfo = cmm.getConnectionInfo(); in disconnectSecondaryIfNeeded() 625 final WifiInfo info = secondaryCcmm.getConnectionInfo(); in getSecondaryConnectedNetworkBand()
|
D | AggressiveConnectedScore.java | 19 import android.net.wifi.WifiInfo; 42 public void updateUsingWifiInfo(WifiInfo wifiInfo, long millis) { in updateUsingWifiInfo()
|
D | VelocityBasedConnectedScore.java | 20 import android.net.wifi.WifiInfo; 110 public void updateUsingWifiInfo(WifiInfo wifiInfo, long millis) { in updateUsingWifiInfo() 157 private void adjustThreshold(WifiInfo wifiInfo) { in adjustThreshold()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | VelocityBasedConnectedScoreTest.java | 25 import android.net.wifi.WifiInfo; 58 WifiInfo mWifiInfo; 88 mWifiInfo = new WifiInfo(); in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectivityListener.java | 34 import android.net.wifi.WifiInfo; 246 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in applyMacRandomizationSetting() 262 WifiInfo connectionInfo = mWifiManager.getConnectionInfo(); in isWifiConnected() 357 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiSignalStrength() 411 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in updateConnectivityStatus() 507 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getSsid()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/contracts/ |
D | ProvisioningArgumentsSerializer.kt | 7 import com.android.managedprovisioning.model.WifiInfo 34 val wifiInfo: WifiInfo? 47 wifiInfo: WifiInfo?, in invoke()
|
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/utils/ |
D | Utils.java | 18 import android.net.wifi.WifiInfo; 42 builder.setSsid(WifiInfo.sanitizeSsid(elements[0])); in buildWifiSuggestion()
|