1ac4d6d58Sopenharmony_ci/* 2ac4d6d58Sopenharmony_ci * Copyright (C) 2023 Huawei Device Co., Ltd. 3ac4d6d58Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4ac4d6d58Sopenharmony_ci * you may not use this file except in compliance with the License. 5ac4d6d58Sopenharmony_ci * You may obtain a copy of the License at 6ac4d6d58Sopenharmony_ci * 7ac4d6d58Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8ac4d6d58Sopenharmony_ci * 9ac4d6d58Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10ac4d6d58Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11ac4d6d58Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12ac4d6d58Sopenharmony_ci * See the License for the specific language governing permissions and 13ac4d6d58Sopenharmony_ci * limitations under the License. 14ac4d6d58Sopenharmony_ci */ 15ac4d6d58Sopenharmony_ci 16ac4d6d58Sopenharmony_ci#ifndef DEVATTEST_ERRNO_H 17ac4d6d58Sopenharmony_ci#define DEVATTEST_ERRNO_H 18ac4d6d58Sopenharmony_ci 19ac4d6d58Sopenharmony_ci#define DEVATTEST_FAIL (-1) 20ac4d6d58Sopenharmony_ci 21ac4d6d58Sopenharmony_ci#define DEVATTEST_SUCCESS 0 22ac4d6d58Sopenharmony_ci 23ac4d6d58Sopenharmony_ci// 设备认证结果 24ac4d6d58Sopenharmony_ci#define DEVATTEST_RESULT_INIT (-2) 25ac4d6d58Sopenharmony_ci#define DEVATTEST_RESULT_FAIL (-1) 26ac4d6d58Sopenharmony_ci#define DEVATTEST_RESULT_PASS (0) 27ac4d6d58Sopenharmony_ci 28ac4d6d58Sopenharmony_ci#define DEVATTEST_ERR_JS_IS_NOT_SYSTEM_APP 202 29ac4d6d58Sopenharmony_ci#define DEVATTEST_ERR_JS_PARAMETER_ERROR 401 30ac4d6d58Sopenharmony_ci#define DEVATTEST_ERR_JS_SYSTEM_SERVICE_EXCEPTION 20000001 31ac4d6d58Sopenharmony_ci 32ac4d6d58Sopenharmony_ci#endif // DEVATTEST_ERRNO_H 33