Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/vcn/
DVcnNetworkProvider.java60 private final Set<NetworkRequestListener> mListeners = new ArraySet<>();
134 public void registerListener(@NonNull NetworkRequestListener listener) { in registerListener()
143 public void unregisterListener(@NonNull NetworkRequestListener listener) { in unregisterListener()
149 public void resendAllRequests(@NonNull NetworkRequestListener listener) { in resendAllRequests()
156 @NonNull NetworkRequestListener listener, @NonNull NetworkRequest request) { in notifyListenerForEvent()
169 for (NetworkRequestListener listener : mListeners) { in handleNetworkRequested()
183 interface NetworkRequestListener { interface in VcnNetworkProvider
198 for (NetworkRequestListener listener : mListeners) { in dump()
DVcn.java271 private class VcnNetworkRequestListener implements VcnNetworkProvider.NetworkRequestListener {
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnTest.java61 import com.android.server.vcn.VcnNetworkProvider.NetworkRequestListener;
162 private NetworkRequestListener verifyAndGetRequestListener() { in verifyAndGetRequestListener()
163 ArgumentCaptor<NetworkRequestListener> mNetworkRequestListenerCaptor = in verifyAndGetRequestListener()
164 ArgumentCaptor.forClass(NetworkRequestListener.class); in verifyAndGetRequestListener()
171 NetworkRequestListener requestListener, int... netCapabilities) { in startVcnGatewayWithCapabilities()
183 final NetworkRequestListener requestListener = verifyAndGetRequestListener(); in verifyUpdateSubscriptionSnapshotNotifiesGatewayConnections()
247 final NetworkRequestListener requestListener = verifyAndGetRequestListener(); in testSubscriptionSnapshotUpdatesMobileDataState()
266 private void triggerVcnRequestListeners(NetworkRequestListener requestListener) { in triggerVcnRequestListeners()
273 NetworkRequestListener requestListener) { in startGatewaysAndGetGatewayConnections()
293 NetworkRequestListener requestListener, in verifySafeMode()
[all …]
DVcnNetworkProviderTest.java37 import com.android.server.vcn.VcnNetworkProvider.NetworkRequestListener;
60 @NonNull private NetworkRequestListener mListener;
75 mListener = mock(NetworkRequestListener.class); in setUp()
/frameworks/base/services/
Dart-profile42487 …NetworkProvider$NetworkRequestListener;Landroid/net/NetworkRequest;)V+]Lcom/android/server/vcn/Vcn…
42489 …orkProvider;->registerListener(Lcom/android/server/vcn/VcnNetworkProvider$NetworkRequestListener;)V
42490 …rkProvider;->resendAllRequests(Lcom/android/server/vcn/VcnNetworkProvider$NetworkRequestListener;)V
42491 …kProvider;->unregisterListener(Lcom/android/server/vcn/VcnNetworkProvider$NetworkRequestListener;)V