Searched refs:apnType (Results 1 - 20 of 20) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTestPhoneNotifier.java.broken51 public void notifyDataConnection(Phone sender, String reason, String apnType) {
54 public void notifyDataConnection(Phone sender, String reason, String apnType,
58 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DDcTrackerMock.java65 public boolean isDataPossible(String apnType) { argument
69 public LinkProperties getLinkProperties(String apnType) { argument
73 public NetworkCapabilities getNetworkCapabilities(String apnType) { argument
81 public String getActiveApnString(String apnType) { argument
85 public DctConstants.State getState(String apnType) { argument
149 public String[] getPcscfAddress(String apnType) { argument
H A DTelephonyRegistryMock.java235 String reason, String apn, String apnType, LinkProperties linkProperties,
242 boolean isDataConnectivityPossible, String reason, String apn, String apnType,
249 public void notifyDataConnectionFailed(String reason, String apnType) { argument
254 public void notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType) { argument
290 public void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, argument
234 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
241 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
H A DPhoneMock.java553 public void notifyDataConnection(String reason, String apnType, argument
558 public void notifyDataConnection(String reason, String apnType) { argument
786 public String getActiveApnHost(String apnType) { argument
790 public LinkProperties getLinkProperties(String apnType) { argument
794 public NetworkCapabilities getNetworkCapabilities(String apnType) { argument
802 public boolean isDataConnectivityPossible(String apnType) { argument
838 public void notifyDataConnectionFailed(String reason, String apnType) { argument
842 public void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, argument
863 public String[] getPcscfAddress(String apnType) { argument
1078 public DataState getDataConnectionState(String apnType) { argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneNotifier.java42 public void notifyDataConnection(Phone sender, String reason, String apnType, argument
45 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); argument
57 public void notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, argument
H A DDefaultPhoneNotifier.java156 public void notifyDataConnection(Phone sender, String reason, String apnType, argument
158 doNotifyDataConnection(sender, reason, apnType, state);
161 private void doNotifyDataConnection(Phone sender, String reason, String apnType, argument
168 // use apnType as the key to which connection we're talking about.
169 // pass apnType back up to fetch particular for this one.
176 linkProperties = sender.getLinkProperties(apnType);
177 networkCapabilities = sender.getNetworkCapabilities(apnType);
186 sender.isDataConnectivityPossible(apnType), reason,
187 sender.getActiveApnHost(apnType),
188 apnType,
201 notifyDataConnectionFailed(Phone sender, String reason, String apnType) argument
276 notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, String apn, String failCause) argument
[all...]
H A DRetryManager.java218 * @param apnType APN type
220 public RetryManager(Phone phone, String apnType) { argument
222 mApnType = apnType;
349 String apnType = splitStr[0].trim();
351 if (apnType.equals(mApnType)) {
356 } else if (apnType.equals(OTHERS_APN_TYPE)) {
H A DPhone.java2018 public void notifyDataConnection(String reason, String apnType, argument
2020 mNotifier.notifyDataConnection(this, reason, apnType, state);
2023 public void notifyDataConnection(String reason, String apnType) { argument
2024 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
2029 for (String apnType : types) {
2030 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
2601 public String getActiveApnHost(String apnType) { argument
2602 return mDcTracker.getActiveApnString(apnType);
2608 getLinkProperties(String apnType) argument
2615 getNetworkCapabilities(String apnType) argument
2629 isDataConnectivityPossible(String apnType) argument
2756 notifyDataConnectionFailed(String reason, String apnType) argument
2760 notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause) argument
2810 getPcscfAddress(String apnType) argument
[all...]
H A DPhoneInternalInterface.java229 * @param apnType specify for which apn to get connection state info.
231 DataState getDataConnectionState(String apnType); argument
H A DGsmCdmaPhone.java492 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
502 (isPhoneTypeGsm() && !apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY)))) {
511 switch (mDcTracker.getState(apnType)) {
535 logd("getDataConnectionState apnType=" + apnType + " ret=" + ret);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DITelephonyRegistry.aidl50 String reason, String apn, String apnType, in LinkProperties linkProperties,
53 String reason, String apn, String apnType, in LinkProperties linkProperties,
55 void notifyDataConnectionFailed(String reason, String apnType);
56 void notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType);
64 void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn,
H A DITelephony.aidl771 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN
774 String[] getPcscfAddress(String apnType, String callingPackage);
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java1002 String reason, String apn, String apnType, LinkProperties linkProperties,
1005 isDataConnectivityPossible,reason, apn, apnType, linkProperties,
1010 boolean isDataConnectivityPossible, String reason, String apn, String apnType,
1020 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType
1028 if (!mConnectedApns.contains(apnType)) {
1029 mConnectedApns.add(apnType);
1036 if (mConnectedApns.remove(apnType)) {
1077 apnType, apn, reason, linkProperties, "");
1092 apnType, linkPropertie
1001 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1009 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1097 notifyDataConnectionFailed(String reason, String apnType) argument
1102 notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType) argument
1239 notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause) argument
1439 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument
1473 broadcastDataConnectionFailed(String reason, String apnType, int subId) argument
1494 broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DPreciseDataConnectionState.java57 String apnType, String apn, String reason,
61 mAPNType = apnType;
56 PreciseDataConnectionState(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument
H A DTelephonyManager.java3970 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN
3974 public String[] getPcscfAddress(String apnType) { argument
3979 return telephony.getPcscfAddress(apnType, getOpPackageName());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java466 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE);
480 ApnContext apnContext = mApnContexts.get(apnType);
484 " apnType=" + apnType + " apnContext=" + apnContext +
1055 public boolean isDataPossible(String apnType) { argument
1056 ApnContext apnContext = mApnContexts.get(apnType);
1081 apnType, possible, dataAllowed, apnTypePossible,
1150 public LinkProperties getLinkProperties(String apnType) { argument
1151 ApnContext apnContext = mApnContexts.get(apnType);
1155 if (DBG) log("return link properites for " + apnType);
1163 getNetworkCapabilities(String apnType) argument
1193 getActiveApnString(String apnType) argument
1206 getState(String apnType) argument
1215 isProvisioningApn(String apnType) argument
2413 onSetDependencyMet(String apnType, boolean met) argument
4004 getApnProfileID(String apnType) argument
4276 getPcscfAddress(String apnType) argument
[all...]
H A DApnContext.java106 * @param apnType APN type (e.g. default, supl, mms, etc...)
111 public ApnContext(Phone phone, String apnType, String logTag, NetworkConfig config, argument
114 mApnType = apnType;
122 mRetryManager = new RetryManager(phone, apnType);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneBase.java193 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
528 public LinkProperties getLinkProperties(String apnType) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java153 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
494 public LinkProperties getLinkProperties(String apnType) { argument
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DTethering.java1287 protected boolean turnOnUpstreamMobileConnection(int apnType) { argument
1288 if (apnType == ConnectivityManager.TYPE_NONE) { return false; }
1290 if (apnType != mMobileApnReserved) {
1297 // Looks like we already filed a request for this apnType.
1301 switch (apnType) {
1305 mMobileApnReserved = apnType;
1313 if (apnType == ConnectivityManager.TYPE_MOBILE_DUN) {
1331 mobileUpstreamRequest, mMobileUpstreamCallback, 0, apnType);

Completed in 1924 milliseconds