Home
last modified time | relevance | path

Searched refs:NetworkProvider (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/tests/net/common/java/android/net/
DNetworkProviderTest.kt65 NetworkProvider(context, looper, PROVIDER_NAME) { in <lambda>()
97 assertEquals(provider.getProviderId(), NetworkProvider.ID_NONE) in <lambda>()
99 assertNotEquals(provider.getProviderId(), NetworkProvider.ID_NONE) in <lambda>()
149 assertEquals(provider.getProviderId(), NetworkProvider.ID_NONE) in <lambda>()
/frameworks/libs/net/common/src_servicescommon/android/net/
DNetworkFactory.java106 private NetworkProvider mProvider = null;
123 mProvider = new NetworkProvider(mContext, NetworkFactory.this.getLooper(), LOG_TAG) { in register()
347 final NetworkProvider provider = mProvider; in releaseRequestAsUnfulfillableByAnyFactory()
387 public NetworkProvider getProvider() { in getProvider()
/frameworks/base/core/java/android/net/
DNetworkProvider.java45 public class NetworkProvider { class
87 public NetworkProvider(@NonNull Context context, @NonNull Looper looper, @NonNull String name) { in NetworkProvider() method in NetworkProvider
DNetworkAgent.java328 this(looper, context, logTag, ni, nc, lp, score, null, NetworkProvider.ID_NONE); in NetworkAgent()
335 this(looper, context, logTag, ni, nc, lp, score, config, NetworkProvider.ID_NONE); in NetworkAgent()
377 @NonNull NetworkAgentConfig config, @Nullable NetworkProvider provider) { in NetworkAgent()
379 provider == null ? NetworkProvider.ID_NONE : provider.getProviderId(), in NetworkAgent()
DConnectivityManager.java3194 public int registerNetworkProvider(@NonNull NetworkProvider provider) { in registerNetworkProvider()
3195 if (provider.getProviderId() != NetworkProvider.ID_NONE) { in registerNetworkProvider()
3219 public void unregisterNetworkProvider(@NonNull NetworkProvider provider) { in unregisterNetworkProvider()
3225 provider.setProviderId(NetworkProvider.ID_NONE); in unregisterNetworkProvider()
3255 return registerNetworkAgent(messenger, ni, lp, nc, score, config, NetworkProvider.ID_NONE); in registerNetworkAgent()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java49 import android.net.NetworkProvider;
296 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testDataPathWithPortInfoOnPublisher()
334 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testDataPathWithPortInfoInvalidPort()
367 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testDataPathWithPortInfoButNoSecurityOnSubscriber()
404 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testDestroyNdiDuringNdpSetupResponder()
489 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testMultipleNdpsOnSingleNdi()
597 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testMultipleIdenticalRequests()
658 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testMultipleIdenticalRequests()
667 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testMultipleIdenticalRequests()
738 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testMultipleNdi()
[all …]
/frameworks/base/tests/net/integration/util/com/android/server/
DNetworkAgentWrapper.java42 import android.net.NetworkProvider;
122 new NetworkAgentConfig(), NetworkProvider.ID_NONE); in InstrumentedNetworkAgent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java49 import android.net.NetworkProvider;
1184 ((NetworkProvider) invocation.getArgument(0)).getMessenger(); in initializeConnManagerMock()
1252 message.what = android.net.NetworkProvider.CMD_REQUEST_NETWORK; in addInternetNetworkRequest()
1277 message.what = android.net.NetworkProvider.CMD_REQUEST_NETWORK; in addMmsNetworkRequest()
1291 message.what = android.net.NetworkProvider.CMD_CANCEL_REQUEST; in releaseNetworkRequest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcNetworkAgent.java27 import android.net.NetworkProvider;
84 NetworkAgentConfig config, NetworkProvider networkProvider, int transportType) { in DcNetworkAgent()
DDataConnection.java35 import android.net.NetworkProvider;
2201 final NetworkProvider provider = (null == factory) ? null : factory.getProvider(); in enter()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DLingerMonitorTest.java40 import android.net.NetworkProvider;
358 NetworkProvider.ID_NONE, Binder.getCallingUid()); in nai()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java43 import android.net.NetworkProvider;
139 @Mock NetworkProvider mNetworkProvider;
212 ArgumentCaptor<NetworkProvider> networkProviderArgumentCaptor = in setUp()
213 ArgumentCaptor.forClass(NetworkProvider.class); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java35 import android.net.NetworkProvider;
1030 NetworkAgentConfig config, NetworkProvider provider, in WifiAwareNetworkAgent()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java67 import android.net.NetworkProvider;
1118 NetworkProvider.ID_VPN) {
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java114 import android.net.NetworkProvider;
637 NetworkProvider.FIRST_PROVIDER_ID);
5303 sendMessageToNetworkProvider(NetworkProvider.CMD_REQUEST_NETWORK, score, in requestNetwork()
5312 sendMessageToNetworkProvider(NetworkProvider.CMD_CANCEL_REQUEST, 0, 0, request); in cancelRequest()
5876 currentScore, networkAgentConfig, NetworkProvider.ID_NONE); in registerNetworkAgent()
6544 serial = NetworkProvider.ID_NONE; in sendAllRequestsToProvider()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java57 import android.net.NetworkProvider;
4584 int score, NetworkAgentConfig config, NetworkProvider provider) { in WifiNetworkAgent()
/frameworks/base/non-updatable-api/
Dsystem-current.txt5963 …mission.NETWORK_FACTORY}) public int registerNetworkProvider(@NonNull android.net.NetworkProvider);
5972 …sion.NETWORK_FACTORY}) public void unregisterNetworkProvider(@NonNull android.net.NetworkProvider);
6155 …nkProperties, int, @NonNull android.net.NetworkAgentConfig, @Nullable android.net.NetworkProvider);
6238 public class NetworkProvider {
6239 …ctor public NetworkProvider(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull…
/frameworks/base/api/
Dsystem-current.txt6015 …mission.NETWORK_FACTORY}) public int registerNetworkProvider(@NonNull android.net.NetworkProvider);
6024 …sion.NETWORK_FACTORY}) public void unregisterNetworkProvider(@NonNull android.net.NetworkProvider);
6207 …nkProperties, int, @NonNull android.net.NetworkAgentConfig, @Nullable android.net.NetworkProvider);
6290 public class NetworkProvider {
6291 …ctor public NetworkProvider(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull…
/frameworks/base/config/
Dpreloaded-classes4264 android.net.NetworkProvider$1
4265 android.net.NetworkProvider
Dboot-image-profile.txt13770 HSPLandroid/net/ConnectivityManager;->registerNetworkProvider(Landroid/net/NetworkProvider;)I
14081 …lities;Landroid/net/LinkProperties;ILandroid/net/NetworkAgentConfig;Landroid/net/NetworkProvider;)V
14280 HSPLandroid/net/NetworkProvider$1;-><init>(Landroid/net/NetworkProvider;Landroid/os/Looper;)V
14281 HSPLandroid/net/NetworkProvider$1;->handleMessage(Landroid/os/Message;)V
14282 HSPLandroid/net/NetworkProvider;-><init>(Landroid/content/Context;Landroid/os/Looper;Ljava/lang/Str…
14283 HSPLandroid/net/NetworkProvider;->getMessenger()Landroid/os/Messenger;
14284 HSPLandroid/net/NetworkProvider;->getName()Ljava/lang/String;
14285 HSPLandroid/net/NetworkProvider;->getProviderId()I
14286 HSPLandroid/net/NetworkProvider;->setProviderId(I)V
44460 Landroid/net/NetworkProvider$1;
[all …]
/frameworks/base/services/
Dart-profile502 PLandroid/net/NetworkFactory;->getProvider()Landroid/net/NetworkProvider;