Merge "Add BitUtils bit packing methods (Connectivity metrics: add transports pretty printing)" am: 10b5024d5e am: 23d41ee68e

am: 876ebaa8e1

Change-Id: I0dfcea2b92287115c385f1b7678034f643d5daba
This commit is contained in:
Hugo Benichi
2017-04-24 19:06:20 +00:00
committed by android-build-merger

View File

@@ -432,6 +432,15 @@ public final class NetworkCapabilities implements Parcelable {
"WIFI_AWARE"
};
private static final String[] TRANSPORT_NAMES = {
"CELLULAR",
"WIFI",
"BLUETOOTH",
"ETHERNET",
"VPN",
"WIFI_AWARE"
};
/**
* Adds the given transport type to this {@code NetworkCapability} instance.
* Multiple transports may be applied sequentially. Note that when searching