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.java156 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument
158 doNotifyDataConnection(sender, reason, apnType, state); in notifyDataConnection()
161 private void doNotifyDataConnection(Phone sender, String reason, String apnType, in doNotifyDataConnection() argument
176 linkProperties = sender.getLinkProperties(apnType); in doNotifyDataConnection()
177 networkCapabilities = sender.getNetworkCapabilities(apnType); in doNotifyDataConnection()
186 sender.isDataConnectivityPossible(apnType), reason, in doNotifyDataConnection()
187 sender.getActiveApnHost(apnType), in doNotifyDataConnection()
188 apnType, in doNotifyDataConnection()
201 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() argument
205 mRegistry.notifyDataConnectionFailedForSubscriber(subId, reason, apnType); in notifyDataConnectionFailed()
[all …]
DPhoneNotifier.java42 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument
45 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); in notifyDataConnectionFailed() argument
57 public void notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, in notifyPreciseDataConnectionFailed() argument
DPhone.java2004 public void notifyDataConnection(String reason, String apnType, in notifyDataConnection() argument
2006 mNotifier.notifyDataConnection(this, reason, apnType, state); in notifyDataConnection()
2009 public void notifyDataConnection(String reason, String apnType) { in notifyDataConnection() argument
2010 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); in notifyDataConnection()
2015 for (String apnType : types) { in notifyDataConnection()
2016 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); in notifyDataConnection()
2587 public String getActiveApnHost(String apnType) { in getActiveApnHost() argument
2588 return mDcTracker.getActiveApnString(apnType); in getActiveApnHost()
2594 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
2595 return mDcTracker.getLinkProperties(apnType); in getLinkProperties()
[all …]
DRetryManager.java221 public RetryManager(Phone phone, String apnType) { in RetryManager() argument
223 mApnType = apnType; in RetryManager()
DPhoneInternalInterface.java229 DataState getDataConnectionState(String apnType); in getDataConnectionState() argument
DGsmCdmaPhone.java494 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
504 (isPhoneTypeGsm() && !apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY)))) { in getDataConnectionState()
513 switch (mDcTracker.getState(apnType)) { in getDataConnectionState()
537 logd("getDataConnectionState apnType=" + apnType + " ret=" + ret); in getDataConnectionState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DDcTrackerMock.java65 public boolean isDataPossible(String apnType) { in isDataPossible() argument
69 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
73 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() argument
81 public String getActiveApnString(String apnType) { in getActiveApnString() argument
85 public DctConstants.State getState(String apnType) { in getState() argument
161 public String[] getPcscfAddress(String apnType) { in getPcscfAddress() argument
DTelephonyRegistryMock.java235 String reason, String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument
242 boolean isDataConnectivityPossible, String reason, String apn, String apnType, in notifyDataConnectionForSubscriber() argument
249 public void notifyDataConnectionFailed(String reason, String apnType) { in notifyDataConnectionFailed() argument
254 public void notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType) { in notifyDataConnectionFailedForSubscriber() argument
290 public void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
DPhoneMock.java552 public void notifyDataConnection(String reason, String apnType, in notifyDataConnection() argument
557 public void notifyDataConnection(String reason, String apnType) { in notifyDataConnection() argument
785 public String getActiveApnHost(String apnType) { in getActiveApnHost() argument
789 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
793 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() argument
801 public boolean isDataConnectivityPossible(String apnType) { in isDataConnectivityPossible() argument
837 public void notifyDataConnectionFailed(String reason, String apnType) { in notifyDataConnectionFailed() argument
841 public void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
862 public String[] getPcscfAddress(String apnType) { in getPcscfAddress() argument
1069 public DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephonyRegistry.aidl50 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
55 void notifyDataConnectionFailed(String reason, String apnType); in notifyDataConnectionFailed() argument
56 void notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType); in notifyDataConnectionFailedForSubscriber() argument
64 void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, in notifyPreciseDataConnectionFailed() argument
DITelephony.aidl750 String[] getPcscfAddress(String apnType, String callingPackage); in getPcscfAddress() argument
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java1002 String reason, String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument
1005 isDataConnectivityPossible,reason, apn, apnType, linkProperties, in notifyDataConnection()
1010 boolean isDataConnectivityPossible, String reason, String apn, String apnType, in notifyDataConnectionForSubscriber() argument
1020 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType in notifyDataConnectionForSubscriber()
1028 if (!mConnectedApns.contains(apnType)) { in notifyDataConnectionForSubscriber()
1029 mConnectedApns.add(apnType); in notifyDataConnectionForSubscriber()
1036 if (mConnectedApns.remove(apnType)) { in notifyDataConnectionForSubscriber()
1077 apnType, apn, reason, linkProperties, ""); in notifyDataConnectionForSubscriber()
1092 apnType, linkProperties, networkCapabilities, roaming, subId); in notifyDataConnectionForSubscriber()
1093 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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java487 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE); in onActionIntentReconnectAlarm() local
501 ApnContext apnContext = mApnContexts.get(apnType); in onActionIntentReconnectAlarm()
505 " apnType=" + apnType + " apnContext=" + apnContext + in onActionIntentReconnectAlarm()
1085 public boolean isDataPossible(String apnType) { in isDataPossible() argument
1086 ApnContext apnContext = mApnContexts.get(apnType); in isDataPossible()
1111 apnType, possible, dataAllowed, apnTypePossible, in isDataPossible()
1180 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
1181 ApnContext apnContext = mApnContexts.get(apnType); in getLinkProperties()
1185 if (DBG) log("return link properites for " + apnType); in getLinkProperties()
1193 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() argument
[all …]
DApnContext.java110 public ApnContext(Phone phone, String apnType, String logTag, NetworkConfig config, in ApnContext() argument
113 mApnType = apnType; in ApnContext()
121 mRetryManager = new RetryManager(phone, apnType); in ApnContext()
/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java57 String apnType, String apn, String reason, in PreciseDataConnectionState() argument
61 mAPNType = apnType; in PreciseDataConnectionState()
DTelephonyManager.java3766 public String[] getPcscfAddress(String apnType) { in getPcscfAddress() argument
3771 return telephony.getPcscfAddress(apnType, getOpPackageName()); in getPcscfAddress()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneBase.java153 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
494 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneBase.java193 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument
528 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1575 protected boolean turnOnUpstreamMobileConnection(int apnType) { in turnOnUpstreamMobileConnection() argument
1576 if (apnType == ConnectivityManager.TYPE_NONE) { return false; } in turnOnUpstreamMobileConnection()
1578 if (apnType != mMobileApnReserved) { in turnOnUpstreamMobileConnection()
1589 switch (apnType) { in turnOnUpstreamMobileConnection()
1593 mMobileApnReserved = apnType; in turnOnUpstreamMobileConnection()
1601 if (apnType == ConnectivityManager.TYPE_MOBILE_DUN) { in turnOnUpstreamMobileConnection()
1619 mobileUpstreamRequest, mMobileUpstreamCallback, 0, apnType); in turnOnUpstreamMobileConnection()