Home
last modified time | relevance | path

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

/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java38 import android.net.NetworkAgent;
67 private NetworkAgent mNetworkAgent;
116 public static class InstrumentedNetworkAgent extends NetworkAgent {
255 public NetworkAgent getNetworkAgent() { in getNetworkAgent()
/frameworks/base/core/java/android/net/
DNetworkAgent.java89 public abstract class NetworkAgent { class
326 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() method in NetworkAgent
333 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() method in NetworkAgent
340 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() method in NetworkAgent
347 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() method in NetworkAgent
376 public NetworkAgent(@NonNull Context context, @NonNull Looper looper, @NonNull String logTag, in NetworkAgent() method in NetworkAgent
404 private NetworkAgent(@NonNull Looper looper, @NonNull Context context, @NonNull String logTag, in NetworkAgent() method in NetworkAgent
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java21 import static android.net.NetworkAgent.CMD_ADD_KEEPALIVE_PACKET_FILTER;
22 import static android.net.NetworkAgent.CMD_REMOVE_KEEPALIVE_PACKET_FILTER;
23 import static android.net.NetworkAgent.CMD_START_SOCKET_KEEPALIVE;
24 import static android.net.NetworkAgent.CMD_STOP_SOCKET_KEEPALIVE;
45 import android.net.NetworkAgent;
636 NetworkAgent.CMD_START_SOCKET_KEEPALIVE, ki).sendToTarget(); in startNattKeepalive()
DVpn.java62 import android.net.NetworkAgent;
209 protected NetworkAgent mNetworkAgent;
999 final NetworkAgent agent = mNetworkAgent;
1072 private boolean updateLinkPropertiesInPlaceIfPossible(NetworkAgent agent, VpnConfig oldConfig) {
1115 mNetworkAgent = new NetworkAgent(mLooper, mContext, NETWORKTYPE /* logtag */,
1140 private void agentDisconnect(NetworkAgent networkAgent) {
1202 NetworkAgent oldNetworkAgent = mNetworkAgent;
2291 final NetworkAgent networkAgent;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java20 import android.net.NetworkAgent;
95 public void calculateAndReportScore(WifiInfo wifiInfo, NetworkAgent networkAgent, in calculateAndReportScore()
DClientModeImpl.java47 import android.net.NetworkAgent;
4777 private class WifiNetworkAgent extends NetworkAgent {
4801 if (status == NetworkAgent.VALIDATION_STATUS_NOT_VALID) { in onValidationStatus()
4807 } else if (status == NetworkAgent.VALIDATION_STATUS_VALID) { in onValidationStatus()
5769 if (message.arg1 == NetworkAgent.VALIDATION_STATUS_VALID) { in processMessage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java41 import android.net.NetworkAgent;
84 NetworkAgent mNetworkAgent;
91 private static class TestNetworkAgent extends NetworkAgent {
DClientModeImplTest.java49 import android.net.NetworkAgent;
2562 message.what = NetworkAgent.CMD_SET_SIGNAL_STRENGTH_THRESHOLDS; in verifyRssiMonitoringCallbackIsRegistered()
3069 message.what = NetworkAgent.CMD_REPORT_NETWORK_STATUS; in testReportConnectionEventIsCalledAfterSuccessfulConnection()
3070 message.arg1 = NetworkAgent.VALID_NETWORK; in testReportConnectionEventIsCalledAfterSuccessfulConnection()
3290 message.what = NetworkAgent.CMD_REPORT_NETWORK_STATUS; in verifyAutoConnectedNetworkWithInternetValidationFailure()
3291 message.arg1 = NetworkAgent.INVALID_NETWORK; in verifyAutoConnectedNetworkWithInternetValidationFailure()
3324 message.what = NetworkAgent.CMD_REPORT_NETWORK_STATUS; in verifyLastSelectedNetworkWithInternetValidationFailure()
3325 message.arg1 = NetworkAgent.INVALID_NETWORK; in verifyLastSelectedNetworkWithInternetValidationFailure()
3359 message.what = NetworkAgent.CMD_REPORT_NETWORK_STATUS; in verifyAutoConnectedNoInternetExpectedNetworkWithInternetValidationFailure()
3360 message.arg1 = NetworkAgent.INVALID_NETWORK; in verifyAutoConnectedNoInternetExpectedNetworkWithInternetValidationFailure()
[all …]
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java31 import android.net.NetworkAgent;
149 public class TestNetworkAgent extends NetworkAgent implements IBinder.DeathRecipient {
DConnectivityService.java106 import android.net.NetworkAgent;
354 new Class[] { AsyncChannel.class, ConnectivityService.class, NetworkAgent.class,
2732 case NetworkAgent.EVENT_NETWORK_CAPABILITIES_CHANGED: { in maybeHandleNetworkAgentMessage()
2748 case NetworkAgent.EVENT_NETWORK_PROPERTIES_CHANGED: { in maybeHandleNetworkAgentMessage()
2754 case NetworkAgent.EVENT_NETWORK_INFO_CHANGED: { in maybeHandleNetworkAgentMessage()
2759 case NetworkAgent.EVENT_NETWORK_SCORE_CHANGED: { in maybeHandleNetworkAgentMessage()
2763 case NetworkAgent.EVENT_SET_EXPLICITLY_SELECTED: { in maybeHandleNetworkAgentMessage()
2779 case NetworkAgent.EVENT_SOCKET_KEEPALIVE: { in maybeHandleNetworkAgentMessage()
2848 NetworkAgent.CMD_PREVENT_AUTOMATIC_RECONNECT); in maybeHandleNetworkMonitorMessage()
2941 redirectUrlBundle.putString(NetworkAgent.REDIRECT_URL_KEY, redirectUrl); in handleNetworkTested()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java30 import android.net.NetworkAgent;
257 private @Nullable NetworkAgent mNetworkAgent;
470 mNetworkAgent = new NetworkAgent(mContext, mHandler.getLooper(), in onIpLayerStarted()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcNetworkAgent.java24 import android.net.NetworkAgent;
64 public class DcNetworkAgent extends NetworkAgent {
DDcTracker.java48 import android.net.NetworkAgent;
2998 final boolean isValid = status == NetworkAgent.VALIDATION_STATUS_VALID; in onNetworkStatusChanged()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkAgentSpecifier.java26 import android.net.NetworkAgent;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java53 import android.net.NetworkAgent;
1557 NetworkAgent.VALID_NETWORK, 1, null)); in testNetworkStatusChangedRecoveryOFF()
1562 NetworkAgent.INVALID_NETWORK, 1, null)); in testNetworkStatusChangedRecoveryOFF()
1597 NetworkAgent.VALID_NETWORK, 1, null)); in testNetworkStatusChangedRecoveryON()
1602 NetworkAgent.INVALID_NETWORK, 1, null)); in testNetworkStatusChangedRecoveryON()
1637 NetworkAgent.INVALID_NETWORK, 1, null)); in testRecoveryStepPDPReset()
1674 NetworkAgent.INVALID_NETWORK, 1, null)); in testRecoveryStepReRegister()
1706 NetworkAgent.INVALID_NETWORK, 1, null)); in testRecoveryStepRestartRadio()
/frameworks/base/tests/net/common/java/android/net/
DNetworkProviderTest.kt126 val agent = object : NetworkAgent(context, mHandlerThread.looper, "TestAgent", nc, lp, in <lambda>()
/frameworks/opt/net/wifi/service/proto/src/
Dscorecard.proto43 optional int32 network_agent_id = 5; // Latest NetworkAgent netId
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java31 import android.net.NetworkAgent;
1022 public class WifiAwareNetworkAgent extends NetworkAgent {
/frameworks/base/proto/src/
Dwifi.proto1049 // The NetworkAgent score for wifi has changed in a way that may impact
1062 // The NetworkAgent Wifi usability score has changed in a way that may
1180 // NetworkAgent score of connected wifi
1183 // NetworkAgent Wifi usability score of connected wifi
1910 // NetworkAgent score of connected wifi.
1940 // NetworkAgent wifi usability score of connected wifi.
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java168 import android.net.NetworkAgent;
6816 class TestNetworkAgent extends NetworkAgent { in testLegacyExtraInfoSentToNetworkMonitor()
6822 final NetworkAgent naNoExtraInfo = new TestNetworkAgent( in testLegacyExtraInfoSentToNetworkMonitor()
6831 final NetworkAgent naExtraInfo = new TestNetworkAgent( in testLegacyExtraInfoSentToNetworkMonitor()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44222 Landroid/net/NetworkAgent;-><init>(Landroid/os/Looper;Landroid/content/Context;Ljava/lang/String;La…
44223 Landroid/net/NetworkAgent;-><init>(Landroid/os/Looper;Landroid/content/Context;Ljava/lang/String;La…
44224 Landroid/net/NetworkAgent;->BASE:I
44225 Landroid/net/NetworkAgent;->BW_REFRESH_MIN_WIN_MS:J
44226 Landroid/net/NetworkAgent;->CMD_PREVENT_AUTOMATIC_RECONNECT:I
44227 Landroid/net/NetworkAgent;->CMD_REPORT_NETWORK_STATUS:I
44228 Landroid/net/NetworkAgent;->CMD_REQUEST_BANDWIDTH_UPDATE:I
44229 Landroid/net/NetworkAgent;->CMD_SAVE_ACCEPT_UNVALIDATED:I
44230 Landroid/net/NetworkAgent;->CMD_SET_SIGNAL_STRENGTH_THRESHOLDS:I
44231 Landroid/net/NetworkAgent;->CMD_START_PACKET_KEEPALIVE:I
[all …]
Dboot-image-profile.txt10236 HSPLandroid/net/NetworkAgent;-><init>(Landroid/os/Looper;Landroid/content/Context;Ljava/lang/String…
10237 HSPLandroid/net/NetworkAgent;-><init>(Landroid/os/Looper;Landroid/content/Context;Ljava/lang/String…
10238 HSPLandroid/net/NetworkAgent;->handleMessage(Landroid/os/Message;)V
10239 HSPLandroid/net/NetworkAgent;->log(Ljava/lang/String;)V
10240 HSPLandroid/net/NetworkAgent;->queueOrSendMessage(Landroid/os/Message;)V
10241 HSPLandroid/net/NetworkAgent;->sendLinkProperties(Landroid/net/LinkProperties;)V
10242 HSPLandroid/net/NetworkAgent;->sendNetworkCapabilities(Landroid/net/NetworkCapabilities;)V
10243 HSPLandroid/net/NetworkAgent;->sendNetworkInfo(Landroid/net/NetworkInfo;)V
10244 HSPLandroid/net/NetworkAgent;->sendNetworkScore(I)V
10245 HSPLandroid/net/NetworkAgent;->setSignalStrengthThresholds([I)V
[all …]
/frameworks/base/api/
Dsystem-current.txt4530 public abstract class NetworkAgent {
4531 …ctor public NetworkAgent(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull St…
/frameworks/base/non-updatable-api/
Dsystem-current.txt4530 public abstract class NetworkAgent {
4531 …ctor public NetworkAgent(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull St…