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/src/java/com/android/internal/telephony/
H A DPhoneNotifier.java43 public void notifyDataConnection(Phone sender, String reason, String apnType, argument
46 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); argument
58 public void notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, argument
H A DDefaultPhoneNotifier.java152 public void notifyDataConnection(Phone sender, String reason, String apnType, argument
154 doNotifyDataConnection(sender, reason, apnType, state);
157 private void doNotifyDataConnection(Phone sender, String reason, String apnType, argument
164 // use apnType as the key to which connection we're talking about.
165 // pass apnType back up to fetch particular for this one.
172 linkProperties = sender.getLinkProperties(apnType);
173 networkCapabilities = sender.getNetworkCapabilities(apnType);
182 sender.isDataConnectivityPossible(apnType), reason,
183 sender.getActiveApnHost(apnType),
184 apnType,
197 notifyDataConnectionFailed(Phone sender, String reason, String apnType) argument
282 notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, String apn, String failCause) argument
468 onDataStateChanged(int subId, String state, String reason, String apnName, String apnType, boolean unavailable) argument
[all...]
H A DPhoneBase.java1565 public void notifyDataConnection(String reason, String apnType, argument
1567 mNotifier.notifyDataConnection(this, reason, apnType, state);
1570 public void notifyDataConnection(String reason, String apnType) { argument
1571 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
1576 for (String apnType : types) {
1577 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
1911 public String getActiveApnHost(String apnType) { argument
1912 return mDcTracker.getActiveApnString(apnType);
1916 getLinkProperties(String apnType) argument
1921 getNetworkCapabilities(String apnType) argument
1931 isDataConnectivityPossible(String apnType) argument
2037 notifyDataConnectionFailed(String reason, String apnType) argument
2041 notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause) argument
2083 getPcscfAddress(String apnType) argument
[all...]
H A DPhone.java222 * @param apnType specify for which apn to get connection state info.
224 DataState getDataConnectionState(String apnType); argument
295 String getActiveApnHost(String apnType); argument
300 LinkProperties getLinkProperties(String apnType); argument
305 NetworkCapabilities getNetworkCapabilities(String apnType); argument
1410 boolean isDataConnectivityPossible(String apnType); argument
1905 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN
1907 public String[] getPcscfAddress(String apnType); argument
H A DPhoneProxy.java388 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
389 return mActivePhone.getDataConnectionState(apnType);
438 public String getActiveApnHost(String apnType) { argument
439 return mActivePhone.getActiveApnHost(apnType);
443 public LinkProperties getLinkProperties(String apnType) { argument
444 return mActivePhone.getLinkProperties(apnType);
448 public NetworkCapabilities getNetworkCapabilities(String apnType) { argument
449 return mActivePhone.getNetworkCapabilities(apnType);
1053 public boolean isDataConnectivityPossible(String apnType) { argument
1054 return mActivePhone.isDataConnectivityPossible(apnType);
1451 getPcscfAddress(String apnType) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DITelephonyRegistry.aidl51 String reason, String apn, String apnType, in LinkProperties linkProperties,
54 String reason, String apn, String apnType, in LinkProperties linkProperties,
56 void notifyDataConnectionFailed(String reason, String apnType);
57 void notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType);
65 void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn,
H A DITelephony.aidl740 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN
743 String[] getPcscfAddress(String apnType, String callingPackage);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java366 public boolean isDataPossible(String apnType) { argument
367 ApnContext apnContext = mApnContexts.get(apnType);
392 apnType, possible, dataAllowed, apnTypePossible,
461 public LinkProperties getLinkProperties(String apnType) { argument
462 ApnContext apnContext = mApnContexts.get(apnType);
466 if (DBG) log("return link properites for " + apnType);
475 public NetworkCapabilities getNetworkCapabilities(String apnType) { argument
476 ApnContext apnContext = mApnContexts.get(apnType);
481 log("get active pdp is not null, return NetworkCapabilities for " + apnType);
507 public String getActiveApnString(String apnType) { argument
520 isApnTypeEnabled(String apnType) argument
535 getState(String apnType) argument
545 isProvisioningApn(String apnType) argument
1516 onSetDependencyMet(String apnType, boolean met) argument
2712 getApnProfileID(String apnType) argument
2921 getPcscfAddress(String apnType) argument
[all...]
H A DDcTrackerBase.java509 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE);
523 ApnContext apnContext = mApnContexts.get(apnType);
527 " apnType=" + apnType + " apnContext=" + apnContext +
562 String apnType = intent.getStringExtra(INTENT_RESTART_TRYSETUP_ALARM_EXTRA_TYPE);
563 ApnContext apnContext = mApnContexts.get(apnType);
566 " apnType=" + apnType + " apnContext=" + apnContext +
761 public String getActiveApnString(String apnType) { argument
867 public abstract DctConstants.State getState(String apnType); argument
868 isProvisioningApn(String apnType) argument
885 isDataPossible(String apnType) argument
889 getPcscfAddress(String apnType) argument
1208 getLinkProperties(String apnType) argument
1219 getNetworkCapabilities(String apnType) argument
1280 isApnTypeEnabled(String apnType) argument
1404 onSetDependencyMet(String apnType, boolean met) argument
[all...]
H A DApnContext.java96 public ApnContext(Context context, String apnType, String logTag, NetworkConfig config, argument
99 mApnType = apnType;
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java1036 String reason, String apn, String apnType, LinkProperties linkProperties,
1039 isDataConnectivityPossible,reason, apn, apnType, linkProperties,
1044 boolean isDataConnectivityPossible, String reason, String apn, String apnType,
1054 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType
1062 if (!mConnectedApns.contains(apnType)) {
1063 mConnectedApns.add(apnType);
1070 if (mConnectedApns.remove(apnType)) {
1111 apnType, apn, reason, linkProperties, "");
1126 apnType, linkPropertie
1035 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1043 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
1131 notifyDataConnectionFailed(String reason, String apnType) argument
1136 notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType) argument
1273 notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause) argument
1466 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument
1500 broadcastDataConnectionFailed(String reason, String apnType, int subId) argument
1521 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.java3453 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN
3457 public String[] getPcscfAddress(String apnType) { argument
3462 return telephony.getPcscfAddress(apnType, getOpPackageName());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMALTEPhone.java147 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
155 } else if (mDcTracker.isApnTypeEnabled(apnType) == false) {
158 switch (mDcTracker.getState(apnType)) {
182 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
H A DCDMAPhone.java794 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
806 } else if (mDcTracker.isApnTypeEnabled(apnType) == false ||
807 mDcTracker.isApnTypeActive(apnType) == false) {
810 switch (mDcTracker.getState(apnType)) {
834 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneBase.java188 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
533 public LinkProperties getLinkProperties(String apnType) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java155 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
506 public LinkProperties getLinkProperties(String apnType) { argument
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DTethering.java1200 protected String enableString(int apnType) { argument
1201 switch (apnType) {
1210 protected boolean turnOnUpstreamMobileConnection(int apnType) { argument
1212 if (apnType == ConnectivityManager.TYPE_NONE) return false;
1213 if (apnType != mMobileApnReserved) turnOffUpstreamMobileConnection();
1215 String enableString = enableString(apnType);
1222 mMobileApnReserved = apnType;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java335 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
343 } else if (!apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY) &&
352 } else if (mDcTracker.isApnTypeEnabled(apnType) == false ||
353 mDcTracker.isApnTypeActive(apnType) == false) {
359 switch (mDcTracker.getState(apnType)) {

Completed in 3690 milliseconds