/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | TestPhoneNotifier.java | 51 public void notifyDataConnection(Phone sender, String reason, String apnType) { argument 54 public void notifyDataConnection(Phone sender, String reason, String apnType, argument 58 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneNotifier.java | 41 public void notifyDataConnection(Phone sender, String reason, String apnType, argument 44 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); argument
|
H A D | DefaultPhoneNotifier.java | 110 public void notifyDataConnection(Phone sender, String reason, String apnType, argument 112 doNotifyDataConnection(sender, reason, apnType, state); 115 private void doNotifyDataConnection(Phone sender, String reason, String apnType, argument 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, 149 notifyDataConnectionFailed(Phone sender, String reason, String apnType) argument [all...] |
H A D | PhoneBase.java | 975 public void notifyDataConnection(String reason, String apnType, argument 977 mNotifier.notifyDataConnection(this, reason, apnType, state); 980 public void notifyDataConnection(String reason, String apnType) { argument 981 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 986 for (String apnType : types) { 987 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 1244 public String getActiveApnHost(String apnType) { argument 1245 return mDcTracker.getActiveApnString(apnType); 1249 getLinkProperties(String apnType) argument 1254 getLinkCapabilities(String apnType) argument 1274 isDataConnectivityPossible(String apnType) argument 1373 notifyDataConnectionFailed(String reason, String apnType) argument [all...] |
H A D | Phone.java | 212 * @param apnType specify for which apn to get connection state info. 214 DataState getDataConnectionState(String apnType); argument 278 String getActiveApnHost(String apnType); argument 283 LinkProperties getLinkProperties(String apnType); argument 288 LinkCapabilities getLinkCapabilities(String apnType); argument 1316 boolean isDataConnectivityPossible(String apnType); argument
|
H A D | PhoneProxy.java | 313 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 314 return mActivePhone.getDataConnectionState(apnType); 358 public String getActiveApnHost(String apnType) { argument 359 return mActivePhone.getActiveApnHost(apnType); 363 public LinkProperties getLinkProperties(String apnType) { argument 364 return mActivePhone.getLinkProperties(apnType); 368 public LinkCapabilities getLinkCapabilities(String apnType) { argument 369 return mActivePhone.getLinkCapabilities(apnType); 917 public boolean isDataConnectivityPossible(String apnType) { argument 918 return mActivePhone.isDataConnectivityPossible(apnType); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ITelephonyRegistry.aidl | 38 String reason, String apn, String apnType, in LinkProperties linkProperties, 40 void notifyDataConnectionFailed(String reason, String apnType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcTracker.java | 208 public boolean isDataPossible(String apnType) { argument 209 ApnContext apnContext = mApnContexts.get(apnType); 223 apnType, possible, dataAllowed, apnTypePossible, 290 public LinkProperties getLinkProperties(String apnType) { argument 291 ApnContext apnContext = mApnContexts.get(apnType); 295 if (DBG) log("return link properites for " + apnType); 304 public LinkCapabilities getLinkCapabilities(String apnType) { argument 305 ApnContext apnContext = mApnContexts.get(apnType); 309 if (DBG) log("get active pdp is not null, return link Capabilities for " + apnType); 334 public String getActiveApnString(String apnType) { argument 347 isApnTypeEnabled(String apnType) argument 362 getState(String apnType) argument 372 isProvisioningApn(String apnType) argument 438 enableApnType(String apnType) argument 1312 onSetDependencyMet(String apnType, boolean met) argument 2295 getApnProfileID(String apnType) argument [all...] |
H A D | DcTrackerBase.java | 470 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE); 472 ApnContext apnContext = mApnContexts.get(apnType); 476 " apnType=" + apnType + " apnContext=" + apnContext + 508 String apnType = intent.getStringExtra(INTENT_RESTART_TRYSETUP_ALARM_EXTRA_TYPE); 509 ApnContext apnContext = mApnContexts.get(apnType); 512 " apnType=" + apnType + " apnContext=" + apnContext + 645 public String getActiveApnString(String apnType) { argument 682 public abstract DctConstants.State getState(String apnType); argument 683 isProvisioningApn(String apnType) argument 700 isDataPossible(String apnType) argument 1009 getLinkProperties(String apnType) argument 1020 getLinkCapabilities(String apnType) argument 1081 isApnTypeEnabled(String apnType) argument 1322 onSetDependencyMet(String apnType, boolean met) argument [all...] |
H A D | ApnContext.java | 74 public ApnContext(Context context, String apnType, String logTag, NetworkConfig config) { argument 76 mApnType = apnType;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 107 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 115 } else if (mDcTracker.isApnTypeEnabled(apnType) == false) { 118 switch (mDcTracker.getState(apnType)) { 142 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
H A D | CDMAPhone.java | 690 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 702 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || 703 mDcTracker.isApnTypeActive(apnType) == false) { 706 switch (mDcTracker.getState(apnType)) { 730 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
/frameworks/base/core/java/android/net/ |
H A D | MobileDataStateTracker.java | 217 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY); 218 if (!TextUtils.equals(mApnType, apnType)) { 222 log("Broadcast received: " + intent.getAction() + " apnType=" + apnType 236 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY); 239 + "mApnType=%s %s received apnType=%s", mApnType, 240 TextUtils.equals(apnType, mApnType) ? "==" : "!=", apnType)); 242 if (!TextUtils.equals(apnType, mApnType)) { 248 log("Broadcast received: " + intent.getAction() + " apnType 696 setEnableApn(String apnType, boolean enable) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | 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) { argument 559 broadcastDataConnectionFailed(reason, apnType); 703 String reason, String apn, String apnType, LinkPropertie 477 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, int networkType, boolean roaming) argument 701 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, boolean roaming) argument 734 broadcastDataConnectionFailed(String reason, String apnType) argument [all...] |
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Tethering.java | 1182 protected String enableString(int apnType) { argument 1183 switch (apnType) { 1192 protected boolean turnOnUpstreamMobileConnection(int apnType) { argument 1194 if (apnType == ConnectivityManager.TYPE_NONE) return false; 1195 if (apnType != mMobileApnReserved) turnOffUpstreamMobileConnection(); 1197 String enableString = enableString(apnType); 1207 mMobileApnReserved = apnType;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipPhoneBase.java | 169 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 508 public LinkProperties getLinkProperties(String apnType) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GSMPhone.java | 295 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 308 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || 309 mDcTracker.isApnTypeActive(apnType) == false) { 315 switch (mDcTracker.getState(apnType)) {
|