/frameworks/base/core/java/android/net/ |
MobileDataStateTracker.java | 61 private NetworkInfo mNetworkInfo; 84 mNetworkInfo = new NetworkInfo(netType, 154 return mNetworkInfo; 186 int oldSubtype = mNetworkInfo.getSubtype(); 189 mNetworkInfo.setSubtype(newSubType, subTypeName); 190 if (newSubType != oldSubtype && mNetworkInfo.isConnected()) { 192 oldSubtype, 0, mNetworkInfo); 200 mNetworkInfo.setRoaming(intent.getBooleanExtra( 206 mNetworkInfo.setIsAvailable(!intent.getBooleanExtra( 261 mNetworkInfo.setDetailedState(mNetworkInfo.getDetailedState(), reason [all...] |
DummyDataStateTracker.java | 38 private NetworkInfo mNetworkInfo; 57 mNetworkInfo = new NetworkInfo(netType); 80 return mNetworkInfo; 139 + mNetworkInfo.getDetailedState() + " and new state=" + state); 140 mNetworkInfo.setDetailedState(state, reason, extraInfo); 141 Message msg = mTarget.obtainMessage(EVENT_STATE_CHANGED, mNetworkInfo);
|
BaseNetworkStateTracker.java | 45 protected NetworkInfo mNetworkInfo; 54 mNetworkInfo = new NetworkInfo( 86 return new NetworkInfo(mNetworkInfo); 112 return mNetworkInfo.isAvailable();
|
EthernetDataTracker.java | 51 private NetworkInfo mNetworkInfo; 81 mTracker.mNetworkInfo.setIsAvailable(up); 110 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_ETHERNET, 0, NETWORKTYPE, ""); 134 mNetworkInfo.setIsAvailable(true); 135 Message msg = mCsHandler.obtainMessage(EVENT_CONFIGURATION_CHANGED, mNetworkInfo); 144 mNetworkInfo.setIsAvailable(false); 145 mNetworkInfo.setDetailedState(DetailedState.DISCONNECTED, null, mHwAddr); 147 Message msg = mCsHandler.obtainMessage(EVENT_CONFIGURATION_CHANGED, mNetworkInfo); 150 msg = mCsHandler.obtainMessage(EVENT_STATE_CHANGED, mNetworkInfo); 181 mNetworkInfo.setDetailedState(DetailedState.CONNECTED, null, mHwAddr) [all...] |
CaptivePortalTracker.java | 70 private NetworkInfo mNetworkInfo; 190 mNetworkInfo = null; 204 mNetworkInfo = info; 228 && info.getType() == mNetworkInfo.getType()) { 231 } else if (info.getType() != mNetworkInfo.getType() && 269 if (DBG) log("Captive network " + mNetworkInfo); 271 if (DBG) log("Not captive network " + mNetworkInfo); 378 switch (mNetworkInfo.getType()) { 382 mNetworkInfo.getExtraInfo()); 395 mNetworkInfo.getExtraInfo()) [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
WifiClientTest.java | 55 NetworkInfo mNetworkInfo; 81 mNetworkInfo = (NetworkInfo) 252 mNetworkInfo = null; 260 assertTrue(mNetworkInfo.isConnected()); 269 assertTrue(!mNetworkInfo.isConnected());
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothTetheringDataTracker.java | 74 private NetworkInfo mNetworkInfo; 86 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_BLUETOOTH, 0, NETWORKTYPE, ""); 90 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) [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestActivity.java | 82 public NetworkInfo mNetworkInfo; 135 mNetworkInfo = (NetworkInfo) 144 log("mNetworkInfo: " + mNetworkInfo.toString()); 148 recordNetworkState(mNetworkInfo.getType(), mNetworkInfo.getState()); 393 if ((mNetworkInfo.getType() != networkType) || 394 (mNetworkInfo.getState() != expectedState)) { 395 log("network state for " + mNetworkInfo.getType() + 396 "is: " + mNetworkInfo.getState()) [all...] |
/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...] |
/frameworks/base/services/java/com/android/server/wifi/ |
WifiNotificationController.java | 93 private NetworkInfo mNetworkInfo; 116 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra( 119 switch(mNetworkInfo.getDetailedState()) { 128 checkAndSetNotification(mNetworkInfo,
|
WifiTrafficPoller.java | 66 private NetworkInfo mNetworkInfo; 84 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra( 137 if (mNetworkInfo == null) return; 138 if (mNetworkInfo.getDetailedState() == CONNECTED && mScreenOn.get()) {
|
WifiController.java | 85 NetworkInfo mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0, "WIFI", ""); 172 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra( 324 if (mNetworkInfo.getDetailedState() ==
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiStateTracker.java | 53 private NetworkInfo mNetworkInfo; 63 mNetworkInfo = new NetworkInfo(netType, 0, networkName, ""); 67 mNetworkInfo.setIsAvailable(false); 142 return mNetworkInfo.isAvailable(); 173 return new NetworkInfo(mNetworkInfo); 220 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra( 234 NetworkInfo.State state = mNetworkInfo.getState(); 236 mNetworkInfo.getDetailedState() != DetailedState.CAPTIVE_PORTAL_CHECK) { 242 new NetworkInfo(mNetworkInfo)); 247 Message msg = mCsHandler.obtainMessage(EVENT_CONFIGURATION_CHANGED, mNetworkInfo); [all...] |
WifiStateMachine.java | 204 private NetworkInfo mNetworkInfo; 546 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0, NETWORKTYPE, ""); 565 mNetworkInfo.setIsAvailable(false); [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;
|
/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 | 161 mNetworkInfo.setDetailedState(detailedState, reason, null); 162 mCallback.onStateChanged(new NetworkInfo(mNetworkInfo)); 623 info.state = LegacyVpnInfo.stateFromNetworkInfo(mNetworkInfo); 624 if (mNetworkInfo.isConnected()) { [all...] |
/frameworks/base/services/java/com/android/server/display/ |
WifiDisplayController.java | 103 private NetworkInfo mNetworkInfo; 202 pw.println("mNetworkInfo=" + mNetworkInfo); 699 mNetworkInfo = networkInfo; [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pService.java | 205 private NetworkInfo mNetworkInfo; 307 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_WIFI_P2P, 0, NETWORKTYPE, ""); 377 pw.println("mNetworkInfo " + mNetworkInfo); [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
ExchangeService.java | 242 private NetworkInfo mNetworkInfo; [all...] |