Home
last modified time | relevance | path

Searched refs:fromUtf8Text (Results 1 – 25 of 36) sorted by relevance

12

/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/
DScanResultUtilTest.java47 ScanResult scanResult = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testNetworkCreationFromScanResult()
148 ScanResult scanResult = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testGenerateSecurityParamsListFromScanResult()
319 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testPskSha256SaeTransitionModeCheck()
346 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testPskSaeTransitionModeCheck()
373 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testPskNotInTransitionModeCheck()
400 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testSaeNotInTransitionModeCheck()
427 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testSaeExtKeyAkmSupportedNetwork()
454 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testFtEapAkmSupportedNetwork()
482 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testFilsSha256AkmSupportedNetwork()
511 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testFilsSha384AkmSupportedNetwork()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiSsidTest.java88 WifiSsid wifiSsidUtf8 = WifiSsid.fromUtf8Text(TEST_SSID_UTF_8); in testFromUtf8String()
94 WifiSsid wifiSsidEmpty = WifiSsid.fromUtf8Text(""); in testFromUtf8String()
100 WifiSsid wifiSsidNull = WifiSsid.fromUtf8Text(null); in testFromUtf8String()
130 WifiSsid wifiSsidEmpty = WifiSsid.fromUtf8Text(""); in testFromString()
136 WifiSsid wifiSsidNull = WifiSsid.fromUtf8Text(null); in testFromString()
159 WifiSsid fromUtf8StringUtf8 = WifiSsid.fromUtf8Text(TEST_SSID_UTF_8); in testEquals()
185 WifiSsid.fromUtf8Text(TEST_SSID_UTF_8), in testParcelable()
DSoftApConfigurationTest.java108 assertThat(original.getWifiSsid()).isEqualTo(WifiSsid.fromUtf8Text(utf8Ssid)); in testBasicSettings()
151 WifiSsid wifiSsidUtf8 = WifiSsid.fromUtf8Text("ssid"); in testSetWifiSsid()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java434 new ScanDetail(WifiSsid.fromUtf8Text("TEST AP 1"), in singleScanWhereSupplicantReturnsSomeOldResults()
437 new ScanDetail(WifiSsid.fromUtf8Text("TEST AP 2"), in singleScanWhereSupplicantReturnsSomeOldResults()
441 new ScanDetail(WifiSsid.fromUtf8Text("TEST AP 3"), in singleScanWhereSupplicantReturnsSomeOldResults()
444 new ScanDetail(WifiSsid.fromUtf8Text("TEST AP 4"), in singleScanWhereSupplicantReturnsSomeOldResults()
447 new ScanDetail(WifiSsid.fromUtf8Text("TEST AP 5"), in singleScanWhereSupplicantReturnsSomeOldResults()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiSsid.java81 public static WifiSsid fromUtf8Text(@Nullable CharSequence utf8Text) { in fromUtf8Text() method in WifiSsid
224 return fromUtf8Text(asciiEncoded); in createFromAsciiEncoded()
DWifiNetworkSuggestion.java301 mWifiSsid = WifiSsid.fromUtf8Text(ssid); in setSsid()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DAvailableNetworkNotifierTest.java109 ScanResult result = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testConnectToUnknownAkmNetwork()
DWrongPasswordNotifierTest.java53 private static final WifiSsid TEST_SSID = WifiSsid.fromUtf8Text("Test SSID");
DMultiInternetManagerTest.java149 mPrimaryInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID1)); in setUp()
155 mSecondaryInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID2)); in setUp()
DWakeupControllerTest.java156 mTestScanResult.setWifiSsid(WifiSsid.fromUtf8Text(SAVED_SSID)); in setUp()
226 scanResult.setWifiSsid(WifiSsid.fromUtf8Text(utf8Ssid)); in createOpenScanResult()
235 scanResult.setWifiSsid(WifiSsid.fromUtf8Text(utf8Ssid)); in createOweScanResult()
DWifiCandidatesTest.java181 mScanResult1.setWifiSsid(WifiSsid.fromUtf8Text(mConfig1.SSID)); in testQuotingBotch()
272 mScanResult1.setWifiSsid(WifiSsid.fromUtf8Text(mConfig1.SSID)); in testPickyMode()
DWakeupEvaluatorTest.java77 scanResult.setWifiSsid(WifiSsid.fromUtf8Text(ssid)); in makeScanResult()
DSupplicantStateTrackerTest.java52 private static final WifiSsid WIFI_SSID = WifiSsid.fromUtf8Text(SSID);
DScanResults.java135 ScanDetail detail = new ScanDetail(nd, WifiSsid.fromUtf8Text(ssid), in generateNativeResults()
DWifiLastResortWatchdogTest.java122 ScanDetail scanDetail = new ScanDetail(WifiSsid.fromUtf8Text(ssid), in createFilteredQnsCandidates()
146 ScanDetail scanDetail = new ScanDetail(WifiSsid.fromUtf8Text(ssid), in createFilteredQnsCandidates()
1656 ScanDetail scanDetail = new ScanDetail(WifiSsid.fromUtf8Text(ssid), in testUpdateNetworkWithNullConfig()
1693 ScanDetail scanDetail = new ScanDetail(WifiSsid.fromUtf8Text(ssid), in testUpdateNetworkWithHasEverConnectedTrue()
1741 ScanDetail scanDetail = new ScanDetail(WifiSsid.fromUtf8Text(ssid), in testUpdateNetworkWithHasEverConnectedFalse()
DWifiHealthMonitorTest.java80 static final WifiSsid TEST_SSID_1 = WifiSsid.fromUtf8Text("Joe's Place");
81 static final WifiSsid TEST_SSID_2 = WifiSsid.fromUtf8Text("Poe's Place");
DWifiConnectivityManagerTest.java508 WifiSsid.fromUtf8Text(CANDIDATE_SSID), CANDIDATE_BSSID) in mockWifiScanner()
1428 WifiSsid.fromUtf8Text(config.SSID), bssid) in setupMockPrimaryNetworkSelect()
1470 WifiSsid.fromUtf8Text(config.SSID), in setupMockSecondaryNetworkSelect()
2700 WifiSsid.fromUtf8Text(CANDIDATE_SSID), in wifiDisconnected_noCandidateInSelect_openNetworkNotifierScanResultsHandled()
2738 WifiSsid.fromUtf8Text(CANDIDATE_SSID), in wifiDisconnected_noCandidatesInScan_openNetworkNotifierScanResultsHandled()
2769 mWifiInfo.setSSID(WifiSsid.fromUtf8Text(CANDIDATE_SSID)); in wifiConnected_openNetworkNotifierHandlesConnection()
4781 WifiSsid.fromUtf8Text(CANDIDATE_SSID), CANDIDATE_BSSID).build(); in useConfigSpecifiedBssidToConnectWhenFirmwareRoamingOn()
4838 WifiSsid.fromUtf8Text(CANDIDATE_SSID), CANDIDATE_BSSID).build(); in useConfigSpecifiedBssidToConnectionWhenFirmwareRoamingOff()
4917 WifiSsid.fromUtf8Text(CANDIDATE_SSID), INVALID_SCAN_RESULT_BSSID).build(); in dropConnectAttemptIfConfigSpecifiedBssidDifferentFromScanResultBssid()
4957 WifiSsid.fromUtf8Text(CANDIDATE_SSID), INVALID_SCAN_RESULT_BSSID).build(); in dropRoamingAttemptIfConfigSpecifiedBssidDifferentFromScanResultBssid()
DClientModeImplTest.java488 static final WifiSsid TEST_WIFI_SSID = WifiSsid.fromUtf8Text(SSID_NO_QUOTE);
491 static final WifiSsid TEST_WIFI_SSID1 = WifiSsid.fromUtf8Text(SSID_NO_QUOTE1);
1087 ScanResult scanResult = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in triggerConnectWithUpgradeType()
1219 ScanResult scanResult = new ScanResult.Builder(WifiSsid.fromUtf8Text(sFilsSsid), in connect()
1366 ScanResult scanResult = new ScanResult.Builder(WifiSsid.fromUtf8Text(sFilsSsid), in connectWithIpProvisionTimeout()
3137 new StateChangeResult(0, WifiSsid.fromUtf8Text(mConnectedNetwork.SSID), in disconnect()
3171 new StateChangeResult(0, WifiSsid.fromUtf8Text(mConnectedNetwork.SSID), in secondaryRoleCmmDisconnected_stopsClientModeManager()
3197 new StateChangeResult(0, WifiSsid.fromUtf8Text(mConnectedNetwork.SSID), in primaryCmmDisconnected_doesntStopsClientModeManager()
3357 new StateChangeResult(0, WifiSsid.fromUtf8Text(mConnectedNetwork.SSID), in testGetCurrentNetwork()
4413 new StateChangeResult(0, WifiSsid.fromUtf8Text(mConnectedNetwork.SSID), in testWifiInfoReturnDefaultMacWhenDisconnectedWithRandomization()
[all …]
DWifiNetworkFactoryTest.java3990 scanResults[0].setWifiSsid(WifiSsid.fromUtf8Text(ssid1)); in setupScanData()
3995 scanResults[1].setWifiSsid(WifiSsid.fromUtf8Text(ssid2)); in setupScanData()
4000 scanResults[2].setWifiSsid(WifiSsid.fromUtf8Text(ssid3)); in setupScanData()
4005 scanResults[3].setWifiSsid(WifiSsid.fromUtf8Text(ssid4)); in setupScanData()
4139 scanResults[j].setWifiSsid(WifiSsid.fromUtf8Text(ssids[i])); in setupScanDataSameSsidWithDiffBssid()
DScanTestUtil.java314 return new ScanResult.Builder(WifiSsid.fromUtf8Text("AN SSID"), in createScanResult()
DWifiNetworkSelectorTest.java924 new ArraySet<>(Arrays.asList(WifiSsid.fromUtf8Text("test2"), in filterOutAdminAllowlistRestrictedSsid()
925 WifiSsid.fromUtf8Text("test3")))); in filterOutAdminAllowlistRestrictedSsid()
962 new ArraySet<>(Arrays.asList(WifiSsid.fromUtf8Text("test1"), in filterOutAdminDenylistRestrictedSsid()
963 WifiSsid.fromUtf8Text("test2")))); in filterOutAdminDenylistRestrictedSsid()
DSoftApStoreDataTest.java73 private static final WifiSsid TEST_WIFI_SSID = WifiSsid.fromUtf8Text(TEST_SSID);
DWifiServiceImplTest.java2996 wifiInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID)); in setupForGetConnectionInfo()
9397 return Collections.singletonList(new ScanResult.Builder(WifiSsid.fromUtf8Text(TEST_SSID), in createScanResultList()
11282 wifiInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID)); in testNotifyWifiSsidPolicyChangedWithAllowlistRestriction()
11294 Arrays.asList(WifiSsid.fromUtf8Text("SSID"))); in testNotifyWifiSsidPolicyChangedWithAllowlistRestriction()
11310 wifiInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID)); in testNotifyWifiSsidPolicyChangedWithDenylistRestriction()
11322 Arrays.asList(WifiSsid.fromUtf8Text(TEST_SSID))); in testNotifyWifiSsidPolicyChangedWithDenylistRestriction()
11347 Arrays.asList(WifiSsid.fromUtf8Text("SSID"))); in testNotifyWifiSsidPolicyChangedWithSsidRestrictionForPasspoint()
11363 wifiInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID)); in testNotifyWifiSsidPolicyChangedWithSsidRestrictionForOsu()
11376 Arrays.asList(WifiSsid.fromUtf8Text(TEST_SSID))); in testNotifyWifiSsidPolicyChangedWithSsidRestrictionForOsu()
11766 scanResults.add(new ScanResult.Builder(WifiSsid.fromUtf8Text(TEST_SSID), TEST_BSSID) in createChannelDataScanResults()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java1912 new ArraySet<>(Arrays.asList(WifiSsid.fromUtf8Text("test1"),
1913 WifiSsid.fromUtf8Text("test2"))));
1939 new ArraySet<>(Arrays.asList(WifiSsid.fromUtf8Text("GoogleGuest"),
1940 WifiSsid.fromUtf8Text("test2"))));
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java73 private static final WifiSsid TEST_SSID = WifiSsid.fromUtf8Text("Test SSID");

12