Home
last modified time | relevance | path

Searched refs:VcnNetworkAgent (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionRetryTimeoutStateTest.java19 import static com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;
42 private VcnNetworkAgent mNetworkAgent;
49 mNetworkAgent = mock(VcnNetworkAgent.class); in setUp()
DVcnGatewayConnectionConnectedStateTest.java35 import static com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;
80 import com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;
104 private VcnNetworkAgent mNetworkAgent;
111 mNetworkAgent = mock(VcnNetworkAgent.class); in setUp()
728 private Consumer<VcnNetworkAgent> setupNetworkAndGetUnwantedCallback() { in setupNetworkAndGetUnwantedCallback()
732 final ArgumentCaptor<Consumer<VcnNetworkAgent>> unwantedCallbackCaptor = in setupNetworkAndGetUnwantedCallback()
751 final Consumer<VcnNetworkAgent> unwantedCallback = setupNetworkAndGetUnwantedCallback(); in testUnwantedNetworkAgentTriggersTeardown()
762 final Consumer<VcnNetworkAgent> unwantedCallback = setupNetworkAndGetUnwantedCallback(); in testUnwantedNetworkAgentWithDisconnectedNetworkAgent()
776 final Consumer<VcnNetworkAgent> unwantedCallback = setupNetworkAndGetUnwantedCallback(); in testUnwantedNetworkAgentWithNewNetworkAgent()
777 final VcnNetworkAgent testAgent = mock(VcnNetworkAgent.class); in testUnwantedNetworkAgentWithNewNetworkAgent()
DVcnGatewayConnectionTestBase.java22 import static com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;
71 import com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;
371 final VcnNetworkAgent mockNetworkAgent = mock(VcnNetworkAgent.class); in verifySafeModeTimeoutNotifiesCallbackAndUnregistersNetworkAgent()
DVcnGatewayConnectionTest.java33 import static com.android.server.vcn.VcnGatewayConnection.VcnNetworkAgent;
290 final VcnNetworkAgent vcnNetworkAgent = mock(VcnNetworkAgent.class); in testQuittingCleansUpPersistentState()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcnGatewayConnection.java741 private VcnNetworkAgent mNetworkAgent;
1780 @NonNull VcnNetworkAgent agent, in updateNetworkAgent()
1800 protected VcnNetworkAgent buildNetworkAgent( in buildNetworkAgent()
1824 final VcnNetworkAgent agent = in buildNetworkAgent()
2676 VcnNetworkAgent getNetworkAgent() { in getNetworkAgent()
2681 void setNetworkAgent(@Nullable VcnNetworkAgent networkAgent) { in setNetworkAgent()
2787 public VcnNetworkAgent newNetworkAgent( in newNetworkAgent()
2795 @NonNull Consumer<VcnNetworkAgent> networkUnwantedCallback, in newNetworkAgent()
2797 return new VcnNetworkAgent( in newNetworkAgent()
2964 public static class VcnNetworkAgent { class in VcnGatewayConnection
[all …]