Searched defs:apnType (Results 1 - 16 of 16) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDefaultPhoneNotifier.java110 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 DPhoneNotifier.java41 public void notifyDataConnection(Phone sender, String reason, String apnType, argument
44 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); argument
H A DPhoneProxy.java313 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...]
H A DPhone.java211 * @param apnType specify for which apn to get connection state info.
213 DataState getDataConnectionState(String apnType); argument
277 String getActiveApnHost(String apnType); argument
282 LinkProperties getLinkProperties(String apnType); argument
287 LinkCapabilities getLinkCapabilities(String apnType); argument
1315 boolean isDataConnectivityPossible(String apnType); argument
H A DPhoneBase.java976 public void notifyDataConnection(String reason, String apnType, argument
978 mNotifier.notifyDataConnection(this, reason, apnType, state);
981 public void notifyDataConnection(String reason, String apnType) { argument
982 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
987 for (String apnType : types) {
988 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
1245 public String getActiveApnHost(String apnType) { argument
1246 return mDcTracker.getActiveApnString(apnType);
1250 getLinkProperties(String apnType) argument
1255 getLinkCapabilities(String apnType) argument
1275 isDataConnectivityPossible(String apnType) argument
1374 notifyDataConnectionFailed(String reason, String apnType) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTestPhoneNotifier.java51 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/cdma/
H A DCDMALTEPhone.java108 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
116 } else if (mDcTracker.isApnTypeEnabled(apnType) == false) {
119 switch (mDcTracker.getState(apnType)) {
143 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
H A DCDMAPhone.java689 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
701 } else if (mDcTracker.isApnTypeEnabled(apnType) == false ||
702 mDcTracker.isApnTypeActive(apnType) == false) {
705 switch (mDcTracker.getState(apnType)) {
729 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnContext.java71 public ApnContext(Context context, String apnType, String logTag) { argument
73 mApnType = apnType;
H A DDcTracker.java206 public boolean isDataPossible(String apnType) { argument
207 ApnContext apnContext = mApnContexts.get(apnType);
221 apnType, possible, dataAllowed, apnTypePossible,
288 public LinkProperties getLinkProperties(String apnType) { argument
289 ApnContext apnContext = mApnContexts.get(apnType);
293 if (DBG) log("return link properites for " + apnType);
302 public LinkCapabilities getLinkCapabilities(String apnType) { argument
303 ApnContext apnContext = mApnContexts.get(apnType);
307 if (DBG) log("get active pdp is not null, return link Capabilities for " + apnType);
332 public String getActiveApnString(String apnType) { argument
345 isApnTypeEnabled(String apnType) argument
360 getState(String apnType) argument
370 isProvisioningApn(String apnType) argument
436 enableApnType(String apnType) argument
1258 onSetDependencyMet(String apnType, boolean met) argument
2218 getApnProfileID(String apnType) argument
[all...]
H A DDcTrackerBase.java458 String apnType = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE);
460 ApnContext apnContext = mApnContexts.get(apnType);
464 " apnType=" + apnType + " apnContext=" + apnContext +
496 String apnType = intent.getStringExtra(INTENT_RESTART_TRYSETUP_ALARM_EXTRA_TYPE);
497 ApnContext apnContext = mApnContexts.get(apnType);
500 " apnType=" + apnType + " apnContext=" + apnContext +
629 public String getActiveApnString(String apnType) { argument
666 public abstract DctConstants.State getState(String apnType); argument
667 isProvisioningApn(String apnType) argument
684 isDataPossible(String apnType) argument
1004 getLinkProperties(String apnType) argument
1015 getLinkCapabilities(String apnType) argument
1076 isApnTypeEnabled(String apnType) argument
1317 onSetDependencyMet(String apnType, boolean met) argument
[all...]
/frameworks/base/core/java/android/net/
H A DMobileDataStateTracker.java217 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
685 setEnableApn(String apnType, boolean enable) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DTelephonyRegistry.java478 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/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java169 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
508 public LinkProperties getLinkProperties(String apnType) { argument
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java1182 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/gsm/
H A DGSMPhone.java293 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
306 } else if (mDcTracker.isApnTypeEnabled(apnType) == false ||
307 mDcTracker.isApnTypeActive(apnType) == false) {
313 switch (mDcTracker.getState(apnType)) {

Completed in 296 milliseconds