Home
last modified time | relevance | path

Searched refs:networks (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/app/cts/
DTestSharedConnectivityClientCallback.java42 public void onHotspotNetworksUpdated(List<HotspotNetwork> networks) { in onHotspotNetworksUpdated() argument
44 mHotspotNetworksList = networks; in onHotspotNetworksUpdated()
48 public void onKnownNetworksUpdated(List<KnownNetwork> networks) { in onKnownNetworksUpdated() argument
50 mKnownNetworksList = networks; in onKnownNetworksUpdated()
/cts/tests/tests/webkit/src/android/webkit/cts/
DPacProcessorTest.java118 Network[] networks = connectivityManager.getAllNetworks(); in run() local
120 "testSetNetwork requires at least one available Network", networks.length > 0); in run()
125 pacProcessor.setNetwork(networks[0]); in run()
126 Assert.assertEquals("Network is not set", networks[0], pacProcessor.getNetwork()); in run()
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/
DSharedConnectivityTest.java260 public void onHotspotNetworksUpdated(List<HotspotNetwork> networks) { in setHotspotNetworks_managerCallbackReceivedWithCorrectData()
261 super.onHotspotNetworksUpdated(networks); in setHotspotNetworks_managerCallbackReceivedWithCorrectData()
269 List<HotspotNetwork> networks = Arrays.asList(mTestHotspotNetwork1, in setHotspotNetworks_managerCallbackReceivedWithCorrectData() local
271 service.setHotspotNetworks(networks); in setHotspotNetworks_managerCallbackReceivedWithCorrectData()
274 assertThat(callback.getHotspotNetworksList()).containsExactlyElementsIn(networks); in setHotspotNetworks_managerCallbackReceivedWithCorrectData()
290 public void onKnownNetworksUpdated(List<KnownNetwork> networks) { in setKnownNetworks_managerCallbackReceivedWithCorrectData()
291 super.onKnownNetworksUpdated(networks); in setKnownNetworks_managerCallbackReceivedWithCorrectData()
299 List<KnownNetwork> networks = Arrays.asList(mTestKnownNetwork1, mTestKnownNetwork2); in setKnownNetworks_managerCallbackReceivedWithCorrectData() local
300 service.setKnownNetworks(networks); in setKnownNetworks_managerCallbackReceivedWithCorrectData()
303 assertThat(callback.getKnownNetworksList()).containsExactlyElementsIn(networks); in setKnownNetworks_managerCallbackReceivedWithCorrectData()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DNetworkingHelper.java174 Network[] networks = mConnectivityManager.getAllNetworks(); in hasCellularNetwork() local
175 for (Network network : networks) { in hasCellularNetwork()
188 Network[] networks = mConnectivityManager.getAllNetworks(); in hasEthernetConnection()
189 for (Network network : networks) { in hasEthernetConnection()
269 Network[] networks = mConnectivityManager.getAllNetworks(); in setAirplaneMode()
270 for (Network network : networks) { in setAirplaneMode()
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java98 Network[] networks = mCm.getAllNetworks(); in getIpAddresses() local
99 for (int i = 0; i < networks.length; i++) { in getIpAddresses()
100 NetworkInfo ni = mCm.getNetworkInfo(networks[i]); in getIpAddresses()
104 LinkProperties lp = mCm.getLinkProperties(networks[i]); in getIpAddresses()
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/app/
DSharedConnectivityManagerTest.java504 List<HotspotNetwork> networks = List.of(buildHotspotNetwork()); in getHotspotNetworks_shouldReturnNetworksList() local
506 when(mService.getHotspotNetworks()).thenReturn(networks); in getHotspotNetworks_shouldReturnNetworksList()
532 List<KnownNetwork> networks = List.of(buildKnownNetwork()); in getKnownNetworks_shouldReturnNetworksList() local
534 when(mService.getKnownNetworks()).thenReturn(networks); in getKnownNetworks_shouldReturnNetworksList()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiNetworkSuggestionTest.java176 List<WifiConfiguration> networks = TestHelper.findMatchingSavedNetworksWithBssid( in setUpClass() local
178 if (!networks.isEmpty()) { in setUpClass()
179 sTestNetwork = networks.get(0); in setUpClass()
DTestHelper.java956 Network[] networks = mConnectivityManager.getAllNetworks(); in getNumWifiConnections() local
957 return Arrays.stream(networks) in getNumWifiConnections()
DWifiManagerTest.java619 private int findConfiguredNetworks(String SSID, List<WifiConfiguration> networks) { in findConfiguredNetworks() argument
620 for (final WifiConfiguration w : networks) { in findConfiguredNetworks()
622 return networks.indexOf(w); in findConfiguredNetworks()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java1067 Network[] networks = connManager.getAllNetworks(); in isWifiConnected() local
1068 for (Network network : networks) { in isWifiConnected()