/frameworks/base/telephony/java/android/telephony/ |
H A D | PreciseDataConnectionState.java | 57 String apnType, String apn, String reason, 61 mAPNType = apnType; 56 PreciseDataConnectionState(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument
|
H A D | TelephonyManager.java | 3971 * @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN 3975 public String[] getPcscfAddress(String apnType) { argument 3980 return telephony.getPcscfAddress(apnType, getOpPackageName());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneNotifier.java | 42 public void notifyDataConnection(Phone sender, String reason, String apnType, argument 45 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); argument 57 public void notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, argument
|
H A D | DefaultPhoneNotifier.java | 156 public void notifyDataConnection(Phone sender, String reason, String apnType, argument 158 doNotifyDataConnection(sender, reason, apnType, state); 161 private void doNotifyDataConnection(Phone sender, String reason, String apnType, argument 168 // use apnType as the key to which connection we're talking about. 169 // pass apnType back up to fetch particular for this one. 176 linkProperties = sender.getLinkProperties(apnType); 177 networkCapabilities = sender.getNetworkCapabilities(apnType); 186 sender.isDataConnectivityPossible(apnType), reason, 187 sender.getActiveApnHost(apnType), 188 apnType, 201 notifyDataConnectionFailed(Phone sender, String reason, String apnType) argument 276 notifyPreciseDataConnectionFailed(Phone sender, String reason, String apnType, String apn, String failCause) argument [all...] |
H A D | RetryManager.java | 218 * @param apnType APN type 220 public RetryManager(Phone phone, String apnType) { argument 222 mApnType = apnType; 349 String apnType = splitStr[0].trim(); 351 if (apnType.equals(mApnType)) { 356 } else if (apnType.equals(OTHERS_APN_TYPE)) {
|
H A D | PhoneInternalInterface.java | 229 * @param apnType specify for which apn to get connection state info. 231 DataState getDataConnectionState(String apnType); argument
|
H A D | GsmCdmaPhone.java | 492 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 502 (isPhoneTypeGsm() && !apnType.equals(PhoneConstants.APN_TYPE_EMERGENCY)))) { 511 switch (mDcTracker.getState(apnType)) { 535 logd("getDataConnectionState apnType=" + apnType + " ret=" + ret);
|
H A D | Phone.java | 2020 public void notifyDataConnection(String reason, String apnType, argument 2022 mNotifier.notifyDataConnection(this, reason, apnType, state); 2025 public void notifyDataConnection(String reason, String apnType) { argument 2026 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 2031 for (String apnType : types) { 2032 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType)); 2620 public String getActiveApnHost(String apnType) { argument 2621 return mDcTracker.getActiveApnString(apnType); 2627 getLinkProperties(String apnType) argument 2634 getNetworkCapabilities(String apnType) argument 2648 isDataConnectivityPossible(String apnType) argument 2775 notifyDataConnectionFailed(String reason, String apnType) argument 2779 notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause) argument 2829 getPcscfAddress(String apnType) argument [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
H A D | DcTrackerMock.java | 65 public boolean isDataPossible(String apnType) { argument 69 public LinkProperties getLinkProperties(String apnType) { argument 73 public NetworkCapabilities getNetworkCapabilities(String apnType) { argument 81 public String getActiveApnString(String apnType) { argument 85 public DctConstants.State getState(String apnType) { argument 149 public String[] getPcscfAddress(String apnType) { argument
|
H A D | TelephonyRegistryMock.java | 235 String reason, String apn, String apnType, LinkProperties linkProperties, 242 boolean isDataConnectivityPossible, String reason, String apn, String apnType, 249 public void notifyDataConnectionFailed(String reason, String apnType) { argument 254 public void notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType) { argument 290 public void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, argument 234 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 241 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument
|
H A D | PhoneMock.java | 553 public void notifyDataConnection(String reason, String apnType, argument 558 public void notifyDataConnection(String reason, String apnType) { argument 786 public String getActiveApnHost(String apnType) { argument 790 public LinkProperties getLinkProperties(String apnType) { argument 794 public NetworkCapabilities getNetworkCapabilities(String apnType) { argument 802 public boolean isDataConnectivityPossible(String apnType) { argument 838 public void notifyDataConnectionFailed(String reason, String apnType) { argument 842 public void notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, argument 863 public String[] getPcscfAddress(String apnType) { argument 1078 public DataState getDataConnectionState(String apnType) { argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnContext.java | 106 * @param apnType APN type (e.g. default, supl, mms, etc...) 111 public ApnContext(Phone phone, String apnType, String logTag, NetworkConfig config, argument 114 mApnType = apnType; 122 mRetryManager = new RetryManager(phone, apnType);
|
H A D | DcTracker.java | 476 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE); 490 ApnContext apnContext = mApnContexts.get(apnType); 494 " apnType=" + apnType + " apnContext=" + apnContext + 1083 public boolean isDataPossible(String apnType) { argument 1084 ApnContext apnContext = mApnContexts.get(apnType); 1109 apnType, possible, dataAllowed, apnTypePossible, 1178 public LinkProperties getLinkProperties(String apnType) { argument 1179 ApnContext apnContext = mApnContexts.get(apnType); 1183 if (DBG) log("return link properites for " + apnType); 1191 getNetworkCapabilities(String apnType) argument 1221 getActiveApnString(String apnType) argument 1234 getState(String apnType) argument 1243 isProvisioningApn(String apnType) argument 2451 onSetDependencyMet(String apnType, boolean met) argument 4058 getApnProfileID(String apnType) argument 4331 getPcscfAddress(String apnType) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | TelephonyRegistry.java | 1002 String reason, String apn, String apnType, LinkProperties linkProperties, 1005 isDataConnectivityPossible,reason, apn, apnType, linkProperties, 1010 boolean isDataConnectivityPossible, String reason, String apn, String apnType, 1020 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType 1028 if (!mConnectedApns.contains(apnType)) { 1029 mConnectedApns.add(apnType); 1036 if (mConnectedApns.remove(apnType)) { 1077 apnType, apn, reason, linkProperties, ""); 1092 apnType, linkPropertie 1001 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 1009 notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) argument 1097 notifyDataConnectionFailed(String reason, String apnType) argument 1102 notifyDataConnectionFailedForSubscriber(int subId, String reason, String apnType) argument 1239 notifyPreciseDataConnectionFailed(String reason, String apnType, String apn, String failCause) argument 1439 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, boolean roaming, int subId) argument 1473 broadcastDataConnectionFailed(String reason, String apnType, int subId) argument 1494 broadcastPreciseDataConnectionStateChanged(int state, int networkType, String apnType, String apn, String reason, LinkProperties linkProperties, String failCause) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneBase.java | 193 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 528 public LinkProperties getLinkProperties(String apnType) { argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipPhoneBase.java | 153 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument 494 public LinkProperties getLinkProperties(String apnType) { argument
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | Tethering.java | 1287 protected boolean turnOnUpstreamMobileConnection(int apnType) { argument 1288 if (apnType == ConnectivityManager.TYPE_NONE) { return false; } 1290 if (apnType != mMobileApnReserved) { 1297 // Looks like we already filed a request for this apnType. 1301 switch (apnType) { 1305 mMobileApnReserved = apnType; 1313 if (apnType == ConnectivityManager.TYPE_MOBILE_DUN) { 1331 mobileUpstreamRequest, mMobileUpstreamCallback, 0, apnType);
|