Home
last modified time | relevance | path

Searched refs:mNetworkInfo (Results 1 – 10 of 10) sorted by relevance

/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java52 private NetworkInfo mNetworkInfo; field in NetworkConnectivityListener
83 mNetworkInfo = (NetworkInfo) in onReceive()
93 Log.d(TAG, "onReceive(): mNetworkInfo=" + mNetworkInfo + " mOtherNetworkInfo = " in onReceive()
155 mNetworkInfo = null; in stopListening()
191 return mNetworkInfo; in getNetworkInfo()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java65 private NetworkInfo mNetworkInfo; field in ConnectionUtil
162 mNetworkInfo = connManager.getActiveNetworkInfo(); in onReceive()
169 Log.v(LOG_TAG, "mNetworkInfo: " + mNetworkInfo.toString()); in onReceive()
170 recordNetworkState(mNetworkInfo.getType(), mNetworkInfo.getState()); in onReceive()
460 if (mNetworkInfo == null) { in waitForNetworkState()
462 mNetworkInfo = mCM.getActiveNetworkInfo(); in waitForNetworkState()
466 if (mNetworkInfo == null) { in waitForNetworkState()
471 if ((mNetworkInfo.getType() != networkType) || in waitForNetworkState()
472 (mNetworkInfo.getState() != expectedState)) { in waitForNetworkState()
473 Log.v(LOG_TAG, "network state for " + mNetworkInfo.getType() + in waitForNetworkState()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java54 private NetworkInfo mNetworkInfo = null; field in TestAccessPointBuilder
84 bundle.putParcelable(AccessPoint.KEY_NETWORKINFO, mNetworkInfo); in build()
110 mNetworkInfo = new NetworkInfo( in setActive()
116 mNetworkInfo = null; in setActive()
146 mNetworkInfo = info; in setNetworkInfo()
DAccessPoint.java262 private NetworkInfo mNetworkInfo; field in AccessPoint
317 mNetworkInfo = savedState.getParcelable(KEY_NETWORKINFO); in AccessPoint()
356 update(mConfig, mInfo, mNetworkInfo); in AccessPoint()
989 return mNetworkInfo; in getNetworkInfo()
1090 if (mNetworkInfo != null) { in getDetailedState()
1091 return mNetworkInfo.getDetailedState(); in getDetailedState()
1261 return mNetworkInfo != null && in isActive()
1263 mNetworkInfo.getState() != State.DISCONNECTED); in isActive()
1272 mNetworkInfo != null && mNetworkInfo.getState() != State.DISCONNECTED; in isEphemeral()
1410 if (mNetworkInfo != null) { in saveWifiState()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java48 NetworkInfo mNetworkInfo; field in WifiClientTest
74 mNetworkInfo = (NetworkInfo) in onReceive()
245 mNetworkInfo = null; in testWifiBroadcasts()
253 assertTrue(mNetworkInfo.isConnected()); in testWifiBroadcasts()
262 assertTrue(!mNetworkInfo.isConnected()); in testWifiBroadcasts()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiEntry.java244 protected NetworkInfo mNetworkInfo; field in WifiEntry
292 if (mNetworkInfo != null) { in getConnectedState()
293 switch (mNetworkInfo.getDetailedState()) { in getConnectedState()
399 return mNetworkInfo != null in isPrimaryNetwork()
975 if (mNetworkInfo != null) { in onPrimaryWifiInfoChanged()
976 mNetworkInfo = null; in onPrimaryWifiInfoChanged()
982 mNetworkInfo = networkInfo; in onPrimaryWifiInfoChanged()
1075 mNetworkInfo = null; in clearConnectionInfo()
DPasspointWifiEntry.java186 connectedStateDescription = getConnectingDescription(mContext, mNetworkInfo); in getSummary()
DStandardWifiEntry.java198 connectedStateDescription = getConnectingDescription(mContext, mNetworkInfo); in getSummary()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java107 private NetworkInfo mNetworkInfo; field in WifiDisplayController
229 pw.println("mNetworkInfo=" + mNetworkInfo); in dump()
836 mNetworkInfo = networkInfo; in handleConnectionChanged()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java353 private final NetworkInfo mNetworkInfo; field in Vpn
650 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_VPN, 0 /* subtype */, NETWORKTYPE, in Vpn()
688 mNetworkInfo.setDetailedState(detailedState, reason, null); in updateState()
1019 updateAlwaysOnNotification(mNetworkInfo.getDetailedState()); in setAlwaysOnPackageInternal()
1439 return mNetworkInfo; in getNetworkInfo()
2292 if (!mNetworkInfo.isConnectedOrConnecting()) return VpnManager.TYPE_VPN_NONE; in getActiveVpnType()
2599 if (mNetworkInfo.isConnected()) { in getLegacyVpnInfoPrivileged()