1 /*
2  * Copyright (C) 2021 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 CALL_MANAGER_TEST_TYPES_H
17 #define CALL_MANAGER_TEST_TYPES_H
18 
19 namespace OHOS {
20 namespace Telephony {
21 constexpr int16_t MIN_VOLUME = 0;
22 constexpr int16_t MAX_VOLUME = 15;
23 constexpr int16_t READ_SIZE = 1;
24 constexpr int16_t MIN_BYTES = 4;
25 constexpr int16_t RING_PATH_MAX_LENGTH = 100;
26 constexpr int16_t SIM1_SLOTID = 0;
27 constexpr int16_t DEFAULT_ACCOUNT_ID = 0;
28 constexpr int16_t DEFAULT_VIDEO_STATE = 0;
29 constexpr int16_t DEFAULT_DIAL_SCENE = 0;
30 constexpr int16_t DEFAULT_DIAL_TYPE = 0;
31 constexpr int16_t DEFAULT_CALL_TYPE = 0;
32 constexpr int16_t DEFAULT_CALL_ID = 0;
33 constexpr int16_t DEFAULT_VALUE = 0;
34 constexpr size_t DEFAULT_SIZE = 0;
35 constexpr int16_t WINDOWS_X_START = 0;
36 constexpr int16_t WINDOWS_Y_START = 0;
37 constexpr int16_t WINDOWS_Z_ERROR = -1;
38 constexpr int16_t WINDOWS_Z_TOP = 1;
39 constexpr int16_t WINDOWS_Z_BOTTOM = 0;
40 constexpr int16_t WINDOWS_WIDTH = 200;
41 constexpr int16_t WINDOWS_HEIGHT = 200;
42 constexpr size_t DEFAULT_PREFERENCEMODE = 3;
43 constexpr int16_t EVENT_BLUETOOTH_SCO_CONNECTED_CODE = 0;
44 constexpr int16_t EVENT_BLUETOOTH_SCO_DISCONNECTED_CODE = 1;
45 constexpr size_t DEFAULT_NET_TYPE = 0;
46 constexpr size_t DEFAULT_ITEM_VALUE = 0;
47 const int32_t DEFINE_INIT_PERMISSIONS = 93;
48 const int32_t DEFINE_VERIFY_PERMISSIONS = 94;
49 const int32_t DEFINE_CONNECT_BT_SCO = 95;
50 const int32_t DEFINE_DISCONNECT_BT_SCO = 96;
51 const int32_t DEFINE_SUBSCRIBERCOMMON_EVENT = 97;
52 } // namespace Telephony
53 } // namespace OHOS
54 #endif