Lines Matching defs:network

86  *       (key, value) pairs for a given network are grouped together and can
89 * network. A network is identified by a unique ID_KEY. If there is no
123 /* configured networks with network id as the key */
127 /* A network id is a unique identifier for a network configured in the
131 * that is generated from SSID and security type of the network. A mapping
132 * from the generated unique id to network id of the network is needed to
228 loge("Enable network failed on " + config.networkId);
241 * Selects the specified network for connection. This involves
243 * network while disabling others.
245 * Selecting a network will leave the other networks disabled and
249 * @param netId network to select for connection
250 * @return false if the network id is invalid
256 // Reset the priority of each network at start or if it goes too high.
275 /* Enable the given network while disabling all other networks */
287 * @return network update result
291 // A new network cannot have null SSID
300 /* enable a new network */
320 //If network is already disabled, keep the status
333 * Forget the specified network and save config
335 * @param netId network to forget
345 loge("Failed to remove network " + netId);
351 * Add/update a network. Note that there is no saveConfig operation.
357 * @return network Id
371 * Remove a network. Note that there is no saveConfig operation.
374 * state machine for network removal
376 * @param netId network to be removed
404 * Enable a network. Note that there is no saveConfig operation.
407 * state machine for connecting to a network
409 * @param netId network to be enabled
423 // check just in case the network was removed by someone else.
453 loge("Disable network failed on " + config.networkId);
463 * Disable a network. Note that there is no saveConfig operation.
464 * @param netId network to be disabled
472 * Disable a network. Note that there is no saveConfig operation.
473 * @param netId network to be disabled
474 * @param reason reason code network was disabled
480 WifiConfiguration network = null;
482 /* Only change the reason if the network was not previously disabled */
486 network = config;
488 if (network != null) {
489 sendConfiguredNetworksChangedBroadcast(network,
560 * Fetch the link properties for a given network id
561 * @return LinkProperties for the given network id
570 * set IP configuration for a given network id
584 * clear IP configuration for a given network id
585 * @param network id
599 * Fetch the proxy properties for a given network id
600 * @param network id
601 * @return ProxyProperties for the network id
612 * Return if the specified network is using static IP
613 * @param network id
625 * Should be called when a single network configuration is made.
626 * @param network The network configuration that changed.
630 private void sendConfiguredNetworksChangedBroadcast(WifiConfiguration network,
635 intent.putExtra(WifiManager.EXTRA_WIFI_CONFIGURATION, network);
641 * Should be called when multiple network configuration changes are made.
664 // network-id | ssid | bssid | flags
669 loge("Failed to read network-id '" + result[0] + "'");
691 if (VDBG) localLog("discarded duplicate network", config.networkId);
695 if (VDBG) localLog("loaded configured network", config.networkId);
748 // Any network using certificates to authenticate access requires
1013 loge("configuration found for missing network, ignored");
1074 * network configuration. Otherwise, the networkId should
1082 // networkId of INVALID_NETWORK_ID means we want to create a new network
1091 loge("Failed to add a network!");
1292 loge("Failed to set a network variable, removed network: " + netId);
1297 /* An update of the network variables requires reading them