Home | History | Annotate | Download | only in android

Lines Matching refs:network

27  * The corresponding C type for android.net.Network#getNetworkHandle() return
38 * The value NETWORK_UNSPECIFIED indicates no specific network.
44 * not used to indicate some notion of the "current default network".
57 * Set the network to be used by the given socket file descriptor.
61 * This is the equivalent of: [android.net.Network#bindSocket()](https://developer.android.com/reference/android/net/Network.html#bindSocket(java.net.Socket))
64 int android_setsocknetwork(net_handle_t network, int fd);
68 * Binds the current process to |network|. All sockets created in the future
70 * |network|. All host name resolutions will be limited to |network| as well.
71 * Note that if the network identified by |network| ever disconnects, all
74 * accidentally use sockets it thinks are still bound to a particular network.
78 * This is the equivalent of: [android.net.ConnectivityManager#setProcessDefaultNetwork()](https://developer.android.com/reference/android/net/ConnectivityManager.html#setProcessDefaultNetwork(android.net.Network))
81 int android_setprocnetwork(net_handle_t network);
85 * Perform hostname resolution via the DNS servers associated with |network|.
87 * All arguments (apart from |network|) are used identically as those passed
95 * This is the equivalent of: [android.net.Network#getAllByName()](https://developer.android.com/reference/android/net/Network.html#getAllByName(java.lang.String))
98 int android_getaddrinfofornetwork(net_handle_t network,