/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 | 1400 public void notifyDataConnection(String reason, String apnType, in notifyDataConnection() argument 1402 mNotifier.notifyDataConnection(this, reason, apnType, state); in notifyDataConnection() 1405 public void notifyDataConnection(String reason, String apnType) { in notifyDataConnection() argument 1406 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); in notifyDataConnection() 1411 for (String apnType : types) { in notifyDataConnection() 1412 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); in notifyDataConnection() 1719 public String getActiveApnHost(String apnType) { in getActiveApnHost() argument 1720 return mDcTracker.getActiveApnString(apnType); in getActiveApnHost() 1724 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument 1725 return mDcTracker.getLinkProperties(apnType); in getLinkProperties() [all …]
|
D | Phone.java | 219 DataState getDataConnectionState(String apnType); in getDataConnectionState() argument 290 String getActiveApnHost(String apnType); in getActiveApnHost() argument 295 LinkProperties getLinkProperties(String apnType); in getLinkProperties() argument 300 NetworkCapabilities getNetworkCapabilities(String apnType); in getNetworkCapabilities() argument 1384 boolean isDataConnectivityPossible(String apnType); in isDataConnectivityPossible() argument 1876 public String[] getPcscfAddress(String apnType); in getPcscfAddress() argument
|
D | PhoneProxy.java | 373 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument 374 return mActivePhone.getDataConnectionState(apnType); in getDataConnectionState() 423 public String getActiveApnHost(String apnType) { in getActiveApnHost() argument 424 return mActivePhone.getActiveApnHost(apnType); in getActiveApnHost() 428 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument 429 return mActivePhone.getLinkProperties(apnType); in getLinkProperties() 433 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() argument 434 return mActivePhone.getNetworkCapabilities(apnType); in getNetworkCapabilities() 1026 public boolean isDataConnectivityPossible(String apnType) { in isDataConnectivityPossible() argument 1027 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 | 695 String[] getPcscfAddress(String apnType); in getPcscfAddress() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TestPhoneNotifier.java | 51 public void notifyDataConnection(Phone sender, String reason, String apnType) { in notifyDataConnection() argument 54 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument 58 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 368 public boolean isDataPossible(String apnType) { in isDataPossible() argument 369 ApnContext apnContext = mApnContexts.get(apnType); in isDataPossible() 386 apnType, possible, dataAllowed, apnTypePossible, in isDataPossible() 469 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument 470 ApnContext apnContext = mApnContexts.get(apnType); in getLinkProperties() 474 if (DBG) log("return link properites for " + apnType); in getLinkProperties() 483 public NetworkCapabilities getNetworkCapabilities(String apnType) { in getNetworkCapabilities() argument 484 ApnContext apnContext = mApnContexts.get(apnType); in getNetworkCapabilities() 489 log("get active pdp is not null, return NetworkCapabilities for " + apnType); in getNetworkCapabilities() 515 public String getActiveApnString(String apnType) { in getActiveApnString() argument [all …]
|
D | DcTrackerBase.java | 506 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE); in onActionIntentReconnectAlarm() local 520 ApnContext apnContext = mApnContexts.get(apnType); in onActionIntentReconnectAlarm() 524 " apnType=" + apnType + " apnContext=" + apnContext + in onActionIntentReconnectAlarm() 559 String apnType = intent.getStringExtra(INTENT_RESTART_TRYSETUP_ALARM_EXTRA_TYPE); in onActionIntentRestartTrySetupAlarm() local 560 ApnContext apnContext = mApnContexts.get(apnType); in onActionIntentRestartTrySetupAlarm() 563 " apnType=" + apnType + " apnContext=" + apnContext + in onActionIntentRestartTrySetupAlarm() 767 public String getActiveApnString(String apnType) { in getActiveApnString() argument 873 public abstract DctConstants.State getState(String apnType); in getState() argument 874 protected abstract boolean isProvisioningApn(String apnType); in isProvisioningApn() argument 891 public abstract boolean isDataPossible(String apnType); in isDataPossible() argument [all …]
|
D | ApnContext.java | 91 public ApnContext(Context context, String apnType, String logTag, NetworkConfig config, in ApnContext() argument 94 mApnType = apnType; in ApnContext()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 942 String reason, String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument 945 isDataConnectivityPossible,reason, apn, apnType, linkProperties, in notifyDataConnection() 950 boolean isDataConnectivityPossible, String reason, String apn, String apnType, in notifyDataConnectionForSubscriber() argument 960 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType in notifyDataConnectionForSubscriber() 968 if (!mConnectedApns.contains(apnType)) { in notifyDataConnectionForSubscriber() 969 mConnectedApns.add(apnType); in notifyDataConnectionForSubscriber() 976 if (mConnectedApns.remove(apnType)) { in notifyDataConnectionForSubscriber() 1017 apnType, apn, reason, linkProperties, ""); in notifyDataConnectionForSubscriber() 1032 apnType, linkProperties, networkCapabilities, roaming, subId); in notifyDataConnectionForSubscriber() 1033 broadcastPreciseDataConnectionStateChanged(state, networkType, apnType, apn, reason, in notifyDataConnectionForSubscriber() [all …]
|
/frameworks/base/core/java/android/net/ |
D | MobileDataStateTracker.java | 216 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY); in onReceive() local 217 if (!TextUtils.equals(mApnType, apnType)) { in onReceive() 221 log("Broadcast received: " + intent.getAction() + " apnType=" + apnType in onReceive() 235 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY); in onReceive() local 239 TextUtils.equals(apnType, mApnType) ? "==" : "!=", apnType)); in onReceive() 241 if (!TextUtils.equals(apnType, mApnType)) { in onReceive() 247 log("Broadcast received: " + intent.getAction() + " apnType=" + apnType); in onReceive() 347 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY); in onReceive() local 348 if (!TextUtils.equals(apnType, mApnType)) { in onReceive() 352 "mApnType=%s != received apnType=%s", mApnType, apnType)); in onReceive() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | PreciseDataConnectionState.java | 59 String apnType, String apn, String reason, in PreciseDataConnectionState() argument 63 mAPNType = apnType; in PreciseDataConnectionState()
|
D | TelephonyManager.java | 3132 public String[] getPcscfAddress(String apnType) { in getPcscfAddress() argument 3134 return getITelephony().getPcscfAddress(apnType); 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 | 773 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument 785 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || in getDataConnectionState() 786 mDcTracker.isApnTypeActive(apnType) == false) { in getDataConnectionState() 789 switch (mDcTracker.getState(apnType)) { in getDataConnectionState() 813 log("getDataConnectionState apnType=" + apnType + " ret=" + ret); in getDataConnectionState()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 1187 protected String enableString(int apnType) { in enableString() argument 1188 switch (apnType) { in enableString() 1197 protected boolean turnOnUpstreamMobileConnection(int apnType) { in turnOnUpstreamMobileConnection() argument 1199 if (apnType == ConnectivityManager.TYPE_NONE) return false; in turnOnUpstreamMobileConnection() 1200 if (apnType != mMobileApnReserved) turnOffUpstreamMobileConnection(); in turnOnUpstreamMobileConnection() 1202 String enableString = enableString(apnType); in turnOnUpstreamMobileConnection() 1209 mMobileApnReserved = apnType; in turnOnUpstreamMobileConnection()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhoneBase.java | 154 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument 500 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 194 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument 534 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GSMPhone.java | 337 public PhoneConstants.DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument 345 } else if (!apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY) && in getDataConnectionState() 354 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || in getDataConnectionState() 355 mDcTracker.isApnTypeActive(apnType) == false) { in getDataConnectionState() 361 switch (mDcTracker.getState(apnType)) { in getDataConnectionState()
|