HomeSort by relevance Sort by last modified time
    Searched refs:Network (Results 1 - 25 of 292) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/net/
Network.aidl 20 parcelable Network;
IConnectivityManager.aidl 21 import android.net.Network;
41 * state of network connectivity.
46 Network getActiveNetwork();
47 Network getActiveNetworkForUid(int uid, boolean ignoreBlocked);
51 NetworkInfo getNetworkInfoForUid(in Network network, int uid, boolean ignoreBlocked);
53 Network getNetworkForType(int networkType);
54 Network[] getAllNetworks();
61 LinkProperties getLinkProperties(in Network network);
    [all...]
Network.java 47 * Identifies a {@code Network}. This is supplied to applications via
51 * It is used to direct traffic to the given {@code Network}, either on a {@link Socket} basis
55 public class Network implements Parcelable {
62 // Objects used to perform per-network operations such as getSocketFactory
68 private volatile com.android.okhttp.internal.Network mNetwork = null;
85 public Network(int netId) {
92 public Network(Network that) {
98 * resolution is done on this network.
110 * resolution is done on this network
    [all...]
  /frameworks/volley/src/main/java/com/android/volley/
Network.java 22 public interface Network {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
Network.java 22 * Services specific to the host device's network interface. Prefer this over {@link
25 public interface Network {
26 Network DEFAULT = new Network() {
  /system/netd/server/
Network.cpp 17 #include "Network.h"
25 Network::~Network() {
27 ALOGE("deleting network with netId %u without clearing its interfaces", mNetId);
31 unsigned Network::getNetId() const {
35 bool Network::hasInterface(const std::string& interface) const {
39 const std::set<std::string>& Network::getInterfaces() const {
43 int Network::clearInterfaces() {
55 std::string Network::toString() const {
87 Network::Network(unsigned netId) : mNetId(netId)
    [all...]
DummyNetwork.cpp 27 DummyNetwork::DummyNetwork(unsigned netId) : Network(netId) {
34 Network::Type DummyNetwork::getType() const {
Network.h 25 // A Network represents a collection of interfaces participating as a single administrative unit.
26 class Network {
35 // You MUST ensure that no interfaces are still assigned to this network, say by calling
38 virtual ~Network();
54 explicit Network(unsigned netId);
LocalNetwork.cpp 24 LocalNetwork::LocalNetwork(unsigned netId) : Network(netId) {
30 Network::Type LocalNetwork::getType() const {
DummyNetwork.h 20 #include "Network.h"
22 class DummyNetwork : public Network {
LocalNetwork.h 20 #include "Network.h"
22 class LocalNetwork : public Network {
  /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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DoubleInetAddressNetwork.java 22 * A network that always resolves two IP addresses per host. Use this when testing route selection
25 public class DoubleInetAddressNetwork implements Network {
27 InetAddress[] allInetAddresses = Network.DEFAULT.resolveInetAddresses(host);
SingleInetAddressNetwork.java 22 * A network that resolves only one IP address per host. Use this when testing
26 public class SingleInetAddressNetwork implements Network {
28 InetAddress[] allInetAddresses = Network.DEFAULT.resolveInetAddresses(host);
  /frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
UserInputListener.java 3 import android.net.Network;
20 public void requestUserInput(URL target, Network network, URL endRedirect);
  /external/libweave/src/privet/
privet_types.cc 11 #include <weave/provider/network.h>
22 using provider::Network;
66 const EnumToStringMap<Network::State>::Map kNetworkStateMap[] = {
67 {Network::State::kOffline, "offline"},
68 {Network::State::kError, "error"},
69 {Network::State::kConnecting, "connecting"},
70 {Network::State::kOnline, "online"},
104 LIBWEAVE_EXPORT EnumToStringMap<Network::State>::EnumToStringMap()
  /frameworks/volley/src/test/java/com/android/volley/toolbox/
RequestQueueTest.java 32 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class,
34 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class));
35 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class));
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
SystemFacade.java 22 import android.net.Network;
34 public Network getActiveNetwork(int uid, boolean ignoreBlocked);
36 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked);
62 * Returns true if cleartext network traffic is permitted for the specified UID.
  /external/libweave/include/weave/provider/
network.h 17 // Interface with methods to detect network connectivity and opening network
19 class Network {
35 // Subscribes to notification about changes in network connectivity. Changes
50 virtual ~Network() {}
  /frameworks/base/core/tests/coretests/src/android/net/
NetworkTest.java 24 import android.net.Network;
39 final Network mNetwork = new Network(99);
103 Network zero = new Network(0);
111 Network one = new Network(1);
112 Network two = new Network(2);
113 Network three = new Network(3)
    [all...]
  /external/libweave/examples/provider/
event_network.h 8 #include <weave/provider/network.h>
20 class EventNetworkImpl : public weave::provider::Network {
43 void UpdateNetworkStateCallback(provider::Network::State state);
48 provider::Network::State network_state_{provider::Network::State::kOffline};
  /external/libweave/include/weave/provider/test/
mock_network.h 8 #include <weave/provider/network.h>
18 class MockNetwork : public Network {
  /external/webrtc/webrtc/base/
network_unittest.cc 11 #include "webrtc/base/network.h"
64 const Network& network) {
65 return network_manager.IsIgnoredNetwork(network);
151 // Test that the Network ctor works properly.
153 Network ipv4_network1("test_eth0", "Test Network Adapter 1",
156 EXPECT_EQ("Test Network Adapter 1", ipv4_network1.description());
163 Network ipv4_network1("test_eth0", "Test Network Adapter 1"
    [all...]
  /frameworks/volley/src/test/java/com/android/volley/mock/
MockNetwork.java 19 import com.android.volley.Network;
25 public class MockNetwork implements Network {
  /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...]

Completed in 449 milliseconds

1 2 3 4 5 6 7 8 91011>>