Searched refs:linkProperties (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
H A DTetheringInterfaceUtils.java43 final LinkProperties lp = ns.linkProperties;
71 (ns.linkProperties != null) && (ns.networkCapabilities != null) &&
73 ns.linkProperties.hasIPv6DnsServer() &&
75 ns.linkProperties.hasGlobalIPv6Address() &&
80 ? getInterfaceForDestination(ns.linkProperties, Inet6Address.ANY)
H A DIPv6TetheringCoordinator.java148 new LinkProperties(ns.linkProperties),
181 if (mUpstreamNetworkState == null || mUpstreamNetworkState.linkProperties == null) {
193 mUpstreamNetworkState.linkProperties);
304 ns.linkProperties);
H A DUpstreamNetworkMonitor.java323 null, prev.linkProperties, newNc, network, null, null));
331 if (prev == null || newLp.equals(prev.linkProperties)) {
500 final LinkProperties lp = ns.linkProperties;
/frameworks/base/core/java/android/net/
H A DNetworkState.java34 public final LinkProperties linkProperties; field in class:NetworkState
40 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, argument
44 this.linkProperties = linkProperties;
63 linkProperties = in.readParcelable(null);
78 out.writeParcelable(linkProperties, flags);
H A DNetworkAgent.java347 public void sendLinkProperties(LinkProperties linkProperties) { argument
348 queueOrSendMessage(EVENT_NETWORK_PROPERTIES_CHANGED, new LinkProperties(linkProperties));
/frameworks/base/telephony/java/android/telephony/data/
H A DIDataService.aidl31 boolean allowRoaming, int reason, in LinkProperties linkProperties,
H A DDataService.java150 * @param linkProperties If {@code reason} is {@link #REQUEST_REASON_HANDOVER}, this is the
157 @Nullable LinkProperties linkProperties,
265 public final LinkProperties linkProperties; field in class:DataService.SetupDataCallRequest
268 boolean allowRoaming, int reason, LinkProperties linkProperties,
274 this.linkProperties = linkProperties;
365 setupDataCallRequest.linkProperties,
493 LinkProperties linkProperties, IDataServiceCallback callback) {
496 allowRoaming, reason, linkProperties, callback))
155 setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, @SetupDataReason int reason, @Nullable LinkProperties linkProperties, @Nullable DataServiceCallback callback) argument
267 SetupDataCallRequest(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, IDataServiceCallback callback) argument
491 setupDataCall(int slotId, int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, IDataServiceCallback callback) argument
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNat464Xlat.java95 (nai.linkProperties != null) && nai.linkProperties.hasIPv4Address();
195 if (mNetwork.linkProperties == null) {
200 String baseIface = mNetwork.linkProperties.getInterfaceName();
293 LinkProperties lp = new LinkProperties(mNetwork.linkProperties);
316 LinkProperties lp = new LinkProperties(mNetwork.linkProperties);
H A DNetworkAgentInfo.java126 public LinkProperties linkProperties; field in class:NetworkAgentInfo
255 linkProperties = lp;
477 new LinkProperties(linkProperties),
601 "lp{" + linkProperties + "} " +
H A DDefaultNetworkMetrics.java163 LinkProperties lp = nai.linkProperties;
H A DTethering.java1171 if (ns != null && ns.linkProperties != null && mCurrentUpstreamIfaceSet != null) {
1172 for (String ifname : ns.linkProperties.getAllInterfaceNames()) {
1371 // interface described by linkProperties, or one of the interfaces
1373 mLog.i("Looking for default routes on: " + ns.linkProperties);
1379 setDnsForwarders(ns.network, ns.linkProperties);
1760 (ns != null) ? ns.linkProperties : null);
1790 final LinkProperties lp = tism.linkProperties();
2014 return getInterfaceForDestination(ns.linkProperties, Inet4Address.ANY);
2027 return getInterfaceForDestination(ns.linkProperties, Inet6Address.ANY);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DOsuNetworkConnection.java217 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { argument
220 + " isProvisioned?" + linkProperties.isProvisioned());
222 if (linkProperties.isProvisioned() && mNetwork == null) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDataConnectionTest.java261 LinkProperties linkProperties)
268 return (SetupResult) method.invoke(mDc, response, linkProperties);
529 LinkProperties linkProperties = new LinkProperties();
530 assertEquals(SetupResult.SUCCESS, setLinkProperties(response, linkProperties));
531 logd(linkProperties.toString());
532 assertEquals(response.getIfname(), linkProperties.getInterfaceName());
533 assertEquals(response.getAddresses().size(), linkProperties.getAddresses().size());
536 NetworkUtils.numericToInetAddress(linkProperties.getLinkAddresses().get(i)
540 assertEquals(response.getDnses().size(), linkProperties.getDnsServers().size());
543 linkProperties
260 setLinkProperties(DataCallResponse response, LinkProperties linkProperties) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DITelephonyRegistry.aidl50 String reason, String apn, String apnType, in LinkProperties linkProperties,
53 String reason, String apn, String apnType, in LinkProperties linkProperties,
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
H A DEthernetNetworkFactory.java303 void onIpLayerStarted(LinkProperties linkProperties) { argument
309 mLinkProperties = linkProperties;
328 void onIpLayerStopped(LinkProperties linkProperties) { argument
335 void updateLinkProperties(LinkProperties linkProperties) { argument
336 mLinkProperties = linkProperties;
338 mNetworkAgent.sendLinkProperties(linkProperties);
429 + "linkProperties: " + mLinkProperties
/frameworks/base/telephony/java/android/telephony/
H A DPreciseDataConnectionState.java58 LinkProperties linkProperties, String failCause) {
64 mLinkProperties = linkProperties;
56 PreciseDataConnectionState(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDefaultPhoneNotifier.java169 LinkProperties linkProperties = null;
174 linkProperties = sender.getLinkProperties(apnType);
187 linkProperties,
/frameworks/base/tests/net/java/com/android/server/connectivity/
H A DNat464XlatTest.java76 mNai.linkProperties = new LinkProperties();
77 mNai.linkProperties.setInterfaceName(BASE_IFACE);
H A DIpConnectivityMetricsTest.java633 nai.linkProperties = new LinkProperties();
640 nai.linkProperties.addLinkAddress(new LinkAddress("192.0.2.12/24"));
641 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("0.0.0.0/0")));
644 nai.linkProperties.addLinkAddress(new LinkAddress("2001:db8:dead:beef:f00::a0/64"));
645 nai.linkProperties.addRoute(new RouteInfo(new IpPrefix("::/0")));
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DTelephonyRegistryMock.java237 String reason, String apn, String apnType, LinkProperties linkProperties,
245 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
236 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
243 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java1170 String reason, String apn, String apnType, LinkProperties linkProperties,
1173 isDataAllowed,reason, apn, apnType, linkProperties,
1179 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
1222 apnType, apn, reason, linkProperties, "");
1238 apnType, linkProperties, networkCapabilities, roaming, subId);
1240 linkProperties, "");
1609 String reason, String apn, String apnType, LinkProperties linkProperties,
1623 if (linkProperties != null) {
1624 intent.putExtra(PhoneConstants.DATA_LINK_PROPERTIES_KEY, linkProperties);
1625 String iface = linkProperties
1169 notifyDataConnection(int state, boolean isDataAllowed, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1177 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataAllowed, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1607 broadcastDataConnectionStateChanged(int state, boolean isDataAllowed, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument
1662 broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument
[all...]
H A DConnectivityService.java1149 if (state == null || state.networkInfo == null || state.linkProperties == null) return;
1151 if (isNetworkWithLinkPropertiesBlocked(state.linkProperties, uid, ignoreBlocked)) {
1212 && isNetworkWithLinkPropertiesBlocked(nai.linkProperties, uid, ignoreBlocked)) {
1284 if (!isNetworkWithLinkPropertiesBlocked(state.linkProperties, uid, false)) {
1370 return state.linkProperties;
1379 return new LinkProperties(nai.linkProperties);
1397 return new LinkProperties(nai.linkProperties);
1550 lp = nai.linkProperties;
1839 final String iface = networkAgent.linkProperties.getInterfaceName();
1875 final String iface = networkAgent.linkProperties
4646 registerNetworkAgent(Messenger messenger, NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int currentScore, NetworkMisc networkMisc) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DCellularDataService.java146 boolean allowRoaming, int reason, LinkProperties linkProperties,
159 linkProperties, message);
145 setupDataCall(int radioTechnology, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, DataServiceCallback callback) argument
H A DDataServiceManager.java357 * @param linkProperties If {@code reason} is {@link DataService#REQUEST_REASON_HANDOVER}, this
363 boolean allowRoaming, int reason, LinkProperties linkProperties,
379 isRoaming, allowRoaming, reason, linkProperties, callback);
362 setupDataCall(int accessNetworkType, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, int reason, LinkProperties linkProperties, Message onCompleteMessage) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareDataPathStateManager.java510 LinkProperties linkProperties = new LinkProperties();
533 networkInfo, networkCapabilities, linkProperties)) {
540 networkCapabilities, linkProperties, NETWORK_FACTORY_SCORE_AVAIL,
1292 LinkProperties linkProperties) {
1335 linkProperties.setInterfaceName(nnri.interfaceName);
1336 linkProperties.addLinkAddress(new LinkAddress(linkLocal, 64));
1337 linkProperties.addRoute(
1289 configureAgentProperties(AwareNetworkRequestInformation nnri, Set<WifiAwareNetworkSpecifier> networkSpecifiers, int ndpId, NetworkInfo networkInfo, NetworkCapabilities networkCapabilities, LinkProperties linkProperties) argument

Completed in 203 milliseconds

12