/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNotificationController.java | 28 import android.net.NetworkInfo; 93 private NetworkInfo mNetworkInfo; 94 private NetworkInfo.DetailedState mDetailedState; 105 mDetailedState = NetworkInfo.DetailedState.IDLE; in WifiNotificationController() 122 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra( in WifiNotificationController() 124 NetworkInfo.DetailedState detailedState = in WifiNotificationController() 126 if (detailedState != NetworkInfo.DetailedState.SCANNING in WifiNotificationController() 154 private synchronized void checkAndSetNotification(NetworkInfo networkInfo, in checkAndSetNotification() 163 NetworkInfo.State state = NetworkInfo.State.DISCONNECTED; in checkAndSetNotification() 167 if ((state == NetworkInfo.State.DISCONNECTED) in checkAndSetNotification() [all …]
|
D | WifiTrafficPoller.java | 19 import static android.net.NetworkInfo.DetailedState.CONNECTED; 25 import android.net.NetworkInfo; 71 private NetworkInfo mNetworkInfo; 92 mNetworkInfo = (NetworkInfo) intent.getParcelableExtra( in WifiTrafficPoller()
|
/frameworks/base/core/java/android/net/ |
D | NetworkInfo.java | 31 public class NetworkInfo implements Parcelable { class 129 public NetworkInfo(int type, int subtype, String typeName, String subtypeName) { in NetworkInfo() method in NetworkInfo 142 public NetworkInfo(NetworkInfo source) { in NetworkInfo() method in NetworkInfo 465 public static final Creator<NetworkInfo> CREATOR = new Creator<NetworkInfo>() { 467 public NetworkInfo createFromParcel(Parcel in) { 472 NetworkInfo netInfo = new NetworkInfo(netType, subtype, typeName, subtypeName); 485 public NetworkInfo[] newArray(int size) { 486 return new NetworkInfo[size];
|
D | IConnectivityManager.aidl | 23 import android.net.NetworkInfo; 48 NetworkInfo getActiveNetworkInfo(); in getActiveNetworkInfo() 49 NetworkInfo getActiveNetworkInfoForUid(int uid, boolean ignoreBlocked); in getActiveNetworkInfoForUid() 50 NetworkInfo getNetworkInfo(int networkType); in getNetworkInfo() 51 NetworkInfo getNetworkInfoForUid(in Network network, int uid, boolean ignoreBlocked); in getNetworkInfoForUid() 52 NetworkInfo[] getAllNetworkInfo(); in getAllNetworkInfo() 142 int registerNetworkAgent(in Messenger messenger, in NetworkInfo ni, in LinkProperties lp, in registerNetworkAgent()
|
D | NetworkAgent.java | 208 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() 213 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() 225 netId = cm.registerNetworkAgent(new Messenger(this), new NetworkInfo(ni), in NetworkAgent() 368 public void sendNetworkInfo(NetworkInfo networkInfo) { in sendNetworkInfo() 369 queueOrSendMessage(EVENT_NETWORK_INFO_CHANGED, new NetworkInfo(networkInfo)); in sendNetworkInfo()
|
D | NetworkState.java | 30 public final NetworkInfo networkInfo; 37 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, in NetworkState()
|
/frameworks/ex/common/java/com/android/common/ |
D | NetworkConnectivityListener.java | 24 import android.net.NetworkInfo; 52 private NetworkInfo mNetworkInfo; 59 private NetworkInfo mOtherNetworkInfo; 83 mNetworkInfo = (NetworkInfo) in onReceive() 85 mOtherNetworkInfo = (NetworkInfo) in onReceive() 190 public NetworkInfo getNetworkInfo() { in getNetworkInfo() 203 public NetworkInfo getOtherNetworkInfo() { in getOtherNetworkInfo()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 35 import android.net.NetworkInfo; 36 import android.net.NetworkInfo.DetailedState; 37 import android.net.NetworkInfo.State; 122 final NetworkInfo egressInfo = mConnService.getActiveNetworkInfoUnfiltered(); in handleStateChangedLocked() 125 final NetworkInfo vpnInfo = mVpn.getNetworkInfo(); in handleStateChangedLocked() 212 final NetworkInfo clone = new NetworkInfo(egressInfo); in handleStateChangedLocked() 316 public void onVpnStateChanged(NetworkInfo info) { in onVpnStateChanged() 325 public void augmentNetworkInfo(NetworkInfo info) { in augmentNetworkInfo() 327 final NetworkInfo vpnInfo = mVpn.getNetworkInfo(); in augmentNetworkInfo()
|
/frameworks/support/v4/java/android/support/v4/net/ |
D | ConnectivityManagerCompat.java | 24 import android.net.NetworkInfo; 40 final NetworkInfo info = cm.getActiveNetworkInfo(); in isActiveNetworkMetered() 113 public static NetworkInfo getNetworkInfoFromBroadcast(ConnectivityManager cm, Intent intent) { in getNetworkInfoFromBroadcast() 114 final NetworkInfo info = intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO); in getNetworkInfoFromBroadcast()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | TestUtil.java | 25 import android.net.NetworkInfo; 51 Context context, NetworkInfo.DetailedState detailedState) { in sendNetworkStateChanged() 53 NetworkInfo networkInfo = new NetworkInfo(0, 0, "", ""); in sendNetworkStateChanged()
|
D | WifiNotificationControllerTest.java | 33 import android.net.NetworkInfo; 107 NetworkInfo.DetailedState.DISCONNECTED); in verifyNotificationDisplayed() 119 NetworkInfo.DetailedState.SCANNING); in verifyNotificationDisplayed() 121 NetworkInfo.DetailedState.DISCONNECTED); in verifyNotificationDisplayed() 136 NetworkInfo.DetailedState.CONNECTED); in verifyNotificationDisplayed()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 25 import android.net.NetworkInfo; 109 public NetworkInfo networkInfo; 177 public NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, in NetworkAgentInfo() 266 return new NetworkState(new NetworkInfo(networkInfo), in getNetworkState()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiStatusTracker.java | 14 import android.net.NetworkInfo; 40 final NetworkInfo networkInfo = (NetworkInfo) in handleBroadcast()
|
D | WifiTracker.java | 25 import android.net.NetworkInfo; 26 import android.net.NetworkInfo.DetailedState; 90 private NetworkInfo mLastNetworkInfo; 468 private void updateNetworkInfo(NetworkInfo networkInfo) { in updateNetworkInfo() 531 NetworkInfo info = (NetworkInfo) intent.getParcelableExtra( 612 updateNetworkInfo((NetworkInfo) msg.obj); in handleMessage()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 31 import android.net.NetworkInfo; 32 import android.net.NetworkInfo.State; 67 private NetworkInfo mNetworkInfo; 68 private NetworkInfo mOtherNetworkInfo; 75 private NetworkInfo mWifiNetworkInfo; 162 mOtherNetworkInfo = (NetworkInfo) in onReceive() 192 (NetworkInfo) intent.getParcelableExtra(WifiManager.EXTRA_NETWORK_INFO); in onReceive() 518 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile() 527 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_WIFI); in isConnectedToWifi()
|
/frameworks/support/v4/gingerbread/android/support/v4/net/ |
D | ConnectivityManagerCompatGingerbread.java | 28 import android.net.NetworkInfo; 35 final NetworkInfo info = cm.getActiveNetworkInfo(); in isActiveNetworkMetered()
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/net/ |
D | ConnectivityManagerCompatHoneycombMR2.java | 30 import android.net.NetworkInfo; 37 final NetworkInfo info = cm.getActiveNetworkInfo(); in isActiveNetworkMetered()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 20 import android.net.NetworkInfo; 21 import android.net.NetworkInfo.State; 92 NetworkInfo ni = mCm.getActiveNetworkInfo(); in test3GToWifiNotification() 332 NetworkInfo extraNetInfo = mCm.getActiveNetworkInfo(); in verifyCellularConnection()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 63 import android.net.NetworkInfo; 64 import android.net.NetworkInfo.DetailedState; 252 NetworkInfo info; in handleMessage() 486 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() 500 public NetworkInfo getActiveNetworkInfoUnfiltered() { in getActiveNetworkInfoUnfiltered() 505 public NetworkInfo getActiveNetworkInfoForUid(int uid, boolean ignoreBlocked) { in getActiveNetworkInfoForUid() 510 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() 515 public NetworkInfo getNetworkInfoForUid(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfoForUid() 520 public NetworkInfo[] getAllNetworkInfo() { in getAllNetworkInfo() 829 public int registerNetworkAgent(Messenger messenger, NetworkInfo networkInfo, in registerNetworkAgent()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | LegacyVpnInfo.java | 20 import android.net.NetworkInfo; 78 public static int stateFromNetworkInfo(NetworkInfo info) { in stateFromNetworkInfo()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 25 import android.net.NetworkInfo; 26 import android.net.NetworkInfo.State; 162 NetworkInfo ni = mCm.getNetworkInfo(networkType); in waitForNetworkState() 423 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitForActiveNetworkConnection() 439 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitUntilNoActiveNetworkConnection()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 32 import android.net.NetworkInfo; 33 import android.net.NetworkInfo.DetailedState; 103 private NetworkInfo mNetworkInfo; 109 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_ETHERNET, 0, NETWORK_TYPE, ""); in EthernetNetworkFactory() 238 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_ETHERNET, 0, NETWORK_TYPE, ""); in stopTrackingInterface() 478 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_ETHERNET, 0, NETWORK_TYPE, ""); in stop()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 66 import android.net.NetworkInfo; 67 import android.net.NetworkInfo.DetailedState; 854 final NetworkInfo info = new NetworkInfo(networkType, 0, in getFilteredNetworkState() 856 info.setDetailedState(NetworkInfo.DetailedState.DISCONNECTED, null, null); in getFilteredNetworkState() 967 private void maybeLogBlockedNetworkInfo(NetworkInfo ni, int uid) { in maybeLogBlockedNetworkInfo() 1016 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() 1059 public NetworkInfo getActiveNetworkInfoUnfiltered() { in getActiveNetworkInfoUnfiltered() 1067 public NetworkInfo getActiveNetworkInfoForUid(int uid, boolean ignoreBlocked) { in getActiveNetworkInfoForUid() 1075 public NetworkInfo getNetworkInfo(int networkType) { in getNetworkInfo() 1093 public NetworkInfo getNetworkInfoForUid(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfoForUid() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerWifiTest.java | 5 import android.net.NetworkInfo; 125 NetworkInfo networkInfo = Mockito.mock(NetworkInfo.class); in setWifiState()
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 23 import android.net.NetworkInfo; 95 final NetworkInfo ni = mCM == null ? null : mCM.getActiveNetworkInfo(); in forceRefresh()
|