/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiNetworkAgentSpecifier.java | 42 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() 149 final String ssidWithQuotes = this.mWifiConfiguration.SSID; in satisfiesNetworkSpecifier() 155 final MacAddress bssid = MacAddress.fromString(this.mWifiConfiguration.BSSID); in satisfiesNetworkSpecifier() 162 this.mWifiConfiguration.allowedKeyManagement)) { in satisfiesNetworkSpecifier() 171 mWifiConfiguration.SSID, in hashCode() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfig.java | 29 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/ |
D | WifiPseudonymManagerTest.java | 77 private WifiConfiguration mWifiConfiguration; field in WifiPseudonymManagerTest 199 mWifiConfiguration.enterpriseConfig = mEnterpriseConfig; in updateWifiConfiguration_expiredPseudonym_noUpdate() 200 mWifiConfiguration.carrierId = CARRIER_ID; in updateWifiConfiguration_expiredPseudonym_noUpdate() 205 mWifiPseudonymManager.updateWifiConfiguration(mWifiConfiguration); in updateWifiConfiguration_expiredPseudonym_noUpdate() 212 mWifiConfiguration.enterpriseConfig = mEnterpriseConfig; in updateWifiConfiguration_freshPseudonymAndPasspoint_update() 213 mWifiConfiguration.carrierId = CARRIER_ID; in updateWifiConfiguration_freshPseudonymAndPasspoint_update() 216 when(mWifiConfiguration.isPasspoint()).thenReturn(true); in updateWifiConfiguration_freshPseudonymAndPasspoint_update() 220 when(mWifiCarrierInfoManager.decoratePseudonymWith3GppRealm(mWifiConfiguration, PSEUDONYM)) in updateWifiConfiguration_freshPseudonymAndPasspoint_update() 227 mWifiConfiguration); in updateWifiConfiguration_freshPseudonymAndPasspoint_update() 237 mWifiConfiguration.enterpriseConfig = mEnterpriseConfig; in updateWifiConfiguration_freshPseudonymAndNonPasspointNetworkSuggestion_update() [all …]
|
D | EapFailureNotifierTest.java | 75 @Mock WifiConfiguration mWifiConfiguration; field in EapFailureNotifierTest 99 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(mWifiConfiguration)).thenReturn(0); in setUp() 149 mWifiConfiguration.SSID = SSID_2; in onEapFailureEapFailureConfigWithOverride() 151 mEapFailureNotifier.onEapFailure(KNOWN_ERROR_CODE, mWifiConfiguration, true); in onEapFailureEapFailureConfigWithOverride() 166 mEapFailureNotifier.onEapFailure(KNOWN_ERROR_CODE, mWifiConfiguration, true); in onEapFailureEapFailureConfigWithOverride() 190 mWifiConfiguration.SSID = SSID_2; in onEapFailureWithDefinedErrorCodeWithoutNotificationShown() 192 mEapFailureNotifier.onEapFailure(KNOWN_ERROR_CODE, mWifiConfiguration, true); in onEapFailureWithDefinedErrorCodeWithoutNotificationShown() 217 mWifiConfiguration.SSID = SSID_2; in onEapFailure_showNotificationFalse_notShown() 219 mEapFailureNotifier.onEapFailure(KNOWN_ERROR_CODE, mWifiConfiguration, false); in onEapFailure_showNotificationFalse_notShown() 241 mWifiConfiguration.SSID = SSID_2; in onEapFailureWithDefinedErrorCodeWithNotificationShownWithoutSameSsid() [all …]
|
D | ScanDetailCacheTest.java | 46 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()
|
D | WifiPulledAtomLoggerTest.java | 79 @Mock private WifiConfiguration mWifiConfiguration; field in WifiPulledAtomLoggerTest 236 when(mWifiConfiguration.getNetworkKey()).thenReturn("someKey"); in testWifiConfiguredNetworkInfoPull() 237 when(mWifiConfiguration.getNetworkSelectionStatus()).thenReturn( in testWifiConfiguredNetworkInfoPull() 239 when(mWifiConfiguration.isPasspoint()).thenReturn(false); in testWifiConfiguredNetworkInfoPull() 242 when(mockSuggestion.getWifiConfiguration()).thenReturn(mWifiConfiguration); in testWifiConfiguredNetworkInfoPull() 251 .thenReturn(Arrays.asList(mWifiConfiguration)); in testWifiConfiguredNetworkInfoPull() 256 .thenReturn(Arrays.asList(mWifiConfiguration)); in testWifiConfiguredNetworkInfoPull() 258 .thenReturn(Arrays.asList(mWifiConfiguration)); in testWifiConfiguredNetworkInfoPull()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/ |
D | WifiDppUtilsTest.java | 55 private WifiConfiguration mWifiConfiguration; field in WifiDppUtilsTest 73 when(mWifiEntry.getWifiConfiguration()).thenReturn(mWifiConfiguration); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra() 74 mWifiConfiguration.SSID = "GuestNetwork"; in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra() 75 mWifiConfiguration.allowedKeyManagement = new BitSet(); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra() 76 mWifiConfiguration.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra() 77 mWifiConfiguration.hiddenSSID = true; in getConfiguratorQrCodeScannerIntentOrNull_hiddenSsidNetwork_hasHiddenSsidExtra()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | UserChoiceInfo.java | 52 private WifiConfiguration mWifiConfiguration = new WifiConfiguration(); field in UserChoiceInfo 126 return mWifiConfiguration; in getWifiConfiguration() 133 this.mWifiConfiguration = wifiConfiguration; in setWifiConfiguration() 211 mWifiConfiguration = new WifiConfiguration(); in init()
|
D | ConnectState.java | 102 WifiConfiguration mWifiConfiguration; field in ConnectState.ConnectToWifiFragment 141 mWifiConfiguration = WifiSecurityHelper.getConfig(getActivity()); in onCreate() 236 .equals(mWifiConfiguration.SSID) in getEntryForConfiguration() 315 mWifiManager.save(mWifiConfiguration, new WifiManager.ActionListener() { in startSave()
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | FakeCarProjectionService.java | 56 private WifiConfiguration mWifiConfiguration; field in FakeCarProjectionService 123 } else if (mWifiConfiguration != null) { in startProjectionAccessPoint() 125 message.obj = mWifiConfiguration; in startProjectionAccessPoint() 199 mWifiConfiguration = wifiConfiguration; in setWifiConfiguration()
|
/packages/services/Car/tests/CarLibTests/src/android/car/ |
D | CarProjectionManagerTest.java | 140 assertThat(mApCallback.mWifiConfiguration).isEqualTo(wifiConfig); in startAp_success_setWifiConfiguration() 288 WifiConfiguration mWifiConfiguration; field in CarProjectionManagerTest.ApCallback 292 mWifiConfiguration = wifiConfiguration; in onStarted()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiDialogActivityTest.java | 75 WifiConfiguration mWifiConfiguration; field in WifiDialogActivityTest 97 mWifiConfiguration.SSID = SSID; in setUp() 98 when(mController.getConfig()).thenReturn(mWifiConfiguration); in setUp()
|