/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 318 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 …]
|
D | SupplicantStaNetworkHal.java | 1113 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/ |
D | c2t64fx.c | 57 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()
|
D | c4t64fx.c | 137 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/ |
D | c2_11pf.cpp | 418 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()
|
D | c2_9pf.cpp | 600 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()
|
D | c3_14pf.cpp | 394 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()
|
D | c4_17pf.cpp | 407 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()
|
D | s10_8pf.cpp | 571 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/ |
D | ScanResultMatchInfoTest.java | 72 WifiConfiguration psk = in testDifferentNetworkScanResultsDontMatch() local 80 ScanDetail scanPsk = createScanDetailForNetwork(psk, "CC:CC:CC:CC:CC:CC"); in testDifferentNetworkScanResultsDontMatch()
|
D | SupplicantStaNetworkHalTest.java | 939 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/ |
D | SupplicantP2pIfaceCallback.java | 257 int frequency, byte[] psk, String passphrase, byte[] goDeviceAddress, in onGroupStarted() argument
|