/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgTunnelManager.java | 498 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 …]
|
D | EpdgMonitor.java | 40 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()
|
D | TunnelSetupRequest.java | 28 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/ |
D | DefaultApnSettingsLoader.java | 244 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 …]
|
D | MmsNetworkManager.java | 196 String apnName = null; in getApnName() local 200 apnName = mmsNetworkInfo.getExtraInfo(); in getApnName() 202 return apnName; in getApnName()
|
D | ApnSettingsLoader.java | 62 List<Apn> get(String apnName); in get() argument
|
D | MmsRequest.java | 152 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/ |
D | BugleApnSettingsLoader.java | 318 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/ |
D | IwlanDataService.java | 481 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 …]
|
D | TunnelMetricsInterface.java | 88 public T setApnName(@NonNull String apnName) { in setApnName() argument 89 mApnName = Objects.requireNonNull(apnName, "apnName must not be null"); in setApnName()
|
D | ErrorPolicyManager.java | 574 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/ |
D | ApnSettings.java | 92 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()
|
D | MmsRequest.java | 219 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()
|
D | MmsNetworkManager.java | 527 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/ |
D | EpdgTunnelManagerTest.java | 141 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/ |
D | TelephonyProviderTest.java | 1840 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/ |
D | ApnEditPageProviderTest.kt | 53 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/ |
D | IwlanDataServiceTest.java | 2461 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()
|