/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
FakeSystemFacade.java | 11 import android.net.Network; 67 public Network getActiveNetwork(int uid, boolean ignoreBlocked) { 71 final Network network = mock(Network.class); local 73 when(network.openConnection(any())).then(new Answer<URLConnection>() { 82 return network; 87 public NetworkInfo getNetworkInfo(Network network, int uid, boolean ignoreBlocked) {
|
/system/connectivity/shill/wimax/ |
mock_wimax_device_proxy.h | 43 MOCK_METHOD5(Connect, void(const RpcIdentifier& network,
|
wimax_device_proxy_interface.h | 54 virtual void Connect(const RpcIdentifier& network,
|
/system/weaved/buffet/ |
socket_stream.h | 23 #include <weave/provider/network.h> 50 const weave::provider::Network::OpenSslSocketCallback& callback);
|
/external/avahi/initscript/mandriva/ |
avahi-daemon.in | 5 # Required-Start: $network messagebus 6 # Required-Stop: $network messagebus 17 . /etc/sysconfig/network
|
avahi-dnsconfd.in | 17 . /etc/sysconfig/network
|
/external/strace/tests/ |
net-yy.test | 40 run_strace_merge -yy -eclose,network $args
|
unix-yy.test | 43 run_strace_merge -yy -eclose,network $args
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
NetworkAgentInfo.java | 23 import android.net.Network; 53 // States of a network: 59 // This state is entered when a registered NetworkAgent for a VPN network transitions to the 60 // CONNECTING state (TODO: go through this state for every network, not just VPNs). 61 // ConnectivityService will tell netd to create the network early in order to add extra UID 62 // routing rules referencing the netID. These rules need to be in place before the network is 63 // connected to avoid racing against client apps trying to connect to a half-setup network. 66 // ConnectivityService will tell netd to create the network if it was not already created, and 69 // If this network can satisfy the default NetworkRequest, then NetworkMonitor will 71 // If this network cannot satisfy the default NetworkRequest, it will immediately b 123 public final Network network; field in class:NetworkAgentInfo [all...] |
Tethering.java | 39 import android.net.Network; 1117 final Network network = (Network) obj; local 1187 final Network network = (Network) obj; local 1440 Network network = null; local [all...] |
/system/connectivity/shill/test-scripts/ |
test-flimflam | 32 print " dev <interface> connect <network>" 33 print " dev <interface> disconnect [network]" 58 network = dbus.Interface( 60 "org.chromium.flimflam.Network") 62 properties = network.GetProperties(utf8_strings = True) 93 network = dbus.Interface( 95 "org.chromium.flimflam.Network") 97 properties = network.GetProperties(utf8_strings = True) 103 print "Already connected to network %s" % (name) 106 print "Selecting network %s" % (name [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
wpas-dbus-new-signals.py | 16 WPAS_DBUS_NETWORK_INTERFACE = "fi.w1.wpa_supplicant1.Network" 105 def networkAdded(network, properties): 106 print "NetworkAdded(%s)" % (network) 108 def networkRemoved(network): 109 print "NetworkRemoved(%s)" % (network) 111 def networkSelected(network): 112 print "NetworkSelected(%s)" % (network) 124 print "PropertiesChanged(Network): %s=%s" % (i, properties[i])
|
/frameworks/volley/src/main/java/com/android/volley/ |
RequestQueue.java | 37 * 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. */ 85 /** Network interface for performing requests. */ 86 private final Network mNetwork; 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 [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
ConnectivityScreenOffTestActivity.java | 32 import android.net.Network; 62 * A CTS Verifier test case for testing IPv6 network connectivity while the screen is off. 65 * ("Minimum Network Capability") of the CDD. Specifically, it requires that: "unicast IPv6 72 * [2] The device must join an IPv6-capable network (basic IPv6 connectivity to an 299 Network mNetwork; 305 void setNetwork(Network network) { 306 mNetwork = network; 357 public void onAvailable(Network network) { [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
OkHttpClient.java | 20 import com.squareup.okhttp.internal.Network; 120 @Override public Network network(OkHttpClient client) { 121 return client.network; 124 @Override public void setNetwork(OkHttpClient client, Network network) { 125 client.network = network; 193 private Network network; field in class:OkHttpClient [all...] |
/external/svox/pico/lib/ |
picopr.c | 338 picokpr_Preproc network, [all...] |
/external/opencv/ml/src/ |
mlcnn.cpp | 61 static void icvTrainCNNetwork( CvCNNetwork* network, 69 /*------------------------- functions for the CNN network ------------------------------*/ 70 static void icvCNNetworkAddLayer( CvCNNetwork* network, CvCNNLayer* layer ); 71 static void icvCNNetworkRelease( CvCNNetwork** network ); 106 #define ICV_CHECK_CNN_NETWORK(network) \ 110 if( !network ) \ 112 "Null <network> pointer. Network must be created by user." ); \ 113 n_layers = network->n_layers; \ 114 first_layer = last_layer = network->layers; [all...] |
/system/connectivity/shill/dbus/ |
chromeos_supplicant_interface_proxy.cc | 144 string* network) { 151 LOG(ERROR) << "Failed to add network: " 155 *network = path.value(); 216 bool ChromeosSupplicantInterfaceProxy::NetworkReply(const string& network, 220 << " network: " << network << " field: " << field << " value: " << value; 222 if (!interface_proxy_->NetworkReply(dbus::ObjectPath(network), 226 LOG(ERROR) << "Failed to network reply: " 279 bool ChromeosSupplicantInterfaceProxy::RemoveNetwork(const string& network) { 280 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << network; local 317 SLOG(&interface_proxy_->GetObjectPath(), 2) << __func__ << ": " << network; local [all...] |
/external/libweave/src/ |
device_manager.cc | 28 provider::Network* network, 42 network, auth_manager_.get())); 52 StartPrivet(task_runner, network, dns_sd, http_server, wifi, bluetooth); 74 provider::Network* network, 80 privet_->Start(network, dns_sd, http_server, wifi, auth_manager_.get(), 280 provider::Network* network, 286 new DeviceManager{config_store, task_runner, http_client, network, dns_sd [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old.c | 26 * @network: (out) the configured network this object path refers to, if any 28 * Returns: The object path of the network interface this path refers to 30 * For a given object path, decomposes the object path into object id, network, 33 char * wpas_dbus_decompose_object_path(const char *path, char **network, 61 if (network && net_part) { 62 /* Deal with a request for a configured network */ 65 *network = NULL; 67 *network = os_strdup(net_name); 102 * wpas_dbus_new_invalid_network_error - Return a new invalid network error messag 211 char *network = NULL; local [all...] |
/external/autotest/server/cros/network/ |
connection_worker.py | 9 from autotest_lib.client.common_lib.cros.network import iw_runner 10 from autotest_lib.client.common_lib.cros.network import ping_runner 11 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 13 from autotest_lib.server.cros.network import wifi_client 14 from autotest_lib.server.cros.network import netperf_runner
|
/external/autotest/server/site_tests/network_WiFi_BluetoothStreamPerf/ |
network_WiFi_BluetoothStreamPerf.py | 9 from autotest_lib.client.common_lib.cros.network import ping_runner 10 from autotest_lib.client.common_lib.cros.network import xmlrpc_datatypes 14 from autotest_lib.server.cros.network import netperf_runner 15 from autotest_lib.server.cros.network import netperf_session 16 from autotest_lib.server.cros.network import wifi_cell_test_base
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
IPv6TetheringCoordinator.java | 23 import android.net.Network; 84 !ns.network.equals(mUpstreamNetworkState.network)) { 107 new Network(ns.network), 163 // because "[t]he 3GPP network allocates each default bearer a unique 167 (ns != null) && (ns.network != null) && 271 ns.network,
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/fetch/ |
FetchVoicemailReceiver.java | 26 import android.net.Network; 135 VvmLog.i(TAG, "Requesting network to fetch voicemail"); 177 public void onAvailable(final Network network) { 178 super.onAvailable(network); 179 fetchVoicemail(network, getVoicemailStatusEditor()); 183 private void fetchVoicemail(final Network network, final VoicemailStatus.Editor status) { 192 network, status)) {
|
/external/autotest/client/site_tests/network_ChromeCellularSmokeTest/ |
network_ChromeCellularSmokeTest.py | 19 Tests that Chrome can bring the network to a connected state and effectively 20 access the internet through the cellular network. The test repeats a 22 always connect to the network via chrome.networkingPrivate. 43 'Expected 1 cellular network, found ' + str(len(networks))) 44 network = networks[0] 46 network, pm_constants.DEFAULT_TEST_NETWORK_PREFIX, 48 return network 67 # Make sure that the network becomes disconnected. 69 logging.info('Disconnecting from network: ' + network_id) 74 logging.info('Checking that the network is disconnected.' [all...] |