From d1faedd1d06a642325c3d0c5beaea6aa9c6181b2 Mon Sep 17 00:00:00 2001 From: ming-yue-liu1 Date: Tue, 31 Dec 2024 16:41:52 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=BB=99ipc=20code=E8=B5=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ming-yue-liu1 Change-Id: Ie63e6a2a8789c8fff14160524f0dbdcbb2f48761 --- ...le_framework_services_ipc_interface_code.h | 104 +++++++++--------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/services/bundlemgr/include/bundle_framework_services_ipc_interface_code.h b/services/bundlemgr/include/bundle_framework_services_ipc_interface_code.h index 08605b209..ab3498c90 100644 --- a/services/bundlemgr/include/bundle_framework_services_ipc_interface_code.h +++ b/services/bundlemgr/include/bundle_framework_services_ipc_interface_code.h @@ -27,58 +27,58 @@ enum class BundleManagerCallbackInterfaceCode : uint32_t { enum class InstalldInterfaceCode : uint32_t { CREATE_BUNDLE_DIR = 1, - EXTRACT_MODULE_FILES, - RENAME_MODULE_DIR, - CREATE_BUNDLE_DATA_DIR, - CLEAN_BUNDLE_DATA_DIR, - REMOVE_BUNDLE_DATA_DIR, - REMOVE_MODULE_DATA_DIR, - REMOVE_DIR, - GET_BUNDLE_STATS, - SET_DIR_APL, - GET_BUNDLE_CACHE_PATH, - SCAN_DIR, - MOVE_FILE, - COPY_FILE, - MKDIR, - GET_FILE_STAT, - EXTRACT_DIFF_FILES, - APPLY_DIFF_PATCH, - IS_EXIST_DIR, - IS_DIR_EMPTY, - OBTAIN_QUICK_FIX_DIR, - COPY_FILES, - EXTRACT_FILES, - GET_NATIVE_LIBRARY_FILE_NAMES, - EXECUTE_AOT, - IS_EXIST_FILE, - IS_EXIST_AP_FILE, - VERIFY_CODE_SIGNATURE, - MOVE_FILES, - EXTRACT_DRIVER_SO_FILE, - CHECK_ENCRYPTION, - EXTRACT_CODED_SO_FILE, - VERIFY_CODE_SIGNATURE_FOR_HAP, - DELIVERY_SIGN_PROFILE, - REMOVE_SIGN_PROFILE, - CLEAN_BUNDLE_DATA_DIR_BY_NAME, - CREATE_BUNDLE_DATA_DIR_WITH_VECTOR, - GET_ALL_BUNDLE_STATS, - STOP_AOT, - SET_ENCRYPTION_DIR, - DELETE_ENCRYPTION_KEY_ID, - EXTRACT_HNP_FILES, - INSTALL_NATIVE, - UNINSTALL_NATIVE, - GET_DISK_USAGE, - PEND_SIGN_AOT, - REMOVE_EXTENSION_DIR, - IS_EXIST_EXTENSION_DIR, - CREATE_EXTENSION_DATA_DIR, - GET_EXTENSION_SANDBOX_TYPE_LIST, - ADD_USER_DIR_DELETE_DFX, - MOVE_HAP_TO_CODE_DIR, - DELETE_UNINSTALL_TMP_DIRS, + EXTRACT_MODULE_FILES = 2, + RENAME_MODULE_DIR = 3, + CREATE_BUNDLE_DATA_DIR = 4, + CLEAN_BUNDLE_DATA_DIR = 5, + REMOVE_BUNDLE_DATA_DIR = 6, + REMOVE_MODULE_DATA_DIR = 7, + REMOVE_DIR = 8, + GET_BUNDLE_STATS = 9, + SET_DIR_APL = 10, + GET_BUNDLE_CACHE_PATH = 11, + SCAN_DIR = 12, + MOVE_FILE = 13, + COPY_FILE = 14, + MKDIR = 15, + GET_FILE_STAT = 16, + EXTRACT_DIFF_FILES = 17, + APPLY_DIFF_PATCH = 18, + IS_EXIST_DIR = 19, + IS_DIR_EMPTY = 20, + OBTAIN_QUICK_FIX_DIR = 21, + COPY_FILES = 22, + EXTRACT_FILES = 23, + GET_NATIVE_LIBRARY_FILE_NAMES = 24, + EXECUTE_AOT = 25, + IS_EXIST_FILE = 26, + IS_EXIST_AP_FILE = 27, + VERIFY_CODE_SIGNATURE = 28, + MOVE_FILES = 29, + EXTRACT_DRIVER_SO_FILE = 30, + CHECK_ENCRYPTION = 31, + EXTRACT_CODED_SO_FILE = 32, + VERIFY_CODE_SIGNATURE_FOR_HAP = 33, + DELIVERY_SIGN_PROFILE = 34, + REMOVE_SIGN_PROFILE = 35, + CLEAN_BUNDLE_DATA_DIR_BY_NAME = 36, + CREATE_BUNDLE_DATA_DIR_WITH_VECTOR = 37, + GET_ALL_BUNDLE_STATS = 38, + STOP_AOT = 39, + SET_ENCRYPTION_DIR = 40, + DELETE_ENCRYPTION_KEY_ID = 41, + EXTRACT_HNP_FILES = 42, + INSTALL_NATIVE = 43, + UNINSTALL_NATIVE = 44, + GET_DISK_USAGE = 45, + PEND_SIGN_AOT = 46, + REMOVE_EXTENSION_DIR = 47, + IS_EXIST_EXTENSION_DIR = 48, + CREATE_EXTENSION_DATA_DIR = 49, + GET_EXTENSION_SANDBOX_TYPE_LIST = 50, + ADD_USER_DIR_DELETE_DFX = 51, + MOVE_HAP_TO_CODE_DIR = 52, + DELETE_UNINSTALL_TMP_DIRS = 53, }; } // namespace AppExecFwk -- Gitee From b403249a8a57c8945b98e18f7c3e0028c886290d Mon Sep 17 00:00:00 2001 From: liumingyue Date: Thu, 2 Jan 2025 01:40:05 +0000 Subject: [PATCH 2/2] update services/bundlemgr/include/bundle_framework_services_ipc_interface_code.h. Signed-off-by: liumingyue --- .../include/bundle_framework_services_ipc_interface_code.h | 1 + 1 file changed, 1 insertion(+) diff --git a/services/bundlemgr/include/bundle_framework_services_ipc_interface_code.h b/services/bundlemgr/include/bundle_framework_services_ipc_interface_code.h index ab3498c90..c832361fa 100644 --- a/services/bundlemgr/include/bundle_framework_services_ipc_interface_code.h +++ b/services/bundlemgr/include/bundle_framework_services_ipc_interface_code.h @@ -79,6 +79,7 @@ enum class InstalldInterfaceCode : uint32_t { ADD_USER_DIR_DELETE_DFX = 51, MOVE_HAP_TO_CODE_DIR = 52, DELETE_UNINSTALL_TMP_DIRS = 53, + GET_DISK_USAGE_FROM_PATH = 54, }; } // namespace AppExecFwk -- Gitee