/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/apn/ |
D | ApnTypesTest.kt | 60 val apnType = options.toApnType() in toApnType_hasSelected() constant 62 assertThat(apnType).isEqualTo(APN_TYPE) in toApnType_hasSelected() 71 val apnType = options.toApnType() in toApnType_hasNotSelected() constant 73 assertThat(apnType).isEmpty() in toApnType_hasNotSelected() 78 val apnType = ApnTypes.getPreSelectedApnType(CustomizedConfig()) in getPreSelectedApnType_regular() constant 80 assertThat(apnType).isEqualTo("default,mms,supl,dun,hipri,fota,cbs,xcap") in getPreSelectedApnType_regular() 89 val apnType = ApnTypes.getPreSelectedApnType(customizedConfig) in getPreSelectedApnType_readOnlyApnTypes() constant 91 assertThat(apnType).isEqualTo("default,mms,supl,hipri,fota,cbs,xcap") in getPreSelectedApnType_readOnlyApnTypes()
|
D | ApnEditPageProviderTest.kt | 45 private val apnType = context.resources.getString(R.string.apn_type) constant in com.android.settings.network.apn.ApnEditPageProviderTest 55 apnType = apnType, 100 composeTestRule.onNode(hasScrollAction()).performScrollToNode(hasText(apnType, true)) in apnType_displayed() 101 composeTestRule.onNodeWithText(apnType, true).assertIsDisplayed() in apnType_displayed()
|
/packages/apps/Settings/src/com/android/settings/network/apn/ |
D | ApnTypes.kt | 54 private fun splitToList(apnType: String): List<String> { in splitToList() 55 val types = apnType.split(',').map { it.trim().toLowerCase(Locale.current) } in splitToList() 60 fun isApnTypeReadOnly(apnType: String, readOnlyTypes: List<String>): Boolean { in isApnTypeReadOnly() 61 val apnTypes = splitToList(apnType) in isApnTypeReadOnly() 67 fun getOptions(context: Context, apnType: String, readOnlyTypes: List<String>) = buildList { in <lambda>() 68 val apnTypes = splitToList(apnType) in <lambda>()
|
D | ApnStatus.kt | 45 val apnType: String = "", constant in com.android.settings.network.apn.ApnData 71 Telephony.Carriers.TYPE to apnType, in getContentValueMap() 133 apnType = getPreSelectedApnType(apnDataInit.customizedConfig) in getApnDataInit() 178 apnData.apnType.isEmpty() -> context.resources.getString(R.string.error_apn_type_empty) in validateApnData() 246 ApnTypes.isApnTypeReadOnly(apnType, customizedConfig.readOnlyApnTypes) in isReadOnly()
|
D | ApnTypeCheckBox.kt | 39 ApnTypes.getOptions(context, apnData.apnType, apnData.customizedConfig.readOnlyApnTypes) in ApnTypeCheckBox()
|
D | ApnRepository.kt | 86 apnType = cursor.getString(Telephony.Carriers.TYPE), in <lambda>()
|
D | ApnEditPageProvider.kt | 198 onTypeChanged = { apnData = apnData.copy(apnType = it) }, in ApnPage()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsUtils.java | 471 static int getNetCapabilityFromApnType(int apnType) { in getNetCapabilityFromApnType() argument 472 switch (apnType) { in getNetCapabilityFromApnType() 484 throw new IllegalArgumentException("Unsupported apnType: " + apnType); in getNetCapabilityFromApnType() 561 for (int apnType : apnTypes) { in getNetCapabilitiesFromApnTypeBitmask() 563 netCapabilities.add(getNetCapabilityFromApnType(apnType)); in getNetCapabilitiesFromApnTypeBitmask()
|
D | QualifiedNetworksServiceImpl.java | 259 int apnType = QnsUtils.getApnTypeFromNetCapability(info.getNetCapability()); in onQualifiedNetworksChanged() local 260 updateQualifiedNetworkTypes(apnType, info.getAccessNetworkTypes()); in onQualifiedNetworksChanged()
|
/packages/services/Iwlan/src/com/google/android/iwlan/proto/ |
D | MetricsAtom.java | 82 public void setApnType(int apnType) { in setApnType() argument 83 this.mApnType = apnType; in setApnType()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | QualifiedNetworksServiceImplTest.java | 248 private void buildThrottle(int slot, int apnType, long timer) { in buildThrottle() argument 253 .setApnType(apnType); in buildThrottle()
|
D | QnsUtilsTest.java | 1267 int apnType = QnsUtils.getApnTypeFromNetCapability(netCapability); in testTransitionBtwApnTypeAndNetCapability() local 1268 int netCapabilityFromApnType = QnsUtils.getNetCapabilityFromApnType(apnType); in testTransitionBtwApnTypeAndNetCapability() 1294 int apnType = QnsUtils.getApnTypeFromNetCapability(netCapability); in testTransitionBtwApnTypeNameAndNetCapabilityName() local 1295 String apnTypeName = ApnSetting.getApnTypeString(apnType); in testTransitionBtwApnTypeNameAndNetCapabilityName() 1296 int netCapabilityFromApnType = QnsUtils.getNetCapabilityFromApnType(apnType); in testTransitionBtwApnTypeNameAndNetCapabilityName()
|
D | DataConnectionStatusTrackerTest.java | 761 int accessNetwork, int apnType, int telephonyState, int currentRat) { in loadPrecisionDataConnectionStateWithApnSetting() argument 767 .setApnTypeBitmask(apnType) in loadPrecisionDataConnectionStateWithApnSetting()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | DataConnectionStateHelperTest.java | 357 int apnType, int state) { in getPreciseDataConnectionState() argument 364 .setApnTypeBitmask(apnType) in getPreciseDataConnectionState()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanDataService.java | 411 public boolean hasApnType(int apnType) { in hasApnType() argument 412 return (mApnTypeBitmask & apnType) != 0; in hasApnType() 1041 int apnType, in setMetricsAtom() argument 1048 metricsAtom.setApnType(apnType); in setMetricsAtom()
|
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/ |
D | EpdgSelectorTest.java | 1244 private void sendCarrierSignalPcoValue(int apnType, int pcoId, byte[] pcoData) { 1247 intent.putExtra(TelephonyManager.EXTRA_APN_TYPE, apnType);
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 2876 String apnType = parser.getAttributeValue(null, "type"); in getRow() local 2877 if (apnType != null) { in getRow() 2879 apnType = apnType.replaceAll("\\s+", ""); in getRow() 2880 map.put(TYPE, apnType); in getRow()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneInterfaceManager.java | 11013 public boolean isDataEnabledForApn(int apnType, int subId, String callingPackage) { in isDataEnabledForApn() argument 11029 .isMeteredCapability(DataUtils.apnTypeToNetworkCapability(apnType), in isDataEnabledForApn() 11032 ? phone.getDataSettingsManager().isDataEnabled(apnType) : false; in isDataEnabledForApn() 11040 public boolean isApnMetered(@ApnType int apnType, int subId) { in isApnMetered() argument 11052 DataUtils.apnTypeToNetworkCapability(apnType), in isApnMetered()
|