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

1 2 3 4 5 6 7

  /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();
50 NetworkInfo getNetworkInfoForNetwork(in Network network);
52 Network getNetworkForType(int networkType);
53 Network[] getAllNetworks();
60 LinkProperties getLinkProperties(in Network network);
62 NetworkCapabilities getNetworkCapabilities(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...]
  /system/netd/server/
Network.cpp 17 #include "Network.h"
22 Network::~Network() {
24 ALOGE("deleting network with netId %u without clearing its interfaces", mNetId);
28 unsigned Network::getNetId() const {
32 bool Network::hasInterface(const std::string& interface) const {
36 const std::set<std::string>& Network::getInterfaces() const {
40 int Network::clearInterfaces() {
52 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();
52 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 {
VirtualNetwork.h 20 #include "Network.h"
26 // Only a few privileged UIDs may skip the VPN and go directly to the underlying physical network.
29 // permitted to skip it and pick any other network for their connections.
30 class VirtualNetwork : public Network {
PhysicalNetwork.h 20 #include "Network.h"
23 class PhysicalNetwork : public Network {
38 // These refer to permissions that apps must have in order to use this network.
NetworkController.cpp 125 if (entry.second->getType() == Network::VIRTUAL) {
153 Network* network = getNetworkLocked(netId); local
154 if (!network) {
158 if (network->getType() != Network::PHYSICAL) {
159 ALOGE("cannot set default to non-physical network with netId %u", netId);
162 if (int ret = static_cast<PhysicalNetwork*>(network)->addAsDefault()) {
168 Network* network = getNetworkLocked(mDefaultNetId) local
276 Network* network = getNetworkLocked(netId); local
336 Network* network = getNetworkLocked(netId); local
412 Network* network = getNetworkLocked(netId); local
433 Network* network = getNetworkLocked(netId); local
450 Network* network = getNetworkLocked(netId); local
524 Network* network = getNetworkLocked(netId); local
587 Network* network = getNetworkLocked(mDefaultNetId); local
    [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() {
  /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/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));
  /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/jmonkeyengine/engine/src/test/jme3test/network/
TestNetworkStress.java 33 package jme3test.network;
35 import com.jme3.network.*;
53 Server server = Network.createServer(5110);
58 Client client = Network.connectToServer("localhost", 5110);
TestRemoteCall.java 33 package jme3test.network;
37 import com.jme3.network.Client;
38 import com.jme3.network.Network;
39 import com.jme3.network.Server;
40 import com.jme3.network.rmi.ObjectStore;
41 import com.jme3.network.serializing.Serializer;
42 import com.jme3.network.serializing.serializers.SavableSerializer;
94 Server server = Network.createServer(5110);
109 Client client = Network.connectToServer("localhost", 5110)
    [all...]
TestMessages.java 33 package jme3test.network;
35 import com.jme3.network.*;
36 import com.jme3.network.serializing.Serializable;
37 import com.jme3.network.serializing.Serializer;
51 public void messageReceived(HostedConnection source, com.jme3.network.Message message) {
60 public void messageReceived(Client source, com.jme3.network.Message message) {
71 Server server = Network.createServer(5110);
74 Client client = Network.connectToServer("localhost", 5110);
TestThroughput.java 32 package jme3test.network;
34 import com.jme3.network.*;
35 import com.jme3.network.serializing.Serializable;
36 import com.jme3.network.serializing.Serializer;
86 ((com.jme3.network.Message) msg).setReliable(testReliable);
97 //Server server = Network.createServer( "bad name", 42, 5110, 5110 );
98 Server server = Network.createServer(5110, 5110);
101 Client client = Network.connectToServer("localhost", 5110);
  /frameworks/volley/src/test/java/com/android/volley/mock/
MockNetwork.java 19 import com.android.volley.Network;
25 public class MockNetwork implements Network {
  /external/ppp/pppd/plugins/radius/etc/
dictionary.merit 11 ATTRIBUTE Framed-AppleTalk-Network 38 integer

Completed in 635 milliseconds

1 2 3 4 5 6 7