/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | TestPhoneNotifier.java | 47 public void notifyDataConnection(Phone sender, String reason, String apnType) { argument 50 public void notifyDataConnection(Phone sender, String reason, String apnType, argument 54 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | PhoneNotifier.java | 37 public void notifyDataConnection(Phone sender, String reason, String apnType, argument 40 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); argument
|
H A D | ITelephonyRegistry.aidl | 37 String reason, String apn, String apnType, in LinkProperties linkProperties, 39 void notifyDataConnectionFailed(String reason, String apnType);
|
H A D | DefaultPhoneNotifier.java | 103 public void notifyDataConnection(Phone sender, String reason, String apnType, argument 105 doNotifyDataConnection(sender, reason, apnType, state); 108 private void doNotifyDataConnection(Phone sender, String reason, String apnType, argument 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, 141 notifyDataConnectionFailed(Phone sender, String reason, String apnType) argument [all...] |
H A D | PhoneBase.java | 816 public void notifyDataConnection(String reason, String apnType, argument 818 mNotifier.notifyDataConnection(this, reason, apnType, state); 821 public void notifyDataConnection(String reason, String apnType) { argument 822 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 827 for (String apnType : types) { 828 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 1041 public String getActiveApnHost(String apnType) { argument 1042 return mDataConnectionTracker.getActiveApnString(apnType); 1045 getLinkProperties(String apnType) argument 1049 getLinkCapabilities(String apnType) argument 1065 isDataConnectivityPossible(String apnType) argument 1159 notifyDataConnectionFailed(String reason, String apnType) argument [all...] |
H A D | DataConnectionTracker.java | 153 public static final String APN_TYPE_KEY = "apnType"; 584 public String getActiveApnString(String apnType) { argument 635 public abstract State getState(String apnType); argument 650 protected abstract boolean isDataPossible(String apnType); argument 749 String apnType = (String)bundle.get(APN_TYPE_KEY); 750 if (apnType != null) { 751 onSetDependencyMet(apnType, met); 838 protected LinkProperties getLinkProperties(String apnType) { argument 839 int id = apnTypeToId(apnType); 850 protected LinkCapabilities getLinkCapabilities(String apnType) { argument 905 isApnTypeEnabled(String apnType) argument 1139 onSetDependencyMet(String apnType, boolean met) argument [all...] |
H A D | ApnContext.java | 60 public ApnContext(String apnType, String logTag) { argument 61 mApnType = apnType; 204 return "state=" + getState() + " apnType=" + mApnType;
|
H A D | Phone.java | 103 static final String DATA_APN_TYPE_KEY = "apnType"; 280 * @param apnType specify for which apn to get connection state info. 282 DataState getDataConnectionState(String apnType); argument 346 String getActiveApnHost(String apnType); argument 351 LinkProperties getLinkProperties(String apnType); argument 356 LinkCapabilities getLinkCapabilities(String apnType); argument 1384 boolean isDataConnectivityPossible(String apnType); argument
|
H A D | PhoneProxy.java | 164 public DataState getDataConnectionState(String apnType) { argument 165 return mActivePhone.getDataConnectionState(apnType); 200 public String getActiveApnHost(String apnType) { argument 201 return mActivePhone.getActiveApnHost(apnType); 204 public LinkProperties getLinkProperties(String apnType) { argument 205 return mActivePhone.getLinkProperties(apnType); 208 public LinkCapabilities getLinkCapabilities(String apnType) { argument 209 return mActivePhone.getLinkCapabilities(apnType); 649 public boolean isDataConnectivityPossible(String apnType) { argument 650 return mActivePhone.isDataConnectivityPossible(apnType); [all...] |
/frameworks/base/core/java/android/net/ |
H A D | 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 th 525 setEnableApn(String apnType, boolean enable) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | 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) { argument 466 broadcastDataConnectionFailed(reason, apnType); 603 String reason, String apn, String apnType, LinkPropertie 385 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, int networkType, boolean roaming) argument 601 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, boolean roaming) argument 633 broadcastDataConnectionFailed(String reason, String apnType) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 103 public DataState getDataConnectionState(String apnType) { argument 111 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false) { 114 switch (mDataConnectionTracker.getState(apnType)) { 137 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
H A D | CDMAPhone.java | 618 public DataState getDataConnectionState(String apnType) { argument 630 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false || 631 mDataConnectionTracker.isApnTypeActive(apnType) == false) { 634 switch (mDataConnectionTracker.getState(apnType)) { 658 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
H A D | CdmaDataConnectionTracker.java | 193 public synchronized State getState(String apnType) { argument 255 protected boolean isDataPossible(String apnType) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmDataConnectionTracker.java | 246 protected boolean isDataPossible(String apnType) { argument 247 ApnContext apnContext = mApnContexts.get(apnType); 261 apnType, possible, dataAllowed, apnTypePossible, 343 protected LinkProperties getLinkProperties(String apnType) { argument 344 ApnContext apnContext = mApnContexts.get(apnType); 348 if (DBG) log("return link properites for " + apnType); 357 protected LinkCapabilities getLinkCapabilities(String apnType) { argument 358 ApnContext apnContext = mApnContexts.get(apnType); 362 if (DBG) log("get active pdp is not null, return link Capabilities for " + apnType); 387 public String getActiveApnString(String apnType) { argument 400 isApnTypeEnabled(String apnType) argument 415 getState(String apnType) argument 477 enableApnType(String apnType) argument 1733 onSetDependencyMet(String apnType, boolean met) argument 2515 getApnProfileID(String apnType) argument [all...] |
H A D | GsmDataConnection.java | 119 public void setActiveApnType(String apnType) { argument 120 mActiveApnType = apnType;
|
H A D | GSMPhone.java | 290 public DataState getDataConnectionState(String apnType) { argument 303 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false || 304 mDataConnectionTracker.isApnTypeActive(apnType) == false) { 310 switch (mDataConnectionTracker.getState(apnType)) {
|
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
H A D | SipPhoneBase.java | 154 public DataState getDataConnectionState(String apnType) { argument 442 public LinkProperties getLinkProperties(String apnType) { argument
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Tethering.java | 1180 protected String enableString(int apnType) { argument 1181 switch (apnType) { 1190 protected boolean turnOnUpstreamMobileConnection(int apnType) { argument 1192 if (apnType == ConnectivityManager.TYPE_NONE) return false; 1193 if (apnType != mMobileApnReserved) turnOffUpstreamMobileConnection(); 1195 String enableString = enableString(apnType); 1205 mMobileApnReserved = apnType;
|