• 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 SECURITY_GUARD_DATA_COLLECT_MANAGER_SERVICE_IPC_INTERFACE_CODE_H
17 #define SECURITY_GUARD_DATA_COLLECT_MANAGER_SERVICE_IPC_INTERFACE_CODE_H
18 
19 #include <cstdint>
20 
21 /* SAID: 3524 */
22 namespace OHOS::Security::SecurityGuard {
23 enum class DataCollectManagerInterfaceCode {
24     CMD_DATA_COLLECT = 1,
25     CMD_DATA_REQUEST = 2,
26     CMD_DATA_SUBSCRIBE = 3,
27     CMD_DATA_UNSUBSCRIBE = 4,
28     CMD_SECURITY_EVENT_QUERY = 5,
29     CMD_SECURITY_COLLECTOR_START = 6,
30     CMD_SECURITY_COLLECTOR_STOP = 7,
31     CMD_SECURITY_CONFIG_UPDATE = 8,
32     CMD_SECURITY_EVENT_CONFIG_QUERY = 9,
33     CMD_SECURITY_EVENT_MUTE = 10,
34     CMD_SECURITY_EVENT_UNMUTE = 11,
35     CMD_SECURITY_EVENT_QUERY_BY_ID = 12,
36 };
37 
38 enum class DataCollectManagerCallbackInterfaceCode {
39     CMD_SET_REQUEST_DATA = 1,
40     CMD_DATA_SUBSCRIBE_CALLBACK = 2,
41 };
42 
43 enum class SecurityEventQueryCallbackInterfaceCode {
44     CMD_ON_QUERY = 1,
45     CMD_ON_COMPLETE = 2,
46     CMD_ON_ERROR = 3,
47 };
48 } // namespace OHOS::Security::SecurityGuard
49 
50 #endif // SECURITY_GUARD_DATA_COLLECT_MANAGER_SERVICE_IPC_INTERFACE_CODE_H