Home
last modified time | relevance | path

Searched refs:Network (Results 1 – 25 of 102) sorted by relevance

12345

/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl21 import android.net.Network;
46 Network getActiveNetwork(); in getActiveNetwork()
50 NetworkInfo getNetworkInfoForNetwork(in Network network); in getNetworkInfoForNetwork()
52 Network getNetworkForType(int networkType); in getNetworkForType()
53 Network[] getAllNetworks(); in getAllNetworks()
60 LinkProperties getLinkProperties(in Network network); in getLinkProperties()
62 NetworkCapabilities getNetworkCapabilities(in Network network); in getNetworkCapabilities()
97 void reportNetworkConnectivity(in Network network, boolean hasConnectivity); in reportNetworkConnectivity()
103 ProxyInfo getProxyForNetwork(in Network nework); in getProxyForNetwork()
131 boolean requestBandwidthUpdate(in Network network); in requestBandwidthUpdate()
[all …]
DNetwork.java55 public class Network implements Parcelable { class
68 private volatile com.android.okhttp.internal.Network mNetwork = null;
85 public Network(int netId) { in Network() method in Network
92 public Network(Network that) { in Network() method in Network
223 mNetwork = new com.android.okhttp.internal.Network() { in maybeInitHttpClient()
226 return Network.this.getAllByName(host); in maybeInitHttpClient()
396 public static final Creator<Network> CREATOR =
397 new Creator<Network>() {
398 public Network createFromParcel(Parcel in) {
401 return new Network(netId);
[all …]
DConnectivityManager.java664 public Network getActiveNetwork() { in getActiveNetwork()
729 public NetworkInfo getNetworkInfo(Network network) { in getNetworkInfo()
770 public Network getNetworkForType(int networkType) { in getNetworkForType()
786 public Network[] getAllNetworks() { in getAllNetworks()
859 public LinkProperties getLinkProperties(Network network) { in getLinkProperties()
876 public NetworkCapabilities getNetworkCapabilities(Network network) { in getNetworkCapabilities()
1094 Network currentNetwork;
1106 public void onAvailable(Network network) {
1112 public void onLost(Network network) {
1732 public void reportBadNetwork(Network network) { in reportBadNetwork()
[all …]
DNetworkState.java32 public final Network network;
37 NetworkCapabilities networkCapabilities, Network network, String subscriberId, in NetworkState()
DNetwork.aidl20 parcelable Network;
DVpnService.java30 import android.net.Network;
324 public boolean setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks()
716 public Builder setUnderlyingNetworks(Network[] networks) { in setUnderlyingNetworks()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkTest.java24 import android.net.Network;
39 final Network mNetwork = new Network(99);
103 Network zero = new Network(0); in testZeroIsObviousForDebugging()
111 Network one = new Network(1); in testGetNetworkHandle()
112 Network two = new Network(2); in testGetNetworkHandle()
113 Network three = new Network(3); in testGetNetworkHandle()
/frameworks/volley/src/test/java/com/android/volley/toolbox/
DRequestQueueTest.java32 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class, in publicMethods()
34 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class)); in publicMethods()
35 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class)); in publicMethods()
/frameworks/base/docs/html/training/basics/network-ops/
Dindex.jd1 page.title=Performing Network Operations
6 next.title=Connecting to the Network
27 <li><a href="{@docRoot}training/volley/index.html">Transmitting Network Data Using Volley</a></li>
56 training/volley/index.html">Transmitting Network Data Using Volley</a>
68 <dt><b><a href="connecting.html">Connecting to the Network</a></b></dt>
73 <dt><b><a href="managing.html">Managing Network Usage</a></b></dt>
Dconnecting.jd1 page.title=Connecting to the Network
2 parent.title=Performing Network Operations
6 next.title=Managing Network Usage
19 <li><a href="#connection">Check the Network Connection</a></li>
20 <li><a href="#AsyncTask">Perform Network Operations on a Separate Thread</a></li>
28 <li><a href="{@docRoot}training/volley/index.html">Transmitting Network Data Using Volley</a></li>
61 <h2 id="connection">Check the Network Connection</h2>
70 href="{@docRoot}training/basics/network-ops/managing.html">Managing Network
87 <h2 id="AsyncTask">Perform Network Operations on a Separate Thread</h2>
89 <p>Network operations can involve unpredictable delays. To prevent this from
/frameworks/volley/src/test/java/com/android/volley/mock/
DMockNetwork.java19 import com.android.volley.Network;
25 public class MockNetwork implements Network {
/frameworks/volley/src/main/java/com/android/volley/
DRequestQueue.java86 private final Network mNetwork;
108 public RequestQueue(Cache cache, Network network, int threadPoolSize, in RequestQueue()
123 public RequestQueue(Cache cache, Network network, int threadPoolSize) { in RequestQueue()
134 public RequestQueue(Cache cache, Network network) { in RequestQueue()
DNetworkDispatcher.java39 private final Network mNetwork;
57 Network network, Cache cache, in NetworkDispatcher()
DNetwork.java22 public interface Network { interface
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java23 import android.net.Network;
106 public final Network network;
166 public NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, in NetworkAgentInfo()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java157 static class Network { class in SettingsBackupAgent
164 public static Network readFromStream(BufferedReader in) { in readFromStream()
165 final Network n = new Network(); in readFromStream()
273 if (!(o instanceof Network)) return false; in equals()
274 final Network other; in equals()
276 other = (Network) o; in equals()
292 boolean networkInWhitelist(Network net, List<WifiConfiguration> whitelist) { in networkInWhitelist()
307 final HashSet<Network> mKnownNetworks = new HashSet<Network>();
308 final ArrayList<Network> mNetworks = new ArrayList<Network>(8);
318 Network net = Network.readFromStream(in); in readNetworks()
[all …]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DVolley.java25 import com.android.volley.Network;
63 Network network = new BasicNetwork(stack); in newRequestQueue()
/frameworks/base/docs/html/distribute/analyze/
Dimprove-roi.jd15 <h2 id="campaignattribution">Multi-Network Campaign Attribution</h2>
35 <th>Network</th>
81 <li>Network Alpha is very efficient in driving high download volumes, but
85 <li>Network Beta is driving more revenue than any other network, but the net
89 <li>Network Gamma has a strong profit, but it is not delivering similar
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dindex.jd29 <p>DevBytes: Network Service Discovery</p>
37 Network Service Discovery (NSD) takes this further by allowing an application to
54 <dt><strong><a href="nsd.html">Using Network Service Discovery</a></strong></dt>
Dnsd.jd1 page.title=Using Network Service Discovery
13 <li><a href="#register">Register Your Service on the Network</a></li>
14 <li><a href="#discover">Discover Services on the Network</a></li>
15 <li><a href="#connect">Connect to Services on the Network</a></li>
36 <p>Adding Network Service Discovery (NSD) to your app allows your users to
47 <h2 id="register">Register Your Service on the Network</h2>
52 next section, <a href="#discover">Discover Services on the Network</a>.</p>
183 <h2 id="discover">Discover Services on the Network</h2>
287 <h2 id="connect">Connect to Services on the Network</h2>
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java29 import android.net.Network;
104 public Network[] underlyingNetworks;
189 config.underlyingNetworks = in.createTypedArray(Network.CREATOR);
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl28 import android.net.Network;
173 Network getCurrentNetwork(); in getCurrentNetwork()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java26 import android.net.Network;
238 public void onAvailable(Network network) {
247 public void onLost(Network network) {
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java57 import android.net.Network;
416 private final ArrayDeque<Pair<Network,ReadOnlyLocalLog>> mValidationLogs =
417 new ArrayDeque<Pair<Network,ReadOnlyLocalLog>>(MAX_VALIDATION_LOGS);
419 private void addValidationLogs(ReadOnlyLocalLog log, Network network) { in addValidationLogs()
831 Network network = null; in getFilteredNetworkState()
861 private NetworkAgentInfo getNetworkAgentInfoForNetwork(Network network) { in getNetworkAgentInfoForNetwork()
870 private Network[] getVpnUnderlyingNetworks(int uid) { in getVpnUnderlyingNetworks()
887 Network network = null; in getUnfilteredActiveNetworkState()
892 final Network[] networks = getVpnUnderlyingNetworks(uid); in getUnfilteredActiveNetworkState()
981 public Network getActiveNetwork() { in getActiveNetwork()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java64 import android.net.Network;
227 public void onCapabilitiesChanged(Network network, in connect()
264 public Network getNetwork() { in getNetwork()
265 return new Network(mNetworkAgent.netId); in getNetwork()
380 final Network[] networks = ConnectivityManager.from(getContext()).getAllNetworks(); in reserveNetId()
382 for (Network network : networks) { in reserveNetId()
804 public void onAvailable(Network network) { in onAvailable()
810 public void onLosing(Network network, int maxMsToLive) { in onLosing()
816 public void onLost(Network network) { in onLost()

12345