/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 | 43 public void notifyDataConnection(Phone sender, String reason, String apnType, argument 46 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); argument 58 public void notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, argument
|
H A D | DefaultPhoneNotifier.java | 152 public void notifyDataConnection(Phone sender, String reason, String apnType, argument 154 doNotifyDataConnection(sender, reason, apnType, state); 157 private void doNotifyDataConnection(Phone sender, String reason, String apnType, argument 164 // use apnType as the key to which connection we're talking about. 165 // pass apnType back up to fetch particular for this one. 172 linkProperties = sender.getLinkProperties(apnType); 173 networkCapabilities = sender.getNetworkCapabilities(apnType); 182 sender.isDataConnectivityPossible(apnType), reason, 183 sender.getActiveApnHost(apnType), 184 apnType, 197 notifyDataConnectionFailed(Phone sender, String reason, String apnType) argument 282 notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, String apn, String failCause) argument 468 onDataStateChanged(int subId, String state, String reason, String apnName, String apnType, boolean unavailable) argument [all...] |
H A D | PhoneBase.java | 1407 public void notifyDataConnection(String reason, String apnType, argument 1409 mNotifier.notifyDataConnection(this, reason, apnType, state); 1412 public void notifyDataConnection(String reason, String apnType) { argument 1413 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 1418 for (String apnType : types) { 1419 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 1726 public String getActiveApnHost(String apnType) { argument 1727 return mDcTracker.getActiveApnString(apnType); 1731 getLinkProperties(String apnType) argument 1736 getNetworkCapabilities(String apnType) argument 1746 isDataConnectivityPossible(String apnType) argument 1840 notifyDataConnectionFailed(String reason, String apnType) argument 1844 notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause) argument 1886 getPcscfAddress(String apnType) argument [all...] |
H A D | Phone.java | 217 * @param apnType specify for which apn to get connection state info. 219 DataState getDataConnectionState(String apnType); argument 290 String getActiveApnHost(String apnType); argument 295 LinkProperties getLinkProperties(String apnType); argument 300 NetworkCapabilities getNetworkCapabilities(String apnType); argument 1384 boolean isDataConnectivityPossible(String apnType); argument 1874 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN 1876 public String[] getPcscfAddress(String apnType); argument
|
H A D | PhoneProxy.java | 373 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 374 return mActivePhone.getDataConnectionState(apnType); 423 public String getActiveApnHost(String apnType) { argument 424 return mActivePhone.getActiveApnHost(apnType); 428 public LinkProperties getLinkProperties(String apnType) { argument 429 return mActivePhone.getLinkProperties(apnType); 433 public NetworkCapabilities getNetworkCapabilities(String apnType) { argument 434 return mActivePhone.getNetworkCapabilities(apnType); 1026 public boolean isDataConnectivityPossible(String apnType) { argument 1027 return mActivePhone.isDataConnectivityPossible(apnType); 1419 getPcscfAddress(String apnType) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ITelephonyRegistry.aidl | 51 String reason, String apn, String apnType, in LinkProperties linkProperties, 54 String reason, String apn, String apnType, in LinkProperties linkProperties, 56 void notifyDataConnectionFailed(String reason, String apnType); 57 void notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType); 65 void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn,
|
H A D | ITelephony.aidl | 693 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN 695 String[] getPcscfAddress(String apnType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcTracker.java | 368 public boolean isDataPossible(String apnType) { argument 369 ApnContext apnContext = mApnContexts.get(apnType); 386 apnType, possible, dataAllowed, apnTypePossible, 469 public LinkProperties getLinkProperties(String apnType) { argument 470 ApnContext apnContext = mApnContexts.get(apnType); 474 if (DBG) log("return link properites for " + apnType); 483 public NetworkCapabilities getNetworkCapabilities(String apnType) { argument 484 ApnContext apnContext = mApnContexts.get(apnType); 489 log("get active pdp is not null, return NetworkCapabilities for " + apnType); 515 public String getActiveApnString(String apnType) { argument 528 isApnTypeEnabled(String apnType) argument 543 getState(String apnType) argument 553 isProvisioningApn(String apnType) argument 1532 onSetDependencyMet(String apnType, boolean met) argument 2719 getApnProfileID(String apnType) argument 2928 getPcscfAddress(String apnType) argument [all...] |
H A D | DcTrackerBase.java | 506 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE); 520 ApnContext apnContext = mApnContexts.get(apnType); 524 " apnType=" + apnType + " apnContext=" + apnContext + 559 String apnType = intent.getStringExtra(INTENT_RESTART_TRYSETUP_ALARM_EXTRA_TYPE); 560 ApnContext apnContext = mApnContexts.get(apnType); 563 " apnType=" + apnType + " apnContext=" + apnContext + 767 public String getActiveApnString(String apnType) { argument 873 public abstract DctConstants.State getState(String apnType); argument 874 isProvisioningApn(String apnType) argument 891 isDataPossible(String apnType) argument 895 getPcscfAddress(String apnType) argument 1215 getLinkProperties(String apnType) argument 1226 getNetworkCapabilities(String apnType) argument 1287 isApnTypeEnabled(String apnType) argument 1462 onSetDependencyMet(String apnType, boolean met) argument [all...] |
H A D | ApnContext.java | 91 public ApnContext(Context context, String apnType, String logTag, NetworkConfig config, argument 94 mApnType = apnType;
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | TelephonyRegistry.java | 942 String reason, String apn, String apnType, LinkProperties linkProperties, 945 isDataConnectivityPossible,reason, apn, apnType, linkProperties, 950 boolean isDataConnectivityPossible, String reason, String apn, String apnType, 960 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType 968 if (!mConnectedApns.contains(apnType)) { 969 mConnectedApns.add(apnType); 976 if (mConnectedApns.remove(apnType)) { 1017 apnType, apn, reason, linkProperties, ""); 1032 apnType, linkPropertie 941 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 949 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 1037 notifyDataConnectionFailed(String reason, String apnType) argument 1042 notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType) argument 1179 notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause) argument 1354 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument 1388 broadcastDataConnectionFailed(String reason, String apnType, int subId) argument 1409 broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | MobileDataStateTracker.java | 216 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY); 217 if (!TextUtils.equals(mApnType, apnType)) { 221 log("Broadcast received: " + intent.getAction() + " apnType=" + apnType 235 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY); 238 + "mApnType=%s %s received apnType=%s", mApnType, 239 TextUtils.equals(apnType, mApnType) ? "==" : "!=", apnType)); 241 if (!TextUtils.equals(apnType, mApnType)) { 247 log("Broadcast received: " + intent.getAction() + " apnType 680 setEnableApn(String apnType, boolean enable) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PreciseDataConnectionState.java | 59 String apnType, String apn, String reason, 63 mAPNType = apnType; 58 PreciseDataConnectionState(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument
|
H A D | TelephonyManager.java | 3128 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN 3132 public String[] getPcscfAddress(String apnType) { argument 3134 return getITelephony().getPcscfAddress(apnType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 147 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 155 } else if (mDcTracker.isApnTypeEnabled(apnType) == false) { 158 switch (mDcTracker.getState(apnType)) { 182 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
H A D | CDMAPhone.java | 773 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 785 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || 786 mDcTracker.isApnTypeActive(apnType) == false) { 789 switch (mDcTracker.getState(apnType)) { 813 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneBase.java | 194 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 534 public LinkProperties getLinkProperties(String apnType) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipPhoneBase.java | 154 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 500 public LinkProperties getLinkProperties(String apnType) { argument
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Tethering.java | 1187 protected String enableString(int apnType) { argument 1188 switch (apnType) { 1197 protected boolean turnOnUpstreamMobileConnection(int apnType) { argument 1199 if (apnType == ConnectivityManager.TYPE_NONE) return false; 1200 if (apnType != mMobileApnReserved) turnOffUpstreamMobileConnection(); 1202 String enableString = enableString(apnType); 1209 mMobileApnReserved = apnType;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GSMPhone.java | 337 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 345 } else if (!apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY) && 354 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || 355 mDcTracker.isApnTypeActive(apnType) == false) { 361 switch (mDcTracker.getState(apnType)) {
|