Searched refs:mNetworkCallback (Results 1 – 2 of 2) sorted by relevance
251 private NetworkCallback mNetworkCallback; field in ConnectionManager.VdmDiscoverySessionCallback275 if (mNetworkCallback != null) { in onSessionTerminated()276 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onSessionTerminated()277 mNetworkCallback = null; in onSessionTerminated()303 if (mNetworkCallback != null) { in requestNetwork()304 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in requestNetwork()306 mNetworkCallback = networkCallback; in requestNetwork()316 networkRequest, mNetworkCallback, NETWORK_TIMEOUT_MS); in requestNetwork()
60 private ConnectivityManager.NetworkCallback mNetworkCallback; field in MainActivity142 if (mNetworkCallback != null) { in unregisterNetworkCallback()144 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in unregisterNetworkCallback()145 mNetworkCallback = null; in unregisterNetworkCallback()185 mNetworkCallback = new ConnectivityManager.NetworkCallback() { in requestHighBandwidthNetwork()231 mConnectivityManager.requestNetwork(request, mNetworkCallback); in requestHighBandwidthNetwork()