Searched refs:autoDetector (Results 1 – 1 of 1) sorted by relevance
65 private NetworkMonitorAutoDetect autoDetector; field in NetworkMonitor137 return autoDetector == null ? INVALID_NET_ID : autoDetector.getDefaultNetId(); in getCurrentDefaultNetId()141 if (autoDetector != null) { in destroyAutoDetector()142 autoDetector.destroy(); in destroyAutoDetector()143 autoDetector = null; in destroyAutoDetector()152 if (autoDetector == null) { in setAutoDetectConnectivityStateInternal()153 autoDetector = new NetworkMonitorAutoDetect( in setAutoDetectConnectivityStateInternal()162 autoDetector.getCurrentNetworkState(); in setAutoDetectConnectivityStateInternal()163 updateCurrentConnectionType(autoDetector.getCurrentConnectionType(networkState)); in setAutoDetectConnectivityStateInternal()226 return getInstance().autoDetector; in getAutoDetectorForTest()