HomeSort by relevance Sort by last modified time
    Searched refs:apnType (Results 1 - 19 of 19) sorted by null

  /frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
TestPhoneNotifier.java 47 public void notifyDataConnection(Phone sender, String reason, String apnType) {
50 public void notifyDataConnection(Phone sender, String reason, String apnType,
54 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) {
  /frameworks/base/telephony/java/com/android/internal/telephony/
PhoneNotifier.java 37 public void notifyDataConnection(Phone sender, String reason, String apnType,
40 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType);
ITelephonyRegistry.aidl 37 String reason, String apn, String apnType, in LinkProperties linkProperties,
39 void notifyDataConnectionFailed(String reason, String apnType);
DefaultPhoneNotifier.java 103 public void notifyDataConnection(Phone sender, String reason, String apnType,
105 doNotifyDataConnection(sender, reason, apnType, state);
108 private void doNotifyDataConnection(Phone sender, String reason, String apnType,
111 // use apnType as the key to which connection we're talking about.
112 // pass apnType back up to fetch particular for this one.
119 linkProperties = sender.getLinkProperties(apnType);
120 linkCapabilities = sender.getLinkCapabilities(apnType);
128 sender.isDataConnectivityPossible(apnType), reason,
129 sender.getActiveApnHost(apnType),
130 apnType,
    [all...]
PhoneBase.java 816 public void notifyDataConnection(String reason, String apnType,
818 mNotifier.notifyDataConnection(this, reason, apnType, state);
821 public void notifyDataConnection(String reason, String apnType) {
822 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
827 for (String apnType : types) {
828 mNotifier.notifyDataConnection(this, reason, apnType, getDataConnectionState(apnType));
    [all...]
DataConnectionTracker.java 153 public static final String APN_TYPE_KEY = "apnType";
295 /** Convert an ApnType string to Id (TODO: Use "enumeration" instead of String for ApnType) */
584 public String getActiveApnString(String apnType) {
635 public abstract State getState(String apnType);
650 protected abstract boolean isDataPossible(String apnType);
749 String apnType = (String)bundle.get(APN_TYPE_KEY);
750 if (apnType != null) {
751 onSetDependencyMet(apnType, met);
    [all...]
ApnContext.java 60 public ApnContext(String apnType, String logTag) {
61 mApnType = apnType;
204 return "state=" + getState() + " apnType=" + mApnType;
Phone.java 103 static final String DATA_APN_TYPE_KEY = "apnType";
280 * @param apnType specify for which apn to get connection state info.
282 DataState getDataConnectionState(String apnType);
346 String getActiveApnHost(String apnType);
351 LinkProperties getLinkProperties(String apnType);
356 LinkCapabilities getLinkCapabilities(String apnType);
    [all...]
PhoneProxy.java 164 public DataState getDataConnectionState(String apnType) {
165 return mActivePhone.getDataConnectionState(apnType);
200 public String getActiveApnHost(String apnType) {
201 return mActivePhone.getActiveApnHost(apnType);
204 public LinkProperties getLinkProperties(String apnType) {
205 return mActivePhone.getLinkProperties(apnType);
208 public LinkCapabilities getLinkCapabilities(String apnType) {
209 return mActivePhone.getLinkCapabilities(apnType);
649 public boolean isDataConnectivityPossible(String apnType) {
650 return mActivePhone.isDataConnectivityPossible(apnType);
    [all...]
  /frameworks/base/core/java/android/net/
MobileDataStateTracker.java 183 String apnType = intent.getStringExtra(Phone.DATA_APN_TYPE_KEY);
186 + "mApnType=%s %s received apnType=%s", mApnType,
187 TextUtils.equals(apnType, mApnType) ? "==" : "!=", apnType));
189 if (!TextUtils.equals(apnType, mApnType)) {
267 String apnType = intent.getStringExtra(Phone.DATA_APN_TYPE_KEY);
268 if (!TextUtils.equals(apnType, mApnType)) {
272 "mApnType=%s != received apnType=%s", mApnType, apnType));
520 * @param apnType the type of APN to be enabled or disabled (e.g., mms
    [all...]
  /frameworks/base/services/java/com/android/server/
TelephonyRegistry.java 386 String reason, String apn, String apnType, LinkProperties linkProperties,
394 + "' apn='" + apn + "' apnType=" + apnType + " networkType=" + networkType);
399 if (!mConnectedApns.contains(apnType)) {
400 mConnectedApns.add(apnType);
407 if (mConnectedApns.remove(apnType)) {
445 apnType, linkProperties, linkCapabilities, roaming);
448 public void notifyDataConnectionFailed(String reason, String apnType) {
466 broadcastDataConnectionFailed(reason, apnType);
603 String reason, String apn, String apnType, LinkProperties linkProperties
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/cdma/
CDMALTEPhone.java 103 public DataState getDataConnectionState(String apnType) {
111 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false) {
114 switch (mDataConnectionTracker.getState(apnType)) {
137 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
CDMAPhone.java 618 public DataState getDataConnectionState(String apnType) {
630 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false ||
631 mDataConnectionTracker.isApnTypeActive(apnType) == false) {
634 switch (mDataConnectionTracker.getState(apnType)) {
658 log("getDataConnectionState apnType=" + apnType + " ret=" + ret);
    [all...]
CdmaDataConnectionTracker.java 193 public synchronized State getState(String apnType) {
255 protected boolean isDataPossible(String apnType) {
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/
GsmDataConnectionTracker.java 246 protected boolean isDataPossible(String apnType) {
247 ApnContext apnContext = mApnContexts.get(apnType);
261 apnType, possible, dataAllowed, apnTypePossible,
343 protected LinkProperties getLinkProperties(String apnType) {
344 ApnContext apnContext = mApnContexts.get(apnType);
348 if (DBG) log("return link properites for " + apnType);
357 protected LinkCapabilities getLinkCapabilities(String apnType) {
358 ApnContext apnContext = mApnContexts.get(apnType);
362 if (DBG) log("get active pdp is not null, return link Capabilities for " + apnType);
387 public String getActiveApnString(String apnType) {
    [all...]
GsmDataConnection.java 119 public void setActiveApnType(String apnType) {
120 mActiveApnType = apnType;
GSMPhone.java 290 public DataState getDataConnectionState(String apnType) {
303 } else if (mDataConnectionTracker.isApnTypeEnabled(apnType) == false ||
304 mDataConnectionTracker.isApnTypeActive(apnType) == false) {
310 switch (mDataConnectionTracker.getState(apnType)) {
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/sip/
SipPhoneBase.java 154 public DataState getDataConnectionState(String apnType) {
442 public LinkProperties getLinkProperties(String apnType) {
  /frameworks/base/services/java/com/android/server/connectivity/
Tethering.java     [all...]

Completed in 560 milliseconds