Home
last modified time | relevance | path

Searched refs:mErrorType (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/services/Iwlan/src/com/google/android/iwlan/
H A DIwlanError.java72 private int mErrorType; field in IwlanError
76 mErrorType = err; in IwlanError()
94 mErrorType = IKE_GENERIC_EXCEPTION; in IwlanError()
97 mErrorType = UNKNOWN_EXCEPTION; in IwlanError()
103 mErrorType = IKE_PROTOCOL_EXCEPTION; in IwlanErrorIkeProtocolException()
109 mErrorType = IKE_INTERNAL_IO_EXCEPTION; in IwlanErrorIkeInternalException()
111 mErrorType = IKE_GENERIC_EXCEPTION; in IwlanErrorIkeInternalException()
117 return mErrorType; in getErrorType()
131 return ("TYPE: " + getErrorTypeString(mErrorType) + " " + errorDetailsString()); in toString()
141 switch (mErrorType) { in errorDetailsString()
[all …]
H A DErrorPolicyManager.java774 @ErrorPolicyErrorType int mErrorType; field in ErrorPolicyManager.ErrorPolicy
784 mErrorType = errorType; in ErrorPolicy()
815 return mErrorType; in getErrorType()
825 if (mErrorType == FALLBACK_ERROR_TYPE) { in match()
827 } else if (mErrorType == IKE_PROTOCOL_ERROR_TYPE in match()
831 } else if (mErrorType == GENERIC_ERROR_TYPE) { in match()
842 if (mErrorType == IKE_PROTOCOL_ERROR_TYPE in match()
865 Log.d(LOG_TAG, "ErrorType: " + mErrorType); in log()
872 if ((mErrorType == FALLBACK_ERROR_TYPE) in isFallback()
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
H A DIkeProtocolException.java101 @ErrorType private final int mErrorType; field in IkeProtocolException
107 mErrorType = code; in IkeProtocolException()
114 mErrorType = code; in IkeProtocolException()
121 mErrorType = code; in IkeProtocolException()
128 mErrorType = code; in IkeProtocolException()
148 mErrorType = code; in IkeProtocolException()
194 return mErrorType; in getErrorType()
220 return new IkeNotifyPayload(mErrorType, mErrorData); in buildNotifyPayload()
/aosp12/packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutor/
H A DScriptExecutorTest.java59 public int mErrorType; field in ScriptExecutorTest.ScriptExecutorListener
78 mErrorType = errorType; in onError()
193 assertThat(mFakeScriptExecutorListener.mErrorType).isEqualTo( in invokeScript_skipsUnsupportedNestedTables()
364 assertThat(mFakeScriptExecutorListener.mErrorType).isEqualTo( in invokeScript_arraysWithLengthAboveLimitCauseError()
392 assertThat(mFakeScriptExecutorListener.mErrorType).isEqualTo( in invokeScript_arrayContainingVaryingTypesCausesError()
466 assertThat(mFakeScriptExecutorListener.mErrorType).isEqualTo( in invokeScript_scriptCallsOnError()
483 assertThat(mFakeScriptExecutorListener.mErrorType).isEqualTo( in invokeScript_tooManyParametersInOnError()
501 assertThat(mFakeScriptExecutorListener.mErrorType).isEqualTo( in invokeScript_onErrorOnlyAcceptsString()
604 assertThat(mFakeScriptExecutorListener.mErrorType).isEqualTo( in invokeScript_wrongNumberOfCallbackInputsInOnScriptFinished()
623 assertThat(mFakeScriptExecutorListener.mErrorType).isEqualTo( in invokeScript_wrongNumberOfCallbackInputsInOnSuccess()
[all …]