Home
last modified time | relevance | path

Searched refs:getApnSetting (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataProfileManager.java500 .filter(dp -> dp.getApnSetting() != null in getPreferredDataProfileFromDb()
501 && dp.getApnSetting().getId() == apnId) in getPreferredDataProfileFromDb()
520 .filter(dp -> dp.getApnSetting() != null && defaultPreferredApn.equals( in getPreferredDataProfileFromConfig()
521 dp.getApnSetting().getApnName())) in getPreferredDataProfileFromConfig()
542 if (dataProfile != null && dataProfile.getApnSetting() != null) { in setPreferredDataProfile()
546 values.put(Telephony.Carriers.APN_ID, dataProfile.getApnSetting().getId()); in setPreferredDataProfile()
719 if (Objects.equals(apnSetting, dataProfile.getApnSetting()) in getDataProfileForNetworkRequest()
769 && mPreferredDataProfile.getApnSetting() != null in getApnSettingForNetworkRequest()
770 && mPreferredDataProfile.getApnSetting().canSupportNetworkType(networkType) in getApnSettingForNetworkRequest()
771 && ((isNtn && mPreferredDataProfile.getApnSetting().isForInfrastructure( in getApnSettingForNetworkRequest()
[all …]
DDataRetryManager.java1182 if (dataProfile.getApnSetting() != null) {
1183 dataProfile.getApnSetting().setPermanentFailed(false);
1252 if (dataProfile.getApnSetting() != null) {
1253 dataProfile.getApnSetting().setPermanentFailed(true);
1258 log("Marked " + dataProfile.getApnSetting().getApnName() + " permanently "
1432 String apn = dataProfile.getApnSetting() != null
1433 ? dataProfile.getApnSetting().getApnName() : null;
1653 if (dataProfile.getApnSetting() != null) {
1655 .filter(entry -> entry.dataProfile.getApnSetting() != null)
1656 .filter(entry -> entry.dataProfile.getApnSetting().getApnName()
[all …]
DDataNetwork.java1103 if (mDataProfile.getApnSetting() != null) { in shouldSkip464Xlat()
1104 switch (mDataProfile.getApnSetting().getSkip464Xlat()) { in shouldSkip464Xlat()
1134 if (mDataProfile.getApnSetting() != null) { in createNetworkAgent()
1135 configBuilder.setLegacyExtraInfo(mDataProfile.getApnSetting().getApnName()); in createNetworkAgent()
1570 int apnTypeBitmask = mDataProfile.getApnSetting() != null
1571 ? mDataProfile.getApnSetting().getApnTypeBitmask() : ApnSetting.TYPE_NONE;
1649 if (mDataProfile.getApnSetting() != null) {
1650 apnTypeBitmask = mDataProfile.getApnSetting().getApnTypeBitmask();
1651 protocol = mDataProfile.getApnSetting().getProtocol();
2327 ApnSetting apnSetting = mDataProfile.getApnSetting();
[all …]
DTelephonyNetworkRequest.java313 && dataProfile.getApnSetting() != null) { in canBeSatisfiedBy()
322 if (!dataProfile.getApnSetting().isForInfrastructure( in canBeSatisfiedBy()
333 if (!dataProfile.getApnSetting().isForInfrastructure( in canBeSatisfiedBy()
356 return apnTypes.stream().allMatch(dataProfile.getApnSetting()::canHandleType); in canBeSatisfiedBy()
DDataNetworkController.java2057 if (dataProfile.getApnSetting() != null) { in evaluateDataNetwork()
2066 && !dataProfile.getApnSetting().canSupportLingeringNetworkType(networkType)) { in evaluateDataNetwork()
2070 dataProfile.getApnSetting().getNetworkTypeBitmask()) in evaluateDataNetwork()
2073 dataProfile.getApnSetting().getLingeringNetworkTypeBitmask())); in evaluateDataNetwork()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataProfileManagerTest.java896 assertThat(dp.getApnSetting().getApnName()).isEqualTo(GENERAL_PURPOSE_APN); in testGetDataProfileForNetworkRequest()
907 assertThat(dp.getApnSetting().getApnName()).isEqualTo(GENERAL_PURPOSE_APN); in testGetDataProfileForNetworkRequest()
916 assertThat(dp.getApnSetting().getApnName()).isEqualTo(IMS_APN); in testGetDataProfileForNetworkRequest()
938 assertThat(dp.getApnSetting().getApnName()).isEqualTo(TETHERING_APN); in testGetDataProfileForNetworkRequest()
961 assertThat(dataProfile.getApnSetting().getApnName()).isEqualTo(GENERAL_PURPOSE_APN); in testGetDataProfileForNetworkRequestRotation()
968 assertThat(dataProfile.getApnSetting().getApnName()).isEqualTo(GENERAL_PURPOSE_APN1); in testGetDataProfileForNetworkRequestRotation()
979 assertThat(dataProfile.getApnSetting()).isNull(); in testGetDataProfileForEnterpriseNetworkRequest()
992 assertThat(dataProfile.getApnSetting()).isNull(); in testGetDataProfileForEnterpriseNetworkRequest()
1008 assertThat(dataProfile.getApnSetting()).isNull(); in testGetDataProfileForUrllcNetworkRequest()
1024 assertThat(dataProfile.getApnSetting()).isNull(); in testGetDataProfileForEmbbNetworkRequest()
[all …]
DDataRetryManagerTest.java369 mDataProfile3.getApnSetting().setPermanentFailed(true); in testDataSetupUnthrottling()
389 assertThat(mDataProfile3.getApnSetting().getPermanentFailed()).isFalse(); in testDataSetupUnthrottling()
571 assertThat(mDataProfile1.getApnSetting().getPermanentFailed()).isTrue(); in testDataSetupRetryPermanentFailure()
577 assertThat(mDataProfile1.getApnSetting().getPermanentFailed()).isFalse(); in testDataSetupRetryPermanentFailure()
DDataNetworkTest.java527 assertThat(pdcsList.get(0).getApnSetting()).isEqualTo(mInternetApnSetting); in testCreateDataNetwork()
536 assertThat(pdcsList.get(1).getApnSetting()).isEqualTo(mInternetApnSetting); in testCreateDataNetwork()
748 assertThat(pdcsList.get(0).getApnSetting()).isEqualTo(mImsApnSetting); in testCreateImsDataNetwork()
756 assertThat(pdcsList.get(1).getApnSetting()).isEqualTo(mImsApnSetting); in testCreateImsDataNetwork()
964 assertThat(pdcsList.get(2).getApnSetting()).isEqualTo(mInternetApnSetting); in testTearDown()
971 assertThat(pdcsList.get(3).getApnSetting()).isEqualTo(mInternetApnSetting); in testTearDown()
1034 assertThat(pdcsList.get(0).getApnSetting()).isEqualTo(mImsApnSetting); in testCreateDataNetworkOnIwlan()
1042 assertThat(pdcsList.get(1).getApnSetting()).isEqualTo(mImsApnSetting); in testCreateDataNetworkOnIwlan()
1077 assertThat(pdcsList.get(2).getApnSetting()).isEqualTo(mImsApnSetting); in testTearDownIwlan()
1084 assertThat(pdcsList.get(3).getApnSetting()).isEqualTo(mImsApnSetting); in testTearDownIwlan()
[all …]
DDataNetworkControllerTest.java1003 if (dp.getApnSetting() == null) return true; in setUp()
1006 if (dataProfile.getApnSetting() != null in setUp()
1007 && dataProfile.getApnSetting().equals(dp.getApnSetting(), false)) { in setUp()
1019 && a.getApnSetting() != null in setUp()
1020 && a.getApnSetting().equals(b.getApnSetting(), in setUp()
1034 ApnSetting apnSetting = dataProfile.getApnSetting(); in setUp()
1338 if (dp.getApnSetting() == null) return true; in testSetupDataNetworkWithSimilarDataProfile()
1341 if (dataProfile.getApnSetting() != null in testSetupDataNetworkWithSimilarDataProfile()
1342 && dataProfile.getApnSetting().equals(dp.getApnSetting(), false)) { in testSetupDataNetworkWithSimilarDataProfile()
1355 && (dataProfile.getApnSetting().getNetworkTypeBitmask() == 0 in testSetupDataNetworkWithSimilarDataProfile()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDataConnectionStateTracker.java156 List<Integer> apnTypes = connectionState.getApnSetting().getApnTypes(); in notifyDataConnectionStateChanged()
DVoiceCallSessionStats.java1061 ApnSetting apnSetting = connectionState.getApnSetting(); in updateVoiceCallSessionBearerState()
/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java340 public @Nullable ApnSetting getApnSetting() { in getApnSetting() method in PreciseDataConnectionState
/frameworks/base/telephony/java/android/telephony/data/
DDataProfile.java351 public @Nullable ApnSetting getApnSetting() { in getApnSetting() method in DataProfile
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioDataProxy.java321 .setApnSetting(dataProfileInfo.getApnSetting()) in setupDataCall()
DRILUtils.java1000 if (dp.getApnSetting() != null) { in convertToHalDataProfile()
1001 dpi.alwaysOn = dp.getApnSetting().isAlwaysOn(); in convertToHalDataProfile()
1002 dpi.infrastructureBitmap = dp.getApnSetting().getInfrastructureBitmask(); in convertToHalDataProfile()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2209 if (validatePhoneId(phoneId) && preciseState.getApnSetting() != null) { in notifyDataConnectionForSubscriber()
2211 preciseState.getApnSetting()); in notifyDataConnectionForSubscriber()
2250 && preciseState.getApnSetting().getApnTypes() in notifyDataConnectionForSubscriber()
3906 intent.putExtra(PHONE_CONSTANTS_DATA_APN_KEY, pdcs.getApnSetting().getApnName()); in broadcastDataConnectionStateChanged()
3908 getApnTypesStringFromBitmask(pdcs.getApnSetting().getApnTypeBitmask())); in broadcastDataConnectionStateChanged()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java19866 ApnSetting apn = getApnSetting(apnId);
19895 ApnSetting apn = getApnSetting(apnId);
19915 private ApnSetting getApnSetting(int apnId) {
/frameworks/base/core/api/
Dsystem-current.txt15822 method @Nullable public android.telephony.data.ApnSetting getApnSetting();
Dcurrent.txt45383 method @Nullable public android.telephony.data.ApnSetting getApnSetting();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...