Lines Matching refs:network

281         public void onAvailable(Network network) {  in onAvailable()  argument
282 Log.d(TAG, "onAvailable: " + network); in onAvailable()
285 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { in onCapabilitiesChanged() argument
286 Log.d(TAG, "onCapabilitiesChanged: " + network + " " + nc.toString()); in onCapabilitiesChanged()
289 public void onLinkPropertiesChanged(Network network, LinkProperties lp) { in onLinkPropertiesChanged() argument
290 Log.d(TAG, "onLinkPropertiesChanged: " + network + " " + lp.toString()); in onLinkPropertiesChanged()
293 public void onLosing(Network network, int maxMsToLive) { in onLosing() argument
294 Log.d(TAG, "onLosing: " + network + " " + maxMsToLive); in onLosing()
297 public void onLost(Network network) { in onLost() argument
298 Log.d(TAG, "onLost: " + network); in onLost()
344 public void onAvailable(Network network) { in request()
345 mNetwork = network; in request()
350 public void onLost(Network network) { in request()
379 private void addRequestableNetwork(RequestableNetwork network) { in addRequestableNetwork() argument
380 mRequestableNetworks.add(network); in addRequestableNetwork()
472 for (RequestableNetwork network : mRequestableNetworks) { in onCreate()
473 network.setRequested(false); in onCreate()
474 network.addOnClickListener(); in onCreate()
498 for (RequestableNetwork network : mRequestableNetworks) { in onDestroy()
499 network.release(); in onDestroy()
626 for (Network network : networks) { in onReportAllBad()
627 mCm.reportBadNetwork(network); in onReportAllBad()
730 private String doSocketRequest(Network network, String host, String path) throws IOException { in doSocketRequest() argument
731 Socket sock = network.getSocketFactory().createSocket(host, 80); in doSocketRequest()
772 Network network = mBoundTestNetwork.getNetwork(); in onHttpRequest()
788 String response = doSocketRequest(network, randomHost, path); in onHttpRequest()
792 conn = (HttpURLConnection) network.openConnection(httpsUrl, in onHttpRequest()