1a34a8711Sopenharmony_ci/* 2a34a8711Sopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd. 3a34a8711Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4a34a8711Sopenharmony_ci * you may not use this file except in compliance with the License. 5a34a8711Sopenharmony_ci * You may obtain a copy of the License at 6a34a8711Sopenharmony_ci * 7a34a8711Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8a34a8711Sopenharmony_ci * 9a34a8711Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10a34a8711Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11a34a8711Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12a34a8711Sopenharmony_ci * See the License for the specific language governing permissions and 13a34a8711Sopenharmony_ci * limitations under the License. 14a34a8711Sopenharmony_ci */ 15a34a8711Sopenharmony_ci 16a34a8711Sopenharmony_ci#ifndef OHOS_RPC_TEST_H 17a34a8711Sopenharmony_ci#define OHOS_RPC_TEST_H 18a34a8711Sopenharmony_ci 19a34a8711Sopenharmony_ci#include <stdint.h> 20a34a8711Sopenharmony_ci 21a34a8711Sopenharmony_ciconstexpr int32_t SAID = 16; 22a34a8711Sopenharmony_ciconstexpr int32_t INVALID_SAID = -1; 23a34a8711Sopenharmony_ciconstexpr int32_t INVALID_HANDLE = -1; 24a34a8711Sopenharmony_ciconstexpr int32_t IPC_LENGTH = 128; 25a34a8711Sopenharmony_ciconstexpr int32_t NUMBER_A = 12; 26a34a8711Sopenharmony_ciconstexpr int32_t NUMBER_B = 17; 27a34a8711Sopenharmony_ciconstexpr int32_t NUMBER_ZERO = 0; 28a34a8711Sopenharmony_ciconstexpr int32_t OP_ADD = 1; 29a34a8711Sopenharmony_ciconstexpr int32_t OP_SUB = 2; 30a34a8711Sopenharmony_ciconstexpr int32_t OP_MULTI = 3; 31a34a8711Sopenharmony_ciconstexpr int32_t OP_DIVISION = 4; 32a34a8711Sopenharmony_ciconstexpr int32_t OP_SERIALIZER = 5; 33a34a8711Sopenharmony_ciconstexpr int32_t OP_INVALID = 1024; 34a34a8711Sopenharmony_ciconstexpr int32_t GET_SYSTEM_ABILITY_TRANSACTION = 1; 35a34a8711Sopenharmony_ciconstexpr int32_t ADD_SYSTEM_ABILITY_TRANSACTION = 2; 36a34a8711Sopenharmony_ciconstexpr int32_t GET_REMOTE_SYSTEM_ABILITY_TRANSACTION = 3; 37a34a8711Sopenharmony_ciconstexpr int32_t ADD_REMOTE_SYSTEM_ABILITY_TRANSACTION = 4; 38a34a8711Sopenharmony_ci 39a34a8711Sopenharmony_ci#endif // OHOS_RPC_TEST_H