Home
last modified time | relevance | path

Searched refs:TransportInfo (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java264 private static class TransportInfo { class in NetworkInterfaceState
268 private TransportInfo(int legacyType, int score) { in TransportInfo() method in NetworkInterfaceState.TransportInfo
284 private static final SparseArray<TransportInfo> sTransports = new SparseArray();
288 new TransportInfo(ConnectivityManager.TYPE_NONE, 30)); in sTransports.put()
291 new TransportInfo(ConnectivityManager.TYPE_NONE, 1)); in sTransports.put()
294 new TransportInfo(ConnectivityManager.TYPE_ETHERNET, 70)); in sTransports.put()
297 new TransportInfo(ConnectivityManager.TYPE_BLUETOOTH, 69)); in sTransports.put()
300 new TransportInfo(ConnectivityManager.TYPE_WIFI, 60)); in sTransports.put()
303 new TransportInfo(ConnectivityManager.TYPE_MOBILE, 50)); in sTransports.put()
402 TransportInfo transportInfo = sTransports.get(transport, /* if dne */ null); in getLegacyType()
[all …]
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareNetworkInfo.java21 import android.net.TransportInfo;
48 public final class WifiAwareNetworkInfo implements TransportInfo, Parcelable {
/frameworks/base/core/java/android/net/
DTransportInfo.java24 public interface TransportInfo { interface
DNetworkCapabilities.java1159 private TransportInfo mTransportInfo = null;
1193 public @NonNull NetworkCapabilities setTransportInfo(@NonNull TransportInfo transportInfo) { in setTransportInfo()
1217 @Nullable public TransportInfo getTransportInfo() { in getTransportInfo()
2338 public Builder setTransportInfo(@Nullable final TransportInfo info) { in setTransportInfo()
/frameworks/base/tests/net/common/java/android/net/
DNetworkCapabilitiesTest.java614 .setTransportInfo(new TransportInfo() {}); in testSetTransportInfoOnMultiTransportNc()
618 nc2.addTransportType(TRANSPORT_CELLULAR).setTransportInfo(new TransportInfo() {}) in testSetTransportInfoOnMultiTransportNc()
625 nc1.setTransportInfo(new TransportInfo() { in testCombineTransportInfo()
631 nc2.setTransportInfo(new TransportInfo() { in testCombineTransportInfo()
878 private class TestTransportInfo implements TransportInfo {
/frameworks/base/wifi/api/
Dcurrent.txt659 …ublic final class WifiAwareNetworkInfo implements android.os.Parcelable android.net.TransportInfo {
/frameworks/base/api/
Dtest-current.txt2140 …blic android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.net.TransportInfo);
Dsystem-current.txt6276 …blic android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.net.TransportInfo);
Dcurrent.txt30255 method @Nullable public android.net.TransportInfo getTransportInfo();
30520 public interface TransportInfo {
31739 …ublic final class WifiAwareNetworkInfo implements android.os.Parcelable android.net.TransportInfo {
/frameworks/base/config/
Dpreloaded-classes4329 android.net.TransportInfo
Dboot-image-profile.txt14128 …access$602(Landroid/net/NetworkCapabilities;Landroid/net/TransportInfo;)Landroid/net/TransportInfo;
44526 Landroid/net/TransportInfo;
/frameworks/base/non-updatable-api/
Dsystem-current.txt6224 …blic android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.net.TransportInfo);