Home
last modified time | relevance | path

Searched refs:errorType (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/
DAdminErrorMessage.java143 @NonNull public final ErrorType errorType; field in AdminErrorMessage
148 sb.append("AdminErrorMessage: errorType=").append(errorType); in toString()
169 public AdminErrorMessage(@NonNull ErrorType errorType) { in AdminErrorMessage() argument
173 generatePayload(errorType)); in AdminErrorMessage()
174 this.errorType = errorType; in AdminErrorMessage()
189 private static byte[] generatePayload(@NonNull ErrorType errorType) { in generatePayload() argument
190 if (errorType == null) { in generatePayload()
193 byte[] errorTypeBytes = DataTypeConversionUtil.i32ToByteArray(errorType.getValue()); in generatePayload()
202 ErrorType errorType = in extractErrorType() local
204 if (errorType == null) { in extractErrorType()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Derror_type_utils.h65 static bool isMissingExplicitAccent(const ErrorType errorType) { in isMissingExplicitAccent() argument
66 return (errorType & MATCH_WITH_MISSING_EXPLICIT_ACCENT) != 0; in isMissingExplicitAccent()
69 static bool isEditCorrectionError(const ErrorType errorType) { in isEditCorrectionError() argument
70 return (errorType & EDIT_CORRECTION) != 0; in isEditCorrectionError()
73 static bool isProximityCorrectionError(const ErrorType errorType) { in isProximityCorrectionError() argument
74 return (errorType & PROXIMITY_CORRECTION) != 0; in isProximityCorrectionError()
77 static bool isCompletion(const ErrorType errorType) { in isCompletion() argument
78 return (errorType & COMPLETION) != 0; in isCompletion()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state_scoring.h73 const ErrorTypeUtils::ErrorType errorType) { in addCost() argument
75 mContainedErrorTypes = mContainedErrorTypes | errorType; in addCost()
76 if (ErrorTypeUtils::isEditCorrectionError(errorType)) { in addCost()
79 if (ErrorTypeUtils::isProximityCorrectionError(errorType)) { in addCost()
82 if (ErrorTypeUtils::isCompletion(errorType)) { in addCost()
/packages/services/Iwlan/src/com/google/android/iwlan/
DErrorPolicyManager.java287 int errorType = error.getErrorType(); in getDataFailCause() local
288 switch (errorType) { in getDataFailCause()
582 int errorType; in readErrorPolicies() local
584 if ((errorType = getErrorPolicyErrorType(errorTypeStr)) == UNKNOWN_ERROR_TYPE) { in readErrorPolicies()
593 .setErrorType(errorType) in readErrorPolicies()
594 .setErrorDetails(parseErrorDetails(errorType, errorDetailArray)) in readErrorPolicies()
611 if (errorType != IKE_PROTOCOL_ERROR_TYPE) { in readErrorPolicies()
679 private List<String> parseErrorDetails(int errorType, JSONArray errorDetailArray) in parseErrorDetails() argument
686 switch (errorType) { in parseErrorDetails()
696 "Invalid ErrorDetail: " + errorDetail + " for ErrorType: " + errorType); in parseErrorDetails()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/
DTransportProvider.java224 protected void sentAdminErrorMessage(ErrorType errorType) { in sentAdminErrorMessage() argument
225 if (!sendMessage(ADMIN_SECID, new AdminErrorMessage(errorType))) { in sentAdminErrorMessage()
226 Log.w(TAG, "sentAdminErrorMessage with ErrorType:" + errorType + " failed."); in sentAdminErrorMessage()
252 switch (errorMessage.errorType) { in processAdminMessage()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/info/
DAdminErrorMessageTest.java122 private void testConstructwithBytes(ErrorType errorType, byte lastErrorByte) { in testConstructwithBytes() argument
127 AdminErrorMessage message = new AdminErrorMessage(errorType); in testConstructwithBytes()
131 assertThat(message.errorType).isEqualTo(errorType); in testConstructwithBytes()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/exceptions/
DUnrecognizedIkeProtocolException.java44 public UnrecognizedIkeProtocolException(int errorType, @NonNull byte[] errorData) { in UnrecognizedIkeProtocolException() argument
45 super(errorType, errorData); in UnrecognizedIkeProtocolException()
/packages/services/Car/service/src/com/android/car/telemetry/databroker/
DDataBrokerImpl.java592 @NonNull TelemetryError.ErrorType errorType, in buildTelemetryError()
596 .setErrorType(errorType) in buildTelemetryError()
649 int errorType, @NonNull String message, @Nullable String stackTrace) { in onScriptError() argument
652 errorType, message, stackTrace); in onScriptError()
663 TelemetryError.ErrorType.forNumber(errorType), in onScriptError()
710 public void onError(int errorType, @NonNull String message, @Nullable String stackTrace) { in onError() argument
715 dataBroker.onScriptError(errorType, message, stackTrace); in onError()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/util/
DStatsdUtils.java179 public void logErrorEvent(int errorType, int nciCmd, int ntfStatusCode) { in logErrorEvent() argument
180 NfcStatsLog.write(NfcStatsLog.NFC_ERROR_OCCURRED, errorType, nciCmd, ntfStatusCode); in logErrorEvent()
183 public void logErrorEvent(int errorType) { in logErrorEvent() argument
184 logErrorEvent(errorType, 0, 0); in logErrorEvent()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastServiceMetrics.java307 public void logModuleError(int source, int errorType) { in logModuleError() argument
309 Log.d(TAG, "logModuleError : " + source + " " + errorType); in logModuleError()
312 source, errorType); in logModuleError()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeNotifyPayloadTest.java274 int errorType, Class<T> exceptionClass) throws Exception { in verifyValidateAndBuildIkeExceptionWithoutData() argument
275 IkeNotifyPayload payload = new IkeNotifyPayload(errorType); in verifyValidateAndBuildIkeExceptionWithoutData()
277 payload.validateAndBuildIkeException(), errorType, exceptionClass); in verifyValidateAndBuildIkeExceptionWithoutData() local
281 IkeProtocolException exception, int errorType, Class<T> exceptionClass) in verifyIkeExceptionWithoutData() argument
284 assertEquals(errorType, exception.getErrorType()); in verifyIkeExceptionWithoutData()
/packages/modules/Connectivity/framework/src/android/net/
DQosCallbackConnection.java127 public void onError(@QosCallbackException.ExceptionType final int errorType) { in onError() argument
134 callback.onError(QosCallbackException.createException(errorType)); in onError()
/packages/services/Car/packages/ScriptExecutor/src/
DScriptExecutorListener.cpp57 void ScriptExecutorListener::onError(const ErrorType errorType, const char* message, in onError() argument
76 env->CallVoidMethod(mScriptExecutorListener, onErrorMethod, static_cast<int>(errorType), in onError()
DScriptExecutorListener.h72 void onError(const ErrorType errorType, const char* message, const char* stackTrace);
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestDialogActivityTest.java118 assertThat(fakeActivity.errorType).isEqualTo(ERROR_DIALOG_TYPE.TIME_OUT); in onResumeAndWaitTimeout_shouldCallTimeoutDialog()
123 ERROR_DIALOG_TYPE errorType = null; field in NetworkRequestDialogActivityTest.FakeNetworkRequestDialogActivity
133 errorType = type; in stopScanningAndPopErrorDialog()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/validation/
DValidationTest.kt129 val errorType = result.errors.map { it::class }.first() in thrown_exception() constant
130 assertThat(errorType).isEqualTo(UncaughtException::class) in thrown_exception()
/packages/services/Car/packages/ScriptExecutor/tests/nonsystemuser/src/com/android/car/scriptexecutortest/nonsystemuser/
DScriptExecutorNonSystemUserTest.java71 public void onError(int errorType, String message, String stackTrace) { in onError() argument
72 mErrorType = errorType; in onError()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
Dweighting.cpp86 const ErrorTypeUtils::ErrorType errorType = weighting->getErrorType(correctionType, in addCostAndForwardInputIndex() local
96 inputSize, errorType); in addCostAndForwardInputIndex()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiverMetrics.java575 void logModuleError(int source, int errorType) { in logModuleError() argument
577 Log.d(TAG, "logModuleError : " + source + " " + errorType); in logModuleError()
580 source, errorType); in logModuleError()
/packages/services/Car/service/src/com/android/car/telemetry/scriptexecutorinterface/
DIScriptExecutorListener.aidl54 void onError(int errorType, String message, @nullable String stackTrace); in onError() argument
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/databroker/
DDataBrokerTest.java306 TelemetryProto.TelemetryError.ErrorType errorType = in testScheduleNextTask_onScriptError_shouldStoreErrorObject() local
310 .setErrorType(errorType) in testScheduleNextTask_onScriptError_shouldStoreErrorObject()
316 mFakeScriptExecutor.notifyScriptError(errorType.getNumber(), errorMessage); in testScheduleNextTask_onScriptError_shouldStoreErrorObject()
803 public void notifyScriptError(int errorType, String errorMessage) { in notifyScriptError() argument
805 mListener.onError(errorType, errorMessage, null); in notifyScriptError()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/
DTransportProviderTest.java189 private void verifyAdminErrorMessageReceive(ErrorType errorType, TerminationReason reason) { in verifyAdminErrorMessageReceive() argument
192 TransportProvider.ADMIN_SECID, new AdminErrorMessage(errorType)); in verifyAdminErrorMessageReceive()
/packages/apps/Dialer/java/com/android/dialer/logging/
DLoggingBindingsStub.java61 long latency, int httpResponseCode, PeopleApiLookupError.Type errorType) {} in logPeopleApiLookupReportWithError() argument
DLoggingBindings.java88 long latency, int httpResponseCode, PeopleApiLookupError.Type errorType); in logPeopleApiLookupReportWithError() argument
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h465 const ErrorTypeUtils::ErrorType errorType) { in addCost() argument
470 inputSize, getTotalInputIndex(), errorType); in addCost()

12