Home
last modified time | relevance | path

Searched refs:apnSetting (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java108 @Nullable ApnSetting apnSetting) { in PreciseDataConnectionState() argument
115 mApnSetting = apnSetting; in PreciseDataConnectionState()
438 public @NonNull Builder setApnSetting(@NonNull ApnSetting apnSetting) { in setApnSetting() argument
439 mApnSetting = apnSetting; in setApnSetting()
DTelephonyManager.java13832 @NonNull ApnSetting apnSetting) { in addDevicePolicyOverrideApn() argument
13833 Uri resultUri = context.getContentResolver().insert(DPC_URI, apnSetting.toContentValues()); in addDevicePolicyOverrideApn()
13862 @NonNull ApnSetting apnSetting) { in modifyDevicePolicyOverrideApn() argument
13865 apnSetting.toContentValues(), null, null) > 0; in modifyDevicePolicyOverrideApn()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java1229 ApnSetting apnSetting = dc.getApnSetting(); in getState() local
1230 if (apnSetting != null && apnSetting.canHandleType(apnTypeBitmask)) { in getState()
1780 ApnSetting apnSetting = apnContext.getApnSetting(); in shouldCleanUpConnection()
1781 if (apnSetting != null && singlePdn) return true; in shouldCleanUpConnection()
1787 if (apnSetting == null || !ApnSettingUtils.isMetered(apnSetting, mPhone)) return false; in shouldCleanUpConnection()
1792 apnSetting.getApnTypeBitmask()); in shouldCleanUpConnection()
2142 ApnSetting apnSetting; in setupData() local
2145 apnSetting = apnContext.getNextApnSetting(); in setupData()
2147 if (apnSetting == null) { in setupData()
2154 if (apnSetting.isPersistent()) { in setupData()
[all …]
DApnContext.java216 public synchronized void setApnSetting(ApnSetting apnSetting) { in setApnSetting() argument
217 log("setApnSetting: apnSetting=" + apnSetting); in setApnSetting()
218 mApnSetting = apnSetting; in setApnSetting()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl455 int addOverrideApn(in ComponentName admin, in ApnSetting apnSetting); in addOverrideApn() argument
456 boolean updateOverrideApn(in ComponentName admin, int apnId, in ApnSetting apnSetting); in updateOverrideApn() argument
DDevicePolicyManager.java12663 public int addOverrideApn(@NonNull ComponentName admin, @NonNull ApnSetting apnSetting) { in addOverrideApn() argument
12667 return mService.addOverrideApn(admin, apnSetting); in addOverrideApn()
12694 @NonNull ApnSetting apnSetting) { in updateOverrideApn() argument
12698 return mService.updateOverrideApn(admin, apnId, apnSetting); in updateOverrideApn()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java790 private void verifyDataConnected(final String apnSetting) { in verifyDataConnected() argument
794 assertEquals(apnSetting, mDct.getActiveApnString(ApnSetting.TYPE_DEFAULT_STRING)); in verifyDataConnected()
1300 ApnSetting apnSetting = createApnSetting(ApnSetting.getApnTypesBitmaskFromString( in initApns() local
1302 doReturn(apnSetting).when(mApnContext).getNextApnSetting(); in initApns()
1303 doReturn(apnSetting).when(mApnContext).getApnSetting(); in initApns()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java1028 ApnSetting apnSetting = ApnSetting.makeApnSetting( in testSetInitialAttachApn() local
1033 apnSetting, apnSetting.getProfileId(), false); in testSetInitialAttachApn()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java1995 ApnSetting apnSetting = preciseState.getApnSetting(); in notifyDataConnectionForSubscriber() local
1997 int apnTypes = apnSetting.getApnTypeBitmask(); in notifyDataConnectionForSubscriber()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java15751 public int addOverrideApn(@NonNull ComponentName who, @NonNull ApnSetting apnSetting) {
15756 Objects.requireNonNull(apnSetting, "ApnSetting is null in addOverrideApn");
15763 () -> tm.addDevicePolicyOverrideApn(mContext, apnSetting));
15772 @NonNull ApnSetting apnSetting) {
15777 Objects.requireNonNull(apnSetting, "ApnSetting is null in updateOverrideApn");
15787 () -> tm.modifyDevicePolicyOverrideApn(mContext, apnId, apnSetting));