Home
last modified time | relevance | path

Searched defs:network (Results 1 – 25 of 101) 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/services/core/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitor.java290 private void handleAvailable(Network network) { in handleAvailable()
297 private void handleNetCap(Network network, NetworkCapabilities newNc) { in handleNetCap()
325 private void handleLinkProp(Network network, LinkProperties newLp) { in handleLinkProp()
346 private void handleSuspended(Network network) { in handleSuspended()
351 private void handleResumed(Network network) { in handleResumed()
356 private void handleLost(Network network) { in handleLost()
412 public void onAvailable(Network network) { in onAvailable()
417 public void onCapabilitiesChanged(Network network, NetworkCapabilities newNc) { in onCapabilitiesChanged()
432 public void onLinkPropertiesChanged(Network network, LinkProperties newLp) { in onLinkPropertiesChanged()
445 public void onNetworkSuspended(Network network) { in onNetworkSuspended()
[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/base/wifi/java/android/net/wifi/
DWifiNetworkScoreCache.java141 ScoredNetwork network = getScoredNetwork(result); in hasScoreCurve() local
148 ScoredNetwork network = getScoredNetwork(result); in getNetworkScore() local
166 ScoredNetwork network = getScoredNetwork(result); in getMeteredHint() local
173 ScoredNetwork network = getScoredNetwork(result); in getNetworkScore() local
192 ScoredNetwork network = mCache.get(key); in getScoredNetwork() local
212 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/base/core/java/android/net/
DIConnectivityManager.aidl56 NetworkInfo getNetworkInfoForUid(in Network network, int uid, boolean ignoreBlocked); in getNetworkInfoForUid()
68 LinkProperties getLinkProperties(in Network network); in getLinkProperties()
70 NetworkCapabilities getNetworkCapabilities(in Network network); in getNetworkCapabilities()
117 void reportNetworkConnectivity(in Network network, boolean hasConnectivity); in reportNetworkConnectivity()
156 boolean requestBandwidthUpdate(in Network network); in requestBandwidthUpdate()
179 void setAcceptUnvalidated(in Network network, boolean accept, boolean always); in setAcceptUnvalidated()
180 void setAcceptPartialConnectivity(in Network network, boolean accept, boolean always); in setAcceptPartialConnectivity()
181 void setAvoidUnvalidated(in Network network); in setAvoidUnvalidated()
182 void startCaptivePortalApp(in Network network); in startCaptivePortalApp()
183 void startCaptivePortalAppInternal(in Network network, in Bundle appExtras); in startCaptivePortalAppInternal()
[all …]
DConnectivityManager.java1183 public NetworkInfo getNetworkInfo(@Nullable Network network) { in getNetworkInfo()
1188 public NetworkInfo getNetworkInfoForUid(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfoForUid()
1325 public LinkProperties getLinkProperties(@Nullable Network network) { in getLinkProperties()
1342 public NetworkCapabilities getNetworkCapabilities(@Nullable Network network) { in getNetworkCapabilities()
1847 private PacketKeepalive(Network network, PacketKeepaliveCallback callback) { in PacketKeepalive()
1900 Network network, int intervalSeconds, PacketKeepaliveCallback callback, in startNattKeepalive()
1929 public @NonNull SocketKeepalive createSocketKeepalive(@NonNull Network network, in createSocketKeepalive()
1972 public @NonNull SocketKeepalive createNattKeepalive(@NonNull Network network, in createNattKeepalive()
2012 public @NonNull SocketKeepalive createSocketKeepalive(@NonNull Network network, in createSocketKeepalive()
2611 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()
DITetheringEventCallback.aidl27 void onUpstreamChanged(in Network network); in onUpstreamChanged()
DDnsResolver.java185 public void rawQuery(@Nullable Network network, @NonNull byte[] query, @QueryFlag int flags, in rawQuery()
225 public void rawQuery(@Nullable Network network, @NonNull String domain, in rawQuery()
258 InetAddressAnswerAccumulator(@NonNull Network network, int size, in InetAddressAnswerAccumulator()
327 public void query(@Nullable Network network, @NonNull String domain, @QueryFlag int flags, in query()
425 public void query(@Nullable Network network, @NonNull String domain, in query()
/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()
156 private static @Nullable InetAddress findSrcAddress(@Nullable Network network, in findSrcAddress()
342 public static boolean haveIpv4(@Nullable Network network) { in haveIpv4()
352 public static boolean haveIpv6(@Nullable Network network) { in haveIpv6()
358 private static boolean checkConnectivity(@Nullable Network network, in checkConnectivity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java211 public void onAvailable(Network network) { in onAvailable()
220 public void onLosing(Network network, int maxMsToLive) { in onLosing()
226 public void onLost(Network network) { in onLost()
238 public void onCapabilitiesChanged(Network network, in onCapabilitiesChanged()
/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()
/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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java712 WifiConfiguration network = WifiConfigurationTestUtil.createOpenNetwork(); in testCreatePnoNetworkWithOpenNetwork() local
729 WifiConfiguration network = WifiConfigurationTestUtil.createOpenHiddenNetwork(); in testCreatePnoNetworkWithOpenHiddenNetwork() local
747 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(); in testCreatePnoNetworkWithPskNetwork() local
763 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); in testIsSameNetworkReturnsTrueOnSameNetwork() local
774 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); in testIsSameNetworkReturnsTrueOnSameNetworkWithDifferentBSSID() local
787 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); in testIsSameNetworkReturnsFalseOnDifferentSSID() local
798 WifiConfiguration network = WifiConfigurationTestUtil.createPskNetwork(TEST_SSID); in testIsSameNetworkReturnsFalseOnDifferentSecurityType() local
851 WifiConfiguration network = WifiConfigurationTestUtil.createEapNetwork(); in testCreatePnoNetworkWithEapNetwork() local
DWifiScoreCardProtoTest.java48 WifiScoreCardProto.Network network = WifiScoreCardProto.Network.newBuilder() in testBuilder() local
/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.java84 public abstract SubscriptionPlan getSubscriptionPlan(Network network); in getSubscriptionPlan()
100 public abstract long getSubscriptionOpportunisticQuota(Network network, int quotaType); in getSubscriptionOpportunisticQuota()
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java94 final Network network = mCM == null ? null : mCM.getActiveNetwork(); in forceRefresh() local
98 public boolean forceRefresh(Network network) { in forceRefresh()
/frameworks/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java237 public void onCapabilitiesChanged(Network network, in createNetworkConnectivityCallback()
264 public void onLost(Network network) { in createNetworkConnectivityCallback()
288 public void onLost(Network network) { in createSuplConnectivityCallback()

12345