HomeSort by relevance Sort by last modified time
    Searched refs:network (Results 26 - 50 of 879) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/ndk/r11/platforms/android-24/arch-x86/usr/include/android/
multinetwork.h 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".
56 * Set the network to be used by the given socket file descriptor.
62 * [ android.net.Network#bindSocket() ]
63 * https://developer.android.com/reference/android/net/Network.html#bindSocket(java.net.Socket)
65 int android_setsocknetwork(net_handle_t network, int fd);
69 * Binds the current process to |network|. All sockets created in the future
71 * |network|. All host name resolutions will be limited to |network| as well
    [all...]
  /prebuilts/ndk/r11/platforms/android-24/arch-x86_64/usr/include/android/
multinetwork.h 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".
56 * Set the network to be used by the given socket file descriptor.
62 * [ android.net.Network#bindSocket() ]
63 * https://developer.android.com/reference/android/net/Network.html#bindSocket(java.net.Socket)
65 int android_setsocknetwork(net_handle_t network, int fd);
69 * Binds the current process to |network|. All sockets created in the future
71 * |network|. All host name resolutions will be limited to |network| as well
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
MultinetworkApiTest.java 21 import android.net.Network;
54 private Network[] getTestableNetworks() {
55 final ArrayList<Network> testableNetworks = new ArrayList<Network>();
56 for (Network network : mCM.getAllNetworks()) {
57 final NetworkCapabilities nc = mCM.getNetworkCapabilities(network);
61 testableNetworks.add(network);
66 "This test requires that at least one network be connected. " +
67 "Please ensure that the device is connected to a network."
    [all...]
  /external/autotest/server/site_tests/network_WiFi_ChaosConfigSniffer/
network_WiFi_ChaosConfigSniffer.py 10 from autotest_lib.client.common_lib.cros.network import iw_runner
29 network = networks[0]
32 f.write(pprint.pformat(network))
34 f.write('[%s]\n' % network.bss)
38 f.write('ssid = %s\n' % network.ssid)
39 f.write('frequency = %s\n' % network.frequency)
41 if network.frequency > 2484:
42 f.write('bss5 = %s\n' % network.bss)
44 f.write('bss = %s\n' % network.bss)
47 f.write('security = %s\n' % network.security
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/tethering/
UpstreamNetworkMonitor.java 28 import android.net.Network;
42 * A class to centralize all the network and link properties information
43 * pertaining to the current and any potential upstream network.
46 * network and a second to observe all networks. The latter is necessary
81 private final HashMap<Network, NetworkState> mNetworkMap = new HashMap<>();
87 private Network mCurrentDefault;
156 // The existing default network and DUN callbacks will be notified.
163 mLog.i("requesting mobile upstream network: " + mobileUpstreamRequest);
175 public NetworkState lookup(Network network) {
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/
wpa_supplicant.conf 19 # file whenever configuration is changed (e.g., new network block is added with
26 # global configuration (shared by all network blocks)
46 # possible to run wpa_supplicant as root (since it needs to change network
49 # change the network configuration, this access needs to be protected in many
95 # the currently enabled networks are found, a new network (IBSS or AP mode
105 # the network blocks in the configuration file are tried one by one until
106 # the driver reports successful association; each network block should have
111 # For finding networks using hidden SSID, scan_ssid=1 in the network block can
113 # When using IBSS or AP mode, ap_scan=2 mode can force the new network to be
116 # networks are found, a new IBSS or AP mode network is created
    [all...]
  /external/wpa_supplicant_8/wpa_supplicant/examples/
ieee8021x.conf 5 network={
6 ssid="example 802.1x network"
wep.conf 5 network={
6 ssid="example wep network"
wpa-psk-tkip.conf 5 network={
6 ssid="example wpa-psk network"
wpa2-eap-ccmp.conf 5 network={
6 ssid="example wpa2-eap network"
  /external/autotest/server/site_tests/network_WiFi_Reassociate/
network_WiFi_Reassociate.py 5 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes
6 from autotest_lib.server.cros.network import hostap_config
7 from autotest_lib.server.cros.network import wifi_cell_test_base
  /external/autotest/site_utils/admin/
suite_scheduler.conf 5 start on (starting network-interface
6 or starting network-manager
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
ChartData.java 22 public NetworkStatsHistory network; field in class:ChartData
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
WifiSavedConfigUtils.java 41 for (WifiConfiguration network : savedNetworks) {
42 // Configuration for Passpoint network is configured temporary by WifiService for
46 if (network.isPasspoint()) {
50 if (network.isEphemeral()) {
53 savedConfigs.add(new AccessPoint(context, network));
  /frameworks/base/wifi/java/android/net/wifi/
WifiNetworkScoreCache.java 48 // A Network scorer returns a score in the range [-128, +127]
50 // scorer to provide an RSSI threshold below which a network should not be used.
93 for (ScoredNetwork network : networks) {
94 String networkKey = buildNetworkKey(network);
97 Log.d(TAG, "Failed to build network key for ScoredNetwork" + network);
101 mNetworkCache.put(networkKey, network);
123 * scores from the network scorer.
132 * A null score curve has special meaning - we should never connect to an ephemeral network if
136 ScoredNetwork network = getScoredNetwork(result) local
144 ScoredNetwork network = getScoredNetwork(result); local
162 ScoredNetwork network = getScoredNetwork(result); local
170 ScoredNetwork network = getScoredNetwork(result); local
189 ScoredNetwork network = mNetworkCache.get(key); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
AuthException.java 17 package com.android.inputmethod.latin.network;
  /external/autotest/client/cros/networking/chrome_testing/
test_utils.py 17 def get_ui_property(network, property_name, expansion_level=1):
22 @param network: A JSON dictionary containing network data, as returned by
42 result = network
58 Polls until the given network property has the expected value.
62 @param network_guid: GUID of the network.
73 network = call_test_function_check_success(
77 value = get_ui_property(network, property_name, expansion_level)
81 error.TestFail('Property "' + property_name + '" on network "' +
88 network, expected_name, expected_type, check_name_prefix=True)
    [all...]
  /external/autotest/server/site_tests/network_WiFi_Manual/
network_WiFi_Manual.py 7 from autotest_lib.server.cros.network import hostap_config
8 from autotest_lib.server.cros.network import wifi_cell_test_base
  /frameworks/base/core/java/com/android/server/net/
NetworkPinner.java 22 import android.net.Network;
30 * A class that pins a process to the first network that satisfies a particular NetworkRequest.
33 * to connect to a Wi-Fi network that has no Internet access, and then assume that they will be
34 * able to use that network because it's the system default.
37 * we try not to set the default network unless they have already done so, and we try not to
38 * clear the default network unless we set it ourselves.
41 * any wifi network that was created via enableNetwork(..., true) until that network
44 * Note that while this hack allows network traffic to flow, it is quite limited. For example:
51 * - getActiveNetworkInfo will return the system default network, not Wi-Fi
    [all...]
  /external/autotest/client/site_tests/network_ChromeWifiConfigure/
network_ChromeWifiConfigure.py 18 a WiFi network and retreive the properties of that network.
23 def _test_property(self, network, property_name, expected_value):
24 value = test_utils.get_ui_property(network, property_name)
48 network = test_utils.call_test_function_check_success(
52 logging.info(' result: ' + str(network))
54 self._test_property(network, 'Type', 'WiFi')
55 self._test_property(network, 'WiFi.Security', security)
  /frameworks/base/core/java/android/net/
NetworkState.java 23 * Snapshot of network state.
33 public final Network network; field in class:NetworkState
38 NetworkCapabilities networkCapabilities, Network network, String subscriberId,
43 this.network = network;
52 network = in.readParcelable(null);
67 out.writeParcelable(network, flags);
  /frameworks/base/native/android/
net.c 29 // the android.net.Network#getNetworkHandle() implementation.
45 int android_setsocknetwork(net_handle_t network, int fd) {
47 if (!getnetidfromhandle(network, &netid)) {
60 int android_setprocnetwork(net_handle_t network) {
62 if (!getnetidfromhandle(network, &netid)) {
75 int android_getaddrinfofornetwork(net_handle_t network,
79 if (!getnetidfromhandle(network, &netid)) {
  /frameworks/base/core/tests/coretests/src/android/net/
ScoredNetworkTest.java 100 ScoredNetwork network = new ScoredNetwork(KEY, null /* rssiCurve */); local
101 assertFalse(network.hasRankingScore());
106 ScoredNetwork network = local
108 assertTrue(network.hasRankingScore());
113 ScoredNetwork network = local
115 assertTrue(network.hasRankingScore());
120 ScoredNetwork network = new ScoredNetwork(KEY, CURVE, true /* meteredHint */, ATTRIBUTES); local
126 network.writeToParcel(parcel, 0 /* flags */);
146 ScoredNetwork network = new ScoredNetwork(KEY, CURVE, true /* meteredHint */); local
152 network.writeToParcel(parcel, 0 /* flags */)
169 ScoredNetwork network = new ScoredNetwork(KEY, CURVE); local
175 ScoredNetwork network = new ScoredNetwork(KEY, CURVE, false \/* meteredHint *\/, ATTRIBUTES); local
181 ScoredNetwork network = local
188 ScoredNetwork network = local
195 ScoredNetwork network = local
202 ScoredNetwork network = local
    [all...]
  /prebuilts/go/darwin-x86/doc/progs/
gobs2.go 26 // bound to network connections and the encoder and decoder would
28 var network bytes.Buffer // Stand-in for a network connection
29 enc := gob.NewEncoder(&network) // Will write to network.
30 dec := gob.NewDecoder(&network) // Will read from network.
  /prebuilts/go/linux-x86/doc/progs/
gobs2.go 26 // bound to network connections and the encoder and decoder would
28 var network bytes.Buffer // Stand-in for a network connection
29 enc := gob.NewEncoder(&network) // Will write to network.
30 dec := gob.NewDecoder(&network) // Will read from network.

Completed in 1085 milliseconds

12 3 4 5 6 7 8 91011>>