mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 12:43:16 -04:00
341ba3aa02
Change BatchRegisterFunctions IDL from [in] FunctionInfo[] (Parcel, 1MB Binder limit) to [in] FunctionsRawData (shared memory/Ashmem), matching the existing GetAllFunctions pattern. This allows a single IPC to carry all functions regardless of data size, eliminating the N/50 batch chunking that caused repeated CheckKvStore loops on simulators without a KVStore and led to boot timeouts. Client-side CliToolMGRClient keeps accepting vector<FunctionInfo> and converts to FunctionsRawData internally via FromFunctionInfoVec. Service-side converts back via ToFunctionInfoVec before processing. Chunking logic in BatchRegisterInsightIntentFunctions is removed. Co-Authored-By: Agent Signed-off-by: RuiChen_01 <chenrui193@huawei.com> 🤖 AI[100%] 👌 AI Adopted[100%] 🧑 Human[0%] Co-authored-by: claude (glm-5.2) <ai@local>