/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | DefaultPhoneNotifier.java | 103 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument 105 doNotifyDataConnection(sender, reason, apnType, state); in notifyDataConnection() 108 private void doNotifyDataConnection(Phone sender, String reason, String apnType, in doNotifyDataConnection() argument 119 linkProperties = sender.getLinkProperties(apnType); in doNotifyDataConnection() 120 linkCapabilities = sender.getLinkCapabilities(apnType); in doNotifyDataConnection() 128 sender.isDataConnectivityPossible(apnType), reason, in doNotifyDataConnection() 129 sender.getActiveApnHost(apnType), in doNotifyDataConnection() 130 apnType, in doNotifyDataConnection() local 141 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() argument 143 mRegistry.notifyDataConnectionFailed(reason, apnType); in notifyDataConnectionFailed()
|
D | PhoneBase.java | 815 public void notifyDataConnection(String reason, String apnType, in notifyDataConnection() argument 817 mNotifier.notifyDataConnection(this, reason, apnType, state); in notifyDataConnection() 820 public void notifyDataConnection(String reason, String apnType) { in notifyDataConnection() argument 821 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); in notifyDataConnection() 826 for (String apnType : types) { in notifyDataConnection() 827 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); in notifyDataConnection() 1040 public String getActiveApnHost(String apnType) { in getActiveApnHost() argument 1041 return mDataConnectionTracker.getActiveApnString(apnType); in getActiveApnHost() 1044 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument 1045 return mDataConnectionTracker.getLinkProperties(apnType); in getLinkProperties() [all …]
|
D | PhoneNotifier.java | 37 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument 40 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); in notifyDataConnectionFailed() argument
|
D | DataConnectionTracker.java | 490 public String getActiveApnString(String apnType) { in getActiveApnString() argument 539 public abstract State getState(String apnType); in getState() argument 554 protected abstract boolean isDataPossible(String apnType); in isDataPossible() argument 645 String apnType = (String)bundle.get(APN_TYPE_KEY); in handleMessage() local 646 if (apnType != null) { in handleMessage() 647 onSetDependencyMet(apnType, met); in handleMessage() 734 protected LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument 735 int id = apnTypeToId(apnType); in getLinkProperties() 746 protected LinkCapabilities getLinkCapabilities(String apnType) { in getLinkCapabilities() argument 747 int id = apnTypeToId(apnType); in getLinkCapabilities() [all …]
|
D | ITelephonyRegistry.aidl | 37 String reason, String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnection() argument 39 void notifyDataConnectionFailed(String reason, String apnType); in notifyDataConnectionFailed() argument
|
D | PhoneProxy.java | 163 public DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument 164 return mActivePhone.getDataConnectionState(apnType); in getDataConnectionState() 199 public String getActiveApnHost(String apnType) { in getActiveApnHost() argument 200 return mActivePhone.getActiveApnHost(apnType); in getActiveApnHost() 203 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument 204 return mActivePhone.getLinkProperties(apnType); in getLinkProperties() 207 public LinkCapabilities getLinkCapabilities(String apnType) { in getLinkCapabilities() argument 208 return mActivePhone.getLinkCapabilities(apnType); in getLinkCapabilities() 648 public boolean isDataConnectivityPossible(String apnType) { in isDataConnectivityPossible() argument 649 return mActivePhone.isDataConnectivityPossible(apnType); in isDataConnectivityPossible()
|
D | Phone.java | 281 DataState getDataConnectionState(String apnType); in getDataConnectionState() argument 345 String getActiveApnHost(String apnType); in getActiveApnHost() argument 350 LinkProperties getLinkProperties(String apnType); in getLinkProperties() argument 355 LinkCapabilities getLinkCapabilities(String apnType); in getLinkCapabilities() argument 1383 boolean isDataConnectivityPossible(String apnType); in isDataConnectivityPossible() argument
|
D | ApnContext.java | 60 public ApnContext(String apnType, String logTag) { in ApnContext() argument 61 mApnType = apnType; in ApnContext()
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TestPhoneNotifier.java | 47 public void notifyDataConnection(Phone sender, String reason, String apnType) { in notifyDataConnection() argument 50 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument 54 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() argument
|
/frameworks/base/core/java/android/net/ |
D | MobileDataStateTracker.java | 183 String apnType = intent.getStringExtra(Phone.DATA_APN_TYPE_KEY); in onReceive() local 187 TextUtils.equals(apnType, mApnType) ? "==" : "!=", apnType)); in onReceive() 189 if (!TextUtils.equals(apnType, mApnType)) { in onReceive() 267 String apnType = intent.getStringExtra(Phone.DATA_APN_TYPE_KEY); in onReceive() local 268 if (!TextUtils.equals(apnType, mApnType)) { in onReceive() 272 "mApnType=%s != received apnType=%s", mApnType, apnType)); in onReceive() 525 private int setEnableApn(String apnType, boolean enable) { in setEnableApn() argument 539 return mPhoneService.enableApnType(apnType); in setEnableApn() 541 return mPhoneService.disableApnType(apnType); in setEnableApn() 548 loge("Could not " + (enable ? "enable" : "disable") + " APN type \"" + apnType + "\""); in setEnableApn()
|
/frameworks/base/services/java/com/android/server/ |
D | TelephonyRegistry.java | 386 String reason, String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument 394 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType); in notifyDataConnection() 399 if (!mConnectedApns.contains(apnType)) { in notifyDataConnection() 400 mConnectedApns.add(apnType); in notifyDataConnection() 407 if (mConnectedApns.remove(apnType)) { in notifyDataConnection() 445 apnType, linkProperties, linkCapabilities, roaming); in notifyDataConnection() 448 public void notifyDataConnectionFailed(String reason, String apnType) { in notifyDataConnectionFailed() argument 466 broadcastDataConnectionFailed(reason, apnType); in notifyDataConnectionFailed() 603 String reason, String apn, String apnType, LinkProperties linkProperties, in broadcastDataConnectionStateChanged() argument 629 intent.putExtra(Phone.DATA_APN_TYPE_KEY, apnType); in broadcastDataConnectionStateChanged() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmDataConnectionTracker.java | 213 protected boolean isDataPossible(String apnType) { in isDataPossible() argument 214 ApnContext apnContext = mApnContexts.get(apnType); in isDataPossible() 228 apnType, possible, dataAllowed, apnTypePossible, in isDataPossible() 305 protected LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument 306 ApnContext apnContext = mApnContexts.get(apnType); in getLinkProperties() 310 if (DBG) log("return link properites for " + apnType); in getLinkProperties() 319 protected LinkCapabilities getLinkCapabilities(String apnType) { in getLinkCapabilities() argument 320 ApnContext apnContext = mApnContexts.get(apnType); in getLinkCapabilities() 324 if (DBG) log("get active pdp is not null, return link Capabilities for " + apnType); in getLinkCapabilities() 349 public String getActiveApnString(String apnType) { in getActiveApnString() argument [all …]
|
D | GsmDataConnection.java | 116 public void setActiveApnType(String apnType) { in setActiveApnType() argument 117 mActiveApnType = apnType; in setActiveApnType()
|
D | GSMPhone.java | 290 public DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument 303 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false || in getDataConnectionState() 304 mDataConnectionTracker.isApnTypeActive(apnType) == false) { in getDataConnectionState() 310 switch (mDataConnectionTracker.getState(apnType)) { in getDataConnectionState()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | CDMALTEPhone.java | 103 public DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument 111 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false) { in getDataConnectionState() 114 switch (mDataConnectionTracker.getState(apnType)) { in getDataConnectionState() 137 log("getDataConnectionState apnType=" + apnType + " ret=" + ret); in getDataConnectionState()
|
D | CDMAPhone.java | 618 public DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument 630 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false || in getDataConnectionState() 631 mDataConnectionTracker.isApnTypeActive(apnType) == false) { in getDataConnectionState() 634 switch (mDataConnectionTracker.getState(apnType)) { in getDataConnectionState() 658 log("getDataConnectionState apnType=" + apnType + " ret=" + ret); in getDataConnectionState()
|
D | CdmaDataConnectionTracker.java | 162 public synchronized State getState(String apnType) { in getState() argument 223 protected boolean isDataPossible(String apnType) { in isDataPossible() argument
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Tethering.java | 1139 protected String enableString(int apnType) { in enableString() argument 1140 switch (apnType) { in enableString() 1149 protected boolean turnOnUpstreamMobileConnection(int apnType) { in turnOnUpstreamMobileConnection() argument 1151 if (apnType == ConnectivityManager.TYPE_NONE) return false; in turnOnUpstreamMobileConnection() 1152 if (apnType != mMobileApnReserved) turnOffUpstreamMobileConnection(); in turnOnUpstreamMobileConnection() 1156 String enableString = enableString(apnType); in turnOnUpstreamMobileConnection() 1166 mMobileApnReserved = apnType; in turnOnUpstreamMobileConnection()
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
D | SipPhoneBase.java | 154 public DataState getDataConnectionState(String apnType) { in getDataConnectionState() argument 442 public LinkProperties getLinkProperties(String apnType) { in getLinkProperties() argument
|