Home | History | Annotate | Download | only in wifi

Lines Matching refs:Network

32 import android.net.Network;
81 * <li>The currently active Wi-Fi network, if any. Connectivity can be
83 * network can be queried.</li>
91 * operations that pertain to network connectivity at an abstract level, use
156 * Broadcast intent action indicating that the credential of a Wi-Fi network
157 * has been changed. One extra provides the ssid of the network. Another
237 * Raw binary data of an ANQP (Access Network Query Protocol) element.
604 * Wi-Fi network. Retrieve with
669 * This can be as a result of adding/updating/deleting a network. If
687 * Multiple network configurations have changed.
695 * The lookup key for an integer indicating the reason a Wi-Fi network configuration
782 * Wi-Fi network. Retrieve with
790 * Wi-Fi network. Retrieve with
797 * The network IDs of the configured networks could have changed.
818 * Activity Action: Pick a Wi-Fi network to connect to.
1013 * @return a list of network configurations in the form of a list
1100 * Add a new network description to the set of configured networks.
1104 * The new network will be marked DISABLED by default. To enable it,
1111 * @return the ID of the newly created network description. This is used in
1112 * other operations to specified the network to be acted upon.
1124 * Update the network description of an existing configured network.
1130 * must be set to the ID of the existing network being updated.
1138 * existing network.
1148 * Internal method for doing the RPC that creates a new network description
1152 * are to set or updated in the network description.
1153 * @return the ID of the network on success, {@code -1} on failure.
1240 * Match the currently associated network against the SP matching the given FQDN
1254 * Deauthenticate and set the re-authentication hold off time for the current network
1268 * Remove the specified network from the list of configured networks.
1275 * @param netId the ID of the network as returned by {@link #addNetwork} or {@link
1288 * Allow a previously configured network to be associated with. If
1290 * network is initiated. This may result in the asynchronous delivery
1294 * {@link android.os.Build.VERSION_CODES#LOLLIPOP} or newer, network
1296 * instead be sent through another network, such as cellular data,
1298 * Wi-Fi network that does not provide Internet access (e.g. a wireless
1299 * printer), if another network that does offer Internet access (e.g.
1301 * network traffic uses Wi-Fi should use APIs such as
1302 * {@link Network#bindSocket(java.net.Socket)},
1303 * {@link Network#openConnection(java.net.URL)}, or
1309 * @param netId the ID of the network as returned by {@link #addNetwork} or {@link
1311 * @param attemptConnect The way to select a particular network to connect to is specify
1341 * Disable a configured network. The specified network will not be
1348 * @param netId the ID of the network as returned by {@link #addNetwork} or {@link
1436 public static final int WIFI_FEATURE_PNO = 0x0400; // Preferred network offload
1523 * @return true if this adapter supports Neighbour Awareness Network APIs
1709 * Note: It is possible for this method to change the network IDs of
1710 * existing networks. You should assume the network IDs can be different
1934 * devices connected to the created WiFi hotspot. The network created by this method will not
1948 * method will be called. Example failures include errors bringing up the network or if
1974 * Applications should also be aware that this network will be shared with other applications.
1975 * Applications are responsible for protecting their data on this network (e.g., TLS).
2178 * network. It saves bandwidth and improves quality of the link.
2945 * Connect to a network with the given configuration. The network also
2948 * For a new network, this function is used instead of a
2963 // arg1 is used to pass network id when the network already exists
2969 * Connect to a network with the given networkId.
2973 * @param networkId the ID of the network as returned by {@link #addNetwork} or {@link
2981 if (networkId < 0) throw new IllegalArgumentException("Network id cannot be negative");
2986 * Save the given network to the list of configured networks for the
2987 * foreground user. If the network already exists, the configuration
2988 * is updated. Any new network is enabled by default.
2990 * For a new network, this function is used instead of a
2993 * For an existing network, it accomplishes the task of updateNetwork()
3011 * Delete the network from the list of configured networks for the
3024 if (netId < 0) throw new IllegalArgumentException("Network id cannot be negative");
3029 * Disable network
3031 * @param netId is the network Id
3038 if (netId < 0) throw new IllegalArgumentException("Network id cannot be negative");
3043 * Disable ephemeral Network
3110 * could function over a mobile network, if available. A program that needs to download large
3112 * network usage is occasional or low-bandwidth should not hold a WifiLock to avoid adversely
3583 * Get Network object of current wifi network
3584 * @return Get Network object of current wifi network
3587 public Network getCurrentNetwork() {