/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnSetting.java | 58 public final String apn; field in ApnSetting 154 public ApnSetting(int id, String numeric, String carrier, String apn, in ApnSetting() argument 165 this.apn = apn; in ApnSetting() 200 public ApnSetting(int id, String numeric, String carrier, String apn, in ApnSetting() argument 208 this(id, numeric, carrier, apn, proxy, port, mmsc, mmsProxy, mmsPort, user, password, in ApnSetting() 214 public ApnSetting(int id, String numeric, String carrier, String apn, in ApnSetting() argument 225 this.apn = apn; in ApnSetting() 259 public ApnSetting(ApnSetting apn) { in ApnSetting() argument 260 this(apn.id, apn.numeric, apn.carrier, apn.apn, apn.proxy, apn.port, apn.mmsc, apn.mmsProxy, in ApnSetting() 261 apn.mmsPort, apn.user, apn.password, apn.authType, apn.types, apn.protocol, in ApnSetting() [all …]
|
D | DcTracker.java | 1082 return apnSetting.apn; in getActiveApnString() 1743 ApnSetting apn = ApnSetting.fromString(apnString); in fetchDunApns() local 1745 if (apn != null) dunCandidates.add(apn); in fetchDunApns() 1753 for (ApnSetting apn : mAllApnSettings) { in fetchDunApns() 1754 if (apn.canHandleType(PhoneConstants.APN_TYPE_DUN)) { in fetchDunApns() 1755 dunCandidates.add(apn); in fetchDunApns() 1860 ApnSetting apn = new ApnSetting( in makeApnSetting() local 1897 return apn; in makeApnSetting() 1907 ApnSetting apn = makeApnSetting(cursor); in createApnList() local 1908 if (apn == null) { in createApnList() [all …]
|
D | ApnContext.java | 237 public void markApnPermanentFailed(ApnSetting apn) { in markApnPermanentFailed() argument 238 mRetryManager.markApnPermanentFailed(apn); in markApnPermanentFailed() 395 (mApnSetting != null) && (mApnSetting.apn != null)) { in isProvisioningApn() 396 return (mApnSetting.apn.equals(provisioningApn)); in isProvisioningApn()
|
D | DataConnection.java | 437 private void checkSetMtu(ApnSetting apn, LinkProperties lp) { in checkSetMtu() argument 440 if (apn == null || lp == null) return; in checkSetMtu() 447 if (apn != null && apn.mtu != PhoneConstants.UNSET_MTU) { in checkSetMtu() 448 lp.setMtu(apn.mtu); in checkSetMtu() 449 if (DBG) log("MTU set by APN to: " + apn.mtu); in checkSetMtu() 507 + "' APN='" + mApnSetting.apn in onConnect() 1708 mNetworkInfo.setExtraInfo(mApnSetting.apn); in enter()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | ApnSetting.java | 660 public static ApnSetting makeApnSetting(ApnSetting apn) { in makeApnSetting() argument 661 return makeApnSetting(apn.mId, apn.mOperatorNumeric, apn.mEntryName, apn.mApnName, in makeApnSetting() 662 … apn.mProxyAddress, apn.mProxyPort, apn.mMmsc, apn.mMmsProxyAddress, apn.mMmsProxyPort, apn.mUser, in makeApnSetting() 663 … apn.mPassword, apn.mAuthType, apn.mApnTypeBitmask, apn.mProtocol, apn.mRoamingProtocol, in makeApnSetting() 664 apn.mCarrierEnabled, apn.mNetworkTypeBitmask, apn.mProfileId, in makeApnSetting() 665 apn.mModemCognitive, apn.mMaxConns, apn.mWaitTime, apn.mMaxConnsTime, apn.mMtu, in makeApnSetting() 666 apn.mMvnoType, apn.mMvnoMatchData); in makeApnSetting()
|
D | DataProfile.java | 75 public DataProfile(int profileId, String apn, String protocol, int authType, in DataProfile() argument 82 this.mApn = apn; in DataProfile()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephonyRegistry.aidl | 50 String reason, String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnection() argument 53 String reason, String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnectionForSubscriber() argument 67 void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierIdentifier.java | 287 String apn = cursor.getString(cursor.getColumnIndexOrThrow( in getPreferApn() local 289 logd("[getPreferApn]- " + apn); in getPreferApn() 290 return apn; in getPreferApn() 393 String gid1, String gid2, String plmn, String spn, String apn, int cid, in CarrierMatchingRule() argument 402 mApn = apn; in CarrierMatchingRule() 530 final String apn = mPreferApn; in matchCarrier() local 541 + " apn: " + apn); in matchCarrier() 545 mccmnc, imsi, iccid, gid1, gid2, plmn, spn, apn, in matchCarrier()
|
D | RetryManager.java | 595 public void markApnPermanentFailed(ApnSetting apn) { in markApnPermanentFailed() argument 596 if (apn != null) { in markApnPermanentFailed() 597 apn.permanentFailed = true; in markApnPermanentFailed() 629 for (ApnSetting apn : mWaitingApns) { in setWaitingApns() 630 apn.permanentFailed = false; in setWaitingApns()
|
D | PhoneNotifier.java | 62 String apn, String failCause); in notifyPreciseDataConnectionFailed()
|
D | DefaultPhoneNotifier.java | 287 String apn, String failCause) { in notifyPreciseDataConnectionFailed() 290 mRegistry.notifyPreciseDataConnectionFailed(reason, apnType, apn, failCause); in notifyPreciseDataConnectionFailed()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataProfileTest.java | 117 assertEquals(mApn1.apn, dp.getApn()); in testCreateFromApnSetting() 133 assertEquals(mApn3.apn, dp.getApn()); in testCreateFromApnSettingWithNetworkTypeBitmask()
|
D | ApnSettingTest.java | 112 assertEquals(a1.apn, a2.apn); in assertApnSettingEqual() 291 ApnSetting apn = new ApnSetting( in testToString() local 298 assertEquals(expected, apn.toString()); in testToString() 303 apn = new ApnSetting(99, "12345", "Name", "apn", "proxy", "port", in testToString() 309 assertEquals(expected, apn.toString()); in testToString()
|
D | RetryManagerTest.java | 386 ApnSetting apn = new ApnSetting(mApn1); in testRetryManagerApnPermanentFailed() local 387 waitingApns.add(apn); in testRetryManagerApnPermanentFailed() 402 rm.markApnPermanentFailed(apn); in testRetryManagerApnPermanentFailed()
|
D | DcTrackerTest.java | 511 private void verifyDataProfile(DataProfile dp, String apn, int profileId, in verifyDataProfile() argument 514 assertEquals(apn, dp.getApn()); in verifyDataProfile() 1345 assertEquals(FAKE_APN5, dunApn.apn); in testFetchDunApn()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | TelephonyRegistryMock.java | 237 String reason, String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument 244 boolean isDataConnectivityPossible, String reason, String apn, String apnType, in notifyDataConnectionForSubscriber() argument 303 public void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
|
D | PhoneMock.java | 845 public void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 1170 String reason, String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument 1173 isDataAllowed,reason, apn, apnType, linkProperties, in notifyDataConnection() 1178 boolean isDataAllowed, String reason, String apn, String apnType, in notifyDataConnectionForSubscriber() argument 1188 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType in notifyDataConnectionForSubscriber() 1222 apnType, apn, reason, linkProperties, ""); in notifyDataConnectionForSubscriber() 1237 broadcastDataConnectionStateChanged(state, isDataAllowed, reason, apn, in notifyDataConnectionForSubscriber() 1239 broadcastPreciseDataConnectionStateChanged(state, networkType, apnType, apn, reason, in notifyDataConnectionForSubscriber() 1387 String apn, String failCause) { in notifyPreciseDataConnectionFailed() 1394 apnType, apn, reason, null, failCause); in notifyPreciseDataConnectionFailed() 1408 TelephonyManager.NETWORK_TYPE_UNKNOWN, apnType, apn, reason, null, failCause); in notifyPreciseDataConnectionFailed() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | PreciseDataConnectionState.java | 57 String apnType, String apn, String reason, in PreciseDataConnectionState() argument 62 mAPN = apn; in PreciseDataConnectionState()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 2508 private int getApnIpType(String apn) { 2510 if (apn == null) { 2514 String selection = String.format("current = 1 and apn = '%s' and carrier_enabled = 1", apn); 2525 return translateToApnIpType(cursor.getString(0), apn); 2527 Log.e(TAG, "No entry found in query for APN: " + apn); 2530 Log.e(TAG, "Error encountered on APN query for: " + apn, e); 2540 private int translateToApnIpType(String ipProtocol, String apn) { 2552 String message = String.format("Unknown IP Protocol: %s, for APN: %s", ipProtocol, apn); 2754 private native void native_agps_data_conn_open(String apn, int apnIpType);
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 1577 JNIEnv* env, jobject /* obj */, jstring apn, jint apnIpType) { in android_location_GnssLocationProvider_agps_data_conn_open() argument 1582 if (apn == NULL) { in android_location_GnssLocationProvider_agps_data_conn_open() 1587 const char *apnStr = env->GetStringUTFChars(apn, NULL); in android_location_GnssLocationProvider_agps_data_conn_open() 1593 env->ReleaseStringUTFChars(apn, apnStr); in android_location_GnssLocationProvider_agps_data_conn_open() 1730 jstring apn) { in android_location_GnssLocationProvider_update_network_state() argument 1739 const char *c_apn = env->GetStringUTFChars(apn, NULL); in android_location_GnssLocationProvider_update_network_state() 1745 env->ReleaseStringUTFChars(apn, c_apn); in android_location_GnssLocationProvider_update_network_state()
|
/frameworks/opt/telephony/proto/src/ |
D | carrierId.proto | 74 // [Optional] The Access Point Name, corresponding to "apn" field returned by
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 1072 public void writeSetupDataCall(int phoneId, int radioTechnology, int profileId, String apn, in writeSetupDataCall() argument 1078 if (apn != null) { in writeSetupDataCall() 1079 setupDataCall.apn = apn; in writeSetupDataCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadCommands.java.broken | 599 public void setupDataCall(String radioTechnology, String profile, String apn, String user, 648 public void setInitialAttachApn(String apn, String protocol, int authType, String username,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 560 assertEquals("apn", setupDataCall.apn); in testWriteRilSetupDataCall()
|