Home
last modified time | relevance | path

Searched refs:ssids (Results 1 – 3 of 3) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DWifiSsidRestrictionTest.java65 final Set<WifiSsid> ssids = new ArraySet<>( in setWifiSsidPolicy_validAllowlist_works() local
70 WifiSsidPolicy.WIFI_SSID_POLICY_TYPE_ALLOWLIST, ssids); in setWifiSsidPolicy_validAllowlist_works()
74 assertThat(mDevicePolicyManager.getWifiSsidPolicy().getSsids()).isEqualTo(ssids); in setWifiSsidPolicy_validAllowlist_works()
87 final Set<WifiSsid> ssids = new ArraySet<>( in setWifiSsidPolicy_validDenylist_works() local
92 WifiSsidPolicy.WIFI_SSID_POLICY_TYPE_DENYLIST, ssids); in setWifiSsidPolicy_validDenylist_works()
96 assertThat(mDevicePolicyManager.getWifiSsidPolicy().getSsids()).isEqualTo(ssids); in setWifiSsidPolicy_validDenylist_works()
108 final Set<WifiSsid> ssids = new ArraySet<>( in setWifiSsidPolicy_validRemoveRestriction_works() local
111 WifiSsidPolicy.WIFI_SSID_POLICY_TYPE_DENYLIST, ssids); in setWifiSsidPolicy_validRemoveRestriction_works()
115 assertThat(mDevicePolicyManager.getWifiSsidPolicy().getSsids()).isEqualTo(ssids); in setWifiSsidPolicy_validRemoveRestriction_works()
130 final Set<WifiSsid> ssids = new ArraySet<>(); in setWifiSsidPolicy_invalidPolicy_fails() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java613 Set<WifiSsid> ssids = new ArraySet<>(Arrays.asList( in onCreate() local
616 WifiSsidPolicy.WIFI_SSID_POLICY_TYPE_ALLOWLIST, ssids); in onCreate()
626 Set<WifiSsid> ssids = new ArraySet<>(Arrays.asList( in onCreate() local
629 WifiSsidPolicy.WIFI_SSID_POLICY_TYPE_DENYLIST, ssids); in onCreate()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java1504 Set<WifiSsid> ssids = new ArraySet<>(); in testGetAndSetSsidsAllowlist() local
1505 ssids.add(WifiSsid.fromBytes("TEST_SSID_1".getBytes(StandardCharsets.UTF_8))); in testGetAndSetSsidsAllowlist()
1507 () -> sWifiManager.setSsidsAllowlist(ssids)); in testGetAndSetSsidsAllowlist()
1510 () -> assertEquals("Ssids should match", ssids, in testGetAndSetSsidsAllowlist()
1584 List<WifiSsid> ssids = new ArrayList<>(); in testSetExternalPnoScanRequestSuccess() local
1585 ssids.add(WifiSsid.fromBytes("TEST_SSID_1".getBytes(StandardCharsets.UTF_8))); in testSetExternalPnoScanRequestSuccess()
1591 ssids, frequencies, Executors.newSingleThreadExecutor(), callback)); in testSetExternalPnoScanRequestSuccess()
1615 List<WifiSsid> ssids = new ArrayList<>(); in testSetExternalPnoScanRequestSuccessNullFrequency() local
1616 ssids.add(WifiSsid.fromBytes("TEST_SSID_1".getBytes(StandardCharsets.UTF_8))); in testSetExternalPnoScanRequestSuccessNullFrequency()
1620 ssids, null, Executors.newSingleThreadExecutor(), callback)); in testSetExternalPnoScanRequestSuccessNullFrequency()
[all …]