Lines Matching refs:network

78  *       (key, value) pairs for a given network are grouped together and can
81 * network. A network is identified by a unique ID_KEY. If there is no
112 /* configured networks with network id as the key */
116 /* A network id is a unique identifier for a network configured in the
120 * that is generated from SSID and security type of the network. A mapping
121 * from the generated unique id to network id of the network is needed to
187 loge("Enable network failed on " + config.networkId);
200 * Selects the specified network for connection. This involves
202 * network while disabling others.
204 * Selecting a network will leave the other networks disabled and
208 * @param netId network to select for connection
209 * @return false if the network id is invalid
214 // Reset the priority of each network at start or if it goes too high.
233 /* Enable the given network while disabling all other networks */
245 * @return network update result
248 // A new network cannot have null SSID
257 /* enable a new network */
277 //If network is already disabled, keep the status
290 * Forget the specified network and save config
292 * @param netId network to forget
310 loge("Failed to remove network " + netId);
316 * Add/update a network. Note that there is no saveConfig operation.
322 * @return network Id
335 * Remove a network. Note that there is no saveConfig operation.
338 * state machine for network removal
340 * @param netId network to be removed
360 * Enable a network. Note that there is no saveConfig operation.
363 * state machine for connecting to a network
365 * @param netId network to be enabled
377 // check just in case the network was removed by someone else.
399 * Disable a network. Note that there is no saveConfig operation.
400 * @param netId network to be disabled
408 * Disable a network. Note that there is no saveConfig operation.
409 * @param netId network to be disabled
410 * @param reason reason code network was disabled
415 WifiConfiguration network = null;
417 /* Only change the reason if the network was not previously disabled */
421 network = config;
423 if (network != null) {
424 sendConfiguredNetworksChangedBroadcast(network,
495 * Fetch the link properties for a given network id
496 * @return LinkProperties for the given network id
505 * get IP configuration for a given network id
510 * @return DhcpInfoInternal for the given network id
536 * set IP configuration for a given network id
552 * clear IP configuration for a given network id
553 * @param network id
567 * Fetch the proxy properties for a given network id
568 * @param network id
569 * @return ProxyProperties for the network id
580 * Return if the specified network is using static IP
581 * @param network id
593 * Should be called when a single network configuration is made.
594 * @param network The network configuration that changed.
598 private void sendConfiguredNetworksChangedBroadcast(WifiConfiguration network,
603 intent.putExtra(WifiManager.EXTRA_WIFI_CONFIGURATION, network);
609 * Should be called when multiple network configuration changes are made.
632 // network-id | ssid | bssid | flags
912 loge("configuration found for missing network, ignored");
965 * network configuration. Otherwise, the networkId should
970 // networkId of INVALID_NETWORK_ID means we want to create a new network
979 loge("Failed to add a network!");
1157 loge("Failed to set a network variable, removed network: " + netId);
1162 /* An update of the network variables requires reading them