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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
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 DDefaultPhoneNotifier.java106 public void notifyDataConnection(Phone sender, String reason, String apnType, argument
108 doNotifyDataConnection(sender, reason, apnType, state);
111 private void doNotifyDataConnection(Phone sender, String reason, String apnType, argument
114 // use apnType as the key to which connection we're talking about.
115 // pass apnType back up to fetch particular for this one.
122 linkProperties = sender.getLinkProperties(apnType);
123 linkCapabilities = sender.getLinkCapabilities(apnType);
131 sender.isDataConnectivityPossible(apnType), reason,
132 sender.getActiveApnHost(apnType),
133 apnType,
144 notifyDataConnectionFailed(Phone sender, String reason, String apnType) argument
[all...]
H A DApnContext.java65 public ApnContext(String apnType, String logTag) { argument
66 mApnType = apnType;
H A DDataConnectionTracker.java533 public String getActiveApnString(String apnType) { argument
581 public abstract DctConstants.State getState(String apnType); argument
596 protected abstract boolean isDataPossible(String apnType); argument
692 String apnType = (String)bundle.get(DctConstants.APN_TYPE_KEY);
693 if (apnType != null) {
694 onSetDependencyMet(apnType, met);
785 protected LinkProperties getLinkProperties(String apnType) { argument
786 int id = apnTypeToId(apnType);
797 protected LinkCapabilities getLinkCapabilities(String apnType) { argument
798 int id = apnTypeToId(apnType);
856 isApnTypeEnabled(String apnType) argument
1098 onSetDependencyMet(String apnType, boolean met) argument
[all...]
H A DPhoneProxy.java282 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
283 return mActivePhone.getDataConnectionState(apnType);
318 public String getActiveApnHost(String apnType) { argument
319 return mActivePhone.getActiveApnHost(apnType);
322 public LinkProperties getLinkProperties(String apnType) { argument
323 return mActivePhone.getLinkProperties(apnType);
326 public LinkCapabilities getLinkCapabilities(String apnType) { argument
327 return mActivePhone.getLinkCapabilities(apnType);
767 public boolean isDataConnectivityPossible(String apnType) { argument
768 return mActivePhone.isDataConnectivityPossible(apnType);
[all...]
H A DPhone.java196 * @param apnType specify for which apn to get connection state info.
198 DataState getDataConnectionState(String apnType); argument
262 String getActiveApnHost(String apnType); argument
267 LinkProperties getLinkProperties(String apnType); argument
272 LinkCapabilities getLinkCapabilities(String apnType); argument
1300 boolean isDataConnectivityPossible(String apnType); argument
H A DPhoneBase.java831 public void notifyDataConnection(String reason, String apnType, argument
833 mNotifier.notifyDataConnection(this, reason, apnType, state);
836 public void notifyDataConnection(String reason, String apnType) { argument
837 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
842 for (String apnType : types) {
843 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
1064 public String getActiveApnHost(String apnType) { argument
1065 return mDataConnectionTracker.getActiveApnString(apnType);
1068 getLinkProperties(String apnType) argument
1072 getLinkCapabilities(String apnType) argument
1088 isDataConnectivityPossible(String apnType) argument
1182 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.java117 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
125 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false) {
128 switch (mDataConnectionTracker.getState(apnType)) {
152 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
H A DCdmaDataConnectionTracker.java192 public synchronized DctConstants.State getState(String apnType) { argument
262 protected boolean isDataPossible(String apnType) { argument
H A DCDMAPhone.java605 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
617 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false ||
618 mDataConnectionTracker.isApnTypeActive(apnType) == false) {
621 switch (mDataConnectionTracker.getState(apnType)) {
645 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
/frameworks/base/core/java/android/net/
H A DMobileDataStateTracker.java178 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY);
181 + "mApnType=%s %s received apnType=%s", mApnType,
182 TextUtils.equals(apnType, mApnType) ? "==" : "!=", apnType));
184 if (!TextUtils.equals(apnType, mApnType)) {
272 String apnType = intent.getStringExtra(PhoneConstants.DATA_APN_TYPE_KEY);
273 if (!TextUtils.equals(apnType, mApnType)) {
277 "mApnType=%s != received apnType=%s", mApnType, apnType));
536 * @param apnType th
541 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/gsm/
H A DGsmDataConnectionTracker.java247 protected boolean isDataPossible(String apnType) { argument
248 ApnContext apnContext = mApnContexts.get(apnType);
262 apnType, possible, dataAllowed, apnTypePossible,
344 protected LinkProperties getLinkProperties(String apnType) { argument
345 ApnContext apnContext = mApnContexts.get(apnType);
349 if (DBG) log("return link properites for " + apnType);
358 protected LinkCapabilities getLinkCapabilities(String apnType) { argument
359 ApnContext apnContext = mApnContexts.get(apnType);
363 if (DBG) log("get active pdp is not null, return link Capabilities for " + apnType);
388 public String getActiveApnString(String apnType) { argument
401 isApnTypeEnabled(String apnType) argument
416 getState(String apnType) argument
478 enableApnType(String apnType) argument
1555 onSetDependencyMet(String apnType, boolean met) argument
2364 getApnProfileID(String apnType) argument
[all...]
H A DGSMPhone.java280 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
293 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false ||
294 mDataConnectionTracker.isApnTypeActive(apnType) == false) {
300 switch (mDataConnectionTracker.getState(apnType)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java164 public PhoneConstants.DataState getDataConnectionState(String apnType) { argument
452 public LinkProperties getLinkProperties(String apnType) { argument
/frameworks/base/services/java/com/android/server/connectivity/
H A DTethering.java1192 protected String enableString(int apnType) { argument
1193 switch (apnType) {
1202 protected boolean turnOnUpstreamMobileConnection(int apnType) { argument
1204 if (apnType == ConnectivityManager.TYPE_NONE) return false;
1205 if (apnType != mMobileApnReserved) turnOffUpstreamMobileConnection();
1207 String enableString = enableString(apnType);
1217 mMobileApnReserved = apnType;

Completed in 304 milliseconds