Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java152 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument
154 doNotifyDataConnection(sender, reason, apnType, state); in notifyDataConnection()
157 private void doNotifyDataConnection(Phone sender, String reason, String apnType, in doNotifyDataConnection() argument
172 linkProperties = sender.getLinkProperties(apnType); in doNotifyDataConnection()
173 networkCapabilities = sender.getNetworkCapabilities(apnType); in doNotifyDataConnection()
182 sender.isDataConnectivityPossible(apnType), reason, in doNotifyDataConnection()
183 sender.getActiveApnHost(apnType), in doNotifyDataConnection()
184 apnType, in doNotifyDataConnection()
197 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() argument
201 mRegistry.notifyDataConnectionFailedForSubscriber(subId, reason, apnType); in notifyDataConnectionFailed()
[all …]
DPhoneNotifier.java43 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument
46 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); in notifyDataConnectionFailed() argument
58 public void notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, in notifyPreciseDataConnectionFailed() argument
DPhoneBase.java1565 public void notifyDataConnection(String reason, String apnType, in notifyDataConnection() argument
1567 mNotifier.notifyDataConnection(this, reason, apnType, state); in notifyDataConnection()
1570 public void notifyDataConnection(String reason, String apnType) { in notifyDataConnection() argument
1571 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); in notifyDataConnection()
1576 for (String apnType : types) { in notifyDataConnection()
1577 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); in notifyDataConnection()
1911 public String getActiveApnHost(String apnType) { in getActiveApnHost() argument
1912 return mDcTracker.getActiveApnString(apnType); in getActiveApnHost()
1916 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
1917 return mDcTracker.getLinkProperties(apnType); in getLinkProperties()
[all …]
DPhone.java224 DataState getDataConnectionState(String apnType); in getDataConnectionState() argument
295 String getActiveApnHost(String apnType); in getActiveApnHost() argument
300 LinkProperties getLinkProperties(String apnType); in getLinkProperties() argument
305 NetworkCapabilities getNetworkCapabilities(String apnType); in getNetworkCapabilities() argument
1410 boolean isDataConnectivityPossible(String apnType); in isDataConnectivityPossible() argument
1907 public String[] getPcscfAddress(String apnType); in getPcscfAddress() argument
DPhoneProxy.java388 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
389 return mActivePhone.getDataConnectionState(apnType); in getDataConnectionState()
438 public String getActiveApnHost(String apnType) { in getActiveApnHost() argument
439 return mActivePhone.getActiveApnHost(apnType); in getActiveApnHost()
443 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
444 return mActivePhone.getLinkProperties(apnType); in getLinkProperties()
448 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() argument
449 return mActivePhone.getNetworkCapabilities(apnType); in getNetworkCapabilities()
1053 public boolean isDataConnectivityPossible(String apnType) { in isDataConnectivityPossible() argument
1054 return mActivePhone.isDataConnectivityPossible(apnType); in isDataConnectivityPossible()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephonyRegistry.aidl51 String reason, String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnection() argument
54 String reason, String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnectionForSubscriber() argument
56 void notifyDataConnectionFailed(String reason, String apnType); in notifyDataConnectionFailed() argument
57 void notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType); in notifyDataConnectionFailedForSubscriber() argument
65 void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
DITelephony.aidl743 String[] getPcscfAddress(String apnType, String callingPackage); in getPcscfAddress() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java366 public boolean isDataPossible(String apnType) { in isDataPossible() argument
367 ApnContext apnContext = mApnContexts.get(apnType); in isDataPossible()
392 apnType, possible, dataAllowed, apnTypePossible, in isDataPossible()
461 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
462 ApnContext apnContext = mApnContexts.get(apnType); in getLinkProperties()
466 if (DBG) log("return link properites for " + apnType); in getLinkProperties()
475 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() argument
476 ApnContext apnContext = mApnContexts.get(apnType); in getNetworkCapabilities()
481 log("get active pdp is not null, return NetworkCapabilities for " + apnType); in getNetworkCapabilities()
507 public String getActiveApnString(String apnType) { in getActiveApnString() argument
[all …]
DDcTrackerBase.java509 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE); in onActionIntentReconnectAlarm() local
523 ApnContext apnContext = mApnContexts.get(apnType); in onActionIntentReconnectAlarm()
527 " apnType=" + apnType + " apnContext=" + apnContext + in onActionIntentReconnectAlarm()
562 String apnType = intent.getStringExtra(INTENT_RESTART_TRYSETUP_ALARM_EXTRA_TYPE); in onActionIntentRestartTrySetupAlarm() local
563 ApnContext apnContext = mApnContexts.get(apnType); in onActionIntentRestartTrySetupAlarm()
566 " apnType=" + apnType + " apnContext=" + apnContext + in onActionIntentRestartTrySetupAlarm()
761 public String getActiveApnString(String apnType) { in getActiveApnString() argument
867 public abstract DctConstants.State getState(String apnType); in getState() argument
868 protected abstract boolean isProvisioningApn(String apnType); in isProvisioningApn() argument
885 public abstract boolean isDataPossible(String apnType); in isDataPossible() argument
[all …]
DApnContext.java96 public ApnContext(Context context, String apnType, String logTag, NetworkConfig config, in ApnContext() argument
99 mApnType = apnType; in ApnContext()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java1036 String reason, String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument
1039 isDataConnectivityPossible,reason, apn, apnType, linkProperties, in notifyDataConnection()
1044 boolean isDataConnectivityPossible, String reason, String apn, String apnType, in notifyDataConnectionForSubscriber() argument
1054 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType in notifyDataConnectionForSubscriber()
1062 if (!mConnectedApns.contains(apnType)) { in notifyDataConnectionForSubscriber()
1063 mConnectedApns.add(apnType); in notifyDataConnectionForSubscriber()
1070 if (mConnectedApns.remove(apnType)) { in notifyDataConnectionForSubscriber()
1111 apnType, apn, reason, linkProperties, ""); in notifyDataConnectionForSubscriber()
1126 apnType, linkProperties, networkCapabilities, roaming, subId); in notifyDataConnectionForSubscriber()
1127 broadcastPreciseDataConnectionStateChanged(state, networkType, apnType, apn, reason, in notifyDataConnectionForSubscriber()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
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/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java57 String apnType, String apn, String reason, in PreciseDataConnectionState() argument
61 mAPNType = apnType; in PreciseDataConnectionState()
DTelephonyManager.java3457 public String[] getPcscfAddress(String apnType) { in getPcscfAddress() argument
3462 return telephony.getPcscfAddress(apnType, getOpPackageName()); in getPcscfAddress()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCDMALTEPhone.java147 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
155 } else if (mDcTracker.isApnTypeEnabled(apnType) == false) { in getDataConnectionState()
158 switch (mDcTracker.getState(apnType)) { in getDataConnectionState()
182 log("getDataConnectionState apnType=" + apnType + " ret=" + ret); in getDataConnectionState()
DCDMAPhone.java794 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
806 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || in getDataConnectionState()
807 mDcTracker.isApnTypeActive(apnType) == false) { in getDataConnectionState()
810 switch (mDcTracker.getState(apnType)) { in getDataConnectionState()
834 log("getDataConnectionState apnType=" + apnType + " ret=" + ret); in getDataConnectionState()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1200 protected String enableString(int apnType) { in enableString() argument
1201 switch (apnType) { in enableString()
1210 protected boolean turnOnUpstreamMobileConnection(int apnType) { in turnOnUpstreamMobileConnection() argument
1212 if (apnType == ConnectivityManager.TYPE_NONE) return false; in turnOnUpstreamMobileConnection()
1213 if (apnType != mMobileApnReserved) turnOffUpstreamMobileConnection(); in turnOnUpstreamMobileConnection()
1215 String enableString = enableString(apnType); in turnOnUpstreamMobileConnection()
1222 mMobileApnReserved = apnType; in turnOnUpstreamMobileConnection()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java155 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
506 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java188 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
533 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGSMPhone.java335 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
343 } else if (!apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY) && in getDataConnectionState()
352 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || in getDataConnectionState()
353 mDcTracker.isApnTypeActive(apnType) == false) { in getDataConnectionState()
359 switch (mDcTracker.getState(apnType)) { in getDataConnectionState()