Home
last modified time | relevance | path

Searched refs:pskPassphrase (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareDataPathSecurityConfig.java258 public @NonNull Builder setPskPassphrase(@NonNull String pskPassphrase) { in setPskPassphrase() argument
259 if (!WifiAwareUtils.validatePassphrase(pskPassphrase)) { in setPskPassphrase()
262 mPassphrase = pskPassphrase; in setPskPassphrase()
DWifiAwareNetworkSpecifier.java443 public @NonNull Builder setPskPassphrase(@NonNull String pskPassphrase) { in setPskPassphrase() argument
444 if (!WifiAwareUtils.validatePassphrase(pskPassphrase)) { in setPskPassphrase()
447 mPskPassphrase = pskPassphrase; in setPskPassphrase()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalHidlImpTest.java304 assertEquals(NETWORK_PSK, mNetworkParamsCaptor.getValue().pskPassphrase); in testAddAccessPointSuccess_Psk_Band2G()
337 assertNotNull(mNetworkParamsCaptor.getValue().pskPassphrase); in testAddAccessPointSuccess_Open_Band5G()
372 assertEquals(NETWORK_PSK, mNetworkParamsCaptor.getValue().pskPassphrase); in testAddAccessPointSuccess_Psk_Band5G_Hidden()
411 assertEquals(NETWORK_PSK, mNetworkParamsCaptor.getValue().pskPassphrase); in testAddAccessPointSuccess_Psk_Band2G_WithACS()
451 assertEquals(NETWORK_PSK, mNetworkParamsCaptor.getValue().pskPassphrase); in testAddAccessPointSuccess_Psk_Band2G_WithIeee80211AC()
488 assertEquals(NETWORK_PSK, mNetworkParamsCaptor.getValue().pskPassphrase); in testAddAccessPointSuccess_Psk_BandAny_WithACS()
523 assertEquals(NETWORK_PSK, mNetworkParamsCaptor.getValue().pskPassphrase); in testAddAccessPointSuccess_Psk_WithoutACS()
597 assertEquals(NETWORK_PSK, mNetworkParamsCaptor.getValue().pskPassphrase); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels()
1149 assertEquals("", mNetworkParamsV13Captor.getValue().V1_2.V1_0.pskPassphrase); in testAddAccessPointSuccess_SAE_WithoutACS()
1196 assertEquals("", mNetworkParamsV13Captor.getValue().V1_2.V1_0.pskPassphrase); in testAddAccessPointSuccess_SAE_Transition_WithoutACS()
[all …]
DSupplicantStaNetworkHalAidlImplTest.java232 assertEquals(mSupplicantVariables.pskPassphrase, in testPskNetworkWifiConfigurationSaveRemovesPskQuotes()
1455 mSupplicantVariables.pskPassphrase = saePassword; in setupISupplicantNetworkMock()
1460 return mSupplicantVariables.pskPassphrase; in setupISupplicantNetworkMock()
1466 public void answer(String pskPassphrase) throws RemoteException { in setupISupplicantNetworkMock()
1467 mSupplicantVariables.pskPassphrase = pskPassphrase; in setupISupplicantNetworkMock()
1472 return mSupplicantVariables.pskPassphrase; in setupISupplicantNetworkMock()
1876 public String pskPassphrase; field in SupplicantStaNetworkHalAidlImplTest.SupplicantNetworkVariables
DSupplicantStaNetworkHalHidlImplTest.java314 assertEquals(mSupplicantVariables.pskPassphrase, in testPskNetworkWifiConfigurationSaveRemovesPskQuotes()
1805 mSupplicantVariables.pskPassphrase = saePassword; in setupISupplicantNetworkMock()
1812 cb.onValues(mStatusSuccess, mSupplicantVariables.pskPassphrase); in setupISupplicantNetworkMock()
1820 public SupplicantStatus answer(String pskPassphrase) throws RemoteException { in setupISupplicantNetworkMock()
1821 mSupplicantVariables.pskPassphrase = pskPassphrase; in setupISupplicantNetworkMock()
1828 cb.onValues(mStatusSuccess, mSupplicantVariables.pskPassphrase); in setupISupplicantNetworkMock()
2523 public String pskPassphrase; field in SupplicantStaNetworkHalHidlImplTest.SupplicantNetworkVariables
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHalHidlImp.java926 nwParamsV1_2.V1_0.pskPassphrase = (config.getPassphrase() != null) in prepareNetworkParamsV1_2()