HomeSort by relevance Sort by last modified time
    Searched refs:networks (Results 51 - 75 of 124) sorted by null

1 23 4 5

  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WakeupConfigStoreData.java 165 Set<ScanResultMatchInfo> networks = new ArraySet<>(); local
174 networks.add(parseNetwork(in, outerTagDepth + 1));
179 mNetworkDataSource.setData(networks);
WifiBackupRestore.java 140 * @param configurations list of currently saved networks that needs to be backed up.
221 * @return list of networks retrieved from the backed up data.
334 * @return list of networks retrieved from the backed up data.
349 // Incorporate the networks present in the backup data.
364 SparseArray<IpConfiguration> networks = local
367 if (networks != null) {
368 for (int i = 0; i < networks.size(); i++) {
369 int id = networks.keyAt(i);
373 configuration.setIpConfiguration(networks.valueAt(i));
670 // ConfigKey mismatches are expected for private networks because th
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiConfigurationUtilTest.java 640 List<WifiConfiguration> networks = new ArrayList<>(); local
657 // Add all the networks to the list.
658 networks.add(tempDisabledNetwork1);
659 networks.add(enabledNetwork1);
660 networks.add(permDisabledNetwork);
661 networks.add(tempDisabledNetwork2);
662 networks.add(enabledNetwork2);
683 Collections.sort(networks, comparator);
685 // Now ensure that the networks were sorted correctly.
686 assertEquals(enabledNetwork1, networks.get(0))
    [all...]
WifiConfigManagerTest.java 246 List<WifiConfiguration> networks = new ArrayList<>(); local
247 networks.add(openNetwork);
254 networks, retrievedNetworks);
266 List<WifiConfiguration> networks = new ArrayList<>(); local
267 networks.add(openNetwork);
281 networks, retrievedNetworks);
294 List<WifiConfiguration> networks = new ArrayList<>(); local
295 networks.add(ephemeralNetwork);
302 networks, retrievedNetworks);
310 * Verifies the addition of 2 networks (1 normal and 1 ephemeral) usin
341 List<WifiConfiguration> networks = new ArrayList<>(); local
364 List<WifiConfiguration> networks = new ArrayList<>(); local
392 List<WifiConfiguration> networks = new ArrayList<>(); local
416 List<WifiConfiguration> networks = new ArrayList<>(); local
439 List<WifiConfiguration> networks = new ArrayList<>(); local
561 List<WifiConfiguration> networks = new ArrayList<>(); local
2737 List<WifiConfiguration> networks = new ArrayList<>(); local
3162 List<WifiConfiguration> networks = Arrays.asList(network1, network2); local
    [all...]
WifiNetworkSelectorTestUtil.java 74 * WifiConfiguration for these networks and set up the mocked WifiConfigManager.
174 * to the networkd ID) and setup the WifiConfigManager mocks for these networks.
315 * Configure the score cache for externally scored networks
319 * @param scores scores of the networks
320 * @param meteredHints hints of if the networks are metered
324 List<ScoredNetwork> networks = new ArrayList<>(); local
348 networks.add(scoredNetwork);
351 scoreCache.updateScores(networks);
355 * Setup WifiConfigManager mock for ephemeral networks.
  /tools/test/connectivity/acts/tests/google/wifi/
WifiServiceApiTest.py 89 """ Get the configured networks and check of the provided config
100 networks = self.dut.droid.wifiGetConfiguredNetworks()
101 if not networks:
104 for network in networks:
141 "Test network not found in list of configured networks.")
144 "Test network not deleted from configured networks.")
147 "Deleted network was in configured networks list.")
164 "Test network not found in list of configured networks.")
170 "Test network was found in list of configured networks.")
186 "Test network not found in list of configured networks."
    [all...]
WifiStressTest.py 42 * Several Wi-Fi networks visible to the device, including an open Wi-Fi
70 self.networks = [self.wpa_2g, self.wpa_5g, self.open_2g, self.open_5g]
223 """This test does aggressive failover to several networks in list.
226 1. Add and enable few networks.
230 5. Device should connect to a network until all networks are
236 for network in self.networks:
245 for i in range(0,len(self.networks)):
252 if i == len(self.networks) - 1:
261 "removed. Configured networks = %s" % network_config,
  /external/webrtc/webrtc/base/
network.cc 53 // limit of IPv6 networks but could be changed by set_max_ipv6_networks().
59 // Fetch list of networks every two seconds.
80 // Networks.
82 // Networks are sorted first by type.
90 // After type, networks are sorted by IP address precedence values
98 // Networks are sorted last by key.
196 void NetworkManagerBase::GetAnyAddressNetworks(NetworkList* networks) {
204 networks->push_back(ipv4_any_address_network_.get());
214 networks->push_back(ipv6_any_address_network_.get());
222 // Keep the number of IPv6 networks under |max_ipv6_networks_|
    [all...]
network_unittest.cc 92 NetworkManager::NetworkList* networks) {
96 include_ignored, networks);
268 // Add ipv4_network1 to the list of networks.
332 // Sets up some test IPv6 networks and appends them to list.
333 // Four networks are added - public and link local, for two interfaces.
347 // Public networks:
387 // Test that no more than manager.max_ipv6_networks() IPv6 networks get
395 // Add twice the allowed number of IPv6 networks.
419 // List size should be the max allowed IPv6 networks plus one IPv4 network.
426 // Tests that when two network lists that describe the same set of networks ar
953 std::vector<Network*> networks; local
    [all...]
  /tools/test/connectivity/acts/framework/acts/test_utils/wifi/
wifi_test_utils.py 420 """ Class to parse and return networks of different band and
499 networks.
512 def match_networks(target_params, networks):
513 """Finds the WiFi networks that match a given set of parameters in a list
514 of WiFi networks.
522 networks: A list of dict objects representing WiFi networks.
525 The networks that match the target parameters.
529 "Expected networks object 'target_params' is empty")
530 for n in networks
    [all...]
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
NetworkMonitorAutoDetect.java 150 * Returns all connected networks.
179 final Network[] networks = getAllNetworks(); local
181 for (Network network : networks) {
187 // There should not be multiple connected networks of the
203 * ignore specialized networks (e.g. IMS, FOTA).
  /hardware/libhardware_legacy/include/hardware_legacy/
gscan.h 318 // require firmware to store a large number of networks, covering the whole list of known networks.
331 // Calling wifi_set_epno_list shall reset the "done" status of pno networks in firmware.
334 // frequency range (min5GHz_rssi and min24GHz_rssi for 5GHz and 2.4GHz networks respectively).
382 int same_network_bonus; // score bonus for all networks with the same network flag
383 int secure_bonus; // score bonus for networks that are not open
384 int band5GHz_bonus; // 5GHz RSSI score bonus (applied to all 5GHz networks)
386 wifi_epno_network networks[MAX_EPNO_NETWORKS]; // PNO networks member in struct:__anon48403
400 /* Reset the ePNO list - no ePNO networks should be matched after this *
    [all...]
  /external/webrtc/webrtc/p2p/base/
p2ptransportchannel.cc 320 std::set<rtc::Network*> networks; local
323 if (networks.find(network) == networks.end()) {
324 networks.insert(network);
1063 std::set<rtc::Network*> networks; local
    [all...]
  /external/autotest/client/cros/networking/chrome_testing/network_test_ext/
background.js 108 }, function(networks) {
109 self._setResult("findNetworks", networks);
  /external/webrtc/webrtc/p2p/stunprober/
stunprober.h 102 const rtc::NetworkManager::NetworkList& networks);
  /prebuilts/go/darwin-x86/src/net/
dial.go 49 // This allows a client to tolerate networks where one address
245 // Known networks are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only),
250 // For TCP and UDP networks, the address has the form "host:port".
271 // For IP networks, the network must be "ip", "ip4" or "ip6" followed
283 // For TCP, UDP and IP networks, if the host is empty or a literal
288 // For Unix networks, the address must be a file system path.
570 // For TCP networks, if the host in the address parameter is empty or
611 // For UDP and IP networks, if the host in the address parameter is
udpsock.go 195 // DialUDP acts like Dial for UDP networks.
218 // ListenUDP acts like ListenPacket for UDP networks.
243 // ListenMulticastUDP acts like ListenPacket for UDP networks but
unixsock.go 191 // DialUnix acts like Dial for Unix networks.
307 // ListenUnix acts like Listen for Unix networks.
326 // ListenUnixgram acts like ListenPacket for Unix networks.
  /prebuilts/go/linux-x86/src/net/
dial.go 49 // This allows a client to tolerate networks where one address
245 // Known networks are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only),
250 // For TCP and UDP networks, the address has the form "host:port".
271 // For IP networks, the network must be "ip", "ip4" or "ip6" followed
283 // For TCP, UDP and IP networks, if the host is empty or a literal
288 // For Unix networks, the address must be a file system path.
570 // For TCP networks, if the host in the address parameter is empty or
611 // For UDP and IP networks, if the host in the address parameter is
udpsock.go 195 // DialUDP acts like Dial for UDP networks.
218 // ListenUDP acts like ListenPacket for UDP networks.
243 // ListenMulticastUDP acts like ListenPacket for UDP networks but
unixsock.go 191 // DialUnix acts like Dial for Unix networks.
307 // ListenUnix acts like Listen for Unix networks.
326 // ListenUnixgram acts like ListenPacket for Unix networks.
  /external/autotest/client/common_lib/cros/network/
iw_runner_unittest.py 376 """Test with multiple networks with the same ssids."""
380 networks = runner.wait_for_scan_result('wlan 0',
383 networks):
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
ConnectivityListener.java 235 final Network[] networks = mConnectivityManager.getAllNetworks(); local
236 for (final Network network : networks) {
281 * Return a list of wifi networks. Ensure that if a wifi network is connected that it appears
  /frameworks/base/tests/net/java/com/android/server/connectivity/
VpnTest.java 443 final Map<Network, NetworkCapabilities> networks = new HashMap<>(); local
444 networks.put(mobile, new NetworkCapabilities()
450 networks.put(wifi, new NetworkCapabilities()
456 setMockedNetworks(networks);
568 private void setMockedNetworks(final Map<Network, NetworkCapabilities> networks) {
571 return networks.get(network);
606 // All IPv4 routes except for local networks. This is the case most relevant
  /external/autotest/client/cros/cellular/pseudomodem/
pseudomodem.py 143 networks = [modem_3gpp.Modem3gpp.GsmNetwork(
154 roaming_networks=networks)
334 '--roaming-networks', '-r',
337 metavar='<# networks>',
338 help='Number of roaming networks available')
430 raise argparse.ArgumentTypeError('CDMA networks do not support '
431 'roaming networks.')

Completed in 769 milliseconds

1 23 4 5