Home
last modified time | relevance | path

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

/development/samples/browseable/WearHighBandwidthNetworking/src/com.example.android.wearable.wear.wearhighbandwidthnetworking/
DMainActivity.java59 private ConnectivityManager mConnectivityManager; field in MainActivity
108 mConnectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); in onCreate()
144 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in unregisterNetworkCallback()
152 Network network = mConnectivityManager.getBoundNetworkForProcess(); in isNetworkHighBandwidth()
153 network = network == null ? mConnectivityManager.getActiveNetwork() : network; in isNetworkHighBandwidth()
159 int bandwidth = mConnectivityManager in isNetworkHighBandwidth()
194 if (!mConnectivityManager.bindProcessToNetwork(network)) { in requestHighBandwidthNetwork()
231 mConnectivityManager.requestNetwork(request, mNetworkCallback); in requestHighBandwidthNetwork()
239 mConnectivityManager.bindProcessToNetwork(null); in releaseHighBandwidthNetwork()