/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | NativeUtilTest.java | 124 NativeUtil.decodeSsid("\"ssid_test123\"")); in testAsciiSsidDecode() 139 NativeUtil.decodeSsid("\"AndroidAPください\"")); in testUtf8SsidDecode() 148 NativeUtil.decodeSsid("\"\ud800\""); in testNonUtf8SsidDecodeFails() 160 NativeUtil.decodeSsid("\"asdrewqdfgyuiopldsqwertyuiolhdergcv\""); in testLargeSsidDecodeFails() 175 NativeUtil.decodeSsid("f5e4ab78ab3432439a")); in testNonSsidDecode() 241 assertEquals(ssid, NativeUtil.encodeSsid(NativeUtil.decodeSsid(ssid))); in testSsidEncodeDecode()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalHidlImplTest.java | 1161 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testStateChangeCallbackWithNoConfiguredNetwork() 1183 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testStateChangeToAssociatedCallback() 1205 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testStateChangeToCompletedCallback() 1228 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testDisconnectedCallback() 1268 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testAuthFailurePasswordOnDisconnect() 1273 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testAuthFailurePasswordOnDisconnect() 1297 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testWapiPskWrongPasswordNotification() 1302 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testWapiPskWrongPasswordNotification() 1336 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testAuthFailureEapOnDisconnect() 1341 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testAuthFailureEapOnDisconnect() [all …]
|
D | SupplicantStaIfaceHalAidlImplTest.java | 969 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(SUPPLICANT_SSID)), false); in testStateChangeCallbackWithNoConfiguredNetwork() 991 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(SUPPLICANT_SSID)), false); in testStateChangeToAssociatedCallback() 1013 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(SUPPLICANT_SSID)), false); in testStateChangeToCompletedCallback() 1042 NativeUtil.decodeSsid(SUPPLICANT_SSID)); in testStateChangeToCompleted() 1071 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(SUPPLICANT_SSID)), false); in testDisconnectedCallback() 1112 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(SUPPLICANT_SSID)), false); in testAuthFailurePasswordOnDisconnect() 1117 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(SUPPLICANT_SSID)), false); in testAuthFailurePasswordOnDisconnect() 1141 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(SUPPLICANT_SSID)), false); in testWapiPskWrongPasswordNotification() 1146 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(SUPPLICANT_SSID)), false); in testWapiPskWrongPasswordNotification() 1180 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(SUPPLICANT_SSID)), false); in testAuthFailureEapOnDisconnect() [all …]
|
D | WifiNetworkSelectorTestUtil.java | 221 byte[] ssid = NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(ssids[index])); in buildScanDetails() 248 byte[] ssid = NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(ssids[index])); in buildScanDetailsWithNetworkDetails()
|
D | ClientModeImplTest.java | 1241 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(mConnectedNetwork.SSID))); in connect() 1388 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(mConnectedNetwork.SSID))); in connectWithIpProvisionTimeout() 1570 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(mConnectedNetwork.SSID))); in setupEapSimConnection() 1665 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(config.SSID))); in roamRaceWithConnect() 1817 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(mConnectedNetwork.SSID))); in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym() 1872 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(mConnectedNetwork.SSID))); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonym() 1931 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(mConnectedNetwork.SSID))); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym() 1987 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(mConnectedNetwork.SSID))); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonymForSuggestion() 2043 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(mConnectedNetwork.SSID))); in testUpdatePseudonymAsInBandPseudonymWhenConnectionIsEstablished() 2098 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(mConnectedNetwork.SSID))); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonymForPasspoint() [all …]
|
D | WifiNativeTest.java | 183 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(TEST_QUOTED_SSID_1)), 184 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(TEST_QUOTED_SSID_2)));
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiSsid.java | 96 return decodeSsid(mBytes, StandardCharsets.UTF_8); in getUtf8Text() 130 String utf8String = decodeSsid(mBytes, StandardCharsets.UTF_8); in toString() 145 private static String decodeSsid(@NonNull byte[] ssidBytes, @NonNull Charset charset) { in decodeSsid() method in WifiSsid
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalAidlImplTest.java | 625 NativeUtil.decodeSsid("\"" + ssid + "\"")))); in testSetSsidPostfix_success() 643 NativeUtil.decodeSsid("\"" + ssid + "\"")))); in testSetSsidPostfix_failure() 659 NativeUtil.decodeSsid("\"" + ssid + "\"")))); in testSetSsidPostfix_exception() 1300 NativeUtil.decodeSsid("\"" + mNetworkName + "\""))), in testGroupAddWithConfigSuccess() 1319 NativeUtil.decodeSsid("\"" + mNetworkName + "\""))), in testGroupAddWithConfigSuccess() 1336 NativeUtil.decodeSsid("\"" + mNetworkName + "\""))), in testGroupAddWithConfigFailure() 1346 NativeUtil.decodeSsid("\"" + mNetworkName + "\""))), in testGroupAddWithConfigFailure() 1366 NativeUtil.decodeSsid("\"" + mNetworkName + "\""))), in testGroupAddWithConfigException() 1376 NativeUtil.decodeSsid("\"" + mNetworkName + "\""))), in testGroupAddWithConfigException()
|
D | SupplicantP2pIfaceHalHidlImplTest.java | 674 when(mISupplicantP2pIfaceMock.setSsidPostfix(eq(NativeUtil.decodeSsid("\"" + ssid + "\"")))) in testSetSsidPostfix_success() 690 when(mISupplicantP2pIfaceMock.setSsidPostfix(eq(NativeUtil.decodeSsid("\"" + ssid + "\"")))) in testSetSsidPostfix_failure() 704 when(mISupplicantP2pIfaceMock.setSsidPostfix(eq(NativeUtil.decodeSsid("\"" + ssid + "\"")))) in testSetSsidPostfix_exception() 1353 eq(NativeUtil.decodeSsid("\"" + mNetworkName + "\"")), in testGroupAddWithConfigSuccess() 1372 eq(NativeUtil.decodeSsid("\"" + mNetworkName + "\"")), in testGroupAddWithConfigSuccess() 1394 eq(NativeUtil.decodeSsid("\"" + mNetworkName + "\"")), in testGroupAddWithConfigFailure() 1443 eq(NativeUtil.decodeSsid("\"" + mNetworkName + "\"")), in testGroupAddWithConfigException()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | NativeUtil.java | 296 public static ArrayList<Byte> decodeSsid(String ssidStr) { in decodeSsid() method in NativeUtil
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHalAidlImpl.java | 764 NativeUtil.decodeSsid("\"" + postfix + "\""))); in setSsidPostfix() 1242 NativeUtil.decodeSsid("\"" + networkName + "\"")); in groupAdd()
|
D | SupplicantP2pIfaceHalHidlImpl.java | 942 NativeUtil.decodeSsid("\"" + postfix + "\""))); in setSsidPostfix() 1379 java.util.ArrayList<Byte> ssid = NativeUtil.decodeSsid("\"" + networkName + "\""); in groupAdd()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 1934 NativeUtil.decodeSsid(hiddenNetworkSsid))); in scan() 3546 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(ssid)));
|
D | WifiScoreCard.java | 2299 decodedSsid = NativeUtil.decodeSsid(ssid); in computeHashLong()
|