Home
last modified time | relevance | path

Searched refs:decodeSsid (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DNativeUtilTest.java124 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/
DSupplicantStaIfaceHalHidlImplTest.java1161 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 …]
DSupplicantStaIfaceHalAidlImplTest.java969 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 …]
DWifiNetworkSelectorTestUtil.java221 byte[] ssid = NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(ssids[index])); in buildScanDetails()
248 byte[] ssid = NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(ssids[index])); in buildScanDetailsWithNetworkDetails()
DClientModeImplTest.java1241 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 …]
DWifiNativeTest.java183 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/
DWifiSsid.java96 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/
DSupplicantP2pIfaceHalAidlImplTest.java625 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()
DSupplicantP2pIfaceHalHidlImplTest.java674 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/
DNativeUtil.java296 public static ArrayList<Byte> decodeSsid(String ssidStr) { in decodeSsid() method in NativeUtil
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalAidlImpl.java764 NativeUtil.decodeSsid("\"" + postfix + "\""))); in setSsidPostfix()
1242 NativeUtil.decodeSsid("\"" + networkName + "\"")); in groupAdd()
DSupplicantP2pIfaceHalHidlImpl.java942 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/
DWifiNative.java1934 NativeUtil.decodeSsid(hiddenNetworkSsid))); in scan()
3546 NativeUtil.byteArrayFromArrayList(NativeUtil.decodeSsid(ssid)));
DWifiScoreCard.java2299 decodedSsid = NativeUtil.decodeSsid(ssid); in computeHashLong()