• 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_DEVICE_PROFILE_IPC_INTERFACE_CODE_H
17 #define OHOS_DEVICE_PROFILE_IPC_INTERFACE_CODE_H
18 
19 #include <cstdint>
20 
21 /* SAID: 6001 */
22 namespace OHOS {
23 namespace DeviceProfile {
24 enum class IDeviceProfileInterfaceCode : uint32_t {
25     PUT_DEVICE_PROFILE = 1,
26     GET_DEVICE_PROFILE = 2,
27     DELETE_DEVICE_PROFILE = 3,
28     SUBSCRIBE_PROFILE_EVENT = 4,
29     UNSUBSCRIBE_PROFILE_EVENT = 5,
30     SYNC_DEVICE_PROFILE = 6,
31     PUT_ACL_PROFILE = 7, // new ipc code
32     UPDATE_ACL_PROFILE = 8,
33     GET_TRUST_DEVICE_PROFILE = 9,
34     GET_ALL_TRUST_DEVICE_PROFILE = 10,
35     GET_ACL_PROFILE = 11,
36     GET_ALL_ACL_PROFILE = 12,
37     DELETE_ACL_PROFILE = 13,
38     PUT_SERVICE_PROFILE = 14,
39     PUT_SERVICE_PROFILE_BATCH = 15,
40     PUT_CHAR_PROFILE = 16,
41     PUT_CHAR_PROFILE_BATCH = 17,
42     GET_DEVICE_PROFILE_NEW = 18,
43     GET_SERVICE_PROFILE = 19,
44     GET_CHAR_PROFILE = 20,
45     DEL_SERVICE_PROFILE = 21,
46     DEL_CHAR_PROFILE = 22,
47     SUBSCRIBE_DEVICE_PROFILE = 23,
48     UNSUBSCRIBE_DEVICE_PROFILE = 24,
49     SYNC_DEVICE_PROFILE_NEW = 25,
50     SEND_SUBSCRIBE_INFOS = 26,
51     ON_SYNC_COMPLETED = 27,
52     ON_TRUST_DEVICE_PROFILE_ADD = 28,
53     ON_TRUST_DEVICE_PROFILE_UPDATE = 29,
54     ON_TRUST_DEVICE_PROFILE_DELETE = 30,
55     ON_DEVICE_PROFILE_ADD = 31,
56     ON_DEVICE_PROFILE_UPDATE = 32,
57     ON_DEVICE_PROFILE_DELETE = 33,
58     ON_SERVICE_PROFILE_ADD = 34,
59     ON_SERVICE_PROFILE_UPDATE = 35,
60     ON_SERVICE_PROFILE_DELETE = 36,
61     ON_CHAR_PROFILE_ADD = 37,
62     ON_CHAR_PROFILE_UPDATE = 38,
63     ON_CHAR_PROFILE_DELETE = 39,
64 };
65 } // namespace DeviceProfile
66 } // namespace OHOS
67 #endif
68