/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DefaultPhoneNotifier.java | 152 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 …]
|
D | PhoneNotifier.java | 43 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
|
D | PhoneBase.java | 1565 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 …]
|
D | Phone.java | 224 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
|
D | PhoneProxy.java | 388 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/ |
D | ITelephonyRegistry.aidl | 51 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
|
D | ITelephony.aidl | 743 String[] getPcscfAddress(String apnType, String callingPackage); in getPcscfAddress() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 366 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 …]
|
D | DcTrackerBase.java | 509 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 …]
|
D | ApnContext.java | 96 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/ |
D | TelephonyRegistry.java | 1036 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/ |
D | TestPhoneNotifier.java.broken | 51 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/ |
D | PreciseDataConnectionState.java | 57 String apnType, String apn, String reason, in PreciseDataConnectionState() argument 61 mAPNType = apnType; in PreciseDataConnectionState()
|
D | TelephonyManager.java | 3457 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/ |
D | CDMALTEPhone.java | 147 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()
|
D | CDMAPhone.java | 794 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/ |
D | Tethering.java | 1200 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/ |
D | SipPhoneBase.java | 155 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/ |
D | ImsPhoneBase.java | 188 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/ |
D | GSMPhone.java | 335 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()
|