Home
last modified time | relevance | path

Searched refs:NetworkAgent (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java20 import android.net.NetworkAgent;
147 public void calculateAndReportScore(WifiInfo wifiInfo, NetworkAgent networkAgent, in calculateAndReportScore()
155 if (score > NetworkAgent.WIFI_BASE_SCORE) { in calculateAndReportScore()
156 score = NetworkAgent.WIFI_BASE_SCORE; in calculateAndReportScore()
274 if (score > NetworkAgent.WIFI_BASE_SCORE) score = NetworkAgent.WIFI_BASE_SCORE; in calculateScore()
DWifiMetrics.java20 import android.net.NetworkAgent;
69 private static final int MAX_WIFI_SCORE = NetworkAgent.WIFI_BASE_SCORE;
DWifiStateMachine.java47 import android.net.NetworkAgent;
5355 private class WifiNetworkAgent extends NetworkAgent {
5374 if (status == NetworkAgent.INVALID_NETWORK) { in networkStatus()
5380 } else if (status == NetworkAgent.VALID_NETWORK) { in networkStatus()
6147 if (message.arg1 == NetworkAgent.VALID_NETWORK) { in processMessage()
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java26 import android.net.NetworkAgent;
49 import static android.net.NetworkAgent.CMD_START_PACKET_KEEPALIVE;
50 import static android.net.NetworkAgent.CMD_STOP_PACKET_KEEPALIVE;
51 import static android.net.NetworkAgent.EVENT_PACKET_KEEPALIVE;
147 NetworkAgent.CMD_STOP_PACKET_KEEPALIVE, in binderDied()
359 NetworkAgent.CMD_START_PACKET_KEEPALIVE, ki).sendToTarget(); in startNattKeepalive()
DNat464Xlat.java26 import android.net.NetworkAgent;
175 Message msg = mHandler.obtainMessage(NetworkAgent.EVENT_NETWORK_PROPERTIES_CHANGED, lp); in updateConnectivityService()
DVpn.java52 import android.net.NetworkAgent;
140 private NetworkAgent mNetworkAgent;
685 mNetworkAgent = new NetworkAgent(mLooper, mContext, NETWORKTYPE, in agentConnect()
713 private void agentDisconnect(NetworkAgent networkAgent) { in agentDisconnect()
777 NetworkAgent oldNetworkAgent = mNetworkAgent; in establish()
/frameworks/base/core/java/android/net/
DNetworkAgent.java44 public abstract class NetworkAgent extends Handler { class
208 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() method in NetworkAgent
213 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() method in NetworkAgent
DConnectivityManager.java1569 case NetworkAgent.EVENT_PACKET_KEEPALIVE: in PacketKeepalive()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java27 import android.net.NetworkAgent;
53 @Mock NetworkAgent mNetworkAgent;
DWifiMetricsTest.java22 import android.net.NetworkAgent;
543 sb_wifi_limits.append("Wifi Score limit is " + NetworkAgent.WIFI_BASE_SCORE in assertDeserializedMetricsCorrect()
545 assertTrue(sb_wifi_limits.toString(), NetworkAgent.WIFI_BASE_SCORE <= WIFI_SCORE_RANGE_MAX); in assertDeserializedMetricsCorrect()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java29 import android.net.NetworkAgent;
93 private NetworkAgent mNetworkAgent;
295 mNetworkAgent = new NetworkAgent(mHandler.getLooper(), mContext, in onIpLayerStarted()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java56 import android.net.NetworkAgent;
244 new Class[] { AsyncChannel.class, ConnectivityService.class, NetworkAgent.class,
2020 case NetworkAgent.EVENT_NETWORK_CAPABILITIES_CHANGED: { in maybeHandleNetworkAgentMessage()
2030 case NetworkAgent.EVENT_NETWORK_PROPERTIES_CHANGED: { in maybeHandleNetworkAgentMessage()
2043 case NetworkAgent.EVENT_NETWORK_INFO_CHANGED: { in maybeHandleNetworkAgentMessage()
2048 case NetworkAgent.EVENT_NETWORK_SCORE_CHANGED: { in maybeHandleNetworkAgentMessage()
2053 case NetworkAgent.EVENT_UID_RANGES_ADDED: { in maybeHandleNetworkAgentMessage()
2062 case NetworkAgent.EVENT_UID_RANGES_REMOVED: { in maybeHandleNetworkAgentMessage()
2071 case NetworkAgent.EVENT_SET_EXPLICITLY_SELECTED: { in maybeHandleNetworkAgentMessage()
2079 case NetworkAgent.EVENT_PACKET_KEEPALIVE: { in maybeHandleNetworkAgentMessage()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java26 import android.net.NetworkAgent;
709 private class WifiAwareNetworkAgent extends NetworkAgent {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java23 import android.net.NetworkAgent;
170 private NetworkAgent mNetworkAgent;
1850 private class DcNetworkAgent extends NetworkAgent {
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java54 import android.net.NetworkAgent;
285 private NetworkAgent mNetworkAgent;
314 mNetworkAgent = new NetworkAgent(mHandlerThread.getLooper(), mServiceContext, in MockNetworkAgent()
/frameworks/base/services/
Dprofile-classes1769 Landroid/net/NetworkAgent;
/frameworks/base/
Dcompiled-classes-phone2858 android.net.NetworkAgent