已合并
anco name #16836
已合并
GaoYJ_61创建于 12 天前
GaoYJ_61
12 天前

IssueNo:https://gitcode.com/openharmony/multimedia_audio_framework/issues/13919

Description:添加多窗口并发

静态扫描截图:image.png

通用规范自检:

自检项 自检结果
成员变量命名,统一采用xxxx_ Y
换行优先使用4格缩进 Y
*和&运算符统一跟随之后的变量 Y
避免使用未明确位宽的整型,选择使用int32_t, uint32_t等类型 Y
时间常量命名加后缀_MS, _US等,按照用途命名而非值 Y

安全编码自检:

自检项 自检结果
外部传入的指针使用前是否判空 Y
外部传入数据,直接用于内存申请、数组长度、索引、循环条件前,必须进行合法性校验 Y
成员或局部变量,尤其是指针、资源描述符、bool变量必须赋初值 Y
内存分配后必须判断是否成功 Y
禁止打印内存地址、文件路径、设备名、MAC地址等敏感信息,如有需要,使用private修饰 Y
有符号、无符号整数之间运算、比较,确保不会出现溢出、反转、除0 Y
有无符号不允许混合计算,必须提前进行强转 Y
map\vector\list\set等对象存在多线程并发访问场景必须加锁 Y

进程安全自检:

自检项 自检结果
SA新增idl接口,需要根据功能控制可访问范围,通过权限、UID校验等方式校验 Y
SA新增idl接口,必须同时新增fuzz用例,并进行fuzz测试 Y
类反序列化结果用于内存申请、数组长度、循环条件前,必须进行合法性校验 Y
新增动态共享库或可执行文件是否开启硬件PAC(gn文件配置 branch_protector_ret = "pac_ret") Y
新增动态共享库或可执行文件是否开启前向CFI(gn文件配置 cfi = true, cfi_cross_dso = true, debug = false) Y

XTS Result:
PASS
TDD Result:
PASS
Fuzz Result:
PASS

likedislike
Pull Request已成功合入, 合并人@openharmony_ci
(感谢 GaoYJ_61 的贡献)
GGaoYJ_61
12 天前 关联了issue:[Bug]: 添加anco_bundleName
萤火虫
萤火虫
12 天前 评论:

扫描任务已触发,请前往CMC静态分析增强系统查看结果。如超15分钟无结果,请联系张俊文

likedislike
萤火虫
萤火虫
12 天前 评论:

【扫描结果】通过
【扫描详情】告警总数:0,待确认数量:0,已确认数量:0。

likedislike
GaoYJ_61
12 天前 评论:

check-dco

likedislike
ohci1
ohci1成员
12 天前 评论:

check dco

likedislike
openharmony_ci
openharmony_ci成员
12 天前 评论:

感谢提交 Pull Requests !此PR未通过DCO校验。
校验失败可能原因:

1. 未签署“DCO协议”(开发者原创声明协议),在线签署、查看签署状态

2. Commits 中未包含 Signed-off-by信息,参考FAQ处理

修复上述问题后,在PR的评论框输入“check dco” ,单击”评论”,系统将再次进行DCO校验。

当前检测到如下Commits 未包含Signed-off-by信息:


Thanks for submitting a pull request. This pull request has not passed the DCO check.
Possible causes:

1. You have not signed the Developer Certificate of Origin (DCO). Sign the DCO and check DCO status.

2. The commits do not contain the Signed-off-by information. To resolve this issue, see FAQs.

After resolving the preceding issues, enter check dco in the comment box of this pull request and click Comment. The system will check DCO status again.

The following commits do not contain the Signed-off-by information:

likedislike
openharmony_ciopenharmony_ci成员
12 天前 添加了label:dco检查失败
GGaoYJ_61
12 天前 强制推送  1 个提交:80b61b9e-ancobundle name
openharmony_ciopenharmony_ci成员
12 天前 添加了label:waiting_on_author
openharmony_ci
openharmony_ci成员
12 天前 评论:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ci成员
12 天前 删除了label:dco检查失败
openharmony_ciopenharmony_ci成员
12 天前 添加了label:dco检查成功
GaoYJ_61
12 天前 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
12 天前 评论:

本地或库上代码有更新,全量重新构建,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译和测试【part_compile编译, dayu200测试, master_inner_build编译, dayu600_7885编译, dayu200_tdd编译, ohos-host_mini_tdd编译, dayu600_7885测试, dayu200编译, x86_64_virt编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a7ec98864650f998b837a42/runlist

likedislike
openharmony_ciopenharmony_ci成员
12 天前 添加了label:静态检查失败
openharmony_ci
openharmony_ci成员
12 天前 评论:

代码门禁未通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a7ec98864650f998b837a42/runlist

静态检查:

# check type result report
1 codeCheck noPass >>>

编译测试:
# Device build result package
1 dayu200 pending NA
2 dayu200_tdd pending NA
3 part_compile pending NA
4 master_inner_build pending NA
5 ohos-host_mini_tdd pending NA
6 dayu600_7885 pending NA
7 x86_64_virt pending NA

likedislike
GGaoYJ_61
12 天前 推送  1 个提交:7f0eb549-update: 更新文件 window_utils.cpp
openharmony_ciopenharmony_ci成员
12 天前 删除了label:静态检查失败
openharmony_ci
openharmony_ci成员
12 天前 评论:

代码有更新,重置PR验证状态

likedislike
openharmony_ci
openharmony_ci成员
12 天前 评论:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
GaoYJ_61
12 天前 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
12 天前 评论:

本地或库上代码有更新,全量重新构建,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译和测试【part_compile编译, ohos-host_mini_tdd编译, dayu200测试, dayu600_7885编译, dayu200编译, master_inner_build编译, x86_64_virt编译, dayu600_7885测试, dayu200_tdd编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a7ecd5d64650f998b857a23/runlist

likedislike
openharmony_ciopenharmony_ci成员
12 天前 添加了label:编译失败
GGaoYJ_61
12 天前 推送  1 个提交:176f9fb1-update: 更新文件 window_utils.cpp
GaoYJ_61
12 天前 评论:

start build

likedislike
openharmony_ciopenharmony_ci成员
12 天前 删除了label:编译失败
openharmony_ci
openharmony_ci成员
12 天前 评论:

代码有更新,重置PR验证状态

likedislike
openharmony_ci
openharmony_ci成员
12 天前 评论:

监测到PR: https://gitcode.com/openharmony/multimedia_audio_framework/merge_requests/16836 代码有更新,当前正在执行的门禁任务已自动中止,如有需要,可重新触发

likedislike
openharmony_ci
openharmony_ci成员
12 天前 评论:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ci
openharmony_ci成员
12 天前 评论:

本地或库上代码有更新,全量重新构建,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译和测试【ohos-host_mini_tdd编译, dayu200编译, part_compile编译, dayu600_7885测试, dayu600_7885编译, x86_64_virt编译, dayu200测试, dayu200_tdd编译, master_inner_build编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a7edcc064650f998b8cf0f5/runlist

likedislike
郝亮飞郝亮飞成员
12 天前 通过审查
openharmony_ciopenharmony_ci成员
12 天前 添加了label:编译成功
openharmony_ciopenharmony_ci成员
12 天前 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
12 天前 添加了label:冒烟测试成功
openharmony_ciopenharmony_ci成员
12 天前 通过测试
openharmony_ci
openharmony_ci成员
12 天前 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a7edcc064650f998b8cf0f5/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result test result package
1 dayu200 success success >>>
2 dayu200_tdd success NA >>>
3 part_compile success(IGNORE) NA >>>
4 master_inner_build failed(IGNORE)(联合门禁失败) NA >>>
5 ohos-host_mini_tdd success NA >>>
6 dayu600_7885 success success >>>
7 x86_64_virt success NA >>>

likedislike
openharmony_ciopenharmony_ci成员
12 天前 删除了label:waiting_on_author
openharmony_ciopenharmony_ci成员
12 天前 添加了label:waiting_for_review
openharmony_ci
openharmony_ci成员
12 天前 评论:

您好,Committer @liuyuehua1 @magekkkk @imyuhang @hangliebe @huyue57 @boxwall @songshenke @lepage @gregoire @tianluowen @junlintianxiawy @hao-liangfei @seveno0 @Gisaacj ,请分配检视人员检视该PR,可以通过命令"assign [@someone_id]"分配检视人员,也可以直接评论"assign"分配给自己进行检视。


Hello, Committer @liuyuehua1 @magekkkk @imyuhang @hangliebe @huyue57 @boxwall @songshenke @lepage @gregoire @tianluowen @junlintianxiawy @hao-liangfei @seveno0 @Gisaacj . Please assign someone to review the PR. You can assign a reviewer by using the command "assign [@someone_id]", or you can comment "assign" to review the PR by yourself.

likedislike
openharmony_ciopenharmony_ci成员
12 天前 合入了pull request,合并节点 SHA:80103659cb6fe8a458622c81d1d4712f849585d9
openharmony_ciopenharmony_ci成员
12 天前 删除了label:waiting_for_review
openharmony_ciopenharmony_ci成员
12 天前 添加了label:merged