Searched refs:mConnectivityManager (Results 1 – 1 of 1) sorted by relevance
59 private ConnectivityManager mConnectivityManager; field in MainActivity108 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()