/* * Copyright (C) 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #pragma once enum { NO_ERROR, ERR_ACCESS_DENIED, ERR_ALREADY_EXISTS, ERR_BAD_HANDLE, ERR_BAD_LEN, ERR_BAD_STATE, ERR_CHANNEL_CLOSED, ERR_CMD_UNKNOWN, ERR_GENERIC, ERR_INVALID_ARGS, ERR_NO_MEMORY, ERR_NO_MSG, ERR_NOT_ALLOWED, ERR_NOT_CONFIGURED, ERR_NOT_ENOUGH_BUFFER, ERR_NOT_FOUND, ERR_NOT_READY, ERR_NOT_SUPPORTED, ERR_NOT_VALID, ERR_TIMED_OUT, ERR_TOO_BIG, };