Home
last modified time | relevance | path

Searched refs:ApnSetting (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DApnSettingTest.java22 import com.android.internal.telephony.dataconnection.ApnSetting;
33 public static void assertApnSettingsEqual(List<ApnSetting> a1, List<ApnSetting> a2) { in assertApnSettingsEqual()
40 public static void assertApnSettingEqual(ApnSetting a1, ApnSetting a2) { in assertApnSettingEqual()
77 ApnSetting expectedApn; in testFromString()
82 expectedApn = new ApnSetting( in testFromString()
86 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString()
90 expectedApn = new ApnSetting( in testFromString()
94 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString()
98 expectedApn = new ApnSetting( in testFromString()
102 assertApnSettingEqual(expectedApn, ApnSetting.fromString(testString)); in testFromString()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java49 private ArrayList<ApnSetting> mWaitingApns = null;
55 private ArrayList<ApnSetting> mOriginalWaitingApns = null;
62 private ApnSetting mApnSetting;
129 public synchronized ApnSetting getApnSetting() { in getApnSetting()
134 public synchronized void setApnSetting(ApnSetting apnSetting) { in setApnSetting()
139 public synchronized void setWaitingApns(ArrayList<ApnSetting> waitingApns) { in setWaitingApns()
141 mOriginalWaitingApns = new ArrayList<ApnSetting>(waitingApns); in setWaitingApns()
153 public synchronized ApnSetting getNextWaitingApn() { in getNextWaitingApn()
154 ArrayList<ApnSetting> list = mWaitingApns; in getNextWaitingApn()
155 ApnSetting apn = null; in getNextWaitingApn()
[all …]
DApnSetting.java31 public class ApnSetting { class
88 public ApnSetting(int id, String numeric, String carrier, String apn, in ApnSetting() method in ApnSetting
154 public static ApnSetting fromString(String data) { in fromString()
236 return new ApnSetting(-1,a[10]+a[11],a[0],a[1],a[2],a[3],a[7],a[8], in fromString()
250 public static List<ApnSetting> arrayFromString(String data) { in arrayFromString()
251 List<ApnSetting> retVal = new ArrayList<ApnSetting>(); in arrayFromString()
257 ApnSetting apn = fromString(apnString); in arrayFromString()
325 if (o instanceof ApnSetting == false) return false; in equals()
DDcTracker.java519 ApnSetting apnSetting = apnContext.getApnSetting(); in getActiveApnString()
616 for (ApnSetting apn : mAllApnSettings) { in isApnTypeAvailable()
787 ArrayList<ApnSetting> waitingApns = null; in setupDataOnConnectableApns()
801 ArrayList<ApnSetting> originalApns = apnContext.getOriginalWaitingApns(); in setupDataOnConnectableApns()
823 private boolean trySetupData(ApnContext apnContext, ArrayList<ApnSetting> waitingApns) { in trySetupData()
1163 private ApnSetting makeApnSetting(Cursor cursor) { in makeApnSetting()
1166 ApnSetting apn = new ApnSetting( in makeApnSetting()
1205 private ArrayList<ApnSetting> createApnList(Cursor cursor) { in createApnList()
1206 ArrayList<ApnSetting> mnoApns = new ArrayList<ApnSetting>(); in createApnList()
1207 ArrayList<ApnSetting> mvnoApns = new ArrayList<ApnSetting>(); in createApnList()
[all …]
DDcAsyncChannel.java214 public ApnSetting rspApnSetting(Message response) { in rspApnSetting()
215 ApnSetting retVal = (ApnSetting) response.obj; in rspApnSetting()
225 public ApnSetting getApnSettingSync() { in getApnSettingSync()
226 ApnSetting value; in getApnSettingSync()
DDcTrackerBase.java273 protected ApnSetting mActiveApn;
276 protected ArrayList<ApnSetting> mAllApnSettings = null;
279 protected ApnSetting mPreferredApn = null;
285 protected ApnSetting mEmergencyApn = null;
683 ApnSetting dunApn = fetchDunApn(); in isApnTypeActive()
691 protected ApnSetting fetchDunApn() { in fetchDunApn()
697 ApnSetting retDunSetting = null; in fetchDunApn()
699 List<ApnSetting> dunSettings = ApnSetting.arrayFromString(apnData); in fetchDunApn()
701 for (ApnSetting dunSetting : dunSettings) { in fetchDunApn()
726 ApnSetting dunSetting = ApnSetting.fromString(apn); in fetchDunApn()
[all …]
DDataProfile.java73 DataProfile(ApnSetting apn, boolean isRoaming) { in DataProfile()
DDataConnection.java172 private ApnSetting mApnSetting;
289 ApnSetting getApnSetting() { in getApnSetting()
382 private void checkSetMtu(ApnSetting apn, LinkProperties lp) { in checkSetMtu()
922 ApnSetting securedDunApn = mDct.fetchDunApn(); in makeNetworkCapabilities()
1135 ApnSetting apnSetting = getApnSetting(); in processMessage()