/aosp12/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
H A D | NetworkAgentInfo.java | 35 import android.net.NetworkAgent; 623 mHandler.obtainMessage(NetworkAgent.EVENT_NETWORK_CAPABILITIES_CHANGED, in sendNetworkCapabilities() 630 mHandler.obtainMessage(NetworkAgent.EVENT_NETWORK_PROPERTIES_CHANGED, in sendLinkProperties() 637 mHandler.obtainMessage(NetworkAgent.EVENT_NETWORK_INFO_CHANGED, in sendNetworkInfo() 643 mHandler.obtainMessage(NetworkAgent.EVENT_NETWORK_SCORE_CHANGED, in sendScore() 649 mHandler.obtainMessage(NetworkAgent.EVENT_SET_EXPLICITLY_SELECTED, in sendExplicitlySelected() 656 mHandler.obtainMessage(NetworkAgent.EVENT_SOCKET_KEEPALIVE, in sendSocketKeepaliveEvent() 662 mHandler.obtainMessage(NetworkAgent.EVENT_UNDERLYING_NETWORKS_CHANGED, in sendUnderlyingNetworks() 691 mHandler.obtainMessage(NetworkAgent.EVENT_TEARDOWN_DELAY_CHANGED, in sendTeardownDelayMs() 697 mHandler.obtainMessage(NetworkAgent.EVENT_LINGER_DURATION_CHANGED, in sendLingerDuration()
|
H A D | KeepaliveTracker.java | 21 import static android.net.NetworkAgent.CMD_START_SOCKET_KEEPALIVE; 46 import android.net.NetworkAgent; 555 Log.e(TAG, "Event " + NetworkAgent.EVENT_SOCKET_KEEPALIVE + "," + slot + "," + reason in handleEventSocketKeepalive() 598 Log.wtf(TAG, "Event " + NetworkAgent.EVENT_SOCKET_KEEPALIVE + "," + slot + "," + reason in handleEventSocketKeepalive() 648 NetworkAgent.CMD_START_SOCKET_KEEPALIVE, ki).sendToTarget(); in startNattKeepalive()
|
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | NetworkScoreTest.kt | 22 import android.net.NetworkAgent 69 private val agentsToCleanUp = mutableListOf<NetworkAgent>() 94 private class AgentWrapper(val agent: NetworkAgent) : HasNetwork { 132 val agent = object : NetworkAgent(context, looper, "NetworkScore test agent", nc,
|
H A D | NetworkAgentTest.kt | 31 import android.net.NetworkAgent 33 import android.net.NetworkAgent.INVALID_NETWORK 34 import android.net.NetworkAgent.VALID_NETWORK 172 private val agentsToCleanUp = mutableListOf<NetworkAgent>() 228 ) : NetworkAgent(context, looper, TestableNetworkAgent::class.java.simpleName /* tag */, 872 NetworkAgent.MIN_LINGER_TIMER_MS.toLong() - 1)) 879 agentWeaker.setLingerDuration(Duration.ofMillis(NetworkAgent.MIN_LINGER_TIMER_MS.toLong())) 901 NetworkAgent.MIN_LINGER_TIMER_MS.toLong() - SystemClock.elapsedRealtime()
|
H A D | ConnectivityManagerTest.java | 114 import android.net.NetworkAgent; 2927 final NetworkAgent agent = new NetworkAgent(mContext, Looper.getMainLooper(),
|
/aosp12/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
H A D | hiddenapi-max-target-o-low-priority.txt | 524 Landroid/net/NetworkAgent;->BASE:I 533 Landroid/net/NetworkAgent;->CMD_SUSPECT_BAD:I 534 Landroid/net/NetworkAgent;->DBG:Z 542 Landroid/net/NetworkAgent;->INVALID_NETWORK:I 549 Landroid/net/NetworkAgent;->mPollLceScheduled:Z 551 Landroid/net/NetworkAgent;->netId:I 554 Landroid/net/NetworkAgent;->pollLceData()V 568 Landroid/net/NetworkAgent;->unwanted()V 569 Landroid/net/NetworkAgent;->VALID_NETWORK:I 570 Landroid/net/NetworkAgent;->VDBG:Z [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
H A D | BluetoothTetheringNetworkFactory.java | 23 import android.net.NetworkAgent; 60 private NetworkAgent mNetworkAgent; 174 new NetworkAgent(mContext, getLooper(), NETWORK_TYPE, in startNetwork()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | WifiNetworkAgent.java | 24 import android.net.NetworkAgent; 34 public class WifiNetworkAgent extends NetworkAgent {
|
/aosp12/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
H A D | NetworkAgentWrapper.java | 40 import android.net.NetworkAgent; 74 private NetworkAgent mNetworkAgent; 135 public static class InstrumentedNetworkAgent extends NetworkAgent { 322 public NetworkAgent getNetworkAgent() { in getNetworkAgent()
|
/aosp12/packages/modules/Connectivity/core/java/android/net/ |
H A D | NetworkAgent.java | 44 public abstract class NetworkAgent extends Handler { class 95 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, in NetworkAgent() method in NetworkAgent
|
/aosp12/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
H A D | VcnGatewayConnectionConnectedStateTest.java | 56 import android.net.NetworkAgent; 337 triggerValidation(NetworkAgent.VALIDATION_STATUS_VALID); in testChildOpenedRegistersNetwork() 408 triggerValidation(NetworkAgent.VALIDATION_STATUS_VALID); in testSuccessfulConnectionExitsSafeMode() 419 triggerValidation(NetworkAgent.VALIDATION_STATUS_VALID); in testSubsequentFailedValidationTriggersSafeMode() 423 triggerValidation(NetworkAgent.VALIDATION_STATUS_NOT_VALID); in testSubsequentFailedValidationTriggersSafeMode()
|
/aosp12/packages/modules/Connectivity/services/core/java/com/android/server/connectivity/ |
H A D | Nat464Xlat.java | 28 import android.net.NetworkAgent; 162 NetworkAgent.EVENT_NETWORK_PROPERTIES_CHANGED, mBaseLP); in updateConnectivityService()
|
/aosp12/packages/modules/Connectivity/framework/src/android/net/ |
H A D | NetworkAgent.java | 92 public abstract class NetworkAgent { class 417 public NetworkAgent(@NonNull Context context, @NonNull Looper looper, @NonNull String logTag, in NetworkAgent() method in NetworkAgent 436 public NetworkAgent(@NonNull Context context, @NonNull Looper looper, @NonNull String logTag, in NetworkAgent() method in NetworkAgent 465 private NetworkAgent(@NonNull Looper looper, @NonNull Context context, @NonNull String logTag, in NetworkAgent() method in NetworkAgent 675 redirectUrlBundle.putString(NetworkAgent.REDIRECT_URL_KEY, captivePortalUrl); in onValidationStatusChanged()
|
/aosp12/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
H A D | EthernetNetworkFactory.java | 30 import android.net.NetworkAgent; 263 private @Nullable NetworkAgent mNetworkAgent; 477 mNetworkAgent = new NetworkAgent(mContext, mHandler.getLooper(), in onIpLayerStarted()
|
/aosp12/packages/modules/Connectivity/service/src/com/android/server/ |
H A D | TestNetworkService.java | 31 import android.net.NetworkAgent; 162 public class TestNetworkAgent extends NetworkAgent implements IBinder.DeathRecipient {
|
H A D | ConnectivityService.java | 143 import android.net.NetworkAgent; 3281 case NetworkAgent.EVENT_NETWORK_PROPERTIES_CHANGED: { in maybeHandleNetworkAgentMessage() 3287 case NetworkAgent.EVENT_NETWORK_INFO_CHANGED: { in maybeHandleNetworkAgentMessage() 3292 case NetworkAgent.EVENT_NETWORK_SCORE_CHANGED: { in maybeHandleNetworkAgentMessage() 3296 case NetworkAgent.EVENT_SET_EXPLICITLY_SELECTED: { in maybeHandleNetworkAgentMessage() 3315 case NetworkAgent.EVENT_SOCKET_KEEPALIVE: { in maybeHandleNetworkAgentMessage() 3343 case NetworkAgent.EVENT_TEARDOWN_DELAY_CHANGED: { in maybeHandleNetworkAgentMessage() 3351 case NetworkAgent.EVENT_LINGER_DURATION_CHANGED: { in maybeHandleNetworkAgentMessage() 3504 valid ? NetworkAgent.VALID_NETWORK : NetworkAgent.INVALID_NETWORK, in handleNetworkTested() 4914 case NetworkAgent.CMD_START_SOCKET_KEEPALIVE: { in handleMessage() [all …]
|
/aosp12/packages/modules/Connectivity/tests/common/java/android/net/ |
H A D | NetworkProviderTest.kt | 167 val agent = object : NetworkAgent(context, mHandlerThread.looper, "TestAgent", nc, lp, 316 val agent = object : NetworkAgent(context, mHandlerThread.looper, "TestAgent", nc,
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcNetworkAgent.java | 24 import android.net.NetworkAgent; 75 public class DcNetworkAgent extends NetworkAgent {
|
/aosp12/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Vpn.java | 67 import android.net.NetworkAgent; 224 protected NetworkAgent mNetworkAgent; 1153 final NetworkAgent agent = mNetworkAgent; 1230 private boolean updateLinkPropertiesInPlaceIfPossible(NetworkAgent agent, VpnConfig oldConfig) { 1289 mNetworkAgent = new NetworkAgent(mContext, mLooper, NETWORKTYPE /* logtag */, 1322 private void agentDisconnect(NetworkAgent networkAgent) { 1378 NetworkAgent oldNetworkAgent = mNetworkAgent; 2526 final NetworkAgent networkAgent;
|
/aosp12/frameworks/base/services/core/java/com/android/server/vcn/ |
H A D | VcnGatewayConnection.java | 49 import android.net.NetworkAgent; 1660 case NetworkAgent.VALIDATION_STATUS_VALID: in buildNetworkAgent() 1663 case NetworkAgent.VALIDATION_STATUS_NOT_VALID: in buildNetworkAgent() 2552 private final NetworkAgent mImpl; 2565 new NetworkAgent( in VcnNetworkAgent()
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | DcTrackerTest.java | 55 import android.net.NetworkAgent; 2194 NetworkAgent.VALID_NETWORK, 1, null)); in testNetworkStatusChangedRecoveryOFF() 2199 NetworkAgent.INVALID_NETWORK, 1, null)); in testNetworkStatusChangedRecoveryOFF() 2234 NetworkAgent.VALID_NETWORK, 1, null)); in testNetworkStatusChangedRecoveryON() 2239 NetworkAgent.INVALID_NETWORK, 1, null)); in testNetworkStatusChangedRecoveryON() 2274 NetworkAgent.INVALID_NETWORK, 1, null)); in testRecoveryStepPDPReset() 2312 NetworkAgent.INVALID_NETWORK, 1, null)); in testRecoveryStepReRegister() 2345 NetworkAgent.INVALID_NETWORK, 1, null)); in testRecoveryStepRestartRadio()
|
/aosp12/packages/modules/Wifi/service/proto/src/ |
H A D | scorecard.proto | 43 optional int32 network_agent_id = 5; // Latest NetworkAgent netId
|
/aosp12/packages/modules/Connectivity/framework/api/ |
H A D | system-current.txt | 213 public abstract class NetworkAgent { 214 …ctor public NetworkAgent(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull St… 215 …ctor public NetworkAgent(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull St…
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | ClientModeImplTest.java | 89 import android.net.NetworkAgent; 3872 NetworkAgent.VALIDATION_STATUS_VALID, null /* captivePortalUrl */); in testReportConnectionEventIsCalledAfterSuccessfulConnection() 4044 NetworkAgent.VALIDATION_STATUS_NOT_VALID, null /* captivePortalUr; */); in internetValidationFailure_notUserSelected_expectTemporarilyDisabled() 4068 NetworkAgent.VALIDATION_STATUS_NOT_VALID, null /* captivePortalUr; */); in mbb_internetValidationError_expectDisconnect() 4084 NetworkAgent.VALIDATION_STATUS_NOT_VALID, mMockUri); in captivePortalDetected_notifiesCmiMonitor() 4114 NetworkAgent.VALIDATION_STATUS_NOT_VALID, null /* captivePortalUrl */); in internetValidationFailure_userSelectedRecently_expectNotDisabled() 4148 NetworkAgent.VALIDATION_STATUS_NOT_VALID, null /* captivePortalUrl */); in internetValidationFailure_userSelectedTooLongAgo_expectTemporarilyDisabled() 4178 NetworkAgent.VALIDATION_STATUS_NOT_VALID, null /* captivePortalUrl */); in noInternetExpectedNetwork_internetValidationFailure_notUserSelected_expectNotDisabled() 4244 NetworkAgent.VALIDATION_STATUS_VALID, null /* captivePortalUrl */); in verifyNetworkSelectionEnableOnInternetValidation() 4285 NetworkAgent.VALIDATION_STATUS_VALID, null /* captivePortalUrl */); in testTermsAndConditionsClearUrlAfterNetworkValidation()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
H A D | WifiAwareDataPathStateManager.java | 31 import android.net.NetworkAgent; 1098 public class WifiAwareNetworkAgent extends NetworkAgent {
|