Home
last modified time | relevance | path

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

/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java421 TmIkeSessionCallback(String apnName) { in TmIkeSessionCallback() argument
422 this.mApnName = apnName; in TmIkeSessionCallback()
473 private TmIke3gppCallback(String apnName) { in TmIke3gppCallback() argument
474 mApnName = apnName; in TmIke3gppCallback()
512 TmChildSessionCallBack(String apnName) { in TmChildSessionCallBack() argument
513 this.mApnName = apnName; in TmChildSessionCallBack()
638 void onOpened(@NonNull String apnName, @NonNull TunnelLinkProperties linkProperties); in onOpened() argument
645 void onClosed(@NonNull String apnName, @NonNull IwlanError error); in onClosed() argument
656 public boolean closeTunnel(@NonNull String apnName, boolean forceClose) { in closeTunnel() argument
662 apnName)); in closeTunnel()
[all …]
DTunnelSetupRequest.java28 abstract String apnName(); in apnName() method in TunnelSetupRequest
57 public abstract Builder setApnName(String apnName); in setApnName() argument
/packages/apps/Messaging/src/android/support/v7/mms/
DDefaultApnSettingsLoader.java244 public List<Apn> get(final String apnName) { in get() argument
253 loadLocked(subId, apnName, apns); in get()
263 private void loadLocked(final int subId, final String apnName, final List<Apn> apns) { in loadLocked() argument
265 loadFromSystem(subId, apnName, apns); in loadLocked()
270 loadFromResources(subId, apnName, apns); in loadLocked()
286 private void loadFromSystem(final int subId, final String apnName, final List<Apn> apns) { in loadFromSystem() argument
298 cursor = querySystem(uri, true/*checkCurrent*/, apnName); in loadFromSystem()
302 cursor = querySystem(uri, false/*checkCurrent*/, apnName); in loadFromSystem()
345 private Cursor querySystem(final Uri uri, final boolean checkCurrent, String apnName) { in querySystem() argument
347 + "checkCurrent=" + checkCurrent + " apnName=" + apnName); in querySystem()
[all …]
DMmsNetworkManager.java196 String apnName = null; in getApnName() local
200 apnName = mmsNetworkInfo.getExtraInfo(); in getApnName()
202 return apnName; in getApnName()
DMmsRequest.java152 final String apnName = networkManager.getApnName(); in execute() local
153 final List<ApnSettingsLoader.Apn> apns = apnSettingsLoader.get(apnName); in execute()
DApnSettingsLoader.java62 List<Apn> get(String apnName); in get() argument
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java318 public List<ApnSettingsLoader.Apn> get(final String apnName) { in get() argument
328 loadLocked(subId, apnName, apns); in get()
338 private void loadLocked(final int subId, final String apnName, final List<Apn> apns) { in loadLocked() argument
345 loadFromSystem(subId, apnName, apns); in loadLocked()
350 loadFromLocalDatabase(apnName, apns); in loadLocked()
384 private void loadFromSystem(final int subId, final String apnName, final List<Apn> apns) { in loadFromSystem() argument
396 cursor = querySystem(uri, true/*checkCurrent*/, apnName); in loadFromSystem()
400 cursor = querySystem(uri, false/*checkCurrent*/, apnName); in loadFromSystem()
443 private Cursor querySystem(final Uri uri, final boolean checkCurrent, String apnName) { in querySystem() argument
445 + "checkCurrent=" + checkCurrent + " apnName=" + apnName); in querySystem()
[all …]
/packages/services/Mms/src/com/android/mms/service/
DApnSettings.java90 public static ApnSettings load(Context context, String apnName, int subId, String requestId) in load() argument
92 LogUtil.i(requestId, "Loading APN using name " + apnName); in load()
97 apnName = apnName != null ? apnName.trim() : null; in load()
98 if (!TextUtils.isEmpty(apnName)) { in load()
101 selectionArgs = new String[]{apnName}; in load()
DMmsRequest.java199 final String apnName = networkManager.getApnName(); in execute() local
200 LogUtil.d(requestId, "APN name is " + apnName); in execute()
204 apn = ApnSettings.load(context, apnName, mSubId, requestId); in execute()
207 if (apnName == null) { in execute()
212 + apnName + ", try with no name"); in execute()
DMmsNetworkManager.java391 String apnName = null; in getApnName() local
395 apnName = mmsNetworkInfo.getExtraInfo(); in getApnName()
397 return apnName; in getApnName()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanDataService.java341 public void onOpened(String apnName, TunnelLinkProperties linkProperties) { in onOpened() argument
344 "Tunnel opened!. APN: " + apnName + "linkproperties: " + linkProperties); in onOpened()
346 TunnelState tunnelState = mTunnelStateForApn.get(apnName); in onOpened()
351 mTunnelStats.reportTunnelSetupSuccess(apnName, tunnelState); in onOpened()
357 apnTunnelStateToDataCallResponse(apnName)); in onOpened()
361 public void onClosed(String apnName, IwlanError error) { in onClosed() argument
362 Log.d(SUB_TAG, "Tunnel closed!. APN: " + apnName + " Error: " + error); in onClosed()
366 TunnelState tunnelState = mTunnelStateForApn.get(apnName); in onClosed()
367 mTunnelStats.reportTunnelDown(apnName, tunnelState); in onClosed()
368 mTunnelStateForApn.remove(apnName); in onClosed()
[all …]
DErrorPolicyManager.java512 String apnName = ((String) apnDetails.get("ApnName")).trim(); in readErrorPolicies() local
534 errorPolicies.putIfAbsent(apnName, new ArrayList<ErrorPolicy>()); in readErrorPolicies()
535 errorPolicies.get(apnName).add(errorPolicy); in readErrorPolicies()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java1619 final String apnName = "name"; in testApnSetId() local
1621 values1.put(Carriers.NAME, apnName); in testApnSetId()
1644 assertEquals(apnName, cursor.getString(0)); in testApnSetId()
1666 final String apnName = "name"; in testPreferApnSetUrl() local
1668 values1.put(Carriers.NAME, apnName); in testPreferApnSetUrl()
1893 final String apnName = "apnName"; in testSIMAPNLIST_MatchTheMVNOAPN() local
1901 contentValues.put(Carriers.APN, apnName); in testSIMAPNLIST_MatchTheMVNOAPN()
1910 contentValues.put(Carriers.APN, apnName); in testSIMAPNLIST_MatchTheMVNOAPN()
1937 assertEquals(apnName, cursor.getString(0)); in testSIMAPNLIST_MatchTheMVNOAPN()
1949 final String apnName = "apnName"; in testSIMAPNLIST_MatchTheMNOAPN() local
[all …]
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java87 public void onOpened(String apnName, TunnelLinkProperties linkProperties) {} in onOpened() argument
89 public void onClosed(String apnName, IwlanError error) {} in onClosed() argument
715 private TunnelSetupRequest getBasicTunnelSetupRequest(String apnName, int apnIpProtocol) { in getBasicTunnelSetupRequest() argument
716 return getBasicTunnelSetupRequest(apnName, apnIpProtocol, 1); in getBasicTunnelSetupRequest()
720 String apnName, int apnIpProtocol, int pduSessionId) { in getBasicTunnelSetupRequest() argument
723 .setApnName(apnName) in getBasicTunnelSetupRequest()
734 private TunnelSetupRequest getHandoverTunnelSetupRequest(String apnName, int apnIpProtocol) { in getHandoverTunnelSetupRequest() argument
736 bld.setApnName(apnName) in getHandoverTunnelSetupRequest()