Home
last modified time | relevance | path

Searched refs:network (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/net/src/android/net/cts/
DMultinetworkApiTest.java56 for (Network network : mCM.getAllNetworks()) { in getTestableNetworks()
57 final NetworkCapabilities nc = mCM.getNetworkCapabilities(network); in getTestableNetworks()
61 testableNetworks.add(network); in getTestableNetworks()
73 for (Network network : getTestableNetworks()) { in testGetaddrinfo()
74 int errno = runGetaddrinfoCheck(network.getNetworkHandle()); in testGetaddrinfo()
77 "getaddrinfo on " + mCM.getNetworkInfo(network), -errno); in testGetaddrinfo()
87 for (Network network : getTestableNetworks()) { in testSetprocnetwork()
91 int errno = runSetprocnetwork(network.getNetworkHandle()); in testSetprocnetwork()
94 "setprocnetwork on " + mCM.getNetworkInfo(network), -errno); in testSetprocnetwork()
98 assertEquals(network, processDefault); in testSetprocnetwork()
[all …]
DConnectivityManagerTest.java239 Network network = mCm.getActiveNetwork(); in testGetActiveNetwork() local
240 assertNotNull("You must have an active network connection to complete CTS", network); in testGetActiveNetwork()
242 NetworkInfo ni = mCm.getNetworkInfo(network); in testGetActiveNetwork()
349 private static String httpGet(Network network, URL httpUrl) throws IOException { in httpGet() argument
350 HttpURLConnection connection = (HttpURLConnection) network.openConnection(httpUrl); in httpGet()
359 private void assertOnNetwork(String adressString, Network network) throws UnknownHostException { in assertOnNetwork() argument
361 LinkProperties linkProperties = mCm.getLinkProperties(network); in assertOnNetwork()
701 private Socket getBoundSocket(Network network, String host, int port) throws IOException { in getBoundSocket() argument
703 Socket s = network.getSocketFactory().createSocket(); in getBoundSocket()
803 Network network = intent.getExtras() in onReceive() local
[all …]
DDnsTest.java289 public void onLinkPropertiesChanged(Network network, LinkProperties lp) { in ensureIpv6Connectivity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DMultiNetworkConnectivityTestActivity.java289 Network network) { in isNetworkCellularAndHasInternet() argument
290 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkCellularAndHasInternet()
300 for (Network network : allNetworks) { in isMobileDataEnabled()
301 if (isNetworkCellularAndHasInternet(mConnectivityManager, network)) { in isMobileDataEnabled()
456 public void onAvailable(Network network) {
457 Log.i(TAG, "Wifi network available " + network.netId);
459 mMultiNetworkValidator.onWifiNetworkConnected(network);
471 public void onAvailable(Network network) {
472 Log.i(TAG, "Cellular network available " + network.netId);
474 mMultiNetworkValidator.onCellularNetworkConnected(network);
[all …]
DConnectivityBackgroundTestActivity.java305 void setNetwork(Network network) { in setNetwork() argument
306 mNetwork = network; in setNetwork()
358 public void onAvailable(Network network) { in createNetworkCallback()
360 mState.setNetwork(network); in createNetworkCallback()
366 public void onLost(Network network) { in createNetworkCallback() argument
368 if (network.equals(mState.mNetwork)) { in createNetworkCallback()
376 public void onLinkPropertiesChanged(Network network, LinkProperties newLp) { in createNetworkCallback() argument
378 if (network.equals(mState.mNetwork)) { in createNetworkCallback()
624 final Network network, final String url, boolean doClose) {
630 (HttpURLConnection) network.openConnection(new URL(url));
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java209 public void onAvailable(Network network) { in startVpn()
211 Log.i(TAG, "Got available callback for network=" + network); in startVpn()
212 mNetwork = network; in startVpn()
252 public void onLost(Network network) { in stopVpn()
254 … Log.i(TAG, "Got lost callback for network=" + network + ",mNetwork = " + mNetwork); in stopVpn()
255 if( mNetwork == network){ in stopVpn()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java167 private void exerciseRemoteHost(Network network, URL url) throws Exception { in exerciseRemoteHost() argument
168 NetworkInfo networkInfo = mCm.getNetworkInfo(network); in exerciseRemoteHost()
180 urlc = (HttpURLConnection) network.openConnection(url); in exerciseRemoteHost()
283 public void onAvailable(Network network) { in onAvailable() argument
286 isDefault = network.equals(mCm.getActiveNetwork()); in onAvailable()
287 exerciseRemoteHost(network, mUrl); in onAvailable()
290 metered = !mCm.getNetworkCapabilities(network) in onAvailable()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java139 Network network = connectivityManager.getActiveNetwork(); in isNetworkVpn() local
140 NetworkCapabilities capabilities = connectivityManager.getNetworkCapabilities(network); in isNetworkVpn()
/cts/tests/tests/telephony/src/android/telephony/cts/
DSubscriptionManagerTest.java304 public static CountDownLatch waitForNetworkCapabilities(Network network, in waitForNetworkCapabilities() argument
313 if (net.equals(network) && predicate.test(caps)) { in waitForNetworkCapabilities()
/cts/tests/tests/net/src/android/net/wifi/cts/
DConcurrencyTest.java139 public void onAvailable(Network network) { in enableWifi()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java122 String network = tm.getNetworkOperatorName(); in onStart() local
123 addResult(NETWORK, network.trim()); in onStart()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DCallbackUtils.java129 public void onAvailable(Network network) { in onAvailable() argument
/cts/tools/cts-api-coverage/proto/
Dcts_report.proto176 optional string network = 10 [deprecated = true]; field
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale29 version distributed via the UNIX network Usenet [2].
333 "Version 1.1" distributed previously by him over the UNIX network
/cts/tests/tests/media/src/android/media/cts/
D.goutputstream-9KZYJZ91 /* RTSP tests are more flaky and vulnerable to network condition.
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...