/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | DataCallResponseTest.java | 61 LinkProperties linkProperties = new LinkProperties(); 63 mDcResponse.setLinkProperties(linkProperties, true)); 64 logd(linkProperties.toString()); 65 assertEquals(mDcResponse.ifname, linkProperties.getInterfaceName()); 66 assertEquals(mDcResponse.addresses.length, linkProperties.getAddresses().size()); 69 linkProperties.getLinkAddresses().get(i).getAddress().getHostAddress()); 72 assertEquals(mDcResponse.dnses.length, linkProperties.getDnsServers().size()); 75 linkProperties.getDnsServers().get(i).getHostAddress()); 78 assertEquals(mDcResponse.gateways.length, linkProperties.getRoutes().size()); 81 linkProperties [all...] |
H A D | DcTrackerTest.java | 362 LinkProperties linkProperties = mDct.getLinkProperties(PhoneConstants.APN_TYPE_DEFAULT); 363 assertEquals(FAKE_IFNAME, linkProperties.getInterfaceName()); 364 assertEquals(1, linkProperties.getAddresses().size()); 365 assertEquals(FAKE_ADDRESS, linkProperties.getAddresses().get(0).getHostAddress()); 366 assertEquals(1, linkProperties.getDnsServers().size()); 367 assertEquals(FAKE_DNS, linkProperties.getDnsServers().get(0).getHostAddress()); 368 assertEquals(FAKE_GATEWAY, linkProperties.getRoutes().get(0).getGateway().getHostAddress());
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkState.java | 31 public final LinkProperties linkProperties; field in class:NetworkState 37 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, argument 41 this.linkProperties = linkProperties; 50 linkProperties = in.readParcelable(null); 65 out.writeParcelable(linkProperties, flags);
|
H A D | NetworkAgent.java | 361 public void sendLinkProperties(LinkProperties linkProperties) { argument 362 queueOrSendMessage(EVENT_NETWORK_PROPERTIES_CHANGED, new LinkProperties(linkProperties));
|
H A D | ConnectivityManager.java | 2556 * @param linkProperties The new {@link LinkProperties} for this network. 2558 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) {} argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DataCallResponse.java | 117 public SetupResult setLinkProperties(LinkProperties linkProperties, argument 123 if (linkProperties == null) 124 linkProperties = new LinkProperties(); 126 linkProperties.clear(); 133 linkProperties.setInterfaceName(ifname); 169 linkProperties.addLinkAddress(la); 188 linkProperties.addDnsServer(ia); 205 linkProperties.addDnsServer(ia); 231 linkProperties.addRoute(new RouteInfo(ia)); 236 linkProperties [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Nat464Xlat.java | 96 (nai.linkProperties != null) ? nai.linkProperties.hasIPv4Address() : false; 128 if (mNetwork.linkProperties == null) { 140 mBaseIface = mNetwork.linkProperties.getInterfaceName(); 189 mNetwork.linkProperties != null && 190 !mNetwork.linkProperties.getAllInterfaceNames().contains(mIface)) { 194 mNetwork.linkProperties.addStackedLink(stacked); 254 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); 282 LinkProperties lp = new LinkProperties(mNetwork.linkProperties);
|
H A D | NetworkAgentInfo.java | 114 public LinkProperties linkProperties; field in class:NetworkAgentInfo 184 linkProperties = lp; 267 new LinkProperties(linkProperties), 275 "lp{" + linkProperties + "} " +
|
H A D | Tethering.java | 1485 networkState.linkProperties == null) { 1492 for (String ifname : networkState.linkProperties.getAllInterfaceNames()) { 1727 LinkProperties linkProperties = 1729 if (linkProperties != null) { 1731 // interface described by linkProperties, or one of the interfaces 1733 Log.i(TAG, "Finding IPv4 upstream interface on: " + linkProperties); 1735 linkProperties.getAllRoutes(), Inet4Address.ANY); 1749 setDnsForwarders(network, linkProperties); 1983 setDnsForwarders(state.network, state.linkProperties);
|
H A D | KeepaliveTracker.java | 166 for (InetAddress address : mNai.linkProperties.getAddresses()) {
|
H A D | NetworkMonitor.java | 725 final ProxyInfo proxyInfo = mNetworkAgentInfo.linkProperties.getHttpProxy();
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ITelephonyRegistry.aidl | 50 String reason, String apn, String apnType, in LinkProperties linkProperties, 53 String reason, String apn, String apnType, in LinkProperties linkProperties,
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PreciseDataConnectionState.java | 58 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/net/ethernet/java/com/android/server/ethernet/ |
H A D | EthernetNetworkFactory.java | 294 LinkProperties linkProperties; 303 linkProperties = config.getStaticIpConfiguration().toLinkProperties(mIface); 340 linkProperties = ipmCallback.waitForProvisioning(); 341 if (linkProperties == null) { 360 mLinkProperties = linkProperties;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DefaultPhoneNotifier.java | 171 LinkProperties linkProperties = null; 176 linkProperties = sender.getLinkProperties(apnType); 189 linkProperties,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
H A D | TelephonyRegistryMock.java | 235 String reason, String apn, String apnType, LinkProperties linkProperties, 243 LinkProperties linkProperties, NetworkCapabilities networkCapabilities, 234 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 241 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
|
H A D | ConnectivityServiceMock.java | 343 //updateClat(null, nai.linkProperties, nai); 830 LinkProperties linkProperties, NetworkCapabilities networkCapabilities, 834 // linkProperties), new NetworkCapabilities(networkCapabilities), currentScore, 829 registerNetworkAgent(Messenger messenger, NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int currentScore, NetworkMisc networkMisc) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | TelephonyRegistry.java | 1002 String reason, String apn, String apnType, LinkProperties linkProperties, 1005 isDataConnectivityPossible,reason, apn, apnType, linkProperties, 1011 LinkProperties linkProperties, NetworkCapabilities networkCapabilities, 1048 mDataConnectionLinkProperties[phoneId] = linkProperties; 1077 apnType, apn, reason, linkProperties, ""); 1092 apnType, linkProperties, networkCapabilities, roaming, subId); 1094 linkProperties, ""); 1441 String reason, String apn, String apnType, LinkProperties linkProperties, 1455 if (linkProperties != null) { 1456 intent.putExtra(PhoneConstants.DATA_LINK_PROPERTIES_KEY, linkProperties); 1001 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 1009 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 1439 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument 1494 broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument [all...] |
H A D | ConnectivityService.java | 989 if (state == null || state.networkInfo == null || state.linkProperties == null) return; 991 if (isNetworkWithLinkPropertiesBlocked(state.linkProperties, uid, ignoreBlocked)) { 1053 && isNetworkWithLinkPropertiesBlocked(nai.linkProperties, uid, ignoreBlocked)) { 1124 if (!isNetworkWithLinkPropertiesBlocked(state.linkProperties, uid, false)) { 1210 return state.linkProperties; 1219 return new LinkProperties(nai.linkProperties); 1232 return new LinkProperties(nai.linkProperties); 1363 lp = nai.linkProperties; 1644 final String iface = networkAgent.linkProperties.getInterfaceName(); 1680 final String iface = networkAgent.linkProperties 4223 registerNetworkAgent(Messenger messenger, NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int currentScore, NetworkMisc networkMisc) argument [all...] |
/frameworks/base/services/tests/servicestests/src/android/net/apf/ |
H A D | ApfTest.java | 789 LinkProperties linkProperties, int filterResult) { 791 apfFilter.setLinkProperties(linkProperties); 788 verifyArpFilter(MockIpManagerCallback ipManagerCallback, ApfFilter apfFilter, LinkProperties linkProperties, int filterResult) argument
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 966 final String baseIface = state.linkProperties.getInterfaceName(); 979 final List<LinkProperties> stackedLinks = state.linkProperties.getStackedLinks();
|
H A D | NetworkPolicyManagerService.java | 1220 final String baseIface = state.linkProperties.getInterfaceName(); 1227 final List<LinkProperties> stackedLinks = state.linkProperties.getStackedLinks();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
H A D | NetworkStatsServiceTest.java | 1074 final LinkProperties linkProp = state.length > 0 ? state[0].linkProperties : null;
|