Home
last modified time | relevance | path

Searched refs:mWifiConfiguration (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkAgentSpecifier.java42 private final WifiConfiguration mWifiConfiguration; field in WifiNetworkAgentSpecifier
66 mWifiConfiguration = wifiConfiguration; in WifiNetworkAgentSpecifier()
98 dest.writeParcelable(mWifiConfiguration, flags); in writeToParcel()
130 checkNotNull(this.mWifiConfiguration.SSID); in satisfiesNetworkSpecifier()
131 checkNotNull(this.mWifiConfiguration.BSSID); in satisfiesNetworkSpecifier()
132 checkNotNull(this.mWifiConfiguration.allowedKeyManagement); in satisfiesNetworkSpecifier()
141 final String ssidWithQuotes = this.mWifiConfiguration.SSID; in satisfiesNetworkSpecifier()
147 final MacAddress bssid = MacAddress.fromString(this.mWifiConfiguration.BSSID); in satisfiesNetworkSpecifier()
154 this.mWifiConfiguration.allowedKeyManagement)) { in satisfiesNetworkSpecifier()
163 mWifiConfiguration.SSID, in hashCode()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiConfig.java29 private WifiConfiguration mWifiConfiguration; field in WifiConfig
33 mWifiConfiguration = new WifiConfiguration(); in WifiConfig()
38 mWifiConfiguration.setIpConfiguration(configuration); in setIpConfiguration()
43 return mWifiConfiguration.getIpConfiguration(); in getIpConfiguration()
48 mWifiManager.save(mWifiConfiguration, listener); in save()
55 mWifiConfiguration = WifiConfigHelper.getWifiConfiguration(mWifiManager, networkId); in load()
60 return mWifiConfiguration.getPrintableSsid(); in getPrintableName()
64 return WifiConfigHelper.isNetworkLockedDown(context, mWifiConfiguration); in isLockedDown()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DEapFailureNotifierTest.java59 @Mock WifiConfiguration mWifiConfiguration; field in EapFailureNotifierTest
82 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(mWifiConfiguration)).thenReturn(0); in setUp()
122 mWifiConfiguration.SSID = SSID_2; in onEapFailureWithDefinedErrorCodeWithoutNotificationShown()
123 mEapFailureNotifier.onEapFailure(DEFINED_ERROR_CODE, mWifiConfiguration, true); in onEapFailureWithDefinedErrorCodeWithoutNotificationShown()
147 mWifiConfiguration.SSID = SSID_2; in onEapFailure_showNotificationFalse_notShown()
148 mEapFailureNotifier.onEapFailure(DEFINED_ERROR_CODE, mWifiConfiguration, false); in onEapFailure_showNotificationFalse_notShown()
169 mWifiConfiguration.SSID = SSID_2; in onEapFailureWithDefinedErroCodeWithNotificationShownWithoutSameSsid()
170 mEapFailureNotifier.onEapFailure(DEFINED_ERROR_CODE, mWifiConfiguration, true); in onEapFailureWithDefinedErroCodeWithNotificationShownWithoutSameSsid()
197 mWifiConfiguration.SSID = SSID_1; in onEapFailureWithDefinedErroCodeWithNotificationShownWithSameSsid()
198 mEapFailureNotifier.onEapFailure(DEFINED_ERROR_CODE, mWifiConfiguration, true); in onEapFailureWithDefinedErroCodeWithNotificationShownWithSameSsid()
[all …]
DScanDetailCacheTest.java46 WifiConfiguration mWifiConfiguration; field in ScanDetailCacheTest
53 mWifiConfiguration = WifiConfigurationTestUtil.createOpenNetwork(); in setup()
54 mScanDetailCache = new ScanDetailCache(mWifiConfiguration, TEST_MAX_SIZE, TEST_TRIM_SIZE); in setup()
59 ScanDetail scanDetail = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_1, in testPut()
68 ScanDetail s1 = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_1, in testGetMostRecentScanResult()
71 ScanDetail s2 = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_2, in testGetMostRecentScanResult()
75 ScanDetail s3 = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_3, in testGetMostRecentScanResult()
77 ScanDetail s4 = createScanDetailForNetwork(mWifiConfiguration, TEST_BSSID_4, in testGetMostRecentScanResult()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppUtilsTest.java53 private WifiConfiguration mWifiConfiguration; field in WifiDppUtilsTest
71 when(mWifiEntry.getWifiConfiguration()).thenReturn(mWifiConfiguration); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
72 mWifiConfiguration.SSID = "GuestNetwork"; in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
73 mWifiConfiguration.allowedKeyManagement = new BitSet(); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
74 mWifiConfiguration.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
75 mWifiConfiguration.hiddenSSID = true; in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java100 WifiConfiguration mWifiConfiguration; field in ConnectState.ConnectToWifiFragment
135 mWifiConfiguration = WifiSecurityHelper.getConfig(getActivity()); in onCreate()
184 mWifiManager.addNetwork(mWifiConfiguration); in proceedDependOnNetworkState()
185 mWifiManager.connect(mWifiConfiguration, null); in proceedDependOnNetworkState()
207 accessPoint.getSsidStr()).equals(mWifiConfiguration.SSID)) { in onWifiListChanged()
304 && currentConnection.getSSID().equals(mWifiConfiguration.SSID); in isNetworkConnected()
DUserChoiceInfo.java50 private WifiConfiguration mWifiConfiguration = new WifiConfiguration(); field in UserChoiceInfo
133 return mWifiConfiguration; in getWifiConfiguration()
140 this.mWifiConfiguration = wifiConfiguration; in setWifiConfiguration()
210 mWifiConfiguration = new WifiConfiguration(); in init()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiDialogActivityTest.java82 WifiConfiguration mWifiConfiguration; field in WifiDialogActivityTest
102 when(mController.getConfig()).thenReturn(mWifiConfiguration); in setUp()