• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2023 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_HIVIEWDFX_HIVIEW_SERVICE_IPC_INTERFACE_CODE_H
17 #define OHOS_HIVIEWDFX_HIVIEW_SERVICE_IPC_INTERFACE_CODE_H
18 
19 /* SAID: 1201 */
20 namespace OHOS {
21 namespace HiviewDFX {
22 enum class HiviewServiceInterfaceCode {
23     HIVIEW_SERVICE_ID_LIST = 1001,
24     HIVIEW_SERVICE_ID_COPY = 1002,
25     HIVIEW_SERVICE_ID_MOVE = 1003,
26     HIVIEW_SERVICE_ID_REMOVE = 1004,
27     HIVIEW_SERVICE_ID_OPEN_SNAPSHOT_TRACE = 1005,
28     HIVIEW_SERVICE_ID_DUMP_SNAPSHOT_TRACE = 1006,
29     HIVIEW_SERVICE_ID_OPEN_RECORDING_TRACE = 1007,
30     HIVIEW_SERVICE_ID_RECORDING_TRACE_ON = 1008,
31     HIVIEW_SERVICE_ID_RECORDING_TRACE_OFF = 1009,
32     HIVIEW_SERVICE_ID_CLOSE_TRACE = 1010,
33     HIVIEW_SERVICE_ID_RECOVER_TRACE = 1011,
34     HIVIEW_SERVICE_ID_GET_SYSTEM_CPU_USAGE = 1012,
35     HIVIEW_SERVICE_ID_GET_APP_TRACE = 1013,
36     HIVIEW_SERVICE_ID_SET_APPRESOURCE_LIMIT = 1014,
37 };
38 } // namespace HiviewDFX
39 } // namespace OHOS
40 
41 #endif // OHOS_HIVIEWDFX_HIVIEW_SERVICE_IPC_INTERFACE_CODE_H
42