/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(long subId, String state, String reason, String apnName, String apnType, boolean unavailable) argument [all...] |
H A D | PhoneBase.java | 1319 public void notifyDataConnection(String reason, String apnType, argument 1321 mNotifier.notifyDataConnection(this, reason, apnType, state); 1324 public void notifyDataConnection(String reason, String apnType) { argument 1325 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 1330 for (String apnType : types) { 1331 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 1596 public String getActiveApnHost(String apnType) { argument 1597 return mDcTracker.getActiveApnString(apnType); 1601 getLinkProperties(String apnType) argument 1606 getNetworkCapabilities(String apnType) argument 1616 isDataConnectivityPossible(String apnType) argument 1710 notifyDataConnectionFailed(String reason, String apnType) argument 1714 notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause) argument 1766 getPcscfAddress(String apnType) argument [all...] |
H A D | Phone.java | 216 * @param apnType specify for which apn to get connection state info. 218 DataState getDataConnectionState(String apnType); argument 282 String getActiveApnHost(String apnType); argument 287 LinkProperties getLinkProperties(String apnType); argument 292 NetworkCapabilities getNetworkCapabilities(String apnType); argument 1345 boolean isDataConnectivityPossible(String apnType); argument 1802 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN 1804 public String[] getPcscfAddress(String apnType); argument
|
H A D | PhoneProxy.java | 342 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 343 return mActivePhone.getDataConnectionState(apnType); 387 public String getActiveApnHost(String apnType) { argument 388 return mActivePhone.getActiveApnHost(apnType); 392 public LinkProperties getLinkProperties(String apnType) { argument 393 return mActivePhone.getLinkProperties(apnType); 397 public NetworkCapabilities getNetworkCapabilities(String apnType) { argument 398 return mActivePhone.getNetworkCapabilities(apnType); 975 public boolean isDataConnectivityPossible(String apnType) { argument 976 return mActivePhone.isDataConnectivityPossible(apnType); 1347 getPcscfAddress(String apnType) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ITelephonyRegistry.aidl | 46 String reason, String apn, String apnType, in LinkProperties linkProperties, 49 String reason, String apn, String apnType, in LinkProperties linkProperties, 51 void notifyDataConnectionFailed(String reason, String apnType); 52 void notifyDataConnectionFailedForSubscriber(long subId, String reason, String apnType); 60 void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn,
|
H A D | ITelephony.aidl | 661 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN 663 String[] getPcscfAddress(String apnType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DctController.java | 129 String apnName, String apnType, boolean unavailable) { 131 + ",apnName=" + apnName + ",apnType=" + apnType + ",from subId=" + subId); 134 apnName, apnType, unavailable); 399 private boolean isValidApnType(String apnType) { argument 400 if (apnType.equals(PhoneConstants.APN_TYPE_DEFAULT) 401 || apnType.equals(PhoneConstants.APN_TYPE_MMS) 402 || apnType.equals(PhoneConstants.APN_TYPE_SUPL) 403 || apnType.equals(PhoneConstants.APN_TYPE_DUN) 404 || apnType [all...] |
H A D | DcTracker.java | 465 public boolean isDataPossible(String apnType) { argument 466 ApnContext apnContext = mApnContexts.get(apnType); 483 apnType, possible, dataAllowed, apnTypePossible, 572 public LinkProperties getLinkProperties(String apnType) { argument 573 ApnContext apnContext = mApnContexts.get(apnType); 577 if (DBG) log("return link properites for " + apnType); 586 public NetworkCapabilities getNetworkCapabilities(String apnType) { argument 587 ApnContext apnContext = mApnContexts.get(apnType); 592 log("get active pdp is not null, return NetworkCapabilities for " + apnType); 618 public String getActiveApnString(String apnType) { argument 631 isApnTypeEnabled(String apnType) argument 646 getState(String apnType) argument 656 isProvisioningApn(String apnType) argument 1567 onSetDependencyMet(String apnType, boolean met) argument 2750 getApnProfileID(String apnType) argument 2975 getPcscfAddress(String apnType) argument [all...] |
H A D | DcTrackerBase.java | 479 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE); 493 ApnContext apnContext = mApnContexts.get(apnType); 497 " apnType=" + apnType + " apnContext=" + apnContext + 529 String apnType = intent.getStringExtra(INTENT_RESTART_TRYSETUP_ALARM_EXTRA_TYPE); 530 ApnContext apnContext = mApnContexts.get(apnType); 533 " apnType=" + apnType + " apnContext=" + apnContext + 687 public String getActiveApnString(String apnType) { argument 745 public abstract DctConstants.State getState(String apnType); argument 746 isProvisioningApn(String apnType) argument 763 isDataPossible(String apnType) argument 767 getPcscfAddress(String apnType) argument 1087 getLinkProperties(String apnType) argument 1098 getNetworkCapabilities(String apnType) argument 1159 isApnTypeEnabled(String apnType) argument 1329 onSetDependencyMet(String apnType, boolean met) argument [all...] |
H A D | ApnContext.java | 79 public ApnContext(Context context, String apnType, String logTag, NetworkConfig config, argument 82 mApnType = apnType;
|
H A D | DcSwitchState.java | 118 String apnName, String apnType, boolean unavailable) { 117 notifyDataConnection(int phoneId, String state, String reason, String apnName, String apnType, boolean unavailable) argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | TelephonyRegistry.java | 793 String reason, String apn, String apnType, LinkProperties linkProperties, 796 isDataConnectivityPossible,reason, apn, apnType, linkProperties, 801 boolean isDataConnectivityPossible, String reason, String apn, String apnType, 811 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType 818 if (!mConnectedApns.contains(apnType)) { 819 mConnectedApns.add(apnType); 826 if (mConnectedApns.remove(apnType)) { 867 apnType, apn, reason, linkProperties, ""); 880 apnType, linkPropertie 792 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 800 notifyDataConnectionForSubscriber(long subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 885 notifyDataConnectionFailed(String reason, String apnType) argument 890 notifyDataConnectionFailedForSubscriber(long subId, String reason, String apnType) argument 1027 notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause) argument 1200 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, long subId) argument 1234 broadcastDataConnectionFailed(String reason, String apnType, long subId) argument 1255 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 690 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 | 2879 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN 2883 public String[] getPcscfAddress(String apnType) { argument 2885 return getITelephony().getPcscfAddress(apnType);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 143 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 151 } else if (mDcTracker.isApnTypeEnabled(apnType) == false) { 154 switch (mDcTracker.getState(apnType)) { 178 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
H A D | CDMAPhone.java | 760 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 772 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || 773 mDcTracker.isApnTypeActive(apnType) == false) { 776 switch (mDcTracker.getState(apnType)) { 800 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Tethering.java | 1177 protected String enableString(int apnType) { argument 1178 switch (apnType) { 1187 protected boolean turnOnUpstreamMobileConnection(int apnType) { argument 1189 if (apnType == ConnectivityManager.TYPE_NONE) return false; 1190 if (apnType != mMobileApnReserved) turnOffUpstreamMobileConnection(); 1192 String enableString = enableString(apnType); 1199 mMobileApnReserved = apnType;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneBase.java | 178 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 519 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 502 public LinkProperties getLinkProperties(String apnType) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GSMPhone.java | 340 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 348 } else if (!apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY) && 357 } else if (mDcTracker.isApnTypeEnabled(apnType) == false || 358 mDcTracker.isApnTypeActive(apnType) == false) { 364 switch (mDcTracker.getState(apnType)) {
|