Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/adb/
DAdbService.java129 public boolean isAdbEnabled(byte transportType) { in isAdbEnabled() argument
130 if (transportType == AdbTransportType.USB) { in isAdbEnabled()
132 } else if (transportType == AdbTransportType.WIFI) { in isAdbEnabled()
136 "isAdbEnabled called with unimplemented transport type=" + transportType); in isAdbEnabled()
150 public void startAdbdForTransport(byte transportType) { in startAdbdForTransport() argument
152 AdbService::setAdbdEnabledForTransport, AdbService.this, true, transportType)); in startAdbdForTransport()
156 public void stopAdbdForTransport(byte transportType) { in stopAdbdForTransport() argument
158 AdbService::setAdbdEnabledForTransport, AdbService.this, false, transportType)); in stopAdbdForTransport()
448 private void setAdbdEnabledForTransport(boolean enable, byte transportType) { in setAdbdEnabledForTransport() argument
449 if (transportType == AdbTransportType.USB) { in setAdbdEnabledForTransport()
[all …]
DAdbDebuggingManager.java439 byte transportType = buffer[2]; in listenToSocket()
441 if (transportType == AdbTransportType.USB) { in listenToSocket()
447 } else if (transportType == AdbTransportType.WIFI) { in listenToSocket()
454 Slog.e(TAG, "Got unknown transport type from adbd (" + transportType in listenToSocket()
458 byte transportType = buffer[2]; in listenToSocket()
460 if (transportType == AdbTransportType.USB) { in listenToSocket()
466 } else if (transportType == AdbTransportType.WIFI) { in listenToSocket()
473 Slog.e(TAG, "Got unknown transport type from adbd (" + transportType in listenToSocket()
1615 public void setAdbEnabled(boolean enabled, byte transportType) { in setAdbEnabled() argument
1616 if (transportType == AdbTransportType.USB) { in setAdbEnabled()
[all …]
/frameworks/base/core/java/android/debug/
DAdbManagerInternal.java45 public abstract boolean isAdbEnabled(byte transportType); in isAdbEnabled() argument
60 public abstract void startAdbdForTransport(byte transportType); in startAdbdForTransport() argument
65 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.java220 final int transportType = AccessNetworkConstants.TRANSPORT_TYPE_WWAN; in createRegistrationStateFromVoiceRegState() local
226 transportType, in createRegistrationStateFromVoiceRegState()
233 transportType, in createRegistrationStateFromVoiceRegState()
251 return new NetworkRegistrationInfo(domain, transportType, regState, in createRegistrationStateFromVoiceRegState()
271 return new NetworkRegistrationInfo(domain, transportType, regState, in createRegistrationStateFromVoiceRegState()
282 final int transportType = AccessNetworkConstants.TRANSPORT_TYPE_WWAN; in createRegistrationStateFromDataRegState() local
301 transportType, in createRegistrationStateFromDataRegState()
308 transportType, in createRegistrationStateFromDataRegState()
366 return new NetworkRegistrationInfo(domain, transportType, regState, networkType, in createRegistrationStateFromDataRegState()
373 int domain, int transportType, in getNetworkRegistrationInfo() argument
[all …]
DNetworkRegistrationManager.java91 public NetworkRegistrationManager(@TransportType int transportType, Phone phone) { in NetworkRegistrationManager() argument
92 mTransportType = transportType; in NetworkRegistrationManager()
95 String tagSuffix = "-" + ((transportType == AccessNetworkConstants.TRANSPORT_TYPE_WWAN) in NetworkRegistrationManager()
DPhone.java3556 for (int transportType : mTransportManager.getAvailableTransports()) { in getActiveApnTypes()
3557 DcTracker dct = getDcTracker(transportType); in getActiveApnTypes()
3675 int transportType = mTransportManager.getCurrentTransport( in getActiveApnHost() local
3677 if (getDcTracker(transportType) != null) { in getActiveApnHost()
3678 return getDcTracker(transportType).getActiveApnString(apnType); in getActiveApnHost()
3704 int transportType = mTransportManager.getCurrentTransport( in getNetworkCapabilities() local
3706 if (getDcTracker(transportType) != null) { in getNetworkCapabilities()
3707 return getDcTracker(transportType).getNetworkCapabilities(apnType); in getNetworkCapabilities()
3931 int transportType = mTransportManager.getCurrentTransport( in getPcscfAddress() local
3933 if (getDcTracker(transportType) != null) { in getPcscfAddress()
[all …]
DTelephonyComponentFactory.java310 public DcTracker makeDcTracker(Phone phone, @TransportType int transportType) {
311 return new DcTracker(phone, transportType);
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionTest.java102 int transportType, boolean isMobileDataEnabled) { in verifyBuildNetworkCapabilitiesCommon() argument
104 capBuilder.addTransportType(transportType); in verifyBuildNetworkCapabilitiesCommon()
109 if (transportType == TRANSPORT_WIFI) { in verifyBuildNetworkCapabilitiesCommon()
112 } else if (transportType == TRANSPORT_CELLULAR) { in verifyBuildNetworkCapabilitiesCommon()
146 if (transportType == TRANSPORT_WIFI) { in verifyBuildNetworkCapabilitiesCommon()
148 } else if (transportType == TRANSPORT_CELLULAR) { in verifyBuildNetworkCapabilitiesCommon()
/frameworks/base/telephony/java/android/telephony/data/
DThrottleStatus.java156 @AccessNetworkConstants.TransportType int transportType, in ThrottleStatus() argument
162 mTransportType = transportType; in ThrottleStatus()
297 int transportType) { in setTransportType()
298 this.mTransportType = transportType; in setTransportType()
/frameworks/base/telephony/java/android/telephony/
DNetworkRegistrationInfo.java246 private NetworkRegistrationInfo(@Domain int domain, @TransportType int transportType, in NetworkRegistrationInfo() argument
253 mTransportType = transportType; in NetworkRegistrationInfo()
271 public NetworkRegistrationInfo(int domain, @TransportType int transportType, in NetworkRegistrationInfo() argument
278 this(domain, transportType, registrationState, accessNetworkTechnology, rejectCause, in NetworkRegistrationInfo()
289 public NetworkRegistrationInfo(int domain, @TransportType int transportType, in NetworkRegistrationInfo() argument
297 this(domain, transportType, registrationState, accessNetworkTechnology, rejectCause, in NetworkRegistrationInfo()
831 public @NonNull Builder setTransportType(@TransportType int transportType) { in setTransportType() argument
832 mTransportType = transportType; in setTransportType()
DPreciseDataConnectionState.java105 private PreciseDataConnectionState(@TransportType int transportType, int id, in PreciseDataConnectionState() argument
109 mTransportType = transportType; in PreciseDataConnectionState()
371 public @NonNull Builder setTransportType(@TransportType int transportType) { in setTransportType() argument
372 mTransportType = transportType; in setTransportType()
DServiceState.java1947 @TransportType int transportType) { in getNetworkRegistrationInfoListForTransportType()
1952 if (networkRegistrationInfo.getTransportType() == transportType) { in getNetworkRegistrationInfoListForTransportType()
1998 @TransportType int transportType) { in getNetworkRegistrationInfo() argument
2001 if (networkRegistrationInfo.getTransportType() == transportType in getNetworkRegistrationInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataServiceManager.java187 for (int transportType : mPhone.getTransportManager().getAvailableTransports()) { in revokePermissionsFromUnusedDataServices()
188 dataServices.remove(getDataServicePackageName(transportType)); in revokePermissionsFromUnusedDataServices()
349 public DataServiceManager(Phone phone, @TransportType int transportType, String tagSuffix) { in DataServiceManager() argument
352 mTransportType = transportType; in DataServiceManager()
518 private String getDataServicePackageName(@TransportType int transportType) { in getDataServicePackageName() argument
523 switch (transportType) { in getDataServicePackageName()
568 private String getDataServiceClassName(int transportType) { in getDataServiceClassName() argument
572 switch (transportType) { in getDataServiceClassName()
585 + transportType); in getDataServiceClassName()
DDcNetworkAgent.java104 NetworkProvider networkProvider, int transportType) { in DcNetworkAgent() argument
113 mTransportType = transportType; in DcNetworkAgent()
169 @TransportType int transportType) { in acquireOwnership() argument
171 mTransportType = transportType; in acquireOwnership()
DDataThrottler.java97 public DataThrottler(Phone phone, int transportType) { in DataThrottler() argument
101 mTransportType = transportType; in DataThrottler()
DTelephonyNetworkFactory.java274 int transportType = getTransportTypeFromNetworkRequest(networkRequest); in onActivePhoneSwitch() local
284 shouldApply ? transportType : AccessNetworkConstants.TRANSPORT_TYPE_INVALID); in onActivePhoneSwitch()
/frameworks/base/telephony/java/android/telephony/ims/
DImsRegistrationAttributes.java141 @AccessNetworkConstants.TransportType int transportType, in ImsRegistrationAttributes() argument
145 mTransportType = transportType; in ImsRegistrationAttributes()
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/core/java/android/net/
DINetworkManagementEventObserver.aidl95 … void interfaceClassDataActivityChanged(int transportType, boolean active, long tsNanos, int uid); in interfaceClassDataActivityChanged() argument
/frameworks/base/core/java/com/android/server/net/
DBaseNetworkObserver.java67 public void interfaceClassDataActivityChanged(int transportType, boolean active, long tsNanos, in interfaceClassDataActivityChanged() argument
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DDeviceCapabilityListener.java476 public void onRegistered(@TransportType int transportType) {
478 String type = AccessNetworkConstants.transportTypeToString(transportType);
481 handleImsMmtelRegistered(transportType);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java1045 for (int transportType : mLastDefaultNetworkCapabilities.getTransportTypes()) { in updateConnectivity()
1046 if (transportType != NetworkCapabilities.TRANSPORT_CELLULAR in updateConnectivity()
1047 && transportType != NetworkCapabilities.TRANSPORT_WIFI in updateConnectivity()
1048 && transportType != NetworkCapabilities.TRANSPORT_ETHERNET) { in updateConnectivity()
1051 if (transportType == NetworkCapabilities.TRANSPORT_CELLULAR in updateConnectivity()
1058 mConnectedTransports.set(transportType); in updateConnectivity()
1060 mValidatedTransports.set(transportType); in updateConnectivity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DImsStats.java344 private int convertTransportTypeToNetworkType(@TransportType int transportType) { in convertTransportTypeToNetworkType() argument
345 switch (transportType) { in convertTransportTypeToNetworkType()

12