Searched refs:network (Results 1 - 15 of 15) sorted by relevance

/frameworks/volley/tests/src/com/android/volley/
H A DRequestQueueTest.java72 OrderCheckingNetwork network = new OrderCheckingNetwork();
73 RequestQueue queue = new RequestQueue(new NoCache(), network, 1, mDelivery);
79 network.setExpectedRequests(requestsToMake);
81 network.waitUntilExpectedDone(2000); // 2 seconds
86 OrderCheckingNetwork network = new OrderCheckingNetwork();
100 network.setExpectedRequests(2);
101 RequestQueue queue = new RequestQueue(new NoCache(), network, 3, mDelivery);
105 network.waitUntilExpectedDone(2000);
110 MockNetwork network = new MockNetwork();
111 RequestQueue queue = new RequestQueue(new NoCache(), network,
[all...]
/frameworks/volley/src/com/android/volley/
H A DRequestQueue.java35 * resolving from either cache or network on a worker thread, and then delivering
68 /** The queue of requests that are actually going out to the network. */
72 /** Number of network request dispatcher threads to start. */
84 /** The network dispatchers. */
94 * @param network A Network interface for performing HTTP requests
95 * @param threadPoolSize Number of network dispatcher threads to create
98 public RequestQueue(Cache cache, Network network, int threadPoolSize, argument
101 mNetwork = network;
110 * @param network A Network interface for performing HTTP requests
111 * @param threadPoolSize Number of network dispatche
113 RequestQueue(Cache cache, Network network, int threadPoolSize) argument
124 RequestQueue(Cache cache, Network network) argument
[all...]
H A DNetworkDispatcher.java26 * Provides a thread for performing network dispatch from a queue of requests.
28 * Requests added to the specified queue are processed from the network via a
37 /** The network interface for processing requests. */
47 * Creates a new network dispatcher thread. You must call {@link #start()}
51 * @param network Network interface to use for performing requests
56 Network network, Cache cache,
59 mNetwork = network;
90 request.addMarker("network-queue-take");
93 // network request.
95 request.finish("network
55 NetworkDispatcher(BlockingQueue<Request> queue, Network network, Cache cache, ResponseDelivery delivery) argument
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c51 char network[PROPERTY_VALUE_MAX], date[80]; local
59 property_get("gsm.operator.alpha", network, "(unknown)");
71 printf("Network: %s\n", network);
198 property_get("dhcp.wlan0.gateway", network, "");
199 if (network[0])
200 run_command("PING GATEWAY", 10, "ping", "-c", "3", "-i", ".5", network, NULL);
201 property_get("dhcp.wlan0.dns1", network, "");
202 if (network[0])
203 run_command("PING DNS1", 10, "ping", "-c", "3", "-i", ".5", network, NULL);
204 property_get("dhcp.wlan0.dns2", network, "");
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DVolley.java39 * @param stack An {@link HttpStack} to use for the network, or null for default.
63 Network network = new BasicNetwork(stack);
65 RequestQueue queue = new RequestQueue(new DiskBasedCache(cacheDir), network);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMALTEPhone.java80 // handle the select network completion callbacks.
149 selectNetworkManually(OperatorInfo network, argument
155 nsm.operatorNumeric = network.getOperatorNumeric();
156 nsm.operatorAlphaLong = network.getOperatorAlphaLong();
161 mCi.setNetworkSelectionModeManual(network.getOperatorNumeric(), msg);
165 * Used to track the settings upon completion of the network change.
194 loge("failed to commit network selection preference");
H A DCDMAPhone.java566 selectNetworkManually(OperatorInfo network, argument
/frameworks/base/docs/html/training/
H A Dtraining_toc.cs486 <a href="<?cs var:toroot ?>training/basics/network-ops/index.html"
488 "How to create a network connection, monitor the connection for changes
493 <li><a href="<?cs var:toroot ?>training/basics/network-ops/connecting.html">
497 <li><a href="<?cs var:toroot ?>training/basics/network-ops/managing.html">
501 <li><a href="<?cs var:toroot ?>training/basics/network-ops/xml.html">
512 and other network transactions."
516 <li><a href="<?cs var:toroot ?>training/efficient-downloads/efficient-network-access.html">
1259 "How to ensure that your app is secure when performing network transactions."
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfigStore.java86 * (key, value) pairs for a given network are grouped together and can
89 * network. A network is identified by a unique ID_KEY. If there is no
123 /* configured networks with network id as the key */
127 /* A network id is a unique identifier for a network configured in the
131 * that is generated from SSID and security type of the network. A mapping
132 * from the generated unique id to network id of the network is needed to
228 loge("Enable network faile
630 sendConfiguredNetworksChangedBroadcast(WifiConfiguration network, int reason) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java1026 //class parameter in call waiting interrogation to network
1074 selectNetworkManually(OperatorInfo network, argument
1080 nsm.operatorNumeric = network.getOperatorNumeric();
1081 nsm.operatorAlphaLong = network.getOperatorAlphaLong();
1086 mCi.setNetworkSelectionModeManual(network.getOperatorNumeric(), msg);
1199 // The network may initiate its own USSD request
1215 * Make sure the network knows our preferred setting.
1379 // handle the select network completion callbacks.
1465 * Used to track the settings upon completion of the network change.
1494 Rlog.e(LOG_TAG, "failed to commit network selectio
[all...]
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java168 // TODO: create better separation between radio types and network types
170 // how long to wait before switching back to a radio's default network
189 // Set network sampling interval at 12 minutes, this way, even if the timers get
194 // start network sampling a minute after booting ...
218 /** Currently active network rules by UID. */
224 * Sometimes we want to refer to the individual network state
230 /* Handles captive portal check on a network */
281 * default network
291 * used internally to change our network preference setting
423 // the set of network type
2773 updateDnsLocked(String network, String iface, Collection<InetAddress> dnses, String domains, boolean defaultDns) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhone.java116 // Used for preferred network type
436 * its network activity and is in its final state. This may mean a state
496 * Register for Supplementary Service notifications from the network.
1022 * Switches network selection mode to "automatic", re-scanning and
1023 * re-selecting a network if appropriate.
1025 * @param response The message to dispatch when the network selection
1033 * Manually selects a network. <code>response</code> is
1040 void selectNetworkManually(OperatorInfo network, argument
1044 * Requests to set the preferred network type for searching and registering
1052 * Query the preferred network typ
[all...]
H A DPhoneProxy.java782 public void selectNetworkManually(OperatorInfo network, Message response) { argument
783 mActivePhone.selectNetworkManually(network, response);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java408 OperatorInfo network,
407 selectNetworkManually( OperatorInfo network, Message response) argument
/frameworks/base/core/java/android/provider/
H A DSettings.java180 * monitoring of encrypted network traffic.
561 * Activity Action: Show settings for selecting the network operator.
1667 * Whether to use static IP and other static network attributes.
2374 * "SIP_ALWAYS" : Always use SIP with network access
2382 * One of the sip call options: Always use SIP with network access.
3249 * by network, gps, or other location providers.
3895 * another AP on the same network.
3903 * The number of access points required for a network in order for the
3938 * calculation. For example, one network always seemed to time out for
3947 * The maximum number of access points (per network) t
[all...]

Completed in 236 milliseconds