| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat: 注册应用状态观察者监听进程死亡清理音频路由状态 新增AppStateObserver继承ApplicationStateObserverStub,重写OnProcessDied,在进程死亡时调用AudioRouterInfra::OnAppDied清理路由状态;在AudioPolicyServer注册观察者并在audio_server.cfg添加RUNNING_STATE_OBSERVER权限。 Co-Authored-By: Agent Signed-off-by: Gisaac <gongjie13@huawei.com> | 23 天前 | |
fix: sync SCO deviceId from AudioDeviceManager in input device mapping When MapInputDeviceType retypes BLUETOOTH_A2DP_IN or BT_SPP(unidirectional) to BLUETOOTH_SCO but no matching SCO exists in the descriptor list, the deviceId_ was left unchanged. Add AudioPolicyService::SyncInputDeviceScoId pre-pass at the four server-side call sites (GetDevices, GetInputDevice, GetAvailableDevices, ProcessPreferredInputDeviceForClient) to query AudioDeviceManager::GetExistedDevice for the real SCO and sync deviceId_ before MapInputDeviceType runs. Client-side callers and MapInputDeviceType itself are unchanged. Signed-off-by: Wang Hengshen <wanghengshen1@huawei.com> Co-Authored-By: Agent | 11 天前 | |
bugfix: remove public deps and public external deps Co-Authored-By: Agent Signed-off-by: wangqingsong21 <wangqingsong21@h-partners.com> | 5 天前 | |
bugfix: recovery preferred output device and exclude output device Co-Authored-By: Agent Signed-off-by: wangqingsong21 <wangqingsong21@h-partners.com> | 17 天前 | |
bugfix: remove public deps and public external deps Co-Authored-By: Agent Signed-off-by: wangqingsong21 <wangqingsong21@h-partners.com> | 5 天前 | |
bugfix: remove public deps and public external deps Co-Authored-By: Agent Signed-off-by: wangqingsong21 <wangqingsong21@h-partners.com> | 5 天前 | |
!16836 merge 0814_anco into master anco name Created-by: GaoYJ_61 Commit-by: GaoYJ_61 Merged-by: openharmony_ci Description: **IssueNo**:https://gitcode.com/openharmony/multimedia_audio_framework/issues/13919 **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| | 新增动态共享库或可执行文件是否开启硬件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 See merge request: openharmony/multimedia_audio_framework!16836 | 3 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 23 天前 | ||
| 11 天前 | ||
| 5 天前 | ||
| 17 天前 | ||
| 5 天前 | ||
| 5 天前 | ||
| 3 天前 |