/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/ |
D | RkpdStatsTests.java | 91 final RemoteKeyProvisioningNetworkInfo network = getNetworkMetric(data); in testDataBudgetEmptyGenerateKey() local 125 final RemoteKeyProvisioningNetworkInfo network = getNetworkMetric(data); in testRetryableRkpError() local 160 final RemoteKeyProvisioningNetworkInfo network = getNetworkMetric(data); in testRetryNeverWhenDeviceNotRegistered() local 198 RemoteKeyProvisioningNetworkInfo network = getNetworkMetric(firstAttemptData); in testKeyCreationUsesRemotelyProvisionedCertificate() local 244 final RemoteKeyProvisioningNetworkInfo network = getNetworkMetric(data); in testPeriodicProvisionerNoop() local 278 final RemoteKeyProvisioningNetworkInfo network = getNetworkMetric(data); in testPeriodicProvisionerProvisioningDisabled() local 315 RemoteKeyProvisioningNetworkInfo network = getNetworkMetric(firstAttemptData); in testKeyCreationWithEmptyKeyPool() local 357 RemoteKeyProvisioningNetworkInfo network = getNetworkMetric(attemptData); in testKeyCreationWorksWhenAllKeysAssigned() local 427 RemoteKeyProvisioningNetworkInfo network = getNetworkMetric(data); in verifyMetricsForKeyAssignedAfterFreshProvisioning() local
|
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/ |
D | CurrentEthernetNetworksViewModel.java | 87 private void addNetwork(Network network) { in addNetwork() 95 private void removeNetwork(Network network) { in removeNetwork() 142 public void onAvailable(Network network) { in onAvailable() 150 public void onLost(Network network) { in onLost() 158 public void onCapabilitiesChanged(Network network, in onCapabilitiesChanged() 168 public void onLinkPropertiesChanged(Network network, in onLinkPropertiesChanged()
|
/packages/modules/NetworkStack/src/com/android/networkstack/ |
D | NetworkStackNotifier.java | 167 public void notifyCaptivePortalValidationPending(@NonNull Network network) { in notifyCaptivePortalValidationPending() 171 private void setCaptivePortalValidationPending(@NonNull Network network) { in setCaptivePortalValidationPending() 187 private void updateNetworkStatus(@NonNull Network network, in updateNetworkStatus() 194 private void updateNotifications(@NonNull Network network) { in updateNotifications() 315 private static String getNotificationTag(@NonNull Network network) { in getNotificationTag() 321 public void onAvailable(Network network) { in onAvailable() 326 public void onLost(Network network) { in onLost() 340 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { in onLinkPropertiesChanged() 346 public void onCapabilitiesChanged(@NonNull Network network, in onCapabilitiesChanged() 353 public void onLost(Network network) { in onLost()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | NetworkMonitorTest.java | 67 final Network network = mock(Network.class); in testStartListening() local 102 final Network network = mock(Network.class); in testWaitForValidated_NoCallbackBeforeValidated() local 119 final Network network = mock(Network.class); in testWaitForValidated_NetworkChange() local 151 final Network network = mock(Network.class); in testWaitForValidated_NoCallbackOnCapabilitiesChange() local 175 final Network network = mock(Network.class); in testWaitForValidated_ToggleBlocked() local
|
/packages/services/Telephony/testapps/TestSatelliteApp/src/com/android/phone/testapps/satellitetestapp/ |
D | PingTask.java | 30 protected Integer doInBackground(Network... network) { in doInBackground() 34 String ping(Network network) { in ping() 58 private static String httpGet(Network network, URL httpUrl) throws IOException { in httpGet()
|
/packages/services/Telephony/testapps/TestSliceApp/app/src/main/java/com/google/android/sample/testsliceapp/ |
D | RequestTask.java | 29 protected Integer doInBackground(Network... network) { in doInBackground() 33 String ping(Network network) { in ping() 57 private static String httpGet(Network network, URL httpUrl) throws IOException { in httpGet()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeDefaultNetworkCallback.java | 59 public void onAvailable(@NonNull Network network) { in onAvailable() 72 public void onCapabilitiesChanged( in onCapabilitiesChanged() 100 public void onLinkPropertiesChanged( in onLinkPropertiesChanged()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkState.java | 42 public final Network network; field in NetworkState 56 @NonNull NetworkCapabilities networkCapabilities, @NonNull Network network, in NetworkState() 64 @NonNull NetworkCapabilities networkCapabilities, @NonNull Network network, in NetworkState() 72 @NonNull NetworkCapabilities networkCapabilities, @NonNull Network network, in NetworkState()
|
D | IConnectivityManager.aidl | 67 NetworkInfo getNetworkInfoForUid(in Network network, int uid, boolean ignoreBlocked); in getNetworkInfoForUid() 80 LinkProperties getLinkProperties(in Network network); in getLinkProperties() 84 NetworkCapabilities getNetworkCapabilities(in Network network, String callingPackageName, in getNetworkCapabilities() 128 void reportNetworkConnectivity(in Network network, boolean hasConnectivity); in reportNetworkConnectivity() 143 boolean requestBandwidthUpdate(in Network network); in requestBandwidthUpdate() 176 void setAcceptUnvalidated(in Network network, boolean accept, boolean always); in setAcceptUnvalidated() 177 void setAcceptPartialConnectivity(in Network network, boolean accept, boolean always); in setAcceptPartialConnectivity() 178 void setAvoidUnvalidated(in Network network); in setAvoidUnvalidated() 179 void startCaptivePortalApp(in Network network); in startCaptivePortalApp() 180 void startCaptivePortalAppInternal(in Network network, in Bundle appExtras); in startCaptivePortalAppInternal() [all …]
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | DataConnectivityListener.java | 57 public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities) { in onCapabilitiesChanged() 65 public void onLosing(Network network, int maxMsToLive) { in onLosing() 70 public void onLost(Network network) { in onLost()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitor.java | 365 private void handleAvailable(Network network) { in handleAvailable() 372 private void handleNetCap(Network network, NetworkCapabilities newNc) { in handleNetCap() 394 private @Nullable UpstreamNetworkState updateLinkProperties(@NonNull Network network, in updateLinkProperties() 421 private void handleLinkProp(Network network, LinkProperties newLp) { in handleLinkProp() 428 private void handleLost(Network network) { in handleLost() 454 private void maybeHandleNetworkSwitch(@NonNull Network network) { in maybeHandleNetworkSwitch() 502 public void onAvailable(Network network) { in onAvailable() 507 public void onCapabilitiesChanged(Network network, NetworkCapabilities newNc) { in onCapabilitiesChanged() 538 public void onLinkPropertiesChanged(Network network, LinkProperties newLp) { in onLinkPropertiesChanged() 559 public void onLost(Network network) { in onLost()
|
D | UpstreamNetworkState.java | 35 public final Network network; field in UpstreamNetworkState 39 NetworkCapabilities networkCapabilities, Network network) { in UpstreamNetworkState()
|
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/ |
D | NetworkShimImpl.java | 34 protected NetworkShimImpl(@NonNull Network network) { in NetworkShimImpl() 42 public static NetworkShim newInstance(@NonNull Network network) { in newInstance()
|
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ |
D | SessionConfigurationTest.java | 72 void run(IkeSessionConnectionInfo connectionInfo, Network network) throws Exception; in run() 88 (connectionInfo, network) -> { in testIkeConnectionInfo() argument 109 (connectionInfo, network) -> { in testIkeSessionConfiguration() argument 132 (connectionInfo, network) -> { in testIkeSessionConfigurationClearMethods() argument
|
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/ |
D | NetworkShimImpl.java | 35 protected NetworkShimImpl(@NonNull Network network) { in NetworkShimImpl() 45 public static NetworkShim newInstance(@NonNull Network network) { in newInstance()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsSocketProvider.java | 408 private boolean matchRequestedNetwork(Network network) { in matchRequestedNetwork() 417 private void handleLinkPropertiesChanged(Network network, LinkProperties lp) { in handleLinkPropertiesChanged() 448 private void updateSocketInfoAddress(@Nullable final Network network, in updateSocketInfoAddress() 539 final Network network = in createSocket() local 590 private void removeNetworkSocket(Network network) { in removeNetworkSocket() 609 private void notifySocketCreated(Network network, SocketInfo socketInfo) { in notifySocketCreated() 621 private void notifyInterfaceDestroyed(Network network, SocketInfo socketInfo) { in notifyInterfaceDestroyed() 631 private void notifyAddressesChanged(Network network, SocketInfo socketInfo, in notifyAddressesChanged() 642 private void retrieveAndNotifySocketFromNetwork(Network network, SocketCallback cb) { in retrieveAndNotifySocketFromNetwork() 683 public void requestSocket(@Nullable Network network, @NonNull SocketCallback cb) { in requestSocket() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiDetailsBasePreferenceController.java | 95 public void onLinkPropertiesChanged(Network network, LinkProperties lp) { in onLinkPropertiesChanged() 100 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { in onCapabilitiesChanged() 104 public void onLost(Network network) { in onLost()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSelector.java | 277 String domainName, Network network, int queryType, Executor executor) { in submitDnsResolverQuery() 350 private boolean hasLocalIpv4Address(Network network) { in hasLocalIpv4Address() 356 private boolean hasLocalIpv6Address(Network network) { in hasLocalIpv6Address() 410 List<String> domainNames, int filter, Network network, long timeout) { in getIP() 487 String domainName, int filter, List<InetAddress> validIpList, Network network) { in getIP() 690 private void resolveByStaticMethod(int filter, List<InetAddress> validIpList, Network network) { in resolveByStaticMethod() 753 int filter, List<InetAddress> validIpList, boolean isEmergency, Network network) { in resolveByPlmnBasedFqdn() 789 int filter, List<InetAddress> validIpList, boolean isEmergency, Network network) { in resolveByTaiBasedFqdn() 828 Network network) { in handleGsmCellInfo() 839 Network network) { in handleWcdmaCellInfo() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuNetworkConnection.java | 68 void onConnected(Network network); in onConnected() 243 public void onAvailable(Network network) { in onAvailable() 259 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { in onLinkPropertiesChanged() 286 public void onLost(Network network) { in onLost()
|
/packages/modules/Connectivity/framework/src/android/net/util/ |
D | DnsUtils.java | 140 public static @NonNull List<InetAddress> rfc6724Sort(@Nullable Network network, in rfc6724Sort() 157 private static @Nullable InetAddress findSrcAddress(@Nullable Network network, in findSrcAddress() 343 public static boolean haveIpv4(@Nullable Network network) { in haveIpv4() 353 public static boolean haveIpv6(@Nullable Network network) { in haveIpv6() 359 private static boolean checkConnectivity(@Nullable Network network, in checkConnectivity()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkTest.java | 172 final Network network = new Network(1234); in testFromNetworkHandle() local 179 final Network network = new Network(1234, true); in testFromNetworkHandlePrivateDnsBypass_S() local 188 final Network network = new Network(1234, true); in testFromNetworkHandlePrivateDnsBypass_R() local
|
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/ |
D | VvmNetworkRequest.java | 47 private final Network network; field in VvmNetworkRequest.NetworkWrapper 50 private NetworkWrapper(Network network, VvmNetworkRequestCallback callback) { in NetworkWrapper() 112 public void onAvailable(Network network) { in onAvailable()
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsNetUtils.java | 213 public Network expectNetworkIsSystemDefault(Network network) in expectNetworkIsSystemDefault() 272 final Network network = new ConnectUtil(mContext).ensureWifiConnected(); in connectToWifi() local 401 Network network = null; in getWifiNetwork() local 436 private Socket getBoundSocket(Network network, String host, int port) throws IOException { in getBoundSocket() 508 public void awaitPrivateDnsSetting(@NonNull String msg, @NonNull Network network, in awaitPrivateDnsSetting() 635 Network network = intent.getExtras() in onReceive() local 704 public void onAvailable(Network network) { in onAvailable() 711 public void onLost(Network network) { in onLost()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | HttpsTransport.java | 36 private HttpsTransport(@NonNull Network network, @NonNull URL url) { in HttpsTransport() 49 public static HttpsTransport createInstance(@NonNull Network network, @NonNull URL url) { in createInstance()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | TestableNetworkCallback.kt | 68 abstract val network: Network in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry 71 override val network: Network, in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Reserved 76 data class Available(override val network: Network) : CallbackEntry() in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Available 78 override val network: Network, in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.CapabilitiesChanged 82 override val network: Network, in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.LinkPropertiesChanged 86 override val network: Network, in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.LocalInfoChanged 89 data class Suspended(override val network: Network) : CallbackEntry() in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Suspended 90 data class Resumed(override val network: Network) : CallbackEntry() in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Resumed 91 data class Losing(override val network: Network, val maxMsToLive: Int) : CallbackEntry() in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Losing 92 data class Lost(override val network: Network) : CallbackEntry() in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Lost [all …]
|