Home
last modified time | relevance | path

Searched refs:NetworkProvider (Results 1 – 18 of 18) 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/device/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()
378 @NonNull NetworkAgentConfig config, @Nullable NetworkProvider provider) { in NetworkAgent()
380 provider == null ? NetworkProvider.ID_NONE : provider.getProviderId(), in NetworkAgent()
DConnectivityManager.java3232 public int registerNetworkProvider(@NonNull NetworkProvider provider) { in registerNetworkProvider()
3233 if (provider.getProviderId() != NetworkProvider.ID_NONE) { in registerNetworkProvider()
3257 public void unregisterNetworkProvider(@NonNull NetworkProvider provider) { in unregisterNetworkProvider()
3263 provider.setProviderId(NetworkProvider.ID_NONE); in unregisterNetworkProvider()
3293 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;
303 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testDataPathPmkWithoutPermission()
338 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testDataPathWithPortInfoOnPublisher()
376 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testDataPathWithPortInfoInvalidPort()
409 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testDataPathWithPortInfoButNoSecurityOnSubscriber()
446 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testDestroyNdiDuringNdpSetupResponder()
531 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testMultipleNdpsOnSingleNdi()
639 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testMultipleIdenticalRequests()
700 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testMultipleIdenticalRequests()
709 reqNetworkMsg.what = NetworkProvider.CMD_REQUEST_NETWORK; in testMultipleIdenticalRequests()
[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.java28 import android.net.NetworkProvider;
87 NetworkAgentConfig config, NetworkProvider networkProvider, int transportType) { in DcNetworkAgent()
DDataConnection.java35 import android.net.NetworkProvider;
2219 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.java42 import android.net.NetworkProvider;
137 @Mock NetworkProvider mNetworkProvider;
205 ArgumentCaptor<NetworkProvider> networkProviderArgumentCaptor = in setUp()
206 ArgumentCaptor.forClass(NetworkProvider.class); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java35 import android.net.NetworkProvider;
1027 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);
5284 sendMessageToNetworkProvider(NetworkProvider.CMD_REQUEST_NETWORK, score, in requestNetwork()
5293 sendMessageToNetworkProvider(NetworkProvider.CMD_CANCEL_REQUEST, 0, 0, request); in cancelRequest()
5861 currentScore, networkAgentConfig, NetworkProvider.ID_NONE); in registerNetworkAgent()
6529 serial = NetworkProvider.ID_NONE; in sendAllRequestsToProvider()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java52 import android.net.NetworkProvider;
4779 int score, NetworkAgentConfig config, NetworkProvider provider) { in WifiNetworkAgent()
/frameworks/base/api/
Dsystem-current.txt4339 …mission.NETWORK_FACTORY}) public int registerNetworkProvider(@NonNull android.net.NetworkProvider);
4348 …sion.NETWORK_FACTORY}) public void unregisterNetworkProvider(@NonNull android.net.NetworkProvider);
4531 …nkProperties, int, @NonNull android.net.NetworkAgentConfig, @Nullable android.net.NetworkProvider);
4614 public class NetworkProvider {
4615 …ctor public NetworkProvider(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull…
/frameworks/base/non-updatable-api/
Dsystem-current.txt4339 …mission.NETWORK_FACTORY}) public int registerNetworkProvider(@NonNull android.net.NetworkProvider);
4348 …sion.NETWORK_FACTORY}) public void unregisterNetworkProvider(@NonNull android.net.NetworkProvider);
4531 …nkProperties, int, @NonNull android.net.NetworkAgentConfig, @Nullable android.net.NetworkProvider);
4614 public class NetworkProvider {
4615 …ctor public NetworkProvider(@NonNull android.content.Context, @NonNull android.os.Looper, @NonNull…