/frameworks/base/core/java/android/net/ |
EthernetDataTracker.java | 81 mTracker.mNetworkInfo.setIsAvailable(up); 104 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_ETHERNET, 0, NETWORKTYPE, ""); 128 mNetworkInfo.setIsAvailable(true); 129 Message msg = mCsHandler.obtainMessage(EVENT_CONFIGURATION_CHANGED, mNetworkInfo); 138 mNetworkInfo.setIsAvailable(false); 139 mNetworkInfo.setDetailedState(DetailedState.DISCONNECTED, null, mHwAddr); 141 Message msg = mCsHandler.obtainMessage(EVENT_CONFIGURATION_CHANGED, mNetworkInfo); 144 msg = mCsHandler.obtainMessage(EVENT_STATE_CHANGED, mNetworkInfo); 175 mNetworkInfo.setIsAvailable(true); 176 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, mHwAddr) [all...] |
DummyDataStateTracker.java | 53 mNetworkInfo = new NetworkInfo(netType); 76 return mNetworkInfo; 141 + mNetworkInfo.getDetailedState() + " and new state=" + state); 142 mNetworkInfo.setDetailedState(state, reason, extraInfo); 143 Message msg = mTarget.obtainMessage(EVENT_STATE_CHANGED, mNetworkInfo);
|
BaseNetworkStateTracker.java | 45 protected NetworkInfo mNetworkInfo; 54 mNetworkInfo = new NetworkInfo( 92 return new NetworkInfo(mNetworkInfo); 128 return mNetworkInfo.isAvailable();
|
MobileDataStateTracker.java | 64 private NetworkInfo mNetworkInfo; 95 mNetworkInfo = new NetworkInfo(netType, 177 return mNetworkInfo; 229 mNetworkInfo.setIsConnectedToProvisioningNetwork(true); 246 mNetworkInfo.setIsConnectedToProvisioningNetwork(false); 251 int oldSubtype = mNetworkInfo.getSubtype(); 254 mNetworkInfo.setSubtype(newSubType, subTypeName); 255 if (newSubType != oldSubtype && mNetworkInfo.isConnected()) { 257 oldSubtype, 0, mNetworkInfo); 265 mNetworkInfo.setRoaming(intent.getBooleanExtra [all...] |
CaptivePortalTracker.java | 91 private NetworkInfo mNetworkInfo; 208 mNetworkInfo = null; 221 mNetworkInfo = info; 243 && info.getType() == mNetworkInfo.getType()) { 246 } else if (info.getType() != mNetworkInfo.getType() && 285 if (DBG) log("Captive network " + mNetworkInfo); 287 if (DBG) log("Not captive network " + mNetworkInfo); 289 notifyPortalCheckCompleted(mNetworkInfo, captive); 296 mNetworkInfo.getType(), mNetworkInfo.getExtraInfo(), mUrl) [all...] |
/frameworks/ex/common/java/com/android/common/ |
NetworkConnectivityListener.java | 51 private NetworkInfo mNetworkInfo; 82 mNetworkInfo = (NetworkInfo) 92 Log.d(TAG, "onReceive(): mNetworkInfo=" + mNetworkInfo + " mOtherNetworkInfo = " 154 mNetworkInfo = null; 190 return mNetworkInfo;
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiStateTracker.java | 66 mNetworkInfo = new NetworkInfo(netType, 0, networkName, ""); 70 mNetworkInfo.setIsAvailable(false); 150 return mNetworkInfo.isAvailable(); 182 return new NetworkInfo(mNetworkInfo); 210 if (mNetworkInfo == null) { 216 li.setNetworkType(mNetworkInfo.getType()); 267 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra( 284 NetworkInfo.State state = mNetworkInfo.getState(); 286 mNetworkInfo.getDetailedState() != DetailedState.CAPTIVE_PORTAL_CHECK) { 295 new NetworkInfo(mNetworkInfo)); [all...] |
WifiStateMachine.java | 231 private NetworkInfo mNetworkInfo; 648 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0, NETWORKTYPE, ""); 669 mNetworkInfo.setIsAvailable(false); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothTetheringDataTracker.java | 81 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_BLUETOOTH, 0, NETWORKTYPE, ""); 85 mNetworkInfo.setIsAvailable(false); 176 return mNetworkInfo.isAvailable(); 242 return new NetworkInfo(mNetworkInfo); 335 mNetworkInfo.setIsAvailable(true); 336 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, null); 339 new NetworkInfo(mNetworkInfo)); 359 mNetworkInfo.setIsAvailable(false); 360 mNetworkInfo.setDetailedState(DetailedState.DISCONNECTED, null, null); 363 mCsHandler.obtainMessage(EVENT_STATE_CHANGED, new NetworkInfo(mNetworkInfo)) [all...] |
/frameworks/base/services/java/com/android/server/wifi/ |
WifiTrafficPoller.java | 66 private NetworkInfo mNetworkInfo; 84 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra( 137 if (mNetworkInfo == null) return; 138 if (mNetworkInfo.getDetailedState() == CONNECTED && mScreenOn.get()) {
|
WifiNotificationController.java | 93 private NetworkInfo mNetworkInfo; 116 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra( 119 switch(mNetworkInfo.getDetailedState()) { 128 checkAndSetNotification(mNetworkInfo,
|
WifiController.java | 86 NetworkInfo mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0, "WIFI", ""); 174 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra( 326 if (mNetworkInfo.getDetailedState() ==
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestBase.java | 79 public NetworkInfo mNetworkInfo; 127 mNetworkInfo = (NetworkInfo) 136 log("mNetworkInfo: " + mNetworkInfo.toString()); 140 recordNetworkState(mNetworkInfo.getType(), mNetworkInfo.getState()); 380 if ((mNetworkInfo.getType() != networkType) || 381 (mNetworkInfo.getState() != expectedState)) { 382 log("network state for " + mNetworkInfo.getType() + 383 "is: " + mNetworkInfo.getState()) [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
WifiClientTest.java | 49 NetworkInfo mNetworkInfo; 75 mNetworkInfo = (NetworkInfo) 246 mNetworkInfo = null; 254 assertTrue(mNetworkInfo.isConnected()); 263 assertTrue(!mNetworkInfo.isConnected());
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 67 private NetworkInfo mNetworkInfo; 159 mNetworkInfo = connManager.getActiveNetworkInfo(); 166 Log.v(LOG_TAG, "mNetworkInfo: " + mNetworkInfo.toString()); 167 recordNetworkState(mNetworkInfo.getType(), mNetworkInfo.getState()); 457 if (mNetworkInfo == null) { 459 mNetworkInfo = mCM.getActiveNetworkInfo(); 463 if (mNetworkInfo == null) { 468 if ((mNetworkInfo.getType() != networkType) | [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 50 private NetworkInfo mNetworkInfo; 99 mNetworkInfo = 101 if (mNetworkInfo.getState() == NetworkInfo.State.CONNECTED) 181 if (mNetworkInfo.getState() == NetworkInfo.State.CONNECTED) return; 185 && mNetworkInfo.getState() != NetworkInfo.State.CONNECTED) 187 assertTrue(mNetworkInfo.getState() == NetworkInfo.State.CONNECTED);
|
/frameworks/base/services/java/com/android/server/connectivity/ |
Vpn.java | 202 mNetworkInfo.setDetailedState(detailedState, reason, null); 203 mCallback.onStateChanged(new NetworkInfo(mNetworkInfo)); 830 info.state = LegacyVpnInfo.stateFromNetworkInfo(mNetworkInfo); 831 if (mNetworkInfo.isConnected()) { [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pService.java | 215 private NetworkInfo mNetworkInfo; 317 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_WIFI_P2P, 0, NETWORKTYPE, ""); 387 pw.println("mNetworkInfo " + mNetworkInfo); [all...] |
/frameworks/base/services/java/com/android/server/display/ |
WifiDisplayController.java | 104 private NetworkInfo mNetworkInfo; 217 pw.println("mNetworkInfo=" + mNetworkInfo); 817 mNetworkInfo = networkInfo; [all...] |
/packages/apps/Email/emailsync/src/com/android/emailsync/ |
SyncManager.java | 227 private NetworkInfo mNetworkInfo; [all...] |