/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
TetheringInterfaceUtils.java | 20 import android.net.LinkProperties; 43 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) 84 private static String getInterfaceForDestination(LinkProperties lp, InetAddress dst) {
|
IPv6TetheringCoordinator.java | 22 import android.net.LinkProperties; 148 new LinkProperties(ns.linkProperties), 160 final LinkProperties lp = getInterfaceIPv6LinkProperties(sm); 166 private LinkProperties getInterfaceIPv6LinkProperties(TetherInterfaceStateMachine sm) { 181 if (mUpstreamNetworkState == null || mUpstreamNetworkState.linkProperties == null) { 192 final LinkProperties lp = getIPv6OnlyLinkProperties( 193 mUpstreamNetworkState.linkProperties); 209 private static LinkProperties getIPv6OnlyLinkProperties(LinkProperties lp) [all...] |
UpstreamNetworkMonitor.java | 32 import android.net.LinkProperties; 197 // passing LinkProperties up to Tethering). 284 // [1] extend request{NetworkCapabilities,LinkProperties}() to 294 // us to learn their NetworkCapabilities nor their LinkProperties. 323 null, prev.linkProperties, newNc, network, null, null)); 329 private void handleLinkProp(Network network, LinkProperties newLp) { 331 if (prev == null || newLp.equals(prev.linkProperties)) { 428 public void onLinkPropertiesChanged(Network network, LinkProperties newLp) { 500 final LinkProperties lp = ns.linkProperties; [all...] |
/frameworks/base/core/java/android/net/ |
NetworkState.java | 34 public final LinkProperties linkProperties; 40 public NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, 44 this.linkProperties = linkProperties; 63 linkProperties = in.readParcelable(null); 78 out.writeParcelable(linkProperties, flags);
|
NetworkAgent.java | 195 NetworkCapabilities nc, LinkProperties lp, int score) { 200 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) { 212 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc); 345 * Called by the bearer code when it has new LinkProperties data. 347 public void sendLinkProperties(LinkProperties linkProperties) { 348 queueOrSendMessage(EVENT_NETWORK_PROPERTIES_CHANGED, new LinkProperties(linkProperties));
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
BluetoothTetheringNetworkFactory.java | 22 import android.net.LinkProperties; 86 LinkProperties linkProperties; 89 public void onLinkPropertiesChange(LinkProperties newLp) { 113 linkProperties = ipcCallback.waitForProvisioning(); 114 if (linkProperties == null) { 130 mNetworkCapabilities, linkProperties, NETWORK_SCORE) {
|
/frameworks/base/telephony/java/android/telephony/data/ |
IDataService.aidl | 19 import android.net.LinkProperties; 31 boolean allowRoaming, int reason, in LinkProperties linkProperties,
|
DataService.java | 25 import android.net.LinkProperties; 150 * @param linkProperties If {@code reason} is {@link #REQUEST_REASON_HANDOVER}, this is the 157 @Nullable LinkProperties linkProperties, 169 * int, DataProfile, boolean, boolean, int, LinkProperties, DataServiceCallback)}. 265 public final LinkProperties linkProperties; 268 boolean allowRoaming, int reason, LinkProperties linkProperties, 274 this.linkProperties = linkProperties [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Nat464Xlat.java | 22 import android.net.LinkProperties; 95 (nai.linkProperties != null) && nai.linkProperties.hasIPv4Address(); 195 if (mNetwork.linkProperties == null) { 196 Slog.e(TAG, "startClat: Can't start clat with null LinkProperties"); 200 String baseIface = mNetwork.linkProperties.getInterfaceName(); 227 * Copies the stacked clat link in oldLp, if any, to the passed LinkProperties. 228 * This is necessary because the LinkProperties in mNetwork come from the transport layer, which 231 public void fixupLinkProperties(LinkProperties oldLp, LinkProperties lp) [all...] |
NetworkAgentInfo.java | 22 import android.net.LinkProperties; 126 public LinkProperties linkProperties; 249 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, 255 linkProperties = lp; 477 new LinkProperties(linkProperties), 601 "lp{" + linkProperties + "} " +
|
DefaultNetworkMetrics.java | 19 import android.net.LinkProperties; 163 LinkProperties lp = nai.linkProperties;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
OsuNetworkConnection.java | 24 import android.net.LinkProperties; 217 public void onLinkPropertiesChanged(Network network, LinkProperties linkProperties) { 220 + " isProvisioned?" + linkProperties.isProvisioned()); 222 if (linkProperties.isProvisioned() && mNetwork == null) {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DataConnectionTest.java | 46 import android.net.LinkProperties; 261 LinkProperties linkProperties) 265 cArgs[1] = LinkProperties.class; 268 return (SetupResult) method.invoke(mDc, response, linkProperties); 529 LinkProperties linkProperties = new LinkProperties(); 530 assertEquals(SetupResult.SUCCESS, setLinkProperties(response, linkProperties)); 531 logd(linkProperties.toString()) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ITelephonyRegistry.aidl | 20 import android.net.LinkProperties; 50 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/ |
EthernetNetworkFactory.java | 25 import android.net.LinkProperties; 231 private LinkProperties mLinkProperties = new LinkProperties(); 241 public void onProvisioningSuccess(LinkProperties newLp) { 246 public void onProvisioningFailure(LinkProperties newLp) { 251 public void onLinkPropertiesChange(LinkProperties newLp) { 303 void onIpLayerStarted(LinkProperties linkProperties) { 309 mLinkProperties = linkProperties; 328 void onIpLayerStopped(LinkProperties linkProperties) [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PreciseDataConnectionState.java | 22 import android.net.LinkProperties; 48 private LinkProperties mLinkProperties = null; 58 LinkProperties linkProperties, String failCause) { 64 mLinkProperties = linkProperties; 85 mLinkProperties = (LinkProperties)in.readParcelable(null); 150 public LinkProperties getDataConnectionLinkProperties() {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
DefaultPhoneNotifier.java | 19 import android.net.LinkProperties; 169 LinkProperties linkProperties = null; 174 linkProperties = sender.getLinkProperties(apnType); 187 linkProperties,
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
Nat464XlatTest.java | 32 import android.net.LinkProperties; 76 mNai.linkProperties = new LinkProperties(); 77 mNai.linkProperties.setInterfaceName(BASE_IFACE); 116 ArgumentCaptor<LinkProperties> c = ArgumentCaptor.forClass(LinkProperties.class); 155 ArgumentCaptor<LinkProperties> c = ArgumentCaptor.forClass(LinkProperties.class);
|
IpConnectivityMetricsTest.java | 36 import android.net.LinkProperties; 633 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/ |
TelephonyRegistryMock.java | 19 import android.net.LinkProperties; 237 String reason, String apn, String apnType, LinkProperties linkProperties, 245 LinkProperties linkProperties, NetworkCapabilities networkCapabilities,
|
/frameworks/base/services/core/java/com/android/server/ |
TelephonyRegistry.java | 26 import android.net.LinkProperties; [all...] |
ConnectivityService.java | 61 import android.net.LinkProperties; 62 import android.net.LinkProperties.CompareResult; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
CellularDataService.java | 21 import android.net.LinkProperties; 146 boolean allowRoaming, int reason, LinkProperties linkProperties, 159 linkProperties, message);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
ConnectivityListener.java | 27 import android.net.LinkProperties; 252 final LinkProperties linkProperties = mConnectivityManager.getLinkProperties(network); 253 for (LinkAddress linkAddress : linkProperties.getLinkAddresses()) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
WifiAwareDataPathStateManager.java | 28 import android.net.LinkProperties; 510 LinkProperties linkProperties = new LinkProperties(); 533 networkInfo, networkCapabilities, linkProperties)) { 540 networkCapabilities, linkProperties, NETWORK_FACTORY_SCORE_AVAIL, [all...] |