Searched refs:DcFailCause (Results 1 – 9 of 9) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcFailCause.java | 30 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 …]
|
D | DcFailBringUp.java | 42 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()
|
D | DataConnection.java | 158 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 …]
|
D | DataCallResponse.java | 63 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()
|
D | DcTesterFailBringUpAll.java | 64 DcFailCause.LOST_CONNECTION.getErrorCode(), 69 mFailBringUp.saveParameters(0, DcFailCause.NONE.getErrorCode(),
|
D | DcController.java | 270 DcFailCause failCause = DcFailCause.fromInt(newState.status); in onDataStateChanged()
|
D | DcTracker.java | 1635 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/ |
D | DcFailCauseTest.java | 149 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/ |
D | compiled-classes-phone | 5675 com.android.internal.telephony.dataconnection.DcFailCause
|