Home
last modified time | relevance | path

Searched defs:network (Results 1 – 25 of 108) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/net/
DScoredNetworkTest.java155 ScoredNetwork network = new ScoredNetwork(KEY, null /* rssiCurve */); in hasRankingScoreShouldReturnFalse() local
161 ScoredNetwork network = in hasRankingScoreShouldReturnTrueWhenAttributesHasRankingScoreOffset() local
168 ScoredNetwork network = in hasRankingScoreShouldReturnTrueWhenCurveIsPresent() local
175 ScoredNetwork network = new ScoredNetwork(KEY, CURVE, true /* meteredHint */, ATTRIBUTES); in shouldWriteAndReadFromParcelWhenAllFieldsSet() local
201 ScoredNetwork network = new ScoredNetwork(KEY, CURVE, true /* meteredHint */); in shouldWriteAndReadFromParcelWithoutBundle() local
224 ScoredNetwork network = new ScoredNetwork(KEY, CURVE); in calculateBadgeShouldReturnNoBadgeWhenNoAttributesBundle() local
230 ScoredNetwork network = new ScoredNetwork(KEY, CURVE, false /* meteredHint */, ATTRIBUTES); in calculateBadgeShouldReturnNoBadgeWhenNoBadgingCurveInBundle() local
236 ScoredNetwork network = in calculateBadgeShouldReturn4kBadge() local
243 ScoredNetwork network = in calculateBadgeShouldReturnHdBadge() local
250 ScoredNetwork network = in calculateBadgeShouldReturnSdBadge() local
[all …]
/frameworks/base/native/android/
Dnet.c45 int android_setsocknetwork(net_handle_t network, int fd) { in android_setsocknetwork()
60 int android_setprocnetwork(net_handle_t network) { in android_setprocnetwork()
75 int android_getaddrinfofornetwork(net_handle_t network, in android_getaddrinfofornetwork()
87 int android_res_nquery(net_handle_t network, const char *dname, in android_res_nquery()
101 int android_res_nsend(net_handle_t network, const uint8_t *msg, size_t msglen, in android_res_nsend()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkCallback.kt58 abstract val network: Network constant in com.android.testutils.RecorderCallback.CallbackEntry
60 data class Available(override val network: Network) : CallbackEntry() constant in com.android.testutils.RecorderCallback.CallbackEntry.Available
62 override val network: Network, constant in com.android.testutils.RecorderCallback.CallbackEntry.CapabilitiesChanged
66 override val network: Network, constant in com.android.testutils.RecorderCallback.CallbackEntry.LinkPropertiesChanged
69 data class Suspended(override val network: Network) : CallbackEntry() constant in com.android.testutils.RecorderCallback.CallbackEntry.Suspended
70 data class Resumed(override val network: Network) : CallbackEntry() constant in com.android.testutils.RecorderCallback.CallbackEntry.Resumed
71 data class Losing(override val network: Network, val maxMsToLive: Int) : CallbackEntry() constant in com.android.testutils.RecorderCallback.CallbackEntry.Losing
72 data class Lost(override val network: Network) : CallbackEntry() constant in com.android.testutils.RecorderCallback.CallbackEntry.Lost
74 override val network: Network constant in com.android.testutils.RecorderCallback.CallbackEntry.Unavailable
79 override val network: Network, constant in com.android.testutils.RecorderCallback.CallbackEntry.BlockedStatus
[all …]
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl59 NetworkInfo getNetworkInfoForUid(in Network network, int uid, boolean ignoreBlocked); in getNetworkInfoForUid()
72 LinkProperties getLinkProperties(in Network network); in getLinkProperties()
74 NetworkCapabilities getNetworkCapabilities(in Network network, String callingPackageName); in getNetworkCapabilities()
113 void reportNetworkConnectivity(in Network network, boolean hasConnectivity); in reportNetworkConnectivity()
158 boolean requestBandwidthUpdate(in Network network); in requestBandwidthUpdate()
189 void setAcceptUnvalidated(in Network network, boolean accept, boolean always); in setAcceptUnvalidated()
190 void setAcceptPartialConnectivity(in Network network, boolean accept, boolean always); in setAcceptPartialConnectivity()
191 void setAvoidUnvalidated(in Network network); in setAvoidUnvalidated()
192 void startCaptivePortalApp(in Network network); in startCaptivePortalApp()
193 void startCaptivePortalAppInternal(in Network network, in Bundle appExtras); in startCaptivePortalAppInternal()
[all …]
DConnectivityManager.java1223 public NetworkInfo getNetworkInfo(@Nullable Network network) { in getNetworkInfo()
1228 public NetworkInfo getNetworkInfoForUid(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfoForUid()
1366 public LinkProperties getLinkProperties(@Nullable Network network) { in getLinkProperties()
1383 public NetworkCapabilities getNetworkCapabilities(@Nullable Network network) { in getNetworkCapabilities()
1818 private PacketKeepalive(Network network, PacketKeepaliveCallback callback) { in PacketKeepalive()
1871 Network network, int intervalSeconds, PacketKeepaliveCallback callback, in startNattKeepalive()
1900 public @NonNull SocketKeepalive createSocketKeepalive(@NonNull Network network, in createSocketKeepalive()
1943 public @NonNull SocketKeepalive createNattKeepalive(@NonNull Network network, in createNattKeepalive()
1983 public @NonNull SocketKeepalive createSocketKeepalive(@NonNull Network network, in createSocketKeepalive()
2588 public void onUpstreamChanged(@Nullable Network network) {} in onUpstreamChanged()
[all …]
DNetworkState.java39 public final Network network; field in NetworkState
44 NetworkCapabilities networkCapabilities, Network network, String subscriberId, in NetworkState()
DDnsResolver.java187 public void rawQuery(@Nullable Network network, @NonNull byte[] query, @QueryFlag int flags, in rawQuery()
227 public void rawQuery(@Nullable Network network, @NonNull String domain, in rawQuery()
260 InetAddressAnswerAccumulator(@NonNull Network network, int size, in InetAddressAnswerAccumulator()
336 public void query(@Nullable Network network, @NonNull String domain, @QueryFlag int flags, in query()
434 public void query(@Nullable Network network, @NonNull String domain, in query()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkState.java33 public final Network network; field in UpstreamNetworkState
37 NetworkCapabilities networkCapabilities, Network network) { in UpstreamNetworkState()
DUpstreamNetworkMonitor.java338 private void handleAvailable(Network network) { in handleAvailable()
345 private void handleNetCap(Network network, NetworkCapabilities newNc) { in handleNetCap()
366 private void handleLinkProp(Network network, LinkProperties newLp) { in handleLinkProp()
387 private void handleLost(Network network) { in handleLost()
443 public void onAvailable(Network network) { in onAvailable()
448 public void onCapabilitiesChanged(Network network, NetworkCapabilities newNc) { in onCapabilitiesChanged()
463 public void onLinkPropertiesChanged(Network network, LinkProperties newLp) { in onLinkPropertiesChanged()
476 public void onLost(Network network) { in onLost()
498 private void notifyTarget(int which, Network network) { in notifyTarget()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java143 ScoredNetwork network = getScoredNetwork(result); in hasScoreCurve() local
150 ScoredNetwork network = getScoredNetwork(result); in getNetworkScore() local
168 ScoredNetwork network = getScoredNetwork(result); in getMeteredHint() local
175 ScoredNetwork network = getScoredNetwork(result); in getNetworkScore() local
194 ScoredNetwork network = mCache.get(key); in getScoredNetwork() local
214 private String buildNetworkKey(ScoredNetwork network) { in buildNetworkKey()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java161 final Network network = mAvailableNetworks.valueAt(i); in isNetworkAvailable() local
322 private static boolean isInsane(JobStatus jobStatus, Network network, in isInsane()
353 private static boolean isCongestionDelayed(JobStatus jobStatus, Network network, in isCongestionDelayed()
365 private static boolean isStrictSatisfied(JobStatus jobStatus, Network network, in isStrictSatisfied()
372 private static boolean isRelaxedSatisfied(JobStatus jobStatus, Network network, in isRelaxedSatisfied()
392 static boolean isSatisfied(JobStatus jobStatus, Network network, in isSatisfied()
413 final Network network = mConnManager.getActiveNetworkForUid(jobStatus.getSourceUid()); in updateConstraintsSatisfied() local
418 private boolean updateConstraintsSatisfied(JobStatus jobStatus, Network network, in updateConstraintsSatisfied()
481 final Network network = mConnManager.getActiveNetworkForUid(jobs.valueAt(0).getSourceUid()); in updateTrackedJobsLocked() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsTransport.java36 private HttpsTransport(@NonNull Network network, @NonNull URL url) { in HttpsTransport()
49 public static HttpsTransport createInstance(@NonNull Network network, @NonNull URL url) { in createInstance()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java67 void onConnected(Network network); in onConnected()
240 public void onAvailable(Network network) { in onAvailable()
256 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { in onLinkPropertiesChanged()
283 public void onLost(Network network) { in onLost()
/frameworks/base/core/java/android/net/util/
DDnsUtils.java142 public static @NonNull List<InetAddress> rfc6724Sort(@Nullable Network network, in rfc6724Sort()
159 private static @Nullable InetAddress findSrcAddress(@Nullable Network network, in findSrcAddress()
345 public static boolean haveIpv4(@Nullable Network network) { in haveIpv4()
355 public static boolean haveIpv6(@Nullable Network network) { in haveIpv6()
361 private static boolean checkConnectivity(@Nullable Network network, in checkConnectivity()
/frameworks/base/telephony/java/com/android/ims/
DImsConfigListener.aidl34 void onGetFeatureResponse(int feature, int network, int value, int status); in onGetFeatureResponse()
51 void onSetFeatureResponse(int feature, int network, int value, int status); in onSetFeatureResponse()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DConnectToNetworkNotificationBuilder.java78 ScanResult network) { in createConnectToAvailableNetworkNotification()
113 ScanResult network) { in createNetworkConnectingNotification()
128 public Notification createNetworkConnectedNotification(String notifierTag, ScanResult network) { in createNetworkConnectedNotification()
DWifiNetworkFactory.java700 private int addNetworkToWifiConfigManager(@NonNull WifiConfiguration network) { in addNetworkToWifiConfigManager()
723 private void disconnectAndRemoveNetworkFromWifiConfigManager( in disconnectAndRemoveNetworkFromWifiConfigManager()
749 private void connectToNetwork(@NonNull WifiConfiguration network) { in connectToNetwork()
774 private void handleConnectToNetworkUserSelectionInternal(WifiConfiguration network) { in handleConnectToNetworkUserSelectionInternal()
800 private void handleConnectToNetworkUserSelection(WifiConfiguration network) { in handleConnectToNetworkUserSelection()
834 int failureCode, @NonNull WifiConfiguration network) { in handleConnectionAttemptEnded()
1233 private @Nullable String findBestBssidFromActiveMatchedScanResultsForNetwork( in findBestBssidFromActiveMatchedScanResultsForNetwork()
1282 private void addNetworkToUserApprovedAccessPointMap(@NonNull WifiConfiguration network) { in addNetworkToUserApprovedAccessPointMap()
/frameworks/base/core/java/com/android/server/net/
DNetworkPinner.java90 public void onAvailable(Network network) { in onAvailable()
104 public void onLost(Network network) { in onLost()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java94 @NonNull Context context, @NonNull Ikev2VpnProfile profile, @NonNull Network network) { in buildIkeSessionParams()
258 IkeSessionCallbackImpl(String tag, Vpn.IkeV2VpnRunnerCallback callback, Network network) { in IkeSessionCallbackImpl()
294 ChildSessionCallbackImpl(String tag, Vpn.IkeV2VpnRunnerCallback callback, Network network) { in ChildSessionCallbackImpl()
344 public void onAvailable(@NonNull Network network) { in onAvailable()
350 public void onLost(@NonNull Network network) { in onLost()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java707 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in testCreatePnoNetworkWithOpenNetwork() local
724 WifiConfiguration network = WifiConfigurationTestUtil.createOpenHiddenNetwork(); in testCreatePnoNetworkWithOpenHiddenNetwork() local
742 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(); in testCreatePnoNetworkWithPskNetwork() local
758 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); in testIsSameNetworkReturnsTrueOnSameNetwork() local
769 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID() local
782 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); in testIsSameNetworkReturnsFalseOnDifferentSSID() local
793 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); in testIsSameNetworkReturnsFalseOnDifferentSecurityType() local
846 WifiConfiguration network = WifiConfigurationTestUtil.createEapNetwork(); in testCreatePnoNetworkWithEapNetwork() local
DWifiScoreCardProtoTest.java48 WifiScoreCardProto.Network network = WifiScoreCardProto.Network.newBuilder() in testBuilder() local
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsConfig.aidl81 oneway void getFeatureValue(int feature, int network, ImsConfigListener listener); in getFeatureValue()
94 oneway void setFeatureValue(int feature, int network, int value, ImsConfigListener listener); in setFeatureValue()
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
DImsConfigImplBase.java124 public void getFeatureValue(int feature, int network, ImsConfigListener listener) in getFeatureValue()
138 public void setFeatureValue(int feature, int network, int value, ImsConfigListener listener) in setFeatureValue()
318 public void getFeatureValue(int feature, int network, ImsConfigListener listener) in getFeatureValue()
327 public void setFeatureValue(int feature, int network, int value, ImsConfigListener listener) in setFeatureValue()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DChartData.java22 public NetworkStatsHistory network; field in ChartData
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerInternal.java86 public abstract SubscriptionPlan getSubscriptionPlan(Network network); in getSubscriptionPlan()
102 public abstract long getSubscriptionOpportunisticQuota(Network network, int quotaType); in getSubscriptionOpportunisticQuota()

12345