/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkProviderTest.kt | 65 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/ |
D | NetworkFactory.java | 106 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/ |
D | NetworkProvider.java | 45 public class NetworkProvider { class 87 public NetworkProvider(@NonNull Context context, @NonNull Looper looper, @NonNull String name) { in NetworkProvider() method in NetworkProvider
|
D | NetworkAgent.java | 328 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()
|
D | ConnectivityManager.java | 3232 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/ |
D | WifiAwareDataPathStateManagerTest.java | 49 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/ |
D | NetworkAgentWrapper.java | 42 import android.net.NetworkProvider; 122 new NetworkAgentConfig(), NetworkProvider.ID_NONE); in InstrumentedNetworkAgent()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 49 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/ |
D | DcNetworkAgent.java | 28 import android.net.NetworkProvider; 87 NetworkAgentConfig config, NetworkProvider networkProvider, int transportType) { in DcNetworkAgent()
|
D | DataConnection.java | 35 import android.net.NetworkProvider; 2219 final NetworkProvider provider = (null == factory) ? null : factory.getProvider(); in enter()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | LingerMonitorTest.java | 40 import android.net.NetworkProvider; 358 NetworkProvider.ID_NONE, Binder.getCallingUid()); in nai()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkFactoryTest.java | 42 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/ |
D | WifiAwareDataPathStateManager.java | 35 import android.net.NetworkProvider; 1027 NetworkAgentConfig config, NetworkProvider provider, in WifiAwareNetworkAgent()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 67 import android.net.NetworkProvider; 1118 NetworkProvider.ID_VPN) {
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 114 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/ |
D | ClientModeImpl.java | 52 import android.net.NetworkProvider; 4779 int score, NetworkAgentConfig config, NetworkProvider provider) { in WifiNetworkAgent()
|
/frameworks/base/api/ |
D | system-current.txt | 4339 …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/ |
D | system-current.txt | 4339 …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…
|