Home
last modified time | relevance | path

Searched refs:ratType (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java107 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 …]
DNetworkTemplate.java328 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()
DNetworkIdentitySet.java69 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/
DPersistMmsAtomsStorageTest.java289 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/
DCellBroadcastServiceMetrics.java292 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/
DNetworkStatsSubscriptionsMonitorTest.java203 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
DNetworkStatsServiceTest.java1245 private void setMobileRatTypeAndWaitForIdle(int ratType) { in setMobileRatTypeAndWaitForIdle() argument
1246 doReturn(ratType).when(mNetworkStatsSubscriptionsMonitor) in setMobileRatTypeAndWaitForIdle()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiverMetrics.java560 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/
DDataStallDetectionStats.java101 data.ratType = DataStallEventProto.RADIO_TECHNOLOGY_UNKNOWN; in emptyCellDataIfNull()
289 data.ratType = radioType; in setCellData()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DDataStallStatsUtilsTest.kt115 data.ratType = DataStallEventProto.RADIO_TECHNOLOGY_LTE in makeTestCellDataNano()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkTemplateTest.kt533 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()
DNetworkIdentityTest.kt203 assertEquals(it.ratType, rat) in <lambda>()
/packages/modules/Connectivity/framework-t/src/android/app/usage/
DNetworkStatsManager.java1233 public static int getCollapsedRatType(int ratType) { in getCollapsedRatType() argument
1234 switch (ratType) { in getCollapsedRatType()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsCarrierConfigManager.java2466 .anyMatch(ratType -> TextUtils.equals(ratType, ratName))) { in isAccessNetworkAllowed()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsService.java2373 final int ratType = combineSubtypeEnabled ? NetworkTemplate.NETWORK_TYPE_ALL
2376 isDefault, ratType);
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java2950 data.ratType = DataStallEventProto.RADIO_TECHNOLOGY_LTE; in makeTestCellDataNano()