Home
last modified time | relevance | path

Searched refs:WifiInfo (Results 1 – 25 of 68) sorted by relevance

123

/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/model/
DWifiInfoRoboTest.java47 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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java46 WifiInfo wifiInfo = WifiInfo.Builder.builder() in testBuilderWriteAndReadBack()
85 WifiInfo wifiInfo = WifiInfo.Builder.builder() in testFailToConstructWifiInfoWithoutSsid()
110 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() in testEquals()
127 WifiInfo wifiInfo2 = WifiInfo.Builder.builder() in testEquals()
152 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() in testNotEquals()
169 WifiInfo wifiInfo2 = WifiInfo.Builder.builder() in testNotEquals()
194 WifiInfo expectedWifiInfo = WifiInfo.Builder.builder() in testParceable()
216 WifiInfo actualWifiInfo = WifiInfo.CREATOR.createFromParcel(parcel); in testParceable()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java48 public final class WifiInfo extends PersistableBundlable { class
52 public static final Parcelable.Creator<WifiInfo> CREATOR
53 = new Parcelable.Creator<WifiInfo>() {
55 public WifiInfo createFromParcel(Parcel in) {
56 return new WifiInfo(in);
60 public WifiInfo[] newArray(int size) {
61 return new WifiInfo[size];
160 /* package */ static WifiInfo fromPersistableBundle(PersistableBundle bundle) { in fromPersistableBundle()
184 private WifiInfo(Builder builder) { in WifiInfo() method in WifiInfo
204 private WifiInfo(Parcel in) { in WifiInfo() method in WifiInfo
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java29 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/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java31 import android.net.wifi.WifiInfo;
253 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in applyMacRandomizationSetting()
269 WifiInfo connectionInfo = mWifiManager.getConnectionInfo(); in isWifiConnected()
334 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiSignalStrength()
388 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in updateConnectivityStatus()
457 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getSsid()
463 ssid = WifiInfo.sanitizeSsid(ssid); in getSsid()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiInfoProvider.java35 import android.net.wifi.WifiInfo;
66 void onWifiChanged(NetworkInfo networkInfo, WifiInfo wifiInfo); in onWifiChanged()
82 NetworkInfo networkInfo, WifiInfo wifiInfo); in onWifiConfigurationChanged()
107 private WifiInfo mWifiInfo;
263 public WifiInfo getWifiInfo() { in getWifiInfo()
DWifiDetailsBasePreferenceController.java26 import android.net.wifi.WifiInfo;
89 NetworkInfo networkInfo, WifiInfo wifiInfo) { in onWifiConfigurationChanged()
103 public void onWifiChanged(NetworkInfo networkInfo, WifiInfo wifiInfo) { in onWifiChanged()
DWifiDetailsFragment.java25 import android.net.wifi.WifiInfo;
187 public void onWifiChanged(NetworkInfo networkInfo, WifiInfo wifiInfo) { in onWifiChanged()
208 NetworkInfo networkInfo, WifiInfo wifiInfo) { in onWifiConfigurationChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiInfoPreferenceController.java23 import android.net.wifi.WifiInfo;
99 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in updateWifiInfo()
104 if (macRandomizationSupported && WifiInfo.DEFAULT_MAC_ADDRESS.equals(macAddress)) { in updateWifiInfo()
107 || WifiInfo.DEFAULT_MAC_ADDRESS.equals(macAddress)) { in updateWifiInfo()
DWifiSummaryUpdater.java25 import android.net.wifi.WifiInfo;
93 String ssid = WifiInfo.sanitizeSsid(mWifiTracker.ssid); in getSummary()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java24 import android.net.wifi.WifiInfo;
51 private WifiInfo mActiveWifiInfo;
71 WifiInfo wifiInfo = getConnectionInfo(); in connect()
154 public WifiInfo getActiveWifiInfo() { in getActiveWifiInfo()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java40 import android.net.wifi.WifiInfo;
129 WifiInfo wifiInfo = new WifiInfo.Builder() in setupConnectedAccessPoint()
303 WifiInfo wifiInfo = new WifiInfo.Builder() in wrongPasswordSavedNetwork()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java29 import com.android.managedprovisioning.model.WifiInfo;
103 public WifiConfiguration generateWifiConfiguration(WifiInfo wifiInfo) { in generateWifiConfiguration()
134 private void maybeUpdateForEAPConfiguration(WifiConfiguration wifiConf, WifiInfo wifiInfo) { in maybeUpdateForEAPConfiguration()
144 WifiConfiguration wifiConf, WifiInfo wifiInfo) in maybeUpdateForEAPConfigurationOrThrow()
165 WifiEnterpriseConfig wifiEnterpriseConfig, WifiInfo wifiInfo) in updateWifiEnterpriseConfigFromWifiInfo()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/details/
DWifiInfoProviderTest.java40 import android.net.wifi.WifiInfo;
64 private static final String MAC_ADDRESS = WifiInfo.DEFAULT_MAC_ADDRESS;
80 private WifiInfo mMockWifiInfo;
82 private WifiInfo mMockWifiInfo2;
DWifiMacAddressPreferenceControllerTest.java27 import android.net.wifi.WifiInfo;
54 private WifiInfo mMockWifiInfo;
DWifiSignalStrengthPreferenceControllerTest.java27 import android.net.wifi.WifiInfo;
55 private WifiInfo mMockWifiInfo;
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DDeviceOwnerProvisioningControllerTest.java32 import com.android.managedprovisioning.model.WifiInfo;
56 private static final WifiInfo TEST_WIFI_INFO = new WifiInfo.Builder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParser.java74 import com.android.managedprovisioning.model.WifiInfo;
210 private WifiInfo parseWifiInfoFromProperties(Properties props) { in parseWifiInfoFromProperties()
214 WifiInfo.Builder builder = WifiInfo.Builder.builder() in parseWifiInfoFromProperties()
DExtrasProvisioningDataParser.java97 import com.android.managedprovisioning.model.WifiInfo;
723 private WifiInfo parseWifiInfoFromExtras(Intent intent) { in parseWifiInfoFromExtras()
727 return WifiInfo.Builder.builder() in parseWifiInfoFromExtras()
739 WifiInfo.DEFAULT_WIFI_PROXY_PORT)) in parseWifiInfoFromExtras()
753 intent, EXTRA_PROVISIONING_WIFI_HIDDEN, WifiInfo.DEFAULT_WIFI_HIDDEN)) in parseWifiInfoFromExtras()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiScanWorker.java34 import android.net.wifi.WifiInfo;
160 static boolean isWifiClicked(WifiInfo info) { in isWifiClicked()
161 final String ssid = WifiInfo.sanitizeSsid(info.getSSID()); in isWifiClicked()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java34 import android.net.wifi.WifiInfo;
135 final WifiInfo wifiInfo = new WifiInfo.Builder() in setupConnectedAccessPoint()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DDataStallDetectionStats.java20 import android.net.wifi.WifiInfo;
252 public Builder setWiFiData(@Nullable final WifiInfo info) { in setWiFiData()
260 private static int getWifiBand(@Nullable final WifiInfo info) { in getWifiBand()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DAddWifiNetworkTaskTest.java41 import com.android.managedprovisioning.model.WifiInfo;
67 .setWifiInfo(new WifiInfo.Builder().setSsid(TEST_SSID).build())
78 @Mock private android.net.wifi.WifiInfo mWifiInfo;
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiScanWorkerTest.java41 import android.net.wifi.WifiInfo;
207 final WifiInfo wifiInfo = mock(WifiInfo.class); in setConnectionInfoSSID()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DWifiSetupActivity.java27 import android.net.wifi.WifiInfo;
339 WifiInfo currentWifiConnection = mWifiTracker.getManager().getConnectionInfo(); in addSummaryState()
340 String connectedNetwork = WifiInfo.sanitizeSsid( in addSummaryState()

123