Home
last modified time | relevance | path

Searched refs:psk (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java318 private static boolean validatePsk(String psk, boolean isAdd) { in validatePsk() argument
320 if (psk == null) { in validatePsk()
325 if (psk == null) { in validatePsk()
328 } else if (psk.equals(PASSWORD_MASK)) { in validatePsk()
334 if (psk.isEmpty()) { in validatePsk()
338 if (psk.startsWith("\"")) { in validatePsk()
340 byte[] pskBytes = psk.getBytes(StandardCharsets.US_ASCII); in validatePsk()
351 if (psk.length() != PSK_HEX_LEN) { in validatePsk()
352 Log.e(TAG, "validatePsk failed: hex string size mismatch: " + psk.length()); in validatePsk()
357 NativeUtil.hexOrQuotedStringToBytes(psk); in validatePsk()
[all …]
DSupplicantStaNetworkHal.java1113 private boolean setPskPassphrase(String psk) { in setPskPassphrase() argument
1118 SupplicantStatus status = mISupplicantStaNetwork.setPskPassphrase(psk); in setPskPassphrase()
1127 private boolean setPsk(byte[] psk) { in setPsk() argument
1132 SupplicantStatus status = mISupplicantStaNetwork.setPsk(psk); in setPsk()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dc2t64fx.c57 Word16 ps, psk, ps1, ps2, alpk, alp1, alp2, sq; in ACELP_2t64_fx() local
230 psk = -1; in ACELP_2t64_fx()
245 s = vo_L_mult(alpk, sq) - ((psk * alp2)<<1); in ACELP_2t64_fx()
248 psk = sq; in ACELP_2t64_fx()
Dc4t64fx.c137 Word16 psk, ps, alpk, alp, val, k_cn, k_dn, exp; in ACELP_4t64_fx() local
545 psk = -1; in ACELP_4t64_fx()
701 s = L_sub(vo_L_mult(alpk, ps), vo_L_mult(psk, alp)); in ACELP_4t64_fx()
704 psk = ps; in ACELP_4t64_fx()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dc2_11pf.cpp418 Word16 psk; in search_2i40() local
435 psk = -1; in search_2i40()
522 s -= (((Word32) psk * alp) << 1); in search_2i40()
526 psk = sq; in search_2i40()
Dc2_9pf.cpp600 Word16 psk; in search_2i40() local
617 psk = -1; in search_2i40()
712 s = L_temp - (((Word32) psk * alp) << 1); in search_2i40()
716 psk = sq; in search_2i40()
Dc3_14pf.cpp394 Word16 psk; in search_3i40() local
409 psk = -1; in search_3i40()
567 s = L_msu(s, psk, alp, pOverflow); in search_3i40()
572 psk = sq; in search_3i40()
Dc4_17pf.cpp407 Word16 psk; in search_4i40() local
425 psk = -1; in search_4i40()
633 s -= (((Word32) psk * alp) << 1); in search_4i40()
637 psk = sq; in search_4i40()
Ds10_8pf.cpp571 Word16 psk; in search_10and8i40() local
608 psk = -1; in search_10and8i40()
963 if (((Word32) alpk * sq) > ((Word32) psk * alp)) in search_10and8i40()
965 psk = sq; in search_10and8i40()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResultMatchInfoTest.java72 WifiConfiguration psk = in testDifferentNetworkScanResultsDontMatch() local
80 ScanDetail scanPsk = createScanDetailForNetwork(psk, "CC:CC:CC:CC:CC:CC"); in testDifferentNetworkScanResultsDontMatch()
DSupplicantStaNetworkHalTest.java939 public SupplicantStatus answer(byte[] psk) throws RemoteException { in setupISupplicantNetworkMock()
940 mSupplicantVariables.psk = psk; in setupISupplicantNetworkMock()
947 cb.onValues(mStatusSuccess, mSupplicantVariables.psk); in setupISupplicantNetworkMock()
1347 public byte[] psk; field in SupplicantStaNetworkHalTest.SupplicantNetworkVariables
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceCallback.java257 int frequency, byte[] psk, String passphrase, byte[] goDeviceAddress, in onGroupStarted() argument