Home
last modified time | relevance | path

Searched refs:linkProperties (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkRecord.java40 @NonNull public final LinkProperties linkProperties; field in UnderlyingNetworkRecord
47 @NonNull LinkProperties linkProperties, in UnderlyingNetworkRecord() argument
51 this.linkProperties = linkProperties; in UnderlyingNetworkRecord()
63 && linkProperties.equals(that.linkProperties) in equals()
69 return Objects.hash(network, networkCapabilities, linkProperties, isBlocked); in hashCode()
88 pw.println("mLinkProperties: " + linkProperties); in dump()
120 void setLinkProperties(@NonNull LinkProperties linkProperties) { in setLinkProperties() argument
121 mLinkProperties = linkProperties; in setLinkProperties()
DUnderlyingNetworkController.java608 @NonNull Network network, @NonNull LinkProperties linkProperties) { in onLinkPropertiesChanged() argument
616 linkProperties, in onLinkPropertiesChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioDataProxy.java296 boolean roamingAllowed, int reason, LinkProperties linkProperties, int pduSessionId, in setupDataCall() argument
303 if (linkProperties != null) { in setupDataCall()
304 for (InetAddress address : linkProperties.getAddresses()) { in setupDataCall()
307 dnsesArr = new String[linkProperties.getDnsServers().size()]; in setupDataCall()
308 for (int i = 0; i < linkProperties.getDnsServers().size(); i++) { in setupDataCall()
309 dnses.add(linkProperties.getDnsServers().get(i).getHostAddress()); in setupDataCall()
310 dnsesArr[i] = linkProperties.getDnsServers().get(i).getHostAddress(); in setupDataCall()
324 roamingAllowed, reason, RILUtils.convertToHalLinkProperties(linkProperties), in setupDataCall()
330 roamingAllowed, reason, RILUtils.convertToHalLinkProperties15(linkProperties), in setupDataCall()
337 roamingAllowed, reason, RILUtils.convertToHalLinkProperties15(linkProperties), in setupDataCall()
/frameworks/base/core/java/android/net/vcn/
DVcnManager.java377 @NonNull LinkProperties linkProperties) { in getUnderlyingNetworkPolicy() argument
379 requireNonNull(linkProperties, "linkProperties must not be null"); in getUnderlyingNetworkPolicy()
382 return mService.getUnderlyingNetworkPolicy(networkCapabilities, linkProperties); in getUnderlyingNetworkPolicy()
497 @NonNull LinkProperties linkProperties) { in applyVcnNetworkPolicy() argument
499 requireNonNull(linkProperties, "linkProperties must not be null"); in applyVcnNetworkPolicy()
502 getUnderlyingNetworkPolicy(networkCapabilities, linkProperties); in applyVcnNetworkPolicy()
/frameworks/base/telephony/java/android/telephony/data/
DDataService.java185 @SetupDataReason int reason, @Nullable LinkProperties linkProperties, in setupDataCall() argument
235 @Nullable LinkProperties linkProperties, in setupDataCall() argument
241 linkProperties, callback); in setupDataCall()
492 public final LinkProperties linkProperties; field in DataService.SetupDataCallRequest
499 boolean allowRoaming, int reason, LinkProperties linkProperties, int pduSessionId, in SetupDataCallRequest() argument
506 this.linkProperties = linkProperties; in SetupDataCallRequest()
639 setupDataCallRequest.linkProperties, setupDataCallRequest.pduSessionId, in handleMessage()
820 LinkProperties linkProperties, int pduSessionId, NetworkSliceInfo sliceInfo, in setupDataCall() argument
825 allowRoaming, reason, linkProperties, pduSessionId, sliceInfo, in setupDataCall()
DIDataService.aidl35 boolean allowRoaming, int reason, in LinkProperties linkProperties, in setupDataCall() argument
/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java136 @Nullable LinkProperties linkProperties, in PreciseDataConnectionState() argument
139 linkProperties, failCause, new ApnSetting.Builder() in PreciseDataConnectionState()
164 @Nullable LinkProperties linkProperties, @DataFailureCause int failCause, in PreciseDataConnectionState() argument
172 mLinkProperties = linkProperties; in PreciseDataConnectionState()
571 public @NonNull Builder setLinkProperties(LinkProperties linkProperties) { in setLinkProperties() argument
572 mLinkProperties = linkProperties; in setLinkProperties()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DHotspotNetworkDetailsTracker.java160 LinkProperties linkProperties = mConnectivityManager.getLinkProperties(currentNetwork); in updateStartInfo() local
161 if (linkProperties != null) { in updateStartInfo()
162 handleLinkPropertiesChanged(currentNetwork, linkProperties); in updateStartInfo()
DStandardNetworkDetailsTracker.java153 LinkProperties linkProperties = mConnectivityManager.getLinkProperties(currentNetwork); in updateStartInfo() local
154 if (linkProperties != null) { in updateStartInfo()
155 handleLinkPropertiesChanged(currentNetwork, linkProperties); in updateStartInfo()
DPasspointNetworkDetailsTracker.java177 LinkProperties linkProperties = mConnectivityManager.getLinkProperties(currentNetwork); in updateStartInfo() local
178 if (linkProperties != null) { in updateStartInfo()
179 handleLinkPropertiesChanged(currentNetwork, linkProperties); in updateStartInfo()
DSavedNetworkTracker.java260 LinkProperties linkProperties = mConnectivityManager.getLinkProperties(currentNetwork); in handleOnStart() local
261 if (linkProperties != null) { in handleOnStart()
262 handleLinkPropertiesChanged(currentNetwork, linkProperties); in handleOnStart()
309 @NonNull Network network, @Nullable LinkProperties linkProperties) { in handleLinkPropertiesChanged() argument
311 entry.updateLinkProperties(network, linkProperties); in handleLinkPropertiesChanged()
DNetworkDetailsTracker.java153 @NonNull Network network, @Nullable LinkProperties linkProperties) { in handleLinkPropertiesChanged() argument
156 chosenEntry.updateLinkProperties(network, linkProperties); in handleLinkPropertiesChanged()
DWifiPickerTracker.java314 LinkProperties linkProperties = mConnectivityManager.getLinkProperties(currentNetwork); in handleOnStart() local
315 if (linkProperties != null) { in handleOnStart()
316 handleLinkPropertiesChanged(currentNetwork, linkProperties); in handleOnStart()
390 @NonNull Network network, @Nullable LinkProperties linkProperties) { in handleLinkPropertiesChanged() argument
392 entry.updateLinkProperties(network, linkProperties); in handleLinkPropertiesChanged()
720 LinkProperties linkProperties = in updateMergedCarrierEntry() local
722 if (linkProperties != null) { in updateMergedCarrierEntry()
723 mMergedCarrierEntry.updateLinkProperties(currentNetwork, linkProperties); in updateMergedCarrierEntry()
DWifiEntry.java1121 @NonNull Network network, @NonNull LinkProperties linkProperties) { in updateLinkProperties() argument
1131 for (LinkAddress addr : linkProperties.getLinkAddresses()) { in updateLinkProperties()
1149 for (RouteInfo routeInfo : linkProperties.getRoutes()) { in updateLinkProperties()
1158 mConnectedInfo.dnsServers = linkProperties.getDnsServers().stream() in updateLinkProperties()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionTestBase.java121 LinkProperties linkProperties, in getTestNetworkRecord() argument
123 return new UnderlyingNetworkRecord(network, networkCapabilities, linkProperties, isBlocked); in getTestNetworkRecord()
138 TEST_UNDERLYING_NETWORK_RECORD_1.linkProperties.setMtu(1500);
139 TEST_UNDERLYING_NETWORK_RECORD_1.linkProperties.setTcpBufferSizes(TEST_TCP_BUFFER_SIZES_1);
151 TEST_UNDERLYING_NETWORK_RECORD_2.linkProperties.setMtu(1460);
152 TEST_UNDERLYING_NETWORK_RECORD_2.linkProperties.setTcpBufferSizes(TEST_TCP_BUFFER_SIZES_2);
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssNetworkConnectivityHandler.java422 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { in createSuplConnectivityCallback()
425 handleSuplConnectionAvailable(network, linkProperties); in createSuplConnectivityCallback()
532 private void handleSuplConnectionAvailable(Network network, LinkProperties linkProperties) {
564 int apnIpType = getLinkIpType(linkProperties);
794 private int getLinkIpType(LinkProperties linkProperties) {
799 List<LinkAddress> linkAddresses = linkProperties.getLinkAddresses();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetwork.java2711 LinkProperties linkProperties = new LinkProperties();
2714 linkProperties.setInterfaceName(response.getInterfaceName());
2740 linkProperties.addLinkAddress(la);
2751 linkProperties.addDnsServer(dns);
2761 linkProperties.addPcscfServer(pcscf);
2793 linkProperties.addRoute(new RouteInfo(null, gateway, null,
2800 linkProperties.setMtu(Math.max(mtuV4, mtuV6));
2810 linkProperties.setHttpProxy(proxy);
2813 linkProperties.setTcpBufferSizes(mTcpBufferSizes);
2834 if (!linkProperties.equals(mLinkProperties)) {
[all …]
DCellularDataService.java170 boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, in setupDataCall() argument
185 linkProperties, pduSessionId, sliceInfo, trafficDescriptor, matchAllRuleAllowed, in setupDataCall()
DDataServiceManager.java637 boolean allowRoaming, int reason, LinkProperties linkProperties, int pduSessionId, in setupDataCall() argument
653 isRoaming, allowRoaming, reason, linkProperties, pduSessionId, sliceInfo, in setupDataCall() local
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkControllerTest.java235 LinkProperties linkProperties = new LinkProperties(); in getLinkPropertiesWithName() local
236 linkProperties.setInterfaceName(iface); in getLinkPropertiesWithName()
237 return linkProperties; in getLinkPropertiesWithName()
519 LinkProperties linkProperties, in getTestNetworkRecord() argument
521 return new UnderlyingNetworkRecord(network, networkCapabilities, linkProperties, isBlocked); in getTestNetworkRecord()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java423 @NonNull LinkProperties linkProperties) { in onLinkPropertiesChanged() argument
424 Log.d(mTag, "LP changed for net " + network + " : " + linkProperties); in onLinkPropertiesChanged()
426 () -> mCallback.onDefaultNetworkLinkPropertiesChanged(linkProperties)); in onLinkPropertiesChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java574 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) {
576 final String interfaceName = linkProperties.getInterfaceName();
/frameworks/layoutlib/bridge/src/android/net/
DConnectivityManager.java701 @NonNull LinkProperties linkProperties, boolean blocked) {} in onAvailable() argument
715 @NonNull LinkProperties linkProperties) {} in onLinkPropertiesChanged() argument
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java1067 @NonNull LinkProperties linkProperties) { in getUnderlyingNetworkPolicy() argument
1069 requireNonNull(linkProperties, "linkProperties was null"); in getUnderlyingNetworkPolicy()
1143 .requiresRestartForImmutableCapabilityChanges(result, linkProperties), in getUnderlyingNetworkPolicy()
1147 + "; and lp: " + linkProperties + "; result = " + policy); in getUnderlyingNetworkPolicy()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java261 int reason, LinkProperties linkProperties, int pduSessionId, NetworkSliceInfo sliceInfo, in setupDataCall() argument

12