/frameworks/base/tests/net/java/android/net/ |
H A D | ConnectivityManagerTest.java | 84 int legacyType, int transportType, int... capabilities) { 87 assertTrue(nc.hasTransport(transportType)); 95 static void verifyUnrestrictedNetworkCapabilities(int legacyType, int transportType) { argument 98 transportType, 83 verifyNetworkCapabilities( int legacyType, int transportType, int... capabilities) argument
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkRequest.java | 255 * @param transportType The transport type to add. 258 public Builder addTransportType(@NetworkCapabilities.Transport int transportType) { argument 259 mNetworkCapabilities.addTransportType(transportType); 266 * @param transportType The transport type to remove. 269 public Builder removeTransportType(@NetworkCapabilities.Transport int transportType) { argument 270 mNetworkCapabilities.removeTransportType(transportType); 447 public boolean hasTransport(@Transport int transportType) { argument 448 return networkCapabilities.hasTransport(transportType);
|
H A D | NetworkCapabilities.java | 634 public static boolean isValidTransport(@Transport int transportType) { argument 635 return (MIN_TRANSPORT <= transportType) && (transportType <= MAX_TRANSPORT); 657 * @param transportType the transport type to be added. 661 public NetworkCapabilities addTransportType(@Transport int transportType) { argument 662 checkValidTransportType(transportType); 663 mTransportTypes |= 1 << transportType; 671 * @param transportType the transport type to be removed. 675 public NetworkCapabilities removeTransportType(@Transport int transportType) { argument 676 checkValidTransportType(transportType); 688 setTransportType(@ransport int transportType, boolean value) argument 724 hasTransport(@ransport int transportType) argument [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkNotificationManager.java | 93 private static String getTransportName(int transportType) { argument 97 return networkTypes[transportType]; 103 private static int getIcon(int transportType) { argument 104 return (transportType == TRANSPORT_WIFI) ? 134 final int transportType; 137 transportType = getFirstTransportType(nai); 144 transportType = TRANSPORT_CELLULAR; 163 tag, nameOf(eventId), getTransportName(transportType), name, highPriority)); 169 int icon = getIcon(transportType); 170 if (notifyType == NotificationType.NO_INTERNET && transportType [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | NetworkRegistrationManager.java | 62 public NetworkRegistrationManager(int transportType, Phone phone) { argument 63 mTransportType = transportType;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | NetworkRegistrationState.java | 113 * @param transportType Transport type. Must be {@link AccessNetworkConstants.TransportType} 121 public NetworkRegistrationState(int transportType, int domain, int regState, argument 124 mTransportType = transportType; 138 public NetworkRegistrationState(int transportType, int domain, int regState, argument 142 this(transportType, domain, regState, accessNetworkTechnology, 153 public NetworkRegistrationState(int transportType, int domain, int regState, argument 156 this(transportType, domain, regState, accessNetworkTechnology, 261 .append("transportType=").append(mTransportType)
|
H A D | ServiceState.java | 1545 * @param transportType The transport type. See {@link AccessNetworkConstants.TransportType} 1549 public List<NetworkRegistrationState> getNetworkRegistrationStates(int transportType) { argument 1554 if (networkRegistrationState.getTransportType() == transportType) { 1566 * @param transportType The transport type. See {@link AccessNetworkConstants.TransportType} 1571 public NetworkRegistrationState getNetworkRegistrationStates(int transportType, int domain) { argument 1574 if (networkRegistrationState.getTransportType() == transportType
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
H A D | UpstreamNetworkMonitorTest.java | 562 public final int transportType; field in class:UpstreamNetworkMonitorTest.TestNetworkAgent 565 public TestNetworkAgent(TestConnectivityManager cm, int transportType) { argument 568 this.transportType = transportType; 570 networkCapabilities.addTransportType(transportType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DataServiceManager.java | 120 for (int transportType : new int[] {WWAN, WLAN}) { 121 dataServices.remove(getDataServicePackageName(transportType)); 229 * @param transportType The transport type. Must be a 232 public DataServiceManager(Phone phone, int transportType) { argument 234 mTransportType = transportType; 288 * @return package name of the data service package for the the current transportType. 301 * @param transportType either WWAN or WLAN 302 * @return package name of the data service package for the specified transportType. 304 private String getDataServicePackageName(int transportType) { argument 309 switch (transportType) { [all...] |
H A D | DcTracker.java | 575 public DcTracker(Phone phone, int transportType) { argument 579 mTransportType = transportType; 580 mDataServiceManager = new DataServiceManager(phone, transportType);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | ConnectivityService.java | 944 int transportType, NetworkRequest.Type type) { 948 if (transportType > -1) { 949 netCap.addTransportType(transportType); 943 createDefaultInternetRequestForTransport( int transportType, NetworkRequest.Type type) argument
|