/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 99 private static String getTransportName(@TransportType int transportType) { in getTransportName() argument 103 return networkTypes[transportType]; in getTransportName() 109 private static int getIcon(int transportType, NotificationType notifyType) { in getIcon() argument 110 if (transportType != TRANSPORT_WIFI) { in getIcon() 145 final int transportType; in showNotification() local 148 transportType = getFirstTransportType(nai); in showNotification() 155 transportType = TRANSPORT_CELLULAR; in showNotification() 174 tag, nameOf(eventId), getTransportName(transportType), name, highPriority)); in showNotification() 180 int icon = getIcon(transportType, notifyType); in showNotification() 181 if (notifyType == NotificationType.NO_INTERNET && transportType == TRANSPORT_WIFI) { in showNotification() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkRequest.java | 266 public Builder addTransportType(@NetworkCapabilities.Transport int transportType) { in addTransportType() argument 267 mNetworkCapabilities.addTransportType(transportType); in addTransportType() 277 public Builder removeTransportType(@NetworkCapabilities.Transport int transportType) { in removeTransportType() argument 278 mNetworkCapabilities.removeTransportType(transportType); in removeTransportType() 460 public boolean hasTransport(@Transport int transportType) { in hasTransport() argument 461 return networkCapabilities.hasTransport(transportType); in hasTransport()
|
D | NetworkCapabilities.java | 690 public static boolean isValidTransport(@Transport int transportType) { in isValidTransport() argument 691 return (MIN_TRANSPORT <= transportType) && (transportType <= MAX_TRANSPORT); in isValidTransport() 719 public @NonNull NetworkCapabilities addTransportType(@Transport int transportType) { in addTransportType() argument 720 checkValidTransportType(transportType); in addTransportType() 721 mTransportTypes |= 1 << transportType; in addTransportType() 733 public @NonNull NetworkCapabilities removeTransportType(@Transport int transportType) { in removeTransportType() argument 734 checkValidTransportType(transportType); in removeTransportType() 735 mTransportTypes &= ~(1 << transportType); in removeTransportType() 746 public @NonNull NetworkCapabilities setTransportType(@Transport int transportType, in setTransportType() argument 749 addTransportType(transportType); in setTransportType() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | AccessNetworkConstants.java | 67 public static String transportTypeToString(@TransportType int transportType) { in transportTypeToString() argument 68 switch (transportType) { in transportTypeToString() 71 default: return Integer.toString(transportType); in transportTypeToString()
|
D | NetworkRegistrationInfo.java | 205 private NetworkRegistrationInfo(@Domain int domain, @TransportType int transportType, in NetworkRegistrationInfo() argument 212 mTransportType = transportType; in NetworkRegistrationInfo() 229 public NetworkRegistrationInfo(int domain, @TransportType int transportType, in NetworkRegistrationInfo() argument 236 this(domain, transportType, registrationState, accessNetworkTechnology, rejectCause, in NetworkRegistrationInfo() 247 public NetworkRegistrationInfo(int domain, @TransportType int transportType, in NetworkRegistrationInfo() argument 256 this(domain, transportType, registrationState, accessNetworkTechnology, rejectCause, in NetworkRegistrationInfo() 692 public @NonNull Builder setTransportType(@TransportType int transportType) { in setTransportType() argument 693 mTransportType = transportType; in setTransportType()
|
D | ServiceState.java | 1838 @TransportType int transportType) { in getNetworkRegistrationInfoListForTransportType() 1843 if (networkRegistrationInfo.getTransportType() == transportType) { in getNetworkRegistrationInfoListForTransportType() 1888 @TransportType int transportType) { in getNetworkRegistrationInfo() argument 1891 if (networkRegistrationInfo.getTransportType() == transportType in getNetworkRegistrationInfo()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcNetworkAgent.java | 72 int transportType) { in DcNetworkAgent() argument 79 mTransportType = transportType; in DcNetworkAgent() 98 int factorySerialNumber, int transportType) { in createDcNetworkAgent() argument 103 transportType); in createDcNetworkAgent() 113 @TransportType int transportType) { in acquireOwnership() argument 115 mTransportType = transportType; in acquireOwnership()
|
D | DataServiceManager.java | 142 for (int transportType : mPhone.getTransportManager().getAvailableTransports()) { in revokePermissionsFromUnusedDataServices() 143 dataServices.remove(getDataServicePackageName(transportType)); in revokePermissionsFromUnusedDataServices() 254 public DataServiceManager(Phone phone, @TransportType int transportType, String tagSuffix) { in DataServiceManager() argument 257 mTransportType = transportType; in DataServiceManager() 368 private String getDataServicePackageName(@TransportType int transportType) { in getDataServicePackageName() argument 373 switch (transportType) { in getDataServicePackageName()
|
D | TelephonyNetworkFactory.java | 243 int transportType = getTransportTypeFromNetworkRequest(networkRequest); in onActivePhoneSwitch() local 253 shouldApply ? transportType : AccessNetworkConstants.TRANSPORT_TYPE_INVALID); in onActivePhoneSwitch()
|
D | DcTracker.java | 498 int transportType = bundle.getInt(INTENT_RECONNECT_ALARM_EXTRA_TRANSPORT_TYPE, 0); in onDataReconnect() local 499 if (transportType != mTransportType) { in onDataReconnect() 541 int transportType = intent.getIntExtra(INTENT_DATA_STALL_ALARM_EXTRA_TRANSPORT_TYPE, 0); in onActionIntentDataStallAlarm() local 542 if (transportType != mTransportType) { in onActionIntentDataStallAlarm() 675 public DcTracker(Phone phone, @TransportType int transportType) { in DcTracker() argument 683 String tagSuffix = "-" + ((transportType == AccessNetworkConstants.TRANSPORT_TYPE_WWAN) in DcTracker() 690 mTransportType = transportType; in DcTracker() 691 mDataServiceManager = new DataServiceManager(phone, transportType, tagSuffix); in DcTracker()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkRegistrationManager.java | 89 public NetworkRegistrationManager(@TransportType int transportType, Phone phone) { in NetworkRegistrationManager() argument 90 mTransportType = transportType; in NetworkRegistrationManager() 93 String tagSuffix = "-" + ((transportType == AccessNetworkConstants.TRANSPORT_TYPE_WWAN) in NetworkRegistrationManager()
|
D | CellularNetworkService.java | 212 int transportType = AccessNetworkConstants.TRANSPORT_TYPE_WWAN; in createRegistrationStateFromVoiceRegState() local 234 return new NetworkRegistrationInfo(domain, transportType, regState, in createRegistrationStateFromVoiceRegState() 257 return new NetworkRegistrationInfo(domain, transportType, regState, in createRegistrationStateFromVoiceRegState() 269 int transportType = AccessNetworkConstants.TRANSPORT_TYPE_WWAN; in createRegistrationStateFromDataRegState() local 345 return new NetworkRegistrationInfo(domain, transportType, regState, networkType, in createRegistrationStateFromDataRegState()
|
D | Phone.java | 3003 for (int transportType : mTransportManager.getAvailableTransports()) { in getActiveApnTypes() 3004 if (getDcTracker(transportType) != null) { in getActiveApnTypes() 3006 getDcTracker(transportType).getActiveApnTypes())); in getActiveApnTypes() 3034 int transportType = mTransportManager.getCurrentTransport( in getActiveApnHost() local 3036 if (getDcTracker(transportType) != null) { in getActiveApnHost() 3037 return getDcTracker(transportType).getActiveApnString(apnType); in getActiveApnHost() 3063 int transportType = mTransportManager.getCurrentTransport( in getNetworkCapabilities() local 3065 if (getDcTracker(transportType) != null) { in getNetworkCapabilities() 3066 return getDcTracker(transportType).getNetworkCapabilities(apnType); in getNetworkCapabilities() 3300 int transportType = mTransportManager.getCurrentTransport( in getPcscfAddress() local [all …]
|
D | TelephonyComponentFactory.java | 314 public DcTracker makeDcTracker(Phone phone, @TransportType int transportType) { 315 return new DcTracker(phone, transportType);
|
D | ServiceStateTracker.java | 602 for (int transportType : mTransportManager.getAvailableTransports()) { in ServiceStateTracker() 603 mRegStateManagers.append(transportType, new NetworkRegistrationManager( in ServiceStateTracker() 604 transportType, phone)); in ServiceStateTracker() 605 mRegStateManagers.get(transportType).registerForNetworkRegistrationInfoChanged( in ServiceStateTracker()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | UpstreamNetworkMonitorTest.java | 707 public final int transportType; field in UpstreamNetworkMonitorTest.TestNetworkAgent 711 public TestNetworkAgent(TestConnectivityManager cm, int transportType) { in TestNetworkAgent() argument 714 this.transportType = transportType; in TestNetworkAgent() 716 networkCapabilities.addTransportType(transportType); in TestNetworkAgent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerImpl.java | 776 for (int transportType : nc.getTransportTypes()) { in updateConnectivity() 777 mConnectedTransports.set(transportType); in updateConnectivity() 779 mValidatedTransports.set(transportType); in updateConnectivity()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1074 int transportType, NetworkRequest.Type type) { in createDefaultInternetRequestForTransport() argument 1078 if (transportType > -1) { in createDefaultInternetRequestForTransport() 1079 netCap.addTransportType(transportType); in createDefaultInternetRequestForTransport()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |