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