Home
last modified time | relevance | path

Searched refs:transportType (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DEmergencyCallDomainSelectionConnection.java99 int transportType = anm.getPreferredTransport(ApnSetting.TYPE_EMERGENCY); in onWlanSelected() local
100 logi("onWlanSelected curTransportType=" + transportType); in onWlanSelected()
101 if (transportType != TRANSPORT_TYPE_WLAN) { in onWlanSelected()
130 int transportType = anm.getPreferredTransport(ApnSetting.TYPE_EMERGENCY); in onDomainSelected() local
131 logi("onDomainSelected curTransportType=" + transportType); in onDomainSelected()
132 if (transportType != TRANSPORT_TYPE_WWAN) { in onDomainSelected()
155 private void changePreferredTransport(@TransportType int transportType) { in changePreferredTransport() argument
156 logi("changePreferredTransport " + transportType); in changePreferredTransport()
158 mPreferredTransportType = transportType; in changePreferredTransport()
161 mPhone.notifyEmergencyDomainSelected(transportType); in changePreferredTransport()
DEmergencySmsDomainSelectionConnection.java158 private void changePreferredTransport(@TransportType int transportType) { in changePreferredTransport() argument
159 logi("Change preferred transport: " + transportType); in changePreferredTransport()
161 mPreferredTransportType = transportType; in changePreferredTransport()
164 mPhone.notifyEmergencyDomainSelected(transportType); in changePreferredTransport()
/frameworks/base/core/java/android/debug/
DAdbManagerInternal.java45 public abstract boolean isAdbEnabled(byte transportType); in isAdbEnabled() argument
66 public abstract void startAdbdForTransport(byte transportType); in startAdbdForTransport() argument
71 public abstract void stopAdbdForTransport(byte transportType); in stopAdbdForTransport() argument
DAdbNotifications.java51 byte transportType) { in createNotification() argument
56 if (transportType == AdbTransportType.USB) { in createNotification()
59 } else if (transportType == AdbTransportType.WIFI) { in createNotification()
64 "createNotification called with unknown transport type=" + transportType); in createNotification()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkService.java277 final int transportType = AccessNetworkConstants.TRANSPORT_TYPE_WWAN; in createRegistrationStateFromVoiceRegState() local
281 return getNetworkRegistrationInfoAidl(domain, transportType, in createRegistrationStateFromVoiceRegState()
284 return getNetworkRegistrationInfo1_6(domain, transportType, in createRegistrationStateFromVoiceRegState()
287 return getNetworkRegistrationInfo(domain, transportType, in createRegistrationStateFromVoiceRegState()
306 return new NetworkRegistrationInfo(domain, transportType, regState, in createRegistrationStateFromVoiceRegState()
317 final int transportType = AccessNetworkConstants.TRANSPORT_TYPE_WWAN; in createRegistrationStateFromDataRegState() local
320 return getNetworkRegistrationInfoAidl(domain, transportType, in createRegistrationStateFromDataRegState()
323 return getNetworkRegistrationInfo1_6(domain, transportType, in createRegistrationStateFromDataRegState()
326 return getNetworkRegistrationInfo(domain, transportType, in createRegistrationStateFromDataRegState()
360 return new NetworkRegistrationInfo(domain, transportType, regState, networkType, in createRegistrationStateFromDataRegState()
[all …]
DNetworkRegistrationManager.java68 public NetworkRegistrationManager(@TransportType int transportType, Phone phone) { in NetworkRegistrationManager() argument
69 mTransportType = transportType; in NetworkRegistrationManager()
72 String tagSuffix = "-" + ((transportType == AccessNetworkConstants.TRANSPORT_TYPE_WWAN) in NetworkRegistrationManager()
/frameworks/base/telephony/java/android/telephony/data/
DQualifiedNetworksService.java268 @AccessNetworkConstants.TransportType int transportType) { in reportEmergencyDataNetworkPreferredTransportChanged()
270 + AccessNetworkConstants.transportTypeToString(transportType)); in reportEmergencyDataNetworkPreferredTransportChanged()
386 int transportType = (int) message.arg2; in handleMessage() local
387 provider.reportEmergencyDataNetworkPreferredTransportChanged(transportType); in handleMessage()
499 @AccessNetworkConstants.TransportType int transportType) { in reportEmergencyDataNetworkPreferredTransportChanged() argument
502 slotIndex, transportType).sendToTarget(); in reportEmergencyDataNetworkPreferredTransportChanged()
DThrottleStatus.java160 @AccessNetworkConstants.TransportType int transportType, in ThrottleStatus() argument
166 mTransportType = transportType; in ThrottleStatus()
301 int transportType) { in setTransportType()
302 this.mTransportType = transportType; in setTransportType()
DIQualifiedNetworksService.aidl30 oneway void reportEmergencyDataNetworkPreferredTransportChanged (int slotId, int transportType); in reportEmergencyDataNetworkPreferredTransportChanged() argument
/frameworks/base/telephony/java/android/telephony/ims/
DImsRegistrationAttributes.java190 @AccessNetworkConstants.TransportType int transportType, in ImsRegistrationAttributes() argument
194 mTransportType = transportType; in ImsRegistrationAttributes()
213 @AccessNetworkConstants.TransportType int transportType, in ImsRegistrationAttributes() argument
218 mTransportType = transportType; in ImsRegistrationAttributes()
DMediaQualityStatus.java69 @MediaSessionType int mediaSessionType, @TransportType int transportType, in MediaQualityStatus() argument
75 mTransportType = transportType; in MediaQualityStatus()
DSipDelegateConfiguration.java243 public Builder(@IntRange(from = 0) long version, @TransportType int transportType, in Builder() argument
245 mConfig = new SipDelegateConfiguration(version, transportType, localAddr, in Builder()
556 private SipDelegateConfiguration(long version, int transportType, in SipDelegateConfiguration() argument
559 mTransportType = transportType; in SipDelegateConfiguration()
DSipDelegateImsConfiguration.java534 int transportType = (transportTypeString != null in toNewConfig() local
539 transportType, in toNewConfig()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionTest.java133 int transportType, boolean isMobileDataEnabled) { in verifyBuildNetworkCapabilitiesCommon() argument
135 capBuilder.addTransportType(transportType); in verifyBuildNetworkCapabilitiesCommon()
140 if (transportType == TRANSPORT_WIFI) { in verifyBuildNetworkCapabilitiesCommon()
143 } else if (transportType == TRANSPORT_CELLULAR) { in verifyBuildNetworkCapabilitiesCommon()
179 if (transportType == TRANSPORT_WIFI) { in verifyBuildNetworkCapabilitiesCommon()
181 } else if (transportType == TRANSPORT_CELLULAR) { in verifyBuildNetworkCapabilitiesCommon()
/frameworks/base/telephony/java/android/telephony/
DNetworkRegistrationInfo.java303 private NetworkRegistrationInfo(@Domain int domain, @TransportType int transportType, in NetworkRegistrationInfo() argument
312 mTransportType = transportType; in NetworkRegistrationInfo()
336 public NetworkRegistrationInfo(int domain, @TransportType int transportType, in NetworkRegistrationInfo() argument
343 this(domain, transportType, registrationState, accessNetworkTechnology, rejectCause, in NetworkRegistrationInfo()
353 public NetworkRegistrationInfo(int domain, @TransportType int transportType, in NetworkRegistrationInfo() argument
361 this(domain, transportType, registrationState, accessNetworkTechnology, rejectCause, in NetworkRegistrationInfo()
1069 public @NonNull Builder setTransportType(@TransportType int transportType) { in setTransportType() argument
1070 mTransportType = transportType; in setTransportType()
DPreciseDataConnectionState.java162 private PreciseDataConnectionState(@TransportType int transportType, int id, int netId, in PreciseDataConnectionState() argument
167 mTransportType = transportType; in PreciseDataConnectionState()
516 public @NonNull Builder setTransportType(@TransportType int transportType) { in setTransportType() argument
517 mTransportType = transportType; in setTransportType()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataServiceManager.java170 for (int transportType : mPhone.getAccessNetworksManager().getAvailableTransports()) { in revokePermissionsFromUnusedDataServices()
171 dataServices.remove(getDataServicePackageName(transportType)); in revokePermissionsFromUnusedDataServices()
365 @TransportType int transportType) { in DataServiceManager() argument
368 mTransportType = transportType; in DataServiceManager()
523 private String getDataServicePackageName(@TransportType int transportType) { in getDataServicePackageName() argument
527 switch (transportType) { in getDataServicePackageName()
572 private String getDataServiceClassName(int transportType) { in getDataServiceClassName() argument
576 switch (transportType) { in getDataServiceClassName()
588 + transportType); in getDataServiceClassName()
DTelephonyNetworkFactory.java242 int transportType = getTransportTypeFromNetworkRequest(networkRequest); in onActivePhoneSwitch() local
252 shouldApply ? transportType : AccessNetworkConstants.TRANSPORT_TYPE_INVALID); in onActivePhoneSwitch()
DAccessNetworksManager.java361 @AccessNetworkConstants.TransportType int transportType) { in onEmergencyDataNetworkPreferredTransportChanged()
364 + AccessNetworkConstants.transportTypeToString(transportType)); in onEmergencyDataNetworkPreferredTransportChanged()
367 mPhone.getPhoneId(), transportType); in onEmergencyDataNetworkPreferredTransportChanged() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataUtilsTest.java74 int transportType = NetworkCapabilities.TRANSPORT_CELLULAR; in testGetGroupedNetworkRequestList() local
88 .addTransportType(transportType) in testGetGroupedNetworkRequestList()
91 transportType = NetworkCapabilities.TRANSPORT_SATELLITE; in testGetGroupedNetworkRequestList()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java500 byte transportType = buffer[2]; in listenToSocket()
502 if (transportType == AdbTransportType.USB) { in listenToSocket()
508 } else if (transportType == AdbTransportType.WIFI) { in listenToSocket()
515 Slog.e(TAG, "Got unknown transport type from adbd (" + transportType in listenToSocket()
519 byte transportType = buffer[2]; in listenToSocket()
521 if (transportType == AdbTransportType.USB) { in listenToSocket()
527 } else if (transportType == AdbTransportType.WIFI) { in listenToSocket()
534 Slog.e(TAG, "Got unknown transport type from adbd (" + transportType in listenToSocket()
1669 public void setAdbEnabled(boolean enabled, byte transportType) { in setAdbEnabled() argument
1670 if (transportType == AdbTransportType.USB) { in setAdbEnabled()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerImpl.java1108 for (int transportType : mLastDefaultNetworkCapabilities.getTransportTypes()) { in updateConnectivity()
1109 if (transportType != NetworkCapabilities.TRANSPORT_CELLULAR in updateConnectivity()
1110 && transportType != NetworkCapabilities.TRANSPORT_WIFI in updateConnectivity()
1111 && transportType != NetworkCapabilities.TRANSPORT_ETHERNET) { in updateConnectivity()
1114 if (transportType == NetworkCapabilities.TRANSPORT_CELLULAR in updateConnectivity()
1121 mConnectedTransports.set(transportType); in updateConnectivity()
1123 mValidatedTransports.set(transportType); in updateConnectivity()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DDeviceCapabilityListener.java498 public void onRegistered(@TransportType int transportType) {
500 String type = AccessNetworkConstants.transportTypeToString(transportType);
503 handleImsMmtelRegistered(transportType);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DImsStats.java424 private int convertTransportTypeToNetworkType(@TransportType int transportType) { in convertTransportTypeToNetworkType() argument
425 switch (transportType) { in convertTransportTypeToNetworkType()
/frameworks/base/tests/vcn/java/com/android/server/
DVcnManagementServiceTest.java1013 int transportType, in verifyMergedNetworkCapabilities() argument
1016 assertTrue(mergedCapabilities.hasTransport(transportType)); in verifyMergedNetworkCapabilities()
1159 int transportType, in checkGetUnderlyingNetworkPolicy() argument
1168 restrictedTransports.add(transportType); in checkGetUnderlyingNetworkPolicy()
1174 TEST_SUBSCRIPTION_ID, TEST_UUID_2, isActive, transportType); in checkGetUnderlyingNetworkPolicy()
1179 transportType, in checkGetUnderlyingNetworkPolicy() local

12