| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
bugfix: remove public deps and public external deps Co-Authored-By: Agent Signed-off-by: wangqingsong21 <wangqingsong21@h-partners.com> | 5 天前 | |
!16709 merge ringfollow into master ringfollow Created-by: buertianshi Commit-by: buertianshi Merged-by: openharmony_ci Description: **IssueNo**: **Description**: **静态扫描截图**: **通用规范自检:** | 自检项 | 自检结果 | | ------------------------------------------------------------ | -------- | | 成员变量命名,统一采用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| **XTS Result**: **TDD Result**: **Fuzz Result**: See merge request: openharmony/multimedia_audio_framework!16709 | 13 小时前 | |
refactor: 新增FetchOutputDevicesForAllOutputStreams批量选设备,StartArbiterContext只执行一次 连接蓝牙且存在多个流时,for循环逐流调用FetchOutputDevices导致StartArbiterContext/StopArbiterContext执行N*N次。新增FetchOutputDevicesForAllOutputStreams(std::vector<FetchDeviceInfo> &)与FetchInputDeviceForAllInputStreams对齐,StartArbiterContext只执行一次后循环FetchOutputDevicesInner。FetchDevicesForDescs、PreviewOutputDeviceSelection和UpdateStreamDevicesForStart改为批量调用,单流调用不变。 Co-Authored-By: Agent Signed-off-by: Gisaac <gongjie13@huawei.com> | 11 天前 | |
与A互通 Signed-off-by: 段文超 <duanwenchao@huawei.com> Co-Authroed-By:Agent | 2 个月前 | |
support app select device Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> Co-Authored-By: Agent Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> | 4 个月前 | |
重构SCO音频场景管理:合并HandleScoWithRecongnition到UpdateAudioScene,移除冗余接口 Co-Authored-By: Agent Signed-off-by: Gisaac <gongjie13@huawei.com> | 2 个月前 | |
interphone Signed-off-by: 136******92 <yupanwen@huawei.com> Change-Id: Ic368b07e8781c2e91dc1c02d52df403779fa4cdd | 3 个月前 | |
support app select device Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> Co-Authored-By: Agent Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> | 4 个月前 | |
fix warning. Co-Authored-By: Agent Signed-off-by: linhao19981 <linhao64@huawei.com> | 6 天前 | |
fix recording device conflict management bug. Co-Authored-By: Agent Signed-off-by: linhao19981 <linhao64@huawei.com> | 17 天前 | |
PC add negative设备路由策略 Co-Authored-By: Agent Signed-off-by: lisenlisen2002 <lisen63@h-partners.com> | 9 天前 | |
PC add negative设备路由策略 Co-Authored-By: Agent Signed-off-by: lisenlisen2002 <lisen63@h-partners.com> | 9 天前 | |
support app select device Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> Co-Authored-By: Agent Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> | 4 个月前 | |
support app select device Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> Co-Authored-By: Agent Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> | 4 个月前 | |
refactor: remove dual-ring logic from PairDeviceRouter and simplify GetPairDevice - Remove PairDeviceRouter from RING_RENDER strategy in audio_strategy_router.xml - Remove DecideRingRenderDevices method and SCO dual-ring logic in pair_device_router - Remove A2DP/NEARLINK SCO state skip condition in GetPairDevice (router_base.h) - Clean up related unit tests and dead code Co-Authored-By: Agent Signed-off-by: Gisaac <gongjie13@huawei.com> | 1 个月前 | |
refactor: remove dual-ring logic from PairDeviceRouter and simplify GetPairDevice - Remove PairDeviceRouter from RING_RENDER strategy in audio_strategy_router.xml - Remove DecideRingRenderDevices method and SCO dual-ring logic in pair_device_router - Remove A2DP/NEARLINK SCO state skip condition in GetPairDevice (router_base.h) - Clean up related unit tests and dead code Co-Authored-By: Agent Signed-off-by: Gisaac <gongjie13@huawei.com> | 1 个月前 | |
MIC device access Signed-off-by: chenyaowen6 <chenyaowen6@huawei.com> | 25 天前 | |
support app select device Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> Co-Authored-By: Agent Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> | 4 个月前 | |
refactor: simplify AppendActiveScoDevice to always use OUTPUT_DEVICE Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> Co-Authored-By: Agent Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> | 2 个月前 | |
support app select device Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> Co-Authored-By: Agent Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> | 4 个月前 | |
fix: 去掉AppendActiveScoDevice时间戳赋值,A2DP强选被SCO冲突时替换为同地址SCO 1) AppendActiveScoDevice去掉activeScoDevice->connectTimeStamp_赋值。 2) 新增RouterBase::ReplaceConflictA2dpWithSco:判断强选A2DP与SCO冲突、最高优先设备是SCO且macAddress相同,直接将perDev_替换为同地址SCO。GetMediaRenderDevice用GetConnectedDevices获取所有输出设备(含SCO),用ReplaceConflictA2dpWithSco代替ClearConflictDevice,替换后正常走GetPairDevice。 Co-Authored-By: Agent Signed-off-by: Gisaac <gongjie13@huawei.com> | 7 天前 | |
interphone Signed-off-by: 136******92 <yupanwen@huawei.com> Change-Id: Ic368b07e8781c2e91dc1c02d52df403779fa4cdd | 3 个月前 | |
support app select device Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> Co-Authored-By: Agent Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> | 4 个月前 | |
fix: GetMediaRenderDevice在GetConnectedDevices后补充ClearConflictDevice清理冲突 GetMediaRenderDevice中GetConnectedDevices()之后补充RouterBase::ClearConflictDevice(mediaDevices, GetRouterType())清理mediaDevices中的冲突设备,保留ReplaceConflictA2dpWithSco处理perDev_的A2DP/SCO冲突替换。 Co-Authored-By: Agent Signed-off-by: Gisaac <gongjie13@huawei.com> | 6 天前 | |
support app select device Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> Co-Authored-By: Agent Signed-off-by: zhanghuiming <zhanghuiming12@h-partners.com> | 4 个月前 | |
fix(audio_policy): mark clear-check fetch as running to fix force-select clear During ringing with a force-selected BT speaker, when a BT earphone connects/worn, the force-select was not cleared so audio stayed on the speaker. The clear-check FetchDeviceInfo had bypassType=USER_SELECT but isRunning=false, so WirelessConflictHandler skipped running streams in priority detection and could not correctly identify the force-select conflict, leaving fetched routerType=USER_SELECT and tripping the fetched.second != USER_SELECT guard in NeedClearPreferredMediaRenderer / NeedClearPreferredWhenCategoryUpdated. Set info.isRunning=true on the clear-check / device-selection fetch paths so the conflict handler treats the stream as running, yields a non-user-select device, and allows the force-select to be cleared and audio to switch to the earphone. Signed-off-by: Wang Hengshen <wanghengshen1@huawei.com> Co-Authored-By: Agent | 20 天前 | |
refactor: optimize audio policy arbiter context for power consumption - Implement N+N batch mode for FetchInputDeviceForAllInputStreams (replaces per-stream N×N FetchInputDevice calls) - Extract FetchInputDeviceInner to share logic between single and batch modes - Remove StopArbiterContext from inner method (caller manages lifecycle) - Fix return value bugs (descs→desc, remove unnecessary move) - Strategy 5: SetSelectedDevices uses move semantics (eliminates N+M atomic ops) - Strategy 8: Skip arbiter context when no wireless devices connected (HasWirelessDevicesConnected in AudioDeviceManager) Signed-off-by: Wang Hengshen <wanghengshen1@huawei.com> Co-Authored-By: Agent Change-Id: I9b4e71960fa1033143ef2761bb93deb72621a6d1 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 5 天前 | ||
| 13 小时前 | ||
| 11 天前 | ||
| 2 个月前 | ||
| 4 个月前 | ||
| 2 个月前 | ||
| 3 个月前 | ||
| 4 个月前 | ||
| 6 天前 | ||
| 17 天前 | ||
| 9 天前 | ||
| 9 天前 | ||
| 4 个月前 | ||
| 4 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 25 天前 | ||
| 4 个月前 | ||
| 2 个月前 | ||
| 4 个月前 | ||
| 7 天前 | ||
| 3 个月前 | ||
| 4 个月前 | ||
| 6 天前 | ||
| 4 个月前 | ||
| 20 天前 | ||
| 1 个月前 |