/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
TestPhoneNotifier.java | 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/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneNotifier.java | 41 public void notifyDataConnection(Phone sender, String reason, String apnType, 44 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType);
|
DefaultPhoneNotifier.java | 110 public void notifyDataConnection(Phone sender, String reason, String apnType, 112 doNotifyDataConnection(sender, reason, apnType, state); 115 private void doNotifyDataConnection(Phone sender, String reason, String apnType, 118 // use apnType as the key to which connection we're talking about. 119 // pass apnType back up to fetch particular for this one. 126 linkProperties = sender.getLinkProperties(apnType); 127 linkCapabilities = sender.getLinkCapabilities(apnType); 135 sender.isDataConnectivityPossible(apnType), reason, 136 sender.getActiveApnHost(apnType), 137 apnType, [all...] |
PhoneBase.java | 930 public void notifyDataConnection(String reason, String apnType, 932 mNotifier.notifyDataConnection(this, reason, apnType, state); 935 public void notifyDataConnection(String reason, String apnType) { 936 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 941 for (String apnType : types) { 942 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); [all...] |
Phone.java | 211 * @param apnType specify for which apn to get connection state info. 213 DataState getDataConnectionState(String apnType); 277 String getActiveApnHost(String apnType); 282 LinkProperties getLinkProperties(String apnType); 287 LinkCapabilities getLinkCapabilities(String apnType); [all...] |
PhoneProxy.java | 289 public PhoneConstants.DataState getDataConnectionState(String apnType) { 290 return mActivePhone.getDataConnectionState(apnType); 334 public String getActiveApnHost(String apnType) { 335 return mActivePhone.getActiveApnHost(apnType); 339 public LinkProperties getLinkProperties(String apnType) { 340 return mActivePhone.getLinkProperties(apnType); 344 public LinkCapabilities getLinkCapabilities(String apnType) { 345 return mActivePhone.getLinkCapabilities(apnType); 893 public boolean isDataConnectivityPossible(String apnType) { 894 return mActivePhone.isDataConnectivityPossible(apnType); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ITelephonyRegistry.aidl | 38 String reason, String apn, String apnType, in LinkProperties linkProperties, 40 void notifyDataConnectionFailed(String reason, String apnType);
|
/frameworks/base/core/java/android/net/ |
MobileDataStateTracker.java | 176 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY); 179 + "mApnType=%s %s received apnType=%s", mApnType, 180 TextUtils.equals(apnType, mApnType) ? "==" : "!=", apnType)); 182 if (!TextUtils.equals(apnType, mApnType)) { 270 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY); 271 if (!TextUtils.equals(apnType, mApnType)) { 275 "mApnType=%s != received apnType=%s", mApnType, apnType)); 550 * @param apnType the type of APN to be enabled or disabled (e.g., mms [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTracker.java | 200 public boolean isDataPossible(String apnType) { 201 ApnContext apnContext = mApnContexts.get(apnType); 215 apnType, possible, dataAllowed, apnTypePossible, 287 public LinkProperties getLinkProperties(String apnType) { 288 ApnContext apnContext = mApnContexts.get(apnType); 292 if (DBG) log("return link properites for " + apnType); 301 public LinkCapabilities getLinkCapabilities(String apnType) { 302 ApnContext apnContext = mApnContexts.get(apnType); 306 if (DBG) log("get active pdp is not null, return link Capabilities for " + apnType); 331 public String getActiveApnString(String apnType) { [all...] |
DcTrackerBase.java | 243 /** Convert an ApnType string to Id (TODO: Use "enumeration" instead of String for ApnType) */ 422 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE); 424 ApnContext apnContext = mApnContexts.get(apnType); 428 " apnType=" + apnType + " apnContext=" + apnContext + 460 String apnType = intent.getStringExtra(INTENT_RESTART_TRYSETUP_ALARM_EXTRA_TYPE); 461 ApnContext apnContext = mApnContexts.get(apnType); 464 " apnType=" + apnType + " apnContext=" + apnContext [all...] |
ApnContext.java | 67 public ApnContext(String apnType, String logTag) { 68 mApnType = apnType;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CDMALTEPhone.java | 115 public PhoneConstants.DataState getDataConnectionState(String apnType) { 123 } else if (mDcTracker.isApnTypeEnabled(apnType) == false) { 126 switch (mDcTracker.getState(apnType)) { 150 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
CDMAPhone.java | 662 public PhoneConstants.DataState getDataConnectionState(String apnType) { 674 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || 675 mDcTracker.isApnTypeActive(apnType) == false) { 678 switch (mDcTracker.getState(apnType)) { 702 log("getDataConnectionState apnType=" + apnType + " ret=" + ret); [all...] |
/frameworks/base/services/java/com/android/server/ |
TelephonyRegistry.java | 478 String reason, String apn, String apnType, LinkProperties linkProperties, 486 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType 492 if (!mConnectedApns.contains(apnType)) { 493 mConnectedApns.add(apnType); 500 if (mConnectedApns.remove(apnType)) { 538 apnType, linkProperties, linkCapabilities, roaming); 541 public void notifyDataConnectionFailed(String reason, String apnType) { 559 broadcastDataConnectionFailed(reason, apnType); 703 String reason, String apn, String apnType, LinkProperties linkProperties [all...] |
/frameworks/base/services/java/com/android/server/connectivity/ |
Tethering.java | [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipPhoneBase.java | 177 public PhoneConstants.DataState getDataConnectionState(String apnType) { 521 public LinkProperties getLinkProperties(String apnType) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GSMPhone.java | 282 public PhoneConstants.DataState getDataConnectionState(String apnType) { 295 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || 296 mDcTracker.isApnTypeActive(apnType) == false) { 302 switch (mDcTracker.getState(apnType)) { [all...] |