/packages/modules/Connectivity/framework-t/src/android/net/ |
D | NetworkIdentity.java | 107 int type, int ratType, @Nullable String subscriberId, @Nullable String wifiNetworkKey, in NetworkIdentity() argument 110 mRatType = ratType; in NetworkIdentity() 294 @NonNull NetworkStateSnapshot snapshot, boolean defaultNetwork, int ratType) { in buildNetworkIdentity() argument 298 if (snapshot.getLegacyType() == TYPE_MOBILE && ratType != NETWORK_TYPE_ALL) { in buildNetworkIdentity() 299 builder.setRatType(ratType); in buildNetworkIdentity() 464 public Builder setRatType(int ratType) { in setRatType() argument 465 if (!CollectionUtils.contains(TelephonyManager.getAllNetworkTypes(), ratType) in setRatType() 466 && ratType != TelephonyManager.NETWORK_TYPE_UNKNOWN in setRatType() 467 && ratType != NetworkStatsManager.NETWORK_TYPE_5G_NSA) { in setRatType() 468 throw new IllegalArgumentException("Invalid ratType " + ratType); in setRatType() [all …]
|
D | NetworkTemplate.java | 328 int ratType, int metered) { in buildTemplateMobileWithRatType() argument 335 .setRatType(ratType) in buildTemplateMobileWithRatType() 507 int defaultNetwork, int ratType, int oemManaged, int subscriberIdMatchRule) { in NetworkTemplate() argument 513 matchWifiNetworkKeys, metered, roaming, defaultNetwork, ratType, oemManaged); in NetworkTemplate() 520 int ratType, int oemManaged) { in NetworkTemplate() argument 529 mRatType = ratType; in NetworkTemplate() 1148 public Builder setRatType(int ratType) { in setRatType() argument 1150 mRatType = ratType; in setRatType()
|
D | NetworkIdentitySet.java | 69 final int ratType = in.readInt(); in NetworkIdentitySet() local 115 add(new NetworkIdentity(type, ratType, subscriberId, networkId, roaming, metered, in NetworkIdentitySet()
|
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/ |
D | PersistMmsAtomsStorageTest.java | 289 for (int ratType = 0; ratType < 5; ratType++) { in addIncomingMms_tooManyEntries() 291 mms = mms.toBuilder().setRat(ratType).setResult(resultType).build(); in addIncomingMms_tooManyEntries() 430 for (int ratType = 0; ratType < 5; ratType++) { in addOutgoingMms_tooManyEntries() 432 mms = mms.toBuilder().setRat(ratType).setResult(resultType).build(); in addOutgoingMms_tooManyEntries()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastServiceMetrics.java | 292 int ratType = msg.getMessageFormat() == MESSAGE_FORMAT_3GPP ? FILTER_GSM : FILTER_CDMA; in logMessageFiltered() local 294 Log.d(TAG, "logMessageFiltered : " + ratType + " " + filterType + " " in logMessageFiltered() 298 ratType, filterType, msg.getSerialNumber(), msg.getServiceCategory()); in logMessageFiltered()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsSubscriptionsMonitorTest.java | 203 private void assertRatTypeChangedForSub(String subscriberId, int ratType) { in assertRatTypeChangedForSub() argument 204 assertEquals(ratType, mMonitor.getRatTypeForSubscriberId(subscriberId)); in assertRatTypeChangedForSub() 210 assertEquals(ratType, type); in assertRatTypeChangedForSub() 213 private void assertRatTypeNotChangedForSub(String subscriberId, int ratType) { in assertRatTypeNotChangedForSub() argument 214 assertEquals(mMonitor.getRatTypeForSubscriberId(subscriberId), ratType); in assertRatTypeNotChangedForSub() local
|
D | NetworkStatsServiceTest.java | 1245 private void setMobileRatTypeAndWaitForIdle(int ratType) { in setMobileRatTypeAndWaitForIdle() argument 1246 doReturn(ratType).when(mNetworkStatsSubscriptionsMonitor) in setMobileRatTypeAndWaitForIdle()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiverMetrics.java | 560 int ratType = msg.getMessageFormat() == MESSAGE_FORMAT_3GPP ? FILTER_GSM : FILTER_CDMA; in logMessageFiltered() local 562 Log.d(TAG, "logMessageFiltered : " + ratType + " " + filterType + " " in logMessageFiltered() 566 ratType, filterType, msg.getSerialNumber(), msg.getServiceCategory()); in logMessageFiltered()
|
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/ |
D | DataStallDetectionStats.java | 101 data.ratType = DataStallEventProto.RADIO_TECHNOLOGY_UNKNOWN; in emptyCellDataIfNull() 289 data.ratType = radioType; in setCellData()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/ |
D | DataStallStatsUtilsTest.kt | 115 data.ratType = DataStallEventProto.RADIO_TECHNOLOGY_LTE in makeTestCellDataNano()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkTemplateTest.kt | 533 for (ratType in TelephonyManager.getAllNetworkTypes()) { in testNetworkTypeConstants() method 534 assertNotEquals(NETWORK_TYPE_ALL, ratType) in testNetworkTypeConstants() 535 assertNotEquals(NETWORK_TYPE_5G_NSA, ratType) in testNetworkTypeConstants()
|
D | NetworkIdentityTest.kt | 203 assertEquals(it.ratType, rat) in <lambda>()
|
/packages/modules/Connectivity/framework-t/src/android/app/usage/ |
D | NetworkStatsManager.java | 1233 public static int getCollapsedRatType(int ratType) { in getCollapsedRatType() argument 1234 switch (ratType) { in getCollapsedRatType()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsCarrierConfigManager.java | 2466 .anyMatch(ratType -> TextUtils.equals(ratType, ratName))) { in isAccessNetworkAllowed()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsService.java | 2373 final int ratType = combineSubtypeEnabled ? NetworkTemplate.NETWORK_TYPE_ALL 2376 isDefault, ratType);
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 2950 data.ratType = DataStallEventProto.RADIO_TECHNOLOGY_LTE; in makeTestCellDataNano()
|