/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/ |
D | ScanResultUtilTest.java | 47 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/ |
D | WifiSsidTest.java | 88 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()
|
D | SoftApConfigurationTest.java | 108 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/ |
D | BaseWifiScannerImplTest.java | 434 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/ |
D | WifiSsid.java | 81 public static WifiSsid fromUtf8Text(@Nullable CharSequence utf8Text) { in fromUtf8Text() method in WifiSsid 224 return fromUtf8Text(asciiEncoded); in createFromAsciiEncoded()
|
D | WifiNetworkSuggestion.java | 301 mWifiSsid = WifiSsid.fromUtf8Text(ssid); in setSsid()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | AvailableNetworkNotifierTest.java | 109 ScanResult result = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testConnectToUnknownAkmNetwork()
|
D | WrongPasswordNotifierTest.java | 53 private static final WifiSsid TEST_SSID = WifiSsid.fromUtf8Text("Test SSID");
|
D | MultiInternetManagerTest.java | 149 mPrimaryInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID1)); in setUp() 155 mSecondaryInfo.setSSID(WifiSsid.fromUtf8Text(TEST_SSID2)); in setUp()
|
D | WakeupControllerTest.java | 156 mTestScanResult.setWifiSsid(WifiSsid.fromUtf8Text(SAVED_SSID)); in setUp() 226 scanResult.setWifiSsid(WifiSsid.fromUtf8Text(utf8Ssid)); in createOpenScanResult() 235 scanResult.setWifiSsid(WifiSsid.fromUtf8Text(utf8Ssid)); in createOweScanResult()
|
D | WifiCandidatesTest.java | 181 mScanResult1.setWifiSsid(WifiSsid.fromUtf8Text(mConfig1.SSID)); in testQuotingBotch() 272 mScanResult1.setWifiSsid(WifiSsid.fromUtf8Text(mConfig1.SSID)); in testPickyMode()
|
D | WakeupEvaluatorTest.java | 77 scanResult.setWifiSsid(WifiSsid.fromUtf8Text(ssid)); in makeScanResult()
|
D | SupplicantStateTrackerTest.java | 52 private static final WifiSsid WIFI_SSID = WifiSsid.fromUtf8Text(SSID);
|
D | ScanResults.java | 135 ScanDetail detail = new ScanDetail(nd, WifiSsid.fromUtf8Text(ssid), in generateNativeResults()
|
D | WifiLastResortWatchdogTest.java | 122 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()
|
D | WifiHealthMonitorTest.java | 80 static final WifiSsid TEST_SSID_1 = WifiSsid.fromUtf8Text("Joe's Place"); 81 static final WifiSsid TEST_SSID_2 = WifiSsid.fromUtf8Text("Poe's Place");
|
D | WifiConnectivityManagerTest.java | 508 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()
|
D | ClientModeImplTest.java | 488 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 …]
|
D | WifiNetworkFactoryTest.java | 3990 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()
|
D | ScanTestUtil.java | 314 return new ScanResult.Builder(WifiSsid.fromUtf8Text("AN SSID"), in createScanResult()
|
D | WifiNetworkSelectorTest.java | 924 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()
|
D | SoftApStoreDataTest.java | 73 private static final WifiSsid TEST_WIFI_SSID = WifiSsid.fromUtf8Text(TEST_SSID);
|
D | WifiServiceImplTest.java | 2996 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/ |
D | WifiPermissionsUtilTest.java | 1912 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/ |
D | OsuNetworkConnectionTest.java | 73 private static final WifiSsid TEST_SSID = WifiSsid.fromUtf8Text("Test SSID");
|