From 4aae42c508f87e101148497ff56f20d638beb1de Mon Sep 17 00:00:00 2001 From: chen Date: Wed, 11 May 2022 14:09:15 +0800 Subject: [PATCH] add said definition for vendor Signed-off-by: chen Change-Id: Ia583f4d789017e2248952622ce7e41be39e0683c --- .../samgr_proxy/include/system_ability_definition.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/interfaces/innerkits/samgr_proxy/include/system_ability_definition.h b/interfaces/innerkits/samgr_proxy/include/system_ability_definition.h index 88169fe6..2fef5503 100644 --- a/interfaces/innerkits/samgr_proxy/include/system_ability_definition.h +++ b/interfaces/innerkits/samgr_proxy/include/system_ability_definition.h @@ -20,7 +20,10 @@ #include namespace OHOS { -// system ability definition should be a number between FIRST_SYS_ABILITY_ID and LAST_SYS_ABILITY_ID +/* +System ability definition should be a number between FIRST_SYS_ABILITY_ID and LAST_SYS_ABILITY_ID. +And for vendor, should be a number between VENDOR_SYS_ABILITY_ID_BEGIN and VENDOR_SYS_ABILITY_ID_END. +*/ enum { FIRST_SYS_ABILITY_ID = 0x00000001, SUBSYS_COMMON_SYS_ABILITY_ID_BEGIN = 1, @@ -244,6 +247,10 @@ enum { DISTRIBUTED_DEVICE_PROFILE_SA_ID = 6001, SUBSYS_ACE_SYS_ABILITY_ID_BEGIN = 7001, CA_DAEMON_ID = 8001, + + // reserved for vendor + VENDOR_SYS_ABILITY_ID_BEGIN = 0x00010000, // 65536 + VENDOR_SYS_ABILITY_ID_END = 0x00020000, // 131072 LAST_SYS_ABILITY_ID = 0x00ffffff, // 16777215 }; -- Gitee