Home
last modified time | relevance | path

Searched refs:WifiInfo (Results 1 – 25 of 63) 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.java30 import android.net.wifi.WifiInfo;
190 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiIpAddress()
205 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiMacAddress()
266 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getWifiSignalStrength()
312 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in updateConnectivityStatus()
378 WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in getSsid()
384 ssid = WifiInfo.removeDoubleQuotes(ssid); in getSsid()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiInfoProvider.java24 import android.net.wifi.WifiInfo;
39 void onWifiChanged(NetworkInfo networkInfo, WifiInfo wifiInfo); in onWifiChanged()
55 NetworkInfo networkInfo, WifiInfo wifiInfo); in onWifiConfigurationChanged()
86 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()
DWifiInfoProviderImpl.java35 import android.net.wifi.WifiInfo;
70 private WifiInfo mWifiInfo;
217 public WifiInfo getWifiInfo() { in getWifiInfo()
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;
100 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in updateWifiInfo()
105 if (macRandomizationSupported && WifiInfo.DEFAULT_MAC_ADDRESS.equals(macAddress)) { in updateWifiInfo()
108 || WifiInfo.DEFAULT_MAC_ADDRESS.equals(macAddress)) { in updateWifiInfo()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiInfoPreferenceController.java23 import android.net.wifi.WifiInfo;
100 final WifiInfo wifiInfo = mWifiManager.getConnectionInfo(); in updateWifiInfo()
105 if (macRandomizationSupported && WifiInfo.DEFAULT_MAC_ADDRESS.equals(macAddress)) { in updateWifiInfo()
108 || WifiInfo.DEFAULT_MAC_ADDRESS.equals(macAddress)) { in updateWifiInfo()
DWifiSummaryUpdater.java25 import android.net.wifi.WifiInfo;
93 String ssid = WifiInfo.removeDoubleQuotes(mWifiTracker.ssid); in getSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiInfoPreferenceControllerTest.java33 import android.net.wifi.WifiInfo;
68 private WifiInfo mWifiInfo;
154 when(mWifiInfo.getMacAddress()).thenReturn(WifiInfo.DEFAULT_MAC_ADDRESS); in updateWifiInfo_defaultMacWithMacRandomizationOff_setMacUnavailable()
206 when(mWifiInfo.getMacAddress()).thenReturn(WifiInfo.DEFAULT_MAC_ADDRESS); in updateWifiInfo_defaultMacWithMacRandomizationOn_setMacRandomized()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java42 import android.net.wifi.WifiInfo;
132 WifiInfo wifiInfo = new WifiInfo(); in setupConnectedAccessPoint()
305 WifiInfo wifiInfo = new WifiInfo(); in wrongPasswordSavedNetwork()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java30 import com.android.managedprovisioning.model.WifiInfo;
104 public WifiConfiguration generateWifiConfiguration(WifiInfo wifiInfo) { in generateWifiConfiguration()
136 private void maybeUpdateForEAPConfiguration(WifiConfiguration wifiConf, WifiInfo wifiInfo) { in maybeUpdateForEAPConfiguration()
146 WifiConfiguration wifiConf, WifiInfo wifiInfo) in maybeUpdateForEAPConfigurationOrThrow()
167 WifiEnterpriseConfig wifiEnterpriseConfig, WifiInfo wifiInfo) in updateWifiEnterpriseConfigFromWifiInfo()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/details/
DWifiInfoProviderImplTest.java39 import android.net.wifi.WifiInfo;
61 private static final String MAC_ADDRESS = WifiInfo.DEFAULT_MAC_ADDRESS;
77 private WifiInfo mMockWifiInfo;
79 private WifiInfo mMockWifiInfo2;
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DDeviceOwnerProvisioningControllerTest.java33 import com.android.managedprovisioning.model.WifiInfo;
57 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.java96 import com.android.managedprovisioning.model.WifiInfo;
716 private WifiInfo parseWifiInfoFromExtras(Intent intent) { in parseWifiInfoFromExtras()
720 return WifiInfo.Builder.builder() in parseWifiInfoFromExtras()
732 WifiInfo.DEFAULT_WIFI_PROXY_PORT)) in parseWifiInfoFromExtras()
746 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;
155 static boolean isWifiClicked(WifiInfo info) { in isWifiClicked()
156 final String ssid = WifiInfo.removeDoubleQuotes(info.getSSID()); in isWifiClicked()
DContextualWifiSlice.java22 import android.net.wifi.WifiInfo;
82 return WifiInfo.removeDoubleQuotes(mWifiManager.getConnectionInfo().getSSID()); in getActiveSSID()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java36 import android.net.wifi.WifiInfo;
141 final WifiInfo wifiInfo = new WifiInfo(); 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.java40 import android.net.wifi.WifiInfo;
208 final WifiInfo wifiInfo = new WifiInfo(); in setConnectionInfoSSID()

123