/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/talk/app/webrtc/java/android/org/webrtc/ |
D | NetworkMonitorAutoDetect.java | 142 NetworkState getNetworkState(NetworkInfo networkInfo) { in getNetworkState() argument 143 if (networkInfo == null || !networkInfo.isConnected()) { in getNetworkState() 146 return new NetworkState(true, networkInfo.getType(), networkInfo.getSubtype()); in getNetworkState() 185 final NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in getDefaultNetId() local 186 if (networkInfo != null && networkInfo.getType() == defaultNetworkInfo.getType()) { in getDefaultNetId()
|
/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/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/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/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()
|