Home
last modified time | relevance | path

Searched refs:DcFailCause (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcFailCause.java30 public enum DcFailCause { enum
126 private static final HashMap<Integer, DcFailCause> sErrorCodeToFailCauseMap;
128 sErrorCodeToFailCauseMap = new HashMap<Integer, DcFailCause>();
129 for (DcFailCause fc : values()) {
137 private static final HashMap<Integer, HashSet<DcFailCause>> sPermanentFailureCache =
140 DcFailCause(int errorCode) { in DcFailCause() method in DcFailCause
175 HashSet<DcFailCause> permanentFailureSet = sPermanentFailureCache.get(subId); in isPermanentFailure()
191 permanentFailureSet.add(DcFailCause.valueOf(failure)); in isPermanentFailure()
200 permanentFailureSet = new HashSet<DcFailCause>() { in isPermanentFailure()
242 public static DcFailCause fromInt(int errorCode) { in fromInt()
[all …]
DDcFailBringUp.java42 static final DcFailCause DEFAULT_FAIL_CAUSE = DcFailCause.ERROR_UNSPECIFIED;
43 DcFailCause mFailCause;
54 mFailCause = DcFailCause.fromInt( in saveParameters()
65 mFailCause = DcFailCause.fromInt(failCause); in saveParameters()
DDataConnection.java158 private DcFailCause mDcFailCause;
164 private DcFailCause mLastFailCause;
462 mLastFailCause = DcFailCause.NONE; in onConnect()
533 private void notifyAllDisconnectCompleted(DcFailCause cause) { in notifyAllDisconnectCompleted()
545 private void notifyConnectCompleted(ConnectionParams cp, DcFailCause cause, boolean sendAll) { in notifyConnectCompleted()
557 if (cause == DcFailCause.NONE) { in notifyConnectCompleted()
565 if (cause == null) cause = DcFailCause.UNKNOWN; in notifyConnectCompleted()
611 reason = DcFailCause.UNKNOWN.toString(); in notifyDisconnectCompleted()
651 mLastFailCause = DcFailCause.NONE; in clearSettings()
688 result.mFailCause = DcFailCause.RADIO_NOT_AVAILABLE; in onSetupConnectionCompleted()
[all …]
DDataCallResponse.java63 public DcFailCause mFailCause;
66 mFailCause = DcFailCause.fromInt(0); in SetupResult()
84 if ((status == DcFailCause.NONE.getErrorCode()) && TextUtils.isEmpty(ifname)) { in DataCallResponse()
144 if (status == DcFailCause.NONE.getErrorCode()) { in setLinkProperties()
DDcTesterFailBringUpAll.java64 DcFailCause.LOST_CONNECTION.getErrorCode(),
69 mFailBringUp.saveParameters(0, DcFailCause.NONE.getErrorCode(),
DDcController.java270 DcFailCause failCause = DcFailCause.fromInt(newState.status); in onDataStateChanged()
DDcTracker.java1635 notifyNoData(DcFailCause.MISSING_UNKNOWN_APN, apnContext); in trySetupData()
2004 boolean isPermanentFailure(DcFailCause dcFailCause) { in isPermanentFailure()
2006 (mAttached.get() == false || dcFailCause != DcFailCause.SIGNAL_LOST)); in isPermanentFailure()
2431 private void notifyNoData(DcFailCause lastFailCauseCode, in notifyNoData()
2963 DcFailCause cause = DcFailCause.UNKNOWN; in onDataSetupComplete()
2992 cause = DcFailCause.CONNECTION_TO_DATACONNECTIONAC_BROKEN; in onDataSetupComplete()
3100 cause = (DcFailCause) (ar.result); in onDataSetupComplete()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcFailCauseTest.java149 assertEquals("cause = " + data.mCause, data.mPermanentFailure, DcFailCause.fromInt( in testPermanentFailDefault()
152 assertFalse(DcFailCause.fromInt(123456).isPermanentFailure(mContext, mPhone.getSubId())); in testPermanentFailDefault()
168 if (DcFailCause.fromInt(data.mCause).equals( in testPermanentFailConfigured()
169 DcFailCause.SERVICE_OPTION_NOT_SUBSCRIBED) || in testPermanentFailConfigured()
170 DcFailCause.fromInt(data.mCause).equals(DcFailCause.TETHERED_CALL_ACTIVE)) { in testPermanentFailConfigured()
171 assertTrue("cause = " + data.mCause, DcFailCause.fromInt(data.mCause). in testPermanentFailConfigured()
174 assertFalse("cause = " + data.mCause, DcFailCause.fromInt(data.mCause). in testPermanentFailConfigured()
186 DcFailCause.fromInt(data.mCause).isEventLoggable()); in testEventLoggable()
188 assertFalse(DcFailCause.fromInt(123456).isEventLoggable()); in testEventLoggable()
195 assertEquals(data.mCause, DcFailCause.fromInt(data.mCause).getErrorCode()); in testGetErrorCode()
[all …]
/frameworks/base/
Dcompiled-classes-phone5675 com.android.internal.telephony.dataconnection.DcFailCause