/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | RestrictManager.java | 201 int transportType; in handleMessage() local 234 transportType = message.arg1; in handleMessage() 239 + QnsConstants.transportTypeToString(transportType) in handleMessage() 244 .get(transportType) in handleMessage() 247 releaseRestriction(transportType, restriction.mRestrictType); in handleMessage() 581 int transportType = getPreferredTransportType(); in restrictNonPreferredTransport() local 584 transportType); in restrictNonPreferredTransport() 586 int preventTransportType = QnsUtils.getOtherTransportType(transportType); in restrictNonPreferredTransport() 603 private void checkIfCancelNonPreferredRestriction(int transportType) { in checkIfCancelNonPreferredRestriction() argument 605 releaseRestriction(transportType, RESTRICT_TYPE_NON_PREFERRED_TRANSPORT); in checkIfCancelNonPreferredRestriction() [all …]
|
D | DataConnectionStatusTracker.java | 141 ApnSetting getLastApnSetting(int transportType) { in getLastApnSetting() argument 143 return mLastApnSettings.get(transportType); in getLastApnSetting() 166 int transportType = status.getTransportType(); in onDataConnectionStateChanged() local 171 + QnsConstants.transportTypeToString(transportType) in onDataConnectionStateChanged() 190 notifyDataConnectionFailed(transportType); in onDataConnectionStateChanged() 200 + QnsConstants.transportTypeToString(transportType)); in onDataConnectionStateChanged() 201 notifyDataConnectionStarted(transportType); in onDataConnectionStateChanged() 208 mTransportType = transportType; in onDataConnectionStateChanged() 213 } else if (mState == STATE_HANDOVER && mTransportType != transportType) { in onDataConnectionStateChanged() 215 mTransportType = transportType; in onDataConnectionStateChanged() [all …]
|
D | QnsCallStatusTracker.java | 127 int transportType; in handleMessage() local 307 void updateForHandover(int transportType) { in updateForHandover() argument 312 EVENT_PACKET_LOSS_TIMER_EXPIRED, transportType, 0); in updateForHandover() 330 private void onPacketLossTimerExpired(int transportType) { in onPacketLossTimerExpired() argument 331 if (mTransportType != transportType) { in onPacketLossTimerExpired() 367 TransportQuality(int transportType) { in TransportQuality() argument 368 mTransportType = transportType; in TransportQuality() 424 int transportType = state.getTransportType(); in onDataConnectionStatusChanged() local 425 if (transportType == AccessNetworkConstants.TRANSPORT_TYPE_INVALID) { in onDataConnectionStatusChanged() 431 + QnsConstants.transportTypeToString(transportType)); in onDataConnectionStatusChanged() [all …]
|
D | AccessNetworkEvaluator.java | 723 @AccessNetworkConstants.TransportType int transportType) { in enforceNotifyQualifiedNetworksWithTransportType() 725 if (transportType == AccessNetworkConstants.TRANSPORT_TYPE_WLAN) { in enforceNotifyQualifiedNetworksWithTransportType() 800 private void onDataConnectionConnected(int transportType) { in onDataConnectionConnected() argument 803 log("onDataConnectionConnected :" + QnsConstants.transportTypeToString(transportType)); in onDataConnectionConnected() 805 if (transportType == AccessNetworkConstants.TRANSPORT_TYPE_INVALID) { in onDataConnectionConnected() 810 transportType == AccessNetworkConstants.TRANSPORT_TYPE_WLAN in onDataConnectionConnected() 922 int transportType = imsRegEvent.getTransportType(); in onImsRegStateChanged() local 928 + QnsConstants.transportTypeToString(transportType) in onImsRegStateChanged() 1077 private boolean isAllowed(int transportType) { in isAllowed() argument 1080 .append(QnsConstants.transportTypeToString(transportType)); in isAllowed() [all …]
|
D | QnsImsManager.java | 696 int transportType = attribute.getTransportType(); in onRegistered() local 697 log("on IMS registered on :" + QnsConstants.transportTypeToString(transportType)); in onRegistered() 700 QnsConstants.IMS_REGISTRATION_CHANGED_REGISTERED, transportType, null); in onRegistered() 706 public void onTechnologyChangeFailed(int transportType, ImsReasonInfo reason) { in onTechnologyChangeFailed() argument 709 + QnsConstants.transportTypeToString(transportType) in onTechnologyChangeFailed() 715 transportType, in onTechnologyChangeFailed() 772 ImsRegistrationState(int event, int transportType, ImsReasonInfo reason) { in ImsRegistrationState() argument 774 mTransportType = transportType; in ImsRegistrationState() 827 boolean isImsRegistered(int transportType) { in isImsRegistered() argument 833 && state.getTransportType() == transportType in isImsRegistered() [all …]
|
D | QualifiedNetworksServiceImpl.java | 223 int transportType = mConfigManager.getQnsSupportedTransportType(netCapability); in onConfigurationLoaded() local 224 if (transportType < 0 in onConfigurationLoaded() 225 || transportType == QnsConstants.TRANSPORT_TYPE_ALLOWED_WWAN) { in onConfigurationLoaded() 289 @AccessNetworkConstants.TransportType int transportType) { in reportEmergencyDataNetworkPreferredTransportChanged() 291 + QnsConstants.transportTypeToString(transportType)); in reportEmergencyDataNetworkPreferredTransportChanged() 295 evaluator.onEmergencyPreferredTransportTypeChanged(transportType); in reportEmergencyDataNetworkPreferredTransportChanged()
|
D | QnsConstants.java | 358 static String transportTypeToString(int transportType) { in transportTypeToString() argument 359 switch (transportType) { in transportTypeToString() 367 return Integer.toString(transportType); in transportTypeToString()
|
D | QnsTelephonyListener.java | 819 private String getKey(int subId, int transportType, int netCapability) { in getKey() argument 820 return subId + "_" + transportType + "_" + netCapability; in getKey() 823 void put(int subId, int transportType, int netCapability, V v) { in put() argument 824 mArchiving.put(getKey(subId, transportType, netCapability), v); in put() 827 V get(int subId, int transportType, int netCapability) { in get() argument 828 return mArchiving.get(getKey(subId, transportType, netCapability)); in get()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 123 private String getTransportName(final int transportType) { in getTransportName() argument 126 return networkTypes[transportType]; in getTransportName() 132 private static int getIcon(int transportType) { in getIcon() argument 133 return (transportType == TRANSPORT_WIFI) in getIcon() 164 final int transportType; in showNotification() local 167 transportType = approximateTransportType(nai); in showNotification() 183 transportType = TRANSPORT_CELLULAR; in showNotification() 202 tag, nameOf(eventId), getTransportName(transportType), name, highPriority)); in showNotification() 214 mResources.getResourcesContext(), getIcon(transportType)); in showNotification() 221 && transportType == TRANSPORT_WIFI) { in showNotification() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/ |
D | DiscoveryInfo.java | 24 TransportType transportType, in DiscoveryInfo() argument 28 this.transportType = transportType; in DiscoveryInfo() 39 public final TransportType transportType; field in DiscoveryInfo
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | QnsConstantsTest.java | 165 String transportType; in testTransportTypeToString() local 166 transportType = in testTransportTypeToString() 168 Assert.assertEquals("INVALID", transportType); in testTransportTypeToString() 169 transportType = in testTransportTypeToString() 171 Assert.assertEquals("WLAN", transportType); in testTransportTypeToString() 172 transportType = in testTransportTypeToString() 174 Assert.assertEquals("WWAN", transportType); in testTransportTypeToString() 175 transportType = QnsConstants.transportTypeToString(0); in testTransportTypeToString() 176 Assert.assertEquals("0", transportType); in testTransportTypeToString()
|
D | RestrictManagerTest.java | 1431 private void triggerMmTelCallback_onRegistered(QnsImsManager qnsImsMgr, int transportType) { in triggerMmTelCallback_onRegistered() argument 1436 if (transportType == AccessNetworkConstants.TRANSPORT_TYPE_WLAN) { in triggerMmTelCallback_onRegistered() 1462 QnsImsManager qnsImsMgr, int transportType, ImsReasonInfo reason) { in triggerMmTelCallback_onTechnologyChangeFailed() argument 1465 mmtelImsRegistrationCallback.onTechnologyChangeFailed(transportType, reason); in triggerMmTelCallback_onTechnologyChangeFailed() 1941 @AccessNetworkConstants.TransportType int transportType, in validateEnablePdnFallbackOnRetryTimerOverTransportType() 1943 assertFalse(mRestrictManager.hasRestrictionType(transportType, restrictType)); in validateEnablePdnFallbackOnRetryTimerOverTransportType() 1944 setConnectionStartedToConnectionFailedState(transportType); in validateEnablePdnFallbackOnRetryTimerOverTransportType() 1945 assertFalse(mRestrictManager.hasRestrictionType(transportType, restrictType)); in validateEnablePdnFallbackOnRetryTimerOverTransportType() 1947 setConnectionStartedToConnectionFailedState(transportType); in validateEnablePdnFallbackOnRetryTimerOverTransportType() 1948 assertFalse(mRestrictManager.hasRestrictionType(transportType, restrictType)); in validateEnablePdnFallbackOnRetryTimerOverTransportType() [all …]
|
D | DataConnectionStatusTrackerTest.java | 811 private void validateDataConnectionLastTransportType(int transportType) { in validateDataConnectionLastTransportType() argument 812 Assert.assertEquals(transportType, mDataConnectionStatusTracker.getLastTransportType()); in validateDataConnectionLastTransportType() 819 private void validateDataConnectionChangedInfo(int state, int transportType, int event) { in validateDataConnectionChangedInfo() argument 822 Assert.assertEquals(transportType, mDcStatus.getTransportType()); in validateDataConnectionChangedInfo() 826 private void validateApnSettingForNull(int transportType) { in validateApnSettingForNull() argument 827 ApnSetting apnSetting = mDataConnectionStatusTracker.getLastApnSetting(transportType); in validateApnSettingForNull() 831 private void validateApnSetting(int transportType) { in validateApnSetting() argument 832 ApnSetting apnSetting = mDataConnectionStatusTracker.getLastApnSetting(transportType); in validateApnSetting()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkCapabilities.java | 1395 public static boolean isValidTransport(@Transport int transportType) { in isValidTransport() argument 1396 return (MIN_TRANSPORT <= transportType) && (transportType <= MAX_TRANSPORT); in isValidTransport() 1436 public @NonNull NetworkCapabilities addTransportType(@Transport int transportType) { in addTransportType() argument 1437 checkValidTransportType(transportType); in addTransportType() 1438 mTransportTypes |= 1 << transportType; in addTransportType() 1450 public @NonNull NetworkCapabilities removeTransportType(@Transport int transportType) { in removeTransportType() argument 1451 checkValidTransportType(transportType); in removeTransportType() 1452 mTransportTypes &= ~(1 << transportType); in removeTransportType() 1463 public @NonNull NetworkCapabilities setTransportType(@Transport int transportType, in setTransportType() argument 1466 addTransportType(transportType); in setTransportType() [all …]
|
D | NetworkRequest.java | 469 public Builder addTransportType(@NetworkCapabilities.Transport int transportType) { in addTransportType() argument 470 mNetworkCapabilities.addTransportType(transportType); in addTransportType() 480 public Builder removeTransportType(@NetworkCapabilities.Transport int transportType) { in removeTransportType() argument 481 mNetworkCapabilities.removeTransportType(transportType); in removeTransportType() 754 public boolean hasTransport(@Transport int transportType) { in hasTransport() argument 755 return networkCapabilities.hasTransport(transportType); in hasTransport()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ims/ |
D | ImsMmTelRepository.kt | 52 @AccessNetworkConstants.TransportType transportType: Int, in <lambda>() 133 @AccessNetworkConstants.TransportType transportType: Int, in isSupported() 135 val logName = "isSupported(capability=$capability,transportType=$transportType)" in isSupported() 140 transportType, in isSupported()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/ |
D | EthernetNetworkFactoryTest.java | 186 private NetworkCapabilities.Builder createInterfaceCapsBuilder(final int transportType) { in createInterfaceCapsBuilder() argument 188 .addTransportType(transportType) in createInterfaceCapsBuilder() 231 @NonNull final String iface, final int transportType) { in createInterfaceUndergoingProvisioning() argument 234 createInterfaceCapsBuilder(transportType).build()); in createInterfaceUndergoingProvisioning() 257 private void createVerifyAndRemoveProvisionedInterface(final int transportType, in createVerifyAndRemoveProvisionedInterface() argument 259 createAndVerifyProvisionedInterface(TEST_IFACE, transportType, in createVerifyAndRemoveProvisionedInterface() 265 @NonNull final String iface, final int transportType, final int expectedLegacyType) in createAndVerifyProvisionedInterface() argument 267 createInterfaceUndergoingProvisioning(iface, transportType); in createAndVerifyProvisionedInterface()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeConnectionControllerTest.java | 652 int transportType, in verifyIsIpV4Preferred() argument 665 doReturn(true).when(mockNc).hasTransport(transportType); in verifyIsIpV4Preferred() 683 boolean isAutoSelectionEnabled, int transportType, boolean expected) throws Exception { in verifyIsIpV4Preferred() argument 685 isAutoSelectionEnabled, transportType, ESP_IP_VERSION_AUTO, null, expected); in verifyIsIpV4Preferred() 709 int transportType, int originalIpVersion, int updatedIpVersion, boolean expected) in verifyIsIpV4Preferred() argument 713 transportType, in verifyIsIpV4Preferred() 776 int transportType, in verifyUsedIpVersion() argument 786 doReturn(true).when(mockNc).hasTransport(transportType); in verifyUsedIpVersion() 832 private void verifyUsedIpVersion_withAutoSelect(int transportType, boolean hasV4, int expect) in verifyUsedIpVersion_withAutoSelect() argument 837 transportType, in verifyUsedIpVersion_withAutoSelect() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ |
D | TransportProviderFactory.java | 50 switch (discoveryInfo.transportType) { in createServer() 77 switch (discoveryInfo.transportType) { in createClient()
|
D | DiscoveryProviderFactory.java | 53 switch (discoveryInfo.transportType) { in createScanner() 82 switch (discoveryInfo.transportType) { in createAdvertiser()
|
/packages/apps/Settings/src/com/android/settings/network/ims/ |
D | ImsQueryController.java | 53 @AccessNetworkConstants.TransportType int transportType) { in ImsQueryController() argument 56 mTransportType = transportType; in ImsQueryController()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/metrics/ |
D | ProvisioningAttempt.java | 186 int transportType = getTransportTypeForActiveNetwork(); in close() local 192 transportType, getIntStatus(), mHttpStatusError); in close() 195 mLockWaitTimer.getElapsedMillis(), mTotalTimer.getElapsedMillis(), transportType, in close()
|
/packages/services/Iwlan/src/com/google/android/iwlan/proto/ |
D | MetricsAtom.java | 81 public void setTransportType(int transportType) { in setTransportType() argument 82 this.mTransportType = transportType; in setTransportType()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | InternetPreferenceRepository.kt | 77 for (transportType in transportTypes) { in <lambda>() constant 78 when (transportType) { in <lambda>()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | AccessibilitySettingsFragment.java | 258 Integer transportType = result.poll(WFC_QUERY_TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in isOnWfc() local 259 return transportType != null in isOnWfc() 260 && transportType == AccessNetworkConstants.TRANSPORT_TYPE_WLAN; in isOnWfc()
|