| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat(dm_lite): expose NotifyBootAnimationFinished IPC for boot animation Add a new DisplayManagerLite::NotifyBootAnimationFinished() async IPC so the boot animation can actively notify the window manager when it finishes, triggering the fold screen power-on sequence at the animation-decided timing instead of relying on the WatchParameter(BOOTEVENT_BOOT_COMPLETED) path. The IPC is async (TF_ASYNC) so the caller is not blocked. Server-side it flows through DisplayManagerLiteProxy -> ScreenSessionManagerStub -> ScreenSessionManager, where foldScreenPowerInit_ is invoked on foldable devices. The power init body is wrapped with std::call_once so it runs exactly once across both callers (NotifyBootAnimationFinished for cold boot and BootFinishedCallback for the foundation-restart fallback). Add unit test and fuzz coverage: - stub fuzzer: register TRANS_ID_NOTIFY_BOOT_ANIMATION_FINISHED - stub test: verify OnRemoteRequest dispatch returns ERR_NONE - proxy mock test: verify WriteInterfaceToken error and success paths Co-Authored-By: Agent Signed-off-by: liufei <liufei225@h-partners.com> | 3 天前 | |
so拆分添加TDD Signed-off-by: y30046716 <yaodixiong@huawei.com> Change-Id: Idc4b1a0f54cd19e3fc38399f42676945e6fc3a04 | 2 年前 |