/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
TestPhoneNotifier.java | 47 public void notifyDataConnection(Phone sender, String reason, String apnType) { 50 public void notifyDataConnection(Phone sender, String reason, String apnType, 54 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
PhoneNotifier.java | 37 public void notifyDataConnection(Phone sender, String reason, String apnType, 40 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType);
|
ITelephonyRegistry.aidl | 37 String reason, String apn, String apnType, in LinkProperties linkProperties, 39 void notifyDataConnectionFailed(String reason, String apnType);
|
DefaultPhoneNotifier.java | 103 public void notifyDataConnection(Phone sender, String reason, String apnType, 105 doNotifyDataConnection(sender, reason, apnType, state); 108 private void doNotifyDataConnection(Phone sender, String reason, String apnType, 111 // use apnType as the key to which connection we're talking about. 112 // pass apnType back up to fetch particular for this one. 119 linkProperties = sender.getLinkProperties(apnType); 120 linkCapabilities = sender.getLinkCapabilities(apnType); 128 sender.isDataConnectivityPossible(apnType), reason, 129 sender.getActiveApnHost(apnType), 130 apnType, [all...] |
PhoneBase.java | 815 public void notifyDataConnection(String reason, String apnType, 817 mNotifier.notifyDataConnection(this, reason, apnType, state); 820 public void notifyDataConnection(String reason, String apnType) { 821 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 826 for (String apnType : types) { 827 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); [all...] |
DataConnectionTracker.java | 150 public static final String APN_TYPE_KEY = "apnType"; 276 /** Convert an ApnType string to Id (TODO: Use "enumeration" instead of String for ApnType) */ 490 public String getActiveApnString(String apnType) { 539 public abstract State getState(String apnType); 554 protected abstract boolean isDataPossible(String apnType); 645 String apnType = (String)bundle.get(APN_TYPE_KEY); 646 if (apnType != null) { 647 onSetDependencyMet(apnType, met); 734 protected LinkProperties getLinkProperties(String apnType) { [all...] |
ApnContext.java | 60 public ApnContext(String apnType, String logTag) { 61 mApnType = apnType; 204 return "state=" + getState() + " apnType=" + mApnType;
|
Phone.java | 102 static final String DATA_APN_TYPE_KEY = "apnType"; 279 * @param apnType specify for which apn to get connection state info. 281 DataState getDataConnectionState(String apnType); 345 String getActiveApnHost(String apnType); 350 LinkProperties getLinkProperties(String apnType); 355 LinkCapabilities getLinkCapabilities(String apnType); [all...] |
PhoneProxy.java | 163 public DataState getDataConnectionState(String apnType) { 164 return mActivePhone.getDataConnectionState(apnType); 199 public String getActiveApnHost(String apnType) { 200 return mActivePhone.getActiveApnHost(apnType); 203 public LinkProperties getLinkProperties(String apnType) { 204 return mActivePhone.getLinkProperties(apnType); 207 public LinkCapabilities getLinkCapabilities(String apnType) { 208 return mActivePhone.getLinkCapabilities(apnType); 648 public boolean isDataConnectivityPossible(String apnType) { 649 return mActivePhone.isDataConnectivityPossible(apnType); [all...] |
/frameworks/base/core/java/android/net/ |
MobileDataStateTracker.java | 183 String apnType = intent.getStringExtra(Phone.DATA_APN_TYPE_KEY); 186 + "mApnType=%s %s received apnType=%s", mApnType, 187 TextUtils.equals(apnType, mApnType) ? "==" : "!=", apnType)); 189 if (!TextUtils.equals(apnType, mApnType)) { 267 String apnType = intent.getStringExtra(Phone.DATA_APN_TYPE_KEY); 268 if (!TextUtils.equals(apnType, mApnType)) { 272 "mApnType=%s != received apnType=%s", mApnType, apnType)); 520 * @param apnType the type of APN to be enabled or disabled (e.g., mms [all...] |
/frameworks/base/services/java/com/android/server/ |
TelephonyRegistry.java | 386 String reason, String apn, String apnType, LinkProperties linkProperties, 394 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType); 399 if (!mConnectedApns.contains(apnType)) { 400 mConnectedApns.add(apnType); 407 if (mConnectedApns.remove(apnType)) { 445 apnType, linkProperties, linkCapabilities, roaming); 448 public void notifyDataConnectionFailed(String reason, String apnType) { 466 broadcastDataConnectionFailed(reason, apnType); 603 String reason, String apn, String apnType, LinkProperties linkProperties [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CDMALTEPhone.java | 103 public DataState getDataConnectionState(String apnType) { 111 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false) { 114 switch (mDataConnectionTracker.getState(apnType)) { 137 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
CDMAPhone.java | 618 public DataState getDataConnectionState(String apnType) { 630 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false || 631 mDataConnectionTracker.isApnTypeActive(apnType) == false) { 634 switch (mDataConnectionTracker.getState(apnType)) { 658 log("getDataConnectionState apnType=" + apnType + " ret=" + ret); [all...] |
CdmaDataConnectionTracker.java | 162 public synchronized State getState(String apnType) { 223 protected boolean isDataPossible(String apnType) { [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
GsmDataConnectionTracker.java | 213 protected boolean isDataPossible(String apnType) { 214 ApnContext apnContext = mApnContexts.get(apnType); 228 apnType, possible, dataAllowed, apnTypePossible, 305 protected LinkProperties getLinkProperties(String apnType) { 306 ApnContext apnContext = mApnContexts.get(apnType); 310 if (DBG) log("return link properites for " + apnType); 319 protected LinkCapabilities getLinkCapabilities(String apnType) { 320 ApnContext apnContext = mApnContexts.get(apnType); 324 if (DBG) log("get active pdp is not null, return link Capabilities for " + apnType); 349 public String getActiveApnString(String apnType) { [all...] |
GsmDataConnection.java | 116 public void setActiveApnType(String apnType) { 117 mActiveApnType = apnType;
|
GSMPhone.java | 290 public DataState getDataConnectionState(String apnType) { 303 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false || 304 mDataConnectionTracker.isApnTypeActive(apnType) == false) { 310 switch (mDataConnectionTracker.getState(apnType)) { [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
SipPhoneBase.java | 154 public DataState getDataConnectionState(String apnType) { 442 public LinkProperties getLinkProperties(String apnType) {
|
/frameworks/base/services/java/com/android/server/connectivity/ |
Tethering.java | [all...] |