Searched defs:network (Results 1 - 25 of 65) sorted by relevance

123

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
H A DInternalCache.java41 * with the headers from {@code network}. The cached response body is not
45 void update(Response cached, Response network) throws IOException; argument
/external/autotest/client/site_tests/cellular_Signal/
H A Dcellular_Signal.py9 from autotest_lib.client.cros import network namespace
76 network.ResetAllModems(flim)
/external/autotest/client/site_tests/cellular_Throughput/
H A Dcellular_Throughput.py8 from autotest_lib.client.cros import backchannel, http_speed, network namespace
24 network.ResetAllModems(flim)
/external/autotest/client/site_tests/network_3GSmokeTest/
H A Dnetwork_3GSmokeTest.py11 from autotest_lib.client.cros import network namespace
23 Tests that 3G modem can connect to the network
25 The test attempts to connect using the 3G network. The test then
26 disconnects from the network, and verifies that the modem still
36 """Attempts to disconnect from a 3G network.
39 the network.
41 @raises error.TestFail if it fails to disconnect from the network before
98 url_pattern = network.FETCH_URL_PATTERN_FOR_TEST
106 network.CheckInterfaceForDestination(
110 fetch_time = network
[all...]
/external/autotest/client/site_tests/network_WiMaxSmoke/
H A Dnetwork_WiMaxSmoke.py11 from autotest_lib.client.cros import backchannel, network namespace
28 """Verifies that a WiMAX module can connect to a WiMAX network.
30 The test attempts to connect to a WiMAX network. It assumes that a WiMAX
31 module is plugged in to the DUT and a WiMAX network is available. It repeats
33 the WiMAX network, it fetches some data from a URL to confirm the WiMAX
94 """Tests network connectivity over WiMAX.
96 Test network connectivity over WiMAX as follows:
116 network.CheckInterfaceForDestination(
120 fetch_time = network.FetchUrl(self._fetch_url_pattern,
141 kwargs.get('fetch_url_pattern', network
[all...]
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
H A DCacheAdapter.java81 @Override public void update(Response cached, Response network) throws IOException { argument
/external/volley/src/main/java/com/android/volley/
H A DNetworkDispatcher.java28 * Provides a thread for performing network dispatch from a queue of requests.
30 * Requests added to the specified queue are processed from the network via a
38 /** The network interface for processing requests. */
48 * Creates a new network dispatcher thread. You must call {@link #start()}
52 * @param network Network interface to use for performing requests
57 Network network, Cache cache,
60 mNetwork = network;
100 request.addMarker("network-queue-take");
103 // network request.
105 request.finish("network
56 NetworkDispatcher(BlockingQueue<Request<?>> queue, Network network, Cache cache, ResponseDelivery delivery) argument
[all...]
H A DRequestQueue.java37 * resolving from either cache or network on a worker thread, and then delivering
75 /** The queue of requests that are actually going out to the network. */
79 /** Number of network request dispatcher threads to start. */
91 /** The network dispatchers. */
104 * @param network A Network interface for performing HTTP requests
105 * @param threadPoolSize Number of network dispatcher threads to create
108 public RequestQueue(Cache cache, Network network, int threadPoolSize, argument
111 mNetwork = network;
120 * @param network A Network interface for performing HTTP requests
121 * @param threadPoolSize Number of network dispatche
123 RequestQueue(Cache cache, Network network, int threadPoolSize) argument
134 RequestQueue(Cache cache, Network network) argument
[all...]
/external/webrtc/webrtc/tools/e2e_quality/audio/
H A Daudio_e2e_harness.cc44 VoENetwork* network = VoENetwork::GetInterface(voe); local
45 ASSERT_TRUE(network != NULL);
52 new VoiceChannelTransport(network, channel));
/external/autotest/client/cros/cellular/
H A Dcell_tools_test_on_chromebook.py14 # Mock out routing in the network file
18 from autotest_lib.client.cros import network namespace
47 network.ResetAllModems(self.flim)
85 #network.ResetAllModems(self.flim)
H A Dnet_interface.py13 from autotest_lib.client.cros import network, network_chroot namespace
18 PseudoNetInterface provides a pseudo modem network interface. This
19 network interface is one end of a virtual Ethernet pair. The other end
72 urlparse.urlparse(network.FETCH_URL_PATTERN_FOR_TEST).netloc
95 Brings up the pseudo modem network interface.
102 Brings down the pseudo modem network interface.
112 # Make sure ARP requests for the pseudo modem network addresses
113 # go out the pseudo modem network interface.
/external/autotest/client/site_tests/cellular_Smoke/
H A Dcellular_Smoke.py7 from autotest_lib.client.cros import backchannel, network namespace
33 # network devices on the host. Again, this is to ensure
36 # interact with the cell network.
42 network.ResetAllModems(flim)
/external/ipsec-tools/src/racoon/
H A Disakmp_unity.c210 struct unity_network *network = (struct unity_network *)(attr + 1); local
223 &network[index],
237 &network[index],
269 struct unity_network * network; local
286 network = (struct unity_network *)(new + 1);
289 memcpy(&network[index],
290 &netentry->network,
293 inet_ntop(AF_INET, &netentry->network.addr4, tmp1, 40);
294 inet_ntop(AF_INET, &netentry->network.mask4, tmp2, 40);
303 int splitnet_list_add(list, network, coun
[all...]
H A Disakmp_unity.h65 struct unity_network network; member in struct:unity_netentry
/external/webrtc/webrtc/p2p/base/
H A Drelayport.h40 rtc::Network* network,
46 return new RelayPort(thread, factory, network, ip, min_port, max_port,
38 Create(rtc::Thread* thread, rtc::PacketSocketFactory* factory, rtc::Network* network, const rtc::IPAddress& ip, uint16_t min_port, uint16_t max_port, const std::string& username, const std::string& password) argument
H A Dtcpport.h33 rtc::Network* network,
40 TCPPort* port = new TCPPort(thread, factory, network, ip, min_port,
65 rtc::Network* network,
31 Create(rtc::Thread* thread, rtc::PacketSocketFactory* factory, rtc::Network* network, const rtc::IPAddress& ip, uint16_t min_port, uint16_t max_port, const std::string& username, const std::string& password, bool allow_listen) argument
H A Dstunport.h33 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,
232 rtc::Network* network,
240 StunPort* port = new StunPort(thread, factory, network,
260 rtc::Network* network,
270 network,
31 Create(rtc::Thread* thread, rtc::PacketSocketFactory* factory, rtc::Network* network, rtc::AsyncPacketSocket* socket, const std::string& username, const std::string& password, const std::string& origin, bool emit_local_for_anyaddress) argument
48 Create(rtc::Thread* thread, rtc::PacketSocketFactory* factory, rtc::Network* network, const rtc::IPAddress& ip, uint16_t min_port, uint16_t max_port, const std::string& username, const std::string& password, const std::string& origin, bool emit_local_for_anyaddress) argument
230 Create(rtc::Thread* thread, rtc::PacketSocketFactory* factory, rtc::Network* network, const rtc::IPAddress& ip, uint16_t min_port, uint16_t max_port, const std::string& username, const std::string& password, const ServerAddresses& servers, const std::string& origin) argument
258 StunPort(rtc::Thread* thread, rtc::PacketSocketFactory* factory, rtc::Network* network, const rtc::IPAddress& ip, uint16_t min_port, uint16_t max_port, const std::string& username, const std::string& password, const ServerAddresses& servers, const std::string& origin) argument
[all...]
/external/ppp/pppd/
H A Dipxcp.h64 bool neg_nn; /* Negotiate IPX network number? */
65 bool req_nn; /* Ask peer to send IPX network number */
73 bool accept_network; /* accept network number */
78 u_int32_t his_network; /* base network number */
79 u_int32_t our_network; /* our value for network number */
80 u_int32_t network; /* the final network number */ member in struct:ipxcp_options
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
H A DNetworkMonitorTest.java55 * Listens for alerts fired by the NetworkMonitor when network status changes.
101 public NetworkState getNetworkState(Network network) { argument
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
277 * on having any active network connections so it cannot usefully check results, but it can at
/external/webrtc/talk/media/webrtc/
H A Dwebrtcvoe.h101 webrtc::VoENetwork* network,
109 network_(network),
119 webrtc::VoENetwork* network() const { return network_.get(); } function in class:cricket::VoEWrapper
97 VoEWrapper(webrtc::VoEAudioProcessing* processing, webrtc::VoEBase* base, webrtc::VoECodec* codec, webrtc::VoEHardware* hw, webrtc::VoENetwork* network, webrtc::VoERTP_RTCP* rtp, webrtc::VoEVolumeControl* volume) argument
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
H A DNeuQuant.java121 protected int[][] network; /* the network itself - [netsize][4] */ field in class:NeuQuant
125 /* for network lookup - really 256 */
137 * Initialise network in range (0,0,0) to (255,255,255) and set parameters
149 network = new int[netsize][];
151 network[i] = new int[4];
152 p = network[i];
163 index[network[i][3]] = i;
167 map[k++] = (byte) (network[j][0]);
168 map[k++] = (byte) (network[
[all...]
/external/libtextclassifier/smartselect/
H A Dtext-classification-model.cc23 #include "common/embedding-network.h"
25 #include "common/memory_image/embedding-network-params-from-image.h"
131 // NOTE: The network object needs to be available at the time when the returned
133 FeatureVectorFn CreateFeatureVectorFn(const EmbeddingNetwork& network, argument
136 return [&network, sparse_embedding_size, feature_type](
143 if (network.GetEmbedding(feature_vector, 0, embedding)) {
236 const FeatureProcessor& feature_processor, const EmbeddingNetwork& network,
242 const int embedding_size = network.EmbeddingSize(0);
245 CreateFeatureVectorFn(network, embedding_size),
268 network
234 InferInternal( const std::string& context, CodepointSpan span, const FeatureProcessor& feature_processor, const EmbeddingNetwork& network, const FeatureVectorFn& feature_vector_fn, std::vector<CodepointSpan>* selection_label_spans) const argument
[all...]
/external/syslinux/com32/cmenu/
H A Dcomplex.c31 // Different network options
47 t_menuitem *baseurl, *mountcd, *network, *runprep, *winrep, *linrep; variable
177 v = (void *)network->data;
178 if (v != NULL) // Some network option specified
180 strcat(infoline, "network=");
201 // mi=network since this is handler only for that.
283 none = add_item("<N>one", "Dont start network", OPT_RADIOITEM, "no ", 0);
309 network =
310 add_item(dhcpnet, "How to initialise network device?", OPT_RADIOMENU,
331 network
[all...]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DNetworkMonitorAutoDetect.java118 * default network.
128 * Returns connection type and status information about |network|.
132 NetworkState getNetworkState(Network network) { argument
136 return getNetworkState(connectivityManager.getNetworkInfo(network));
162 * Returns the NetID of the current default network. Returns
163 * INVALID_NET_ID if no current default network connected.
171 // Android Lollipop had no API to get the default network; only an
172 // API to return the NetworkInfo for the default network. To
173 // determine the default network one can find the network wit
206 hasInternetCapability(Network network) argument
436 networkToNetId(Network network) argument
[all...]
/external/webrtc/webrtc/p2p/client/
H A Dfakeportallocator.h31 rtc::Network* network,
39 TestUDPPort* port = new TestUDPPort(thread, factory, network, ip, min_port,
61 rtc::Network* network,
71 network,
95 network_("network", "unittest",
29 Create(rtc::Thread* thread, rtc::PacketSocketFactory* factory, rtc::Network* network, const rtc::IPAddress& ip, uint16_t min_port, uint16_t max_port, const std::string& username, const std::string& password, const std::string& origin, bool emit_localhost_for_anyaddress) argument
59 TestUDPPort(rtc::Thread* thread, rtc::PacketSocketFactory* factory, rtc::Network* network, const rtc::IPAddress& ip, uint16_t min_port, uint16_t max_port, const std::string& username, const std::string& password, const std::string& origin, bool emit_localhost_for_anyaddress) argument

Completed in 3797 milliseconds

123