Home
last modified time | relevance | path

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

/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java498 TmIkeSessionCallback(String apnName, int token) { in TmIkeSessionCallback() argument
499 this.mApnName = apnName; in TmIkeSessionCallback()
595 private TmIke3gppCallback(String apnName, int token) { in TmIke3gppCallback() argument
596 mApnName = apnName; in TmIke3gppCallback()
615 TmChildSessionCallback(String apnName, int token) { in TmChildSessionCallback() argument
616 this.mApnName = apnName; in TmChildSessionCallback()
750 void onOpened(@NonNull String apnName, @NonNull TunnelLinkProperties linkProperties); in onOpened() argument
758 void onClosed(@NonNull String apnName, @NonNull IwlanError error); in onClosed() argument
767 @NonNull String apnName, @NetworkValidationStatus int status); in onNetworkValidationStatusChanged()
783 @NonNull String apnName, in closeTunnel()
[all …]
DEpdgMonitor.java40 public void onApnConnectToEpdg(@NonNull String apnName, @NonNull InetAddress address) { in onApnConnectToEpdg() argument
42 mApnConnectToEmergencyEpdg.add(apnName); in onApnConnectToEpdg()
47 mApnConnectToNormalEpdg.add(apnName); in onApnConnectToEpdg()
54 mApnConnectToNormalEpdg.add(apnName); in onApnConnectToEpdg()
58 mApnConnectToEmergencyEpdg.add(apnName); in onApnConnectToEpdg()
68 public void onApnDisconnectFromEpdg(String apnName) { in onApnDisconnectFromEpdg() argument
69 if (mApnConnectToNormalEpdg.contains(apnName)) { in onApnDisconnectFromEpdg()
70 mApnConnectToNormalEpdg.remove(apnName); in onApnDisconnectFromEpdg()
83 } else if (mApnConnectToEmergencyEpdg.contains(apnName)) { in onApnDisconnectFromEpdg()
84 mApnConnectToEmergencyEpdg.remove(apnName); in onApnDisconnectFromEpdg()
DTunnelSetupRequest.java28 abstract String apnName(); in apnName() method in TunnelSetupRequest
60 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()
DApnSettingsLoader.java62 List<Apn> get(String apnName); in get() argument
DMmsRequest.java152 final String apnName = networkManager.getApnName(); in execute() local
153 final List<ApnSettingsLoader.Apn> apns = apnSettingsLoader.get(apnName); in execute()
/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/Iwlan/src/com/google/android/iwlan/
DIwlanDataService.java481 public void onOpened(String apnName, TunnelLinkProperties linkProperties) { in onOpened() argument
484 "Tunnel opened! APN: " + apnName + ", linkProperties: " + linkProperties); in onOpened()
491 apnName, in onOpened()
496 public void onClosed(String apnName, IwlanError error) { in onClosed() argument
497 Log.d(SUB_TAG, "Tunnel closed! APN: " + apnName + ", Error: " + error); in onClosed()
506 apnName, in onClosed()
512 String apnName, @NetworkValidationStatus int status) { in onNetworkValidationStatusChanged() argument
516 + apnName in onNetworkValidationStatusChanged()
524 apnName, status, mIwlanDataServiceProvider)) in onNetworkValidationStatusChanged()
1084 String apnName, in setMetricsAtom() argument
[all …]
DTunnelMetricsInterface.java88 public T setApnName(@NonNull String apnName) { in setApnName() argument
89 mApnName = Objects.requireNonNull(apnName, "apnName must not be null"); in setApnName()
DErrorPolicyManager.java574 String apnName = ((String) apnDetails.get("ApnName")).trim(); in readErrorPolicies() local
622 errorPolicies.putIfAbsent(apnName, new ArrayList<>()); in readErrorPolicies()
623 errorPolicies.get(apnName).add(errorPolicy); in readErrorPolicies()
/packages/services/Mms/src/com/android/mms/service/
DApnSettings.java92 public static ApnSettings load(Context context, String apnName, int subId, String requestId) in load() argument
94 LogUtil.i(requestId, "Loading APN using name " + apnName); in load()
99 apnName = apnName != null ? apnName.trim() : null; in load()
100 if (!TextUtils.isEmpty(apnName)) { in load()
103 selectionArgs = new String[]{apnName}; in load()
DMmsRequest.java219 final String apnName = networkManager.getApnName(); in execute() local
220 LogUtil.d(requestId, "APN name is " + apnName); in execute()
222 apn = ApnSettings.load(context, apnName, mSubId, requestId); in execute()
225 if (apnName == null) { in execute()
230 + apnName + ", try with no name"); in execute()
DMmsNetworkManager.java527 String apnName = null; in getApnName() local
531 apnName = mmsNetworkInfo.getExtraInfo(); in getApnName()
533 return apnName; in getApnName()
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java141 public void onOpened(String apnName, TunnelLinkProperties linkProperties) {} in onOpened() argument
143 public void onClosed(String apnName, IwlanError error) {} in onClosed() argument
145 public void onNetworkValidationStatusChanged(String apnName, int status) {} in onNetworkValidationStatusChanged() argument
383 String apnName, List<InetAddress> epdgAddresses, int transactionId) throws Exception { in setupTunnelBringup() argument
396 getBasicTunnelSetupRequest(apnName, ApnSetting.PROTOCOL_IP), in setupTunnelBringup()
577 final String apnName = "ims"; in testAeadSaProposals() local
601 verifyBringUpTunnelWithDnsQuery(apnName, mMockDefaultNetwork); in testAeadSaProposals()
631 final String apnName = "ims"; in testMultipleSaProposals() local
661 verifyBringUpTunnelWithDnsQuery(apnName, mMockDefaultNetwork); in testMultipleSaProposals()
694 final String apnName = "ims"; in testSaProposalsReorder() local
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java1840 final String apnName = "name"; in testApnSetId() local
1842 values1.put(Carriers.NAME, apnName); in testApnSetId()
1865 assertEquals(apnName, cursor.getString(0)); in testApnSetId()
1886 final String apnName = "name"; in testPreferApnSetUrl() local
1888 values1.put(Carriers.NAME, apnName); in testPreferApnSetUrl()
2113 final String apnName = "apnName"; in testSIMAPNLIST_MatchTheMVNOAPN() local
2121 contentValues.put(Carriers.APN, apnName); in testSIMAPNLIST_MatchTheMVNOAPN()
2130 contentValues.put(Carriers.APN, apnName); in testSIMAPNLIST_MatchTheMVNOAPN()
2157 assertEquals(apnName, cursor.getString(0)); in testSIMAPNLIST_MatchTheMVNOAPN()
2169 final String apnName = "apnName"; in testSIMAPNLIST_MatchTheMNOAPN() local
[all …]
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/apn/
DApnEditPageProviderTest.kt53 private val apnName = "apn_name" constant in com.android.settings.network.apn.ApnEditPageProviderTest
64 name = apnName,
94 composeTestRule.onNodeWithText(apnName, true).assertIsDisplayed() in name_displayed()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java2461 String apnName = "mms"; in testRequestNetworkValidationForUnregisteredApn() local
2464 apnName.hashCode(), Runnable::run, resultCodeCallback::add); in testRequestNetworkValidationForUnregisteredApn()
2471 verify(mMockEpdgTunnelManager, never()).requestNetworkValidationForApn(eq(apnName)); in testRequestNetworkValidationForUnregisteredApn()
2513 String apnName = dp.getApnSetting().getApnName(); in testOnNetworkValidationStatusChangedForRegisteredApn() local
2514 int cid = apnName.hashCode(); in testOnNetworkValidationStatusChangedForRegisteredApn()
2563 String apnName = dp.getApnSetting().getApnName(); in testGetCallListWithRequestNetworkValidationInProgress() local
2564 int cid = apnName.hashCode(); in testGetCallListWithRequestNetworkValidationInProgress()