HomeSort by relevance Sort by last modified time
    Searched refs:Network (Results 51 - 75 of 503) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/volley/src/main/java/com/android/volley/
RequestQueue.java 33 * resolving from either cache or network on a worker thread, and then delivering
58 /** The queue of requests that are actually going out to the network. */
62 /** Number of network request dispatcher threads to start. */
68 /** Network interface for performing requests. */
69 private final Network mNetwork;
74 /** The network dispatchers. */
87 * @param network A Network interface for performing HTTP requests
88 * @param threadPoolSize Number of network dispatcher threads to create
91 public RequestQueue(Cache cache, Network network, int threadPoolSize
    [all...]
  /frameworks/base/core/java/android/net/
IIpSecService.aidl 20 import android.net.Network;
47 in Network underlyingNetwork,
NetworkState.java 24 * Snapshot of network state.
36 public final Network network; field in class:NetworkState
41 NetworkCapabilities networkCapabilities, Network network, String subscriberId,
46 this.network = network;
50 // This object is an atomic view of a network, so the various components
65 network = in.readParcelable(null);
80 out.writeParcelable(network, flags)
    [all...]
ConnectivityManager.java 67 * Class that answers queries about the state of network connectivity. It also
68 * notifies applications when network connectivity changes.
72 * <li>Monitor network connections (Wi-Fi, GPRS, UMTS, etc.)</li>
73 * <li>Send broadcast intents when network connectivity changes</li>
74 * <li>Attempt to "fail over" to another network when connectivity to a network
87 * A change in network connectivity has occurred. A default connection has either
88 * been established or lost. The NetworkInfo for the affected network is
100 * disconnected network, then the FAILOVER_CONNECTION boolean extra is
104 * to connect (or has already connected) to another network, th
2948 final Network network = getObject(message, Network.class); local
    [all...]
IpSecConfig.java 41 // The underlying Network that represents the "gateway" Network
43 private Network mNetwork;
107 /** Set the underlying network that will carry traffic for this transform */
108 public void setNetwork(Network network) {
109 mNetwork = network;
165 public Network getNetwork() {
244 mNetwork = (Network) in.readParcelable(Network.class.getClassLoader())
    [all...]
  /packages/apps/Settings/src/com/android/settings/network/
PrivateDnsPreferenceController.java 17 package com.android.settings.network;
33 import android.net.Network;
97 final Network defaultNetwork = mConnectivityManager.getActiveNetwork();
151 public void onLinkPropertiesChanged(Network network, LinkProperties lp) {
158 public void onLost(Network network) {
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
ipxrtdef.h 68 UCHAR Network[4];
109 UCHAR Network[4];
114 UCHAR Network[4];
187 UCHAR Network[4];
  /system/netd/server/
PhysicalNetwork.h 20 #include "Network.h"
26 class PhysicalNetwork : public Network {
41 // These refer to permissions that apps must have in order to use this network.
VirtualNetwork.h 22 #include "Network.h"
31 // Only a few privileged UIDs may skip the VPN and go directly to the underlying physical network.
34 // permitted to skip it and pick any other network for their connections.
35 class VirtualNetwork : public Network {
  /device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
WiFi2.h 47 // The connection was refused by the Network.
51 // The connection establishment operation failed (i.e, Network is not
168 // Pointer to the AKM suites supported in the wireless network.
172 // Pointer to the cipher suites supported in the wireless network.
182 // Specifies the found wireless network.
184 EFI_80211_NETWORK Network;
186 // Indicates the network quality as a value between 0 to 100, where 100
187 // indicates the highest network quality.
223 // EFI_DEVICE_ERROR: An unexpected network or system error occurred.
245 // Specifies the wireless network to connect to.
    [all...]
  /external/volley/src/main/java/com/android/volley/toolbox/
Volley.java 25 import com.android.volley.Network;
39 * @param stack A {@link BaseHttpStack} to use for the network, or null for default.
43 BasicNetwork network; local
46 network = new BasicNetwork(new HurlStack());
60 network = new BasicNetwork(
64 network = new BasicNetwork(stack);
67 return newRequestQueue(context, network);
74 * @param stack An {@link HttpStack} to use for the network, or null for default.
88 private static RequestQueue newRequestQueue(Context context, Network network) {
    [all...]
  /frameworks/base/services/net/java/android/net/ip/
IpManager.java 22 import android.net.Network;
91 public Builder withNetwork(Network network) {
92 super.withNetwork(network);
  /frameworks/base/tests/net/java/com/android/server/connectivity/
NetworkMonitorTest.java 27 import android.net.Network;
62 when(mAgent.network()).thenReturn(new Network(TEST_ID));
DnsManagerTest.java 37 import android.net.Network;
98 mDnsManager.updatePrivateDns(new Network(TEST_NETID),
100 mDnsManager.updatePrivateDns(new Network(TEST_NETID_ALTERNATE),
135 mDnsManager.updatePrivateDns(new Network(TEST_NETID),
182 mDnsManager.updatePrivateDns(new Network(TEST_NETID),
217 // Network removed
218 mDnsManager.removeNetwork(new Network(TEST_NETID));
228 mDnsManager.updatePrivateDns(new Network(TEST_NETID),
  /external/webrtc/webrtc/p2p/base/
stunport.h 33 rtc::Network* network,
39 UDPPort* port = new UDPPort(thread, factory, network, socket, username,
50 rtc::Network* network,
59 new UDPPort(thread, factory, network, ip, min_port, max_port, username,
112 rtc::Network* network,
123 rtc::Network* network,
    [all...]
  /external/webrtc/webrtc/p2p/client/
basicportallocator.h 19 #include "webrtc/base/network.h"
118 // network (or a timeout occurs), we will start allocating ports.
168 void DisableEquivalentPhases(rtc::Network* network,
182 void GetNetworks(std::vector<rtc::Network*>* networks);
243 // network and IP address.
256 rtc::Network* network,
265 const rtc::Network* network() const { return network_; function in class:cricket::AllocationSequence
    [all...]
  /frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
CaptivePortalLoginActivity.java 29 import android.net.Network;
68 * This activity requests network connection if there is no available one before loading the real
79 private Network mNetwork;
114 final Network network = getNetworkForCaptivePortal(); local
115 if (network == null) {
118 setNetwork(network);
138 // Give time for this network to become default. After 500ms just proceed.
160 private void setNetwork(Network network) {
    [all...]
  /cts/tests/tests/telephony/src/android/telephony/cts/
SubscriptionManagerTest.java 35 import android.net.Network;
88 * {@link NetworkCapabilities#TRANSPORT_CELLULAR} network must both be
96 + " but has no active cellular network, which is required for validation");
98 fail("Device has active cellular network, but claims to not support "
167 final Network net = findCellularNetwork();
168 assertNotNull("Active cellular network required", net);
220 final Network net = findCellularNetwork();
221 assertNotNull("Active cellular network required", net);
304 public static CountDownLatch waitForNetworkCapabilities(Network network,
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
MultiNetworkConnectivityTestActivity.java 39 import android.net.Network;
67 * - When the wifi network does not have internet connectivity, the device should
69 * - When the wifi network that the phone connects to loses connectivity, then
71 * detects that the Wifi network doesn't have internet.
111 Log.d(TAG, "New network state " + networkInfo.getState());
289 Network network) {
290 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network);
299 Network[] allNetworks = mConnectivityManager.getAllNetworks();
300 for (Network network : allNetworks)
508 int network = addOrUpdateNetwork(); local
    [all...]
  /developers/build/prebuilts/gradle/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/
MainActivity.java 22 import android.net.Network;
37 * This sample demonstrates how to determine if a high-bandwidth network is available for use cases
38 * that require a minimum network bandwidth, such as streaming media or downloading large files.
39 * In addition, the sample demonstrates best practices for asking a user to add a new Wi-Fi network
40 * for high-bandwidth network operations, if currently available networks are inadequate.
45 // Intent action for sending the user directly to the add Wi-Fi network activity.
49 // Message to notify the network request timout handler that too much time has passed.
52 // How long the app should wait trying to connect to a sufficient high-bandwidth network before
53 // asking the user to add a new Wi-Fi network.
56 // The minimum network bandwidth required by the app for high-bandwidth operations
152 Network network = mConnectivityManager.getBoundNetworkForProcess(); local
    [all...]
  /developers/samples/android/wearable/wear/WearHighBandwidthNetworking/Wearable/src/main/java/com/example/android/wearable/wear/wearhighbandwidthnetworking/
MainActivity.java 22 import android.net.Network;
37 * This sample demonstrates how to determine if a high-bandwidth network is available for use cases
38 * that require a minimum network bandwidth, such as streaming media or downloading large files.
39 * In addition, the sample demonstrates best practices for asking a user to add a new Wi-Fi network
40 * for high-bandwidth network operations, if currently available networks are inadequate.
45 // Intent action for sending the user directly to the add Wi-Fi network activity.
49 // Message to notify the network request timout handler that too much time has passed.
52 // How long the app should wait trying to connect to a sufficient high-bandwidth network before
53 // asking the user to add a new Wi-Fi network.
56 // The minimum network bandwidth required by the app for high-bandwidth operations
152 Network network = mConnectivityManager.getBoundNetworkForProcess(); local
    [all...]
  /development/samples/browseable/WearHighBandwidthNetworking/src/com.example.android.wearable.wear.wearhighbandwidthnetworking/
MainActivity.java 22 import android.net.Network;
37 * This sample demonstrates how to determine if a high-bandwidth network is available for use cases
38 * that require a minimum network bandwidth, such as streaming media or downloading large files.
39 * In addition, the sample demonstrates best practices for asking a user to add a new Wi-Fi network
40 * for high-bandwidth network operations, if currently available networks are inadequate.
45 // Intent action for sending the user directly to the add Wi-Fi network activity.
49 // Message to notify the network request timout handler that too much time has passed.
52 // How long the app should wait trying to connect to a sufficient high-bandwidth network before
53 // asking the user to add a new Wi-Fi network.
56 // The minimum network bandwidth required by the app for high-bandwidth operations
152 Network network = mConnectivityManager.getBoundNetworkForProcess(); local
    [all...]
  /external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
NetworkMonitorTest.java 38 import android.net.Network;
55 * Listens for alerts fired by the NetworkMonitor when network status changes.
96 public Network[] getAllNetworks() {
97 return new Network[0];
101 public NetworkState getNetworkState(Network network) {
160 * Helper method to create a network monitor and delegates for testing.
210 * Tests that when there is an intent indicating a change in network connectivity, it sends a
256 * active network connections so it cannot usefully check results, but it can at least check
266 Network[] networks = delegate.getAllNetworks()
    [all...]
  /frameworks/base/core/java/android/app/job/
JobParameters.java 23 import android.net.Network;
71 private final Network network; field in class:JobParameters
80 String[] triggeredContentAuthorities, Network network) {
90 this.network = network;
187 * Return the network that should be used to perform any network requests
190 * Devices may have multiple active network connections simultaneously, o
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiNoInternetDialog.java 24 import android.net.Network;
49 private Network mNetwork;
74 mNetwork = new Network(Integer.parseInt(intent.getData().getSchemeSpecificPart()));
80 Log.e(TAG, "Can't determine network from '" + intent.getData() + "' , exiting");
85 // TODO: add a registerNetworkCallback(Network network, NetworkCallback networkCallback) and
90 public void onLost(Network network) {
91 // Close the dialog if the network disconnects.
92 if (mNetwork.equals(network)) {
    [all...]

Completed in 462 milliseconds

1 23 4 5 6 7 8 91011>>