Home
last modified time | relevance | path

Searched refs:ApnSettings (Results 1 – 14 of 14) sorted by relevance

/packages/services/Mms/tests/robotests/src/com/android/mms/service/
DApnSettingsTest.java62 () -> ApnSettings.load(context, "apnName", /* subId= */ 0, "requestId")); in load_noApnSettings_throwsApnException()
68 ApnSettings apnSettings = ApnSettings.load(context, "apnName", /* subId= */ 0, "requestId"); in getApnSettingsFromCursor_validSettings_correctApnSettingsLoaded()
78 ApnSettings apnSettings = ApnSettings.load(context, "apnName", /* subId= */ 0, "requestId"); in getApnSettingsFromCursor_nullMmsPort_defaultProxyPortUsed()
86 ApnSettings apnSettings = ApnSettings.load(context, "apnName", /* subId= */ 0, "requestId"); in getApnSettingsFromCursor_emptyMmsPort_defaultProxyPortUsed()
110 ApnSettings apnSettings = ApnSettings.getApnSettingsFromNetworkApn(networkApn); in getApnSettingsFromNetworkApn_normal()
123 ApnSettings apnSettings = ApnSettings.getApnSettingsFromNetworkApn(networkApn); in getApnSettingsFromNetworkApn_emptyMmsUrl_returnEmpty()
134 ApnSettings apnSettings = ApnSettings.getApnSettingsFromNetworkApn(networkApn); in getApnSettingsFromNetworkApn_nullMmsPort_defaultProxyPortUsed()
/packages/services/Mms/src/com/android/mms/service/
DApnSettings.java37 public class ApnSettings { class
92 public static ApnSettings load(Context context, String apnName, int subId, String requestId) in load()
113 ApnSettings settings = getApnSettingsFromCursor(cursor, requestId); in load()
121 private static ApnSettings getApnSettingsFromCursor(Cursor cursor, String requestId) in getApnSettingsFromCursor()
156 return new ApnSettings( in getApnSettingsFromCursor()
170 public static ApnSettings getApnSettingsFromNetworkApn(@NonNull ApnSetting apn) { in getApnSettingsFromNetworkApn()
185 return new ApnSettings(mmscUrl, proxy, proxyPort, apn.toString()); in getApnSettingsFromNetworkApn()
210 public ApnSettings(String mmscUrl, String proxyAddr, int proxyPort, String debugText) { in ApnSettings() method in ApnSettings
DMmsRequest.java208 ApnSettings apn = null; in execute()
215 apn = ApnSettings.getApnSettingsFromNetworkApn(networkApn); in execute()
222 apn = ApnSettings.load(context, apnName, mSubId, requestId); in execute()
231 apn = ApnSettings.load(context, null, mSubId, requestId); in execute()
509 protected abstract byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettings apn) in doHttp()
DDownloadRequest.java75 protected byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettings apn) in doHttp()
DSendRequest.java77 protected byte[] doHttp(Context context, MmsNetworkManager netMgr, ApnSettings apn) in doHttp()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DApnPreferenceController.java36 import com.android.settings.network.apn.ApnSettings;
114 intent.putExtra(ApnSettings.SUB_ID, mSubId); in handlePreferenceTreeClick()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DApnPreferenceControllerTest.java41 import com.android.settings.network.apn.ApnSettings;
145 assertThat(intent.getIntExtra(ApnSettings.SUB_ID, 0)).isEqualTo(SUB_ID); in handPreferenceTreeClick_fireIntent()
/packages/apps/Settings/src/com/android/settings/network/apn/
DPreferredApnRepository.kt59 put(ApnSettings.APN_ID, apnId) in <lambda>()
DApnSettings.java64 public class ApnSettings extends RestrictedSettingsFragment class
113 public ApnSettings() { in ApnSettings() method in ApnSettings
DApnPreference.java154 editIntent.putExtra(ApnSettings.SUB_ID, mSubId); in onClick()
DApnEditor.java299 mSubId = intent.getIntExtra(ApnSettings.SUB_ID, in onCreate()
321 mMvnoTypeStr = intent.getStringExtra(ApnSettings.MVNO_TYPE); in onCreate()
322 mMvnoMatchDataStr = intent.getStringExtra(ApnSettings.MVNO_MATCH_DATA); in onCreate()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/apn/
DPreferredApnRepositoryTest.kt70 argThat { getAsString(ApnSettings.APN_ID) == apnId }, in setPreferredApn()
/packages/apps/Settings/tests/robotests/assets/
Dexempt_not_implementing_index_provider56 com.android.settings.network.apn.ApnSettings
/packages/apps/Settings/src/com/android/settings/core/gateway/
DSettingsGateway.java149 import com.android.settings.network.apn.ApnSettings;
318 ApnSettings.class.getName(),