Searched refs:TransportInfo (Results 1 – 12 of 12) sorted by relevance
264 private static class TransportInfo { class in NetworkInterfaceState268 private TransportInfo(int legacyType, int score) { in TransportInfo() method in NetworkInterfaceState.TransportInfo284 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 …]
21 import android.net.TransportInfo;48 public final class WifiAwareNetworkInfo implements TransportInfo, Parcelable {
24 public interface TransportInfo { interface
1159 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()
614 .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 {
659 …ublic final class WifiAwareNetworkInfo implements android.os.Parcelable android.net.TransportInfo {
2140 …blic android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.net.TransportInfo);
6276 …blic android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.net.TransportInfo);
30255 method @Nullable public android.net.TransportInfo getTransportInfo();30520 public interface TransportInfo {31739 …ublic final class WifiAwareNetworkInfo implements android.os.Parcelable android.net.TransportInfo {
4329 android.net.TransportInfo
14128 …access$602(Landroid/net/NetworkCapabilities;Landroid/net/TransportInfo;)Landroid/net/TransportInfo;44526 Landroid/net/TransportInfo;
6224 …blic android.net.NetworkCapabilities.Builder setTransportInfo(@Nullable android.net.TransportInfo);