/external/autotest/frontend/client/src/autotest/moblab/wizard/ |
D | NetworkInfoCard.java | 18 private NetworkInfo networkInfo; field in NetworkInfoCard 39 return networkInfo != null && networkInfo.isConnectedToGoogle(); in canGoNext() 44 if (networkInfo != null) { in updateModeUI() 48 if (networkInfo.getServerIps().length > 0) { in updateModeUI() 49 layoutTable.setWidget(row, 1, new Label(networkInfo.getServerIps()[0])); in updateModeUI() 56 new Label(networkInfo.isConnectedToGoogle() ? "Yes" : "No")); in updateModeUI() 70 networkInfo = info; in validateNetworkInfo() 82 networkInfo = null; in resetData()
|
/external/webrtc/sdk/android/api/org/webrtc/ |
D | NetworkMonitorAutoDetect.java | 250 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in getNetworkState() local 251 if (networkInfo == null) { in getNetworkState() 271 if (networkInfo.getType() != ConnectivityManager.TYPE_VPN) { in getNetworkState() 277 return getNetworkState(networkInfo); in getNetworkState() 282 return new NetworkState(networkInfo.isConnected(), ConnectivityManager.TYPE_VPN, -1, in getNetworkState() 283 networkInfo.getType(), networkInfo.getSubtype()); in getNetworkState() 293 if (networkInfo.getType() == ConnectivityManager.TYPE_VPN) { in getNetworkState() 303 return new NetworkState(networkInfo.isConnected(), ConnectivityManager.TYPE_VPN, -1, in getNetworkState() 308 networkInfo.isConnected(), ConnectivityManager.TYPE_VPN, -1, -1, -1); in getNetworkState() 311 return getNetworkState(networkInfo); in getNetworkState() [all …]
|
D | NetworkMonitor.java | 177 public void onNetworkConnect(NetworkMonitorAutoDetect.NetworkInformation networkInfo) { in createAutoDetect() argument 178 notifyObserversOfNetworkConnect(networkInfo); in createAutoDetect() 212 NetworkMonitorAutoDetect.NetworkInformation networkInfo) { 215 nativeNotifyOfNetworkConnect(nativeObserver, networkInfo); 288 long nativeAndroidNetworkMonitor, NetworkMonitorAutoDetect.NetworkInformation networkInfo);
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowNetworkInfoTest.java | 17 NetworkInfo networkInfo = Shadow.newInstanceOf(NetworkInfo.class); in getDetailedState_shouldReturnTheAssignedState() local 18 shadowOf(networkInfo).setDetailedState(NetworkInfo.DetailedState.SCANNING); in getDetailedState_shouldReturnTheAssignedState() 19 assertThat(networkInfo.getDetailedState()).isEqualTo(NetworkInfo.DetailedState.SCANNING); in getDetailedState_shouldReturnTheAssignedState()
|
D | ShadowConnectivityManagerTest.java | 78 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in getNetworkInfo_shouldReturnSomeForAllNetworks() local 79 assertThat(networkInfo).isNotNull(); in getNetworkInfo_shouldReturnSomeForAllNetworks() 195 NetworkInfo networkInfo = in getAllNetworkInfo_shouldEqualGetAllNetworks() local 202 shadowOf(connectivityManager).setActiveNetworkInfo(networkInfo); in getAllNetworkInfo_shouldEqualGetAllNetworks()
|
D | ShadowWifiManagerTest.java | 447 NetworkInfo networkInfo = in reconnect_updatesConnectivityManager() local 452 assertThat(networkInfo.getType()).isEqualTo(ConnectivityManager.TYPE_WIFI); in reconnect_updatesConnectivityManager() 453 assertThat(networkInfo.isConnected()).isTrue(); in reconnect_updatesConnectivityManager()
|
/external/glide/library/src/main/java/com/bumptech/glide/manager/ |
D | DefaultConnectivityMonitor.java | 55 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected() local 56 return networkInfo != null && networkInfo.isConnected(); in isConnected()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowNetworkInfo.java | 45 NetworkInfo networkInfo = Shadow.newInstanceOf(NetworkInfo.class); in newInstance() local 46 final ShadowNetworkInfo info = Shadow.extract(networkInfo); in newInstance() 52 return networkInfo; in newInstance()
|
D | ShadowConnectivityManager.java | 207 public void setNetworkInfo(int networkType, NetworkInfo networkInfo) { in setNetworkInfo() argument 208 networkTypeToNetworkInfo.put(networkType, networkInfo); in setNetworkInfo() 260 public void addNetwork(Network network, NetworkInfo networkInfo) { in addNetwork() argument 264 netIdToNetworkInfo.put(netId, networkInfo); in addNetwork()
|
D | ShadowWifiManager.java | 229 NetworkInfo networkInfo = in connect() local 239 connectivityManager.setActiveNetworkInfo(networkInfo); in connect()
|
/external/downloader/src/main/java/com/google/android/downloader/ |
D | AndroidConnectivityHandler.java | 149 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in connectivitySatisfied() local 150 if (networkInfo == null) { in connectivitySatisfied() 155 if (!networkInfo.isConnected()) { in connectivitySatisfied() 174 networkType = computeNetworkType(networkInfo.getType()); in connectivitySatisfied()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/scheduler/ |
D | Requirements.java | 133 NetworkInfo networkInfo = Assertions.checkNotNull(connectivityManager).getActiveNetworkInfo(); in getNotMetNetworkRequirements() local 134 if (networkInfo == null in getNotMetNetworkRequirements() 135 || !networkInfo.isConnected() in getNotMetNetworkRequirements()
|
/external/grpc-grpc-java/android/src/main/java/io/grpc/android/ |
D | AndroidChannelBuilder.java | 350 NetworkInfo networkInfo = conn.getActiveNetworkInfo(); in onReceive() local 352 isConnected = networkInfo != null && networkInfo.isConnected(); in onReceive()
|
/external/autotest/client/cros/networking/chrome_testing/network_test_ext/ |
D | background.js | 126 chrome.networking.onc.getProperties(networkId, function(networkInfo) { argument 127 self._setResult("getNetworkInfo", networkInfo);
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | Util.java | 1914 NetworkInfo networkInfo; in getNetworkType() local 1921 networkInfo = connectivityManager.getActiveNetworkInfo(); in getNetworkType() 1926 if (networkInfo == null || !networkInfo.isConnected()) { in getNetworkType() 1929 switch (networkInfo.getType()) { in getNetworkType() 1937 return getMobileNetworkType(networkInfo); in getNetworkType() 2204 private static @C.NetworkType int getMobileNetworkType(NetworkInfo networkInfo) { in getMobileNetworkType() argument 2205 switch (networkInfo.getSubtype()) { in getMobileNetworkType()
|
/external/autotest/frontend/client/src/autotest/moblab/rpc/ |
D | MoblabRpcHelper.java | 83 NetworkInfo networkInfo = new NetworkInfo(); in fetchNetworkInfo() 84 networkInfo.fromJson(result.isObject()); in fetchNetworkInfo() 85 callback.onNetworkInfoFetched(networkInfo); in fetchNetworkInfo()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/upstream/ |
D | DefaultBandwidthMeterTest.java | 560 private void setActiveNetworkInfo(NetworkInfo networkInfo) { in setActiveNetworkInfo() argument 561 Shadows.shadowOf(connectivityManager).setActiveNetworkInfo(networkInfo); in setActiveNetworkInfo()
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | NetworkMonitorTest.java | 154 public void onNetworkConnect(NetworkInformation networkInfo) {} in onNetworkConnect() argument
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiP2pManagerFacade.java | 299 NetworkInfo networkInfo = intent in onReceive() local 302 if (networkInfo.isConnected()) { in onReceive()
|