Home
last modified time | relevance | path

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

123

/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.c52 int android_setsocknetwork(net_handle_t network, int fd) { in android_setsocknetwork()
67 int android_setprocnetwork(net_handle_t network) { in android_setprocnetwork()
82 int android_getprocnetwork(net_handle_t *network) { in android_getprocnetwork()
93 int android_setprocdns(net_handle_t network) { in android_setprocdns()
108 int android_getprocdns(net_handle_t *network) { in android_getprocdns()
125 int android_getaddrinfofornetwork(net_handle_t network, in android_getaddrinfofornetwork()
137 int android_res_nquery(net_handle_t network, const char *dname, in android_res_nquery()
151 int android_res_nsend(net_handle_t network, const uint8_t *msg, size_t msglen, in android_res_nsend()
/frameworks/layoutlib/bridge/src/android/net/
DConnectivityManager.java283 public NetworkInfo getNetworkInfo(@Nullable Network network) { in getNetworkInfo()
287 public NetworkInfo getNetworkInfoForUid(Network network, int uid, boolean ignoreBlocked) { in getNetworkInfoForUid()
321 public LinkProperties getLinkProperties(@Nullable Network network) { in getLinkProperties()
326 public NetworkCapabilities getNetworkCapabilities(@Nullable Network network) { in getNetworkCapabilities()
381 Network network, int intervalSeconds, PacketKeepaliveCallback callback, in startNattKeepalive()
386 public @NonNull SocketKeepalive createSocketKeepalive(@NonNull Network network, in createSocketKeepalive()
396 public @NonNull SocketKeepalive createNattKeepalive(@NonNull Network network, in createNattKeepalive()
406 public @NonNull SocketKeepalive createSocketKeepalive(@NonNull Network network, in createSocketKeepalive()
531 public void onUpstreamChanged(@Nullable Network network) {} in onUpstreamChanged()
626 public void reportBadNetwork(@Nullable Network network) {} in reportBadNetwork()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java79 public void onLinkPropertiesChanged(Network network, LinkProperties lp) { in onLinkPropertiesChanged()
97 public void onLost(Network network) { in onLost()
117 public void onAvailable(Network network) { in onAvailable()
123 public void onLost(Network network) { in onLost()
157 final Network network = mDefaultNetworkCallback.getNetwork(); in handleStateChangedLocked() local
DNetworkPolicyManagerInternal.java57 public abstract SubscriptionPlan getSubscriptionPlan(Network network); in getSubscriptionPlan()
68 public abstract long getSubscriptionOpportunisticQuota(Network network, int quotaType); in getSubscriptionOpportunisticQuota()
/frameworks/base/wifi/java/src/android/net/wifi/
DWifiNetworkScoreCache.java142 ScoredNetwork network = getScoredNetwork(result); in hasScoreCurve() local
149 ScoredNetwork network = getScoredNetwork(result); in getNetworkScore() local
167 ScoredNetwork network = getScoredNetwork(result); in getMeteredHint() local
174 ScoredNetwork network = getScoredNetwork(result); in getNetworkScore() local
193 ScoredNetwork network = mCache.get(key); in getScoredNetwork() local
213 private String buildNetworkKey(ScoredNetwork network) { in buildNetworkKey()
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DTestableNetworkCallback.kt63 abstract val network: Network in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry
65 data class Available(override val network: Network) : CallbackEntry() in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Available
67 override val network: Network, in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.CapabilitiesChanged
71 override val network: Network, in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.LinkPropertiesChanged
74 data class Suspended(override val network: Network) : CallbackEntry() in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Suspended
75 data class Resumed(override val network: Network) : CallbackEntry() in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Resumed
76 data class Losing(override val network: Network, val maxMsToLive: Int) : CallbackEntry() in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Losing
77 data class Lost(override val network: Network) : CallbackEntry() in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Lost
79 override val network: Network in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.Unavailable
84 override val network: Network, in anyNetwork() constant in com.android.testutils.RecorderCallback.CallbackEntry.BlockedStatus
[all …]
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DCarrierConfig.java43 public abstract Network network(); in network() method in CarrierConfig
76 public abstract Builder setNetwork(Network network); in setNetwork()
/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/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.java103 @NonNull Context context, @NonNull Ikev2VpnProfile profile, @NonNull Network network) { in buildIkeSessionParams()
408 public void onAvailable(@NonNull Network network) { in onAvailable()
414 public void onCapabilitiesChanged(@NonNull Network network, in onCapabilitiesChanged()
422 public void onLinkPropertiesChanged(@NonNull Network network, in onLinkPropertiesChanged()
430 public void onLost(@NonNull Network network) { in onLost()
DDefaultNetworkMetrics.java135 private void logCurrentDefaultNetwork(long timeMs, Network network, int score, in logCurrentDefaultNetwork()
160 private void newDefaultNetwork(long timeMs, Network network, int score, boolean validated, in newDefaultNetwork()
178 private static void fillLinkInfo(DefaultNetworkEvent ev, Network network, LinkProperties lp, in fillLinkInfo()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java352 final Network network = mAvailableNetworks.keyAt(i); in isNetworkAvailable() local
559 private boolean isInsane(JobStatus jobStatus, Network network, in isInsane()
650 private static boolean isCongestionDelayed(JobStatus jobStatus, Network network, in isCongestionDelayed()
745 private static boolean isStrictSatisfied(JobStatus jobStatus, Network network, in isStrictSatisfied()
760 private boolean isRelaxedSatisfied(JobStatus jobStatus, Network network, in isRelaxedSatisfied()
791 boolean isSatisfied(JobStatus jobStatus, Network network, in isSatisfied()
991 private NetworkCapabilities getNetworkCapabilities(@Nullable Network network) { in getNetworkCapabilities()
1048 final Network network = getNetworkLocked(jobStatus); in updateConstraintsSatisfied() local
1054 Network network, NetworkCapabilities capabilities) { in updateConstraintsSatisfied()
1327 public void onAvailable(Network network) { in onAvailable()
[all …]
/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/libs/service_entitlement/java/com/android/libraries/entitlement/http/
DHttpRequest.java52 public abstract Network network(); in network() method in HttpRequest
103 public abstract Builder setNetwork(@Nullable Network network); in setNetwork()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DLinkBandwidthEstimatorTest.java585 LinkBandwidthEstimator.NetworkBandwidth network = mLBE.lookupNetwork("310260", 366, "LTE"); in testUseAllTacStatsIfNoEnoughDataWithCurrentTac() local
670 LinkBandwidthEstimator.NetworkBandwidth network = mLBE.lookupNetwork("310260", 366, "EDGE"); in testEdgeThenLteShouldIgnoreTransitionStats() local
717 LinkBandwidthEstimator.NetworkBandwidth network = mLBE.lookupNetwork("310260", 366, "LTE"); in testVeryHighRxLinkBandwidthEstimationIgnored() local
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkController.java416 public void onAvailable(@NonNull Network network) { in onAvailable()
422 public void onLost(@NonNull Network network) { in onLost()
429 public void onCapabilitiesChanged( in onCapabilitiesChanged()
445 public void onLinkPropertiesChanged( in onLinkPropertiesChanged()
461 public void onBlockedStatusChanged(@NonNull Network network, boolean isBlocked) { in onBlockedStatusChanged()
DUnderlyingNetworkRecord.java47 @NonNull public final Network network; field in UnderlyingNetworkRecord
55 public UnderlyingNetworkRecord( in UnderlyingNetworkRecord()
203 Builder(@NonNull Network network) { in Builder()
/frameworks/base/core/java/android/net/
DPacProxyManager.java125 void onPacProxyInstalled(@Nullable Network network, @NonNull ProxyInfo proxy); in onPacProxyInstalled()
142 public void onPacProxyInstalled(Network network, ProxyInfo proxy) { in onPacProxyInstalled()
DIPacProxyInstalledListener.aidl24 void onPacProxyInstalled(in Network network, in ProxyInfo proxy); in onPacProxyInstalled()
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
DImsConfigImplBase.java125 public void getFeatureValue(int feature, int network, ImsConfigListener listener) in getFeatureValue()
139 public void setFeatureValue(int feature, int network, int value, ImsConfigListener listener) in setFeatureValue()
319 public void getFeatureValue(int feature, int network, ImsConfigListener listener) in getFeatureValue()
328 public void setFeatureValue(int feature, int network, int value, ImsConfigListener listener) in setFeatureValue()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DChartData.java25 public List<NetworkStats.Bucket> network; field in ChartData
/frameworks/base/core/java/android/webkit/
DPacProcessor.java97 default void setNetwork(@Nullable Network network) { in setNetwork()
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
DHiddenNetwork.java44 HiddenNetwork network = (HiddenNetwork) rhs; in equals() local
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssNetworkConnectivityHandler.java356 public void onCapabilitiesChanged(Network network, in createNetworkConnectivityCallback()
383 public void onLost(Network network) { in createNetworkConnectivityCallback()
407 public void onLost(Network network) { in createSuplConnectivityCallback()

123