/frameworks/base/core/tests/coretests/src/android/net/ |
D | ScoredNetworkTest.java | 155 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/ |
D | net.c | 52 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/base/wifi/java/src/android/net/wifi/sharedconnectivity/service/ |
D | ISharedConnectivityService.aidl | 32 void connectHotspotNetwork(in HotspotNetwork network); in connectHotspotNetwork() 33 void disconnectHotspotNetwork(in HotspotNetwork network); in disconnectHotspotNetwork() 34 void connectKnownNetwork(in KnownNetwork network); in connectKnownNetwork() 35 void forgetKnownNetwork(in KnownNetwork network); in forgetKnownNetwork()
|
D | SharedConnectivityService.java | 438 public abstract void onConnectHotspotNetwork(@NonNull HotspotNetwork network); in onConnectHotspotNetwork() 447 public abstract void onDisconnectHotspotNetwork(@NonNull HotspotNetwork network); in onDisconnectHotspotNetwork() 456 public abstract void onConnectKnownNetwork(@NonNull KnownNetwork network); in onConnectKnownNetwork() 465 public abstract void onForgetKnownNetwork(@NonNull KnownNetwork network); in onForgetKnownNetwork()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | NtpTrustedTimeTest.java | 212 Network network = mock(Network.class); in testForceRefreshDefaultNetwork_noConnectivity() local 245 Network network = mock(Network.class); in testForceRefreshDefaultNetwork_nullConfig() local 265 Network network = mock(Network.class); in testForceRefresh_nullConfig() local 283 Network network = mock(Network.class); in testForceRefresh_noConnectivity() local 299 Network network = mock(Network.class); in testForceRefresh_singleServer_queryFailed() local 323 Network network = mock(Network.class); in testForceRefresh_singleServer_querySucceeded() local 349 Network network = mock(Network.class); in testForceRefresh_multiServer_firstQueryFailed() local 379 Network network = mock(Network.class); in testForceRefresh_multiServer_firstQuerySucceeded() local 405 Network network = mock(Network.class); in testForceRefresh_multiServer_keepsOldValueOnFailure() local 467 Network network = mock(Network.class); in testForceRefresh_multiServer_complex() local
|
/frameworks/layoutlib/bridge/src/android/net/ |
D | ConnectivityManager.java | 283 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/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DefaultNetworkMonitor.java | 46 public void onAvailable(@NonNull Network network) { in onAvailable() 51 public void onCapabilitiesChanged(@NonNull Network network, in onCapabilitiesChanged() 59 public void onLost(@NonNull Network network) { in onLost()
|
/frameworks/base/wifi/java/src/android/net/wifi/ |
D | WifiNetworkScoreCache.java | 142 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/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 79 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
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | NetworkTimeUpdateService.java | 182 Network network; in forceRefreshForTests() local 195 Network network; in onPollNetworkTime() local 228 public void onAvailable(@NonNull Network network) { in onAvailable() 239 public void onLost(@NonNull Network network) { in onLost() 313 boolean forceRefreshForTests( in forceRefreshForTests() 323 void refreshAndRescheduleIfRequired(@Nullable Network network, @NonNull String reason, in refreshAndRescheduleIfRequired() 412 public boolean forceRefreshForTests( in forceRefreshForTests() 431 public void refreshAndRescheduleIfRequired( in refreshAndRescheduleIfRequired() 650 private boolean tryRefresh(@NonNull Network network) { in tryRefresh()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/shared/model/ |
D | WifiNetworkModelTest.kt | 56 val network = in <lambda>() constant 68 val network = in <lambda>() constant 80 val network = in <lambda>() constant
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | NetworkDetailsTracker.java | 152 protected void handleLinkPropertiesChanged( in handleLinkPropertiesChanged() 162 protected void handleNetworkCapabilitiesChanged( in handleNetworkCapabilitiesChanged() 169 protected void handleNetworkLost(@NonNull Network network) { in handleNetworkLost() 175 protected void handleDefaultNetworkCapabilitiesChanged( in handleDefaultNetworkCapabilitiesChanged()
|
D | SavedNetworkTracker.java | 308 protected void handleLinkPropertiesChanged( in handleLinkPropertiesChanged() 317 protected void handleNetworkCapabilitiesChanged( in handleNetworkCapabilitiesChanged() 325 protected void handleNetworkLost(@NonNull Network network) { in handleNetworkLost() 343 protected void handleDefaultNetworkCapabilitiesChanged(@NonNull Network network, in handleDefaultNetworkCapabilitiesChanged() 513 private void updateConnectionInfo( in updateConnectionInfo()
|
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/ |
D | UnderlyingNetworkRecord.java | 38 @NonNull public final Network network; field in UnderlyingNetworkRecord 44 public UnderlyingNetworkRecord( in UnderlyingNetworkRecord() 102 Builder(@NonNull Network network) { in Builder()
|
D | UnderlyingNetworkEvaluator.java | 79 @NonNull Network network, in UnderlyingNetworkEvaluator() 122 @NonNull Network network, in UnderlyingNetworkEvaluator() 144 @NonNull Network network, in newIpSecPacketLossDetector()
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 275 Network network = getDefaultNetwork(); in forceRefresh() local 286 public boolean forceRefresh(@NonNull Network network) { in forceRefresh() 296 private boolean forceRefreshLocked(@NonNull Network network) { in forceRefreshLocked() 407 public abstract boolean isNetworkConnected(@NonNull Network network); in isNetworkConnected() 417 public abstract TimeResult queryNtpServer( in queryNtpServer() 685 public boolean isNetworkConnected(@NonNull Network network) { in isNetworkConnected() 720 public TimeResult queryNtpServer( in queryNtpServer()
|
/frameworks/base/telephony/java/com/android/ims/ |
D | ImsConfigListener.aidl | 34 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/ |
D | NetworkPinner.java | 90 public void onAvailable(Network network) { in onAvailable() 104 public void onLost(Network network) { in onLost()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | VpnIkev2Utils.java | 103 @NonNull Context context, @NonNull Ikev2VpnProfile profile, @NonNull Network network) { in makeIkeSessionParamsBuilder() 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()
|
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/ |
D | SharedConnectivityManager.java | 453 public boolean connectHotspotNetwork(@NonNull HotspotNetwork network) { in connectHotspotNetwork() 480 public boolean disconnectHotspotNetwork(@NonNull HotspotNetwork network) { in disconnectHotspotNetwork() 505 public boolean connectKnownNetwork(@NonNull KnownNetwork network) { in connectKnownNetwork() 530 public boolean forgetKnownNetwork(@NonNull KnownNetwork network) { in forgetKnownNetwork()
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/ |
D | CarrierConfig.java | 57 public abstract Network network(); in network() method in CarrierConfig 98 public abstract Builder setNetwork(Network network); in setNetwork()
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
D | IImsConfig.aidl | 81 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/ |
D | HttpRequest.java | 55 public abstract Network network(); in network() method in HttpRequest 108 public abstract Builder setNetwork(@Nullable Network network); in setNetwork()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | LinkBandwidthEstimatorTest.java | 583 LinkBandwidthEstimator.NetworkBandwidth network = mLBE.lookupNetwork("310260", 366, "LTE"); in testUseAllTacStatsIfNoEnoughDataWithCurrentTac() local 668 LinkBandwidthEstimator.NetworkBandwidth network = mLBE.lookupNetwork("310260", 366, "EDGE"); in testEdgeThenLteShouldIgnoreTransitionStats() local 715 LinkBandwidthEstimator.NetworkBandwidth network = mLBE.lookupNetwork("310260", 366, "LTE"); in testVeryHighRxLinkBandwidthEstimationIgnored() local
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ConnectivityController.java | 439 final Network network = mAvailableNetworks.keyAt(i); in isNetworkAvailable() local 699 private boolean isInsane(JobStatus jobStatus, Network network, in isInsane() 908 private static boolean isCongestionDelayed(JobStatus jobStatus, Network network, in isCongestionDelayed() 1003 private static boolean isStrictSatisfied(JobStatus jobStatus, Network network, in isStrictSatisfied() 1017 private boolean isRelaxedSatisfied(JobStatus jobStatus, Network network, in isRelaxedSatisfied() 1055 boolean isSatisfied(JobStatus jobStatus, Network network, in isSatisfied() 1330 public NetworkCapabilities getNetworkCapabilities(@Nullable Network network) { in getNetworkCapabilities() 1336 private CachedNetworkMetadata getNetworkMetadata(@Nullable Network network) { in getNetworkMetadata() 1398 final Network network = getNetworkLocked(jobStatus); in updateConstraintsSatisfied() local 1404 Network network, @Nullable CachedNetworkMetadata networkMetadata) { in updateConstraintsSatisfied() [all …]
|