| sync update Signed-off-by: 陶春龙 <taochunlong@huawei.com> | 1 年前 |
| feat(system_sound): 实现MockHapticRingTonePlayer功能 新增通过震动URI创建铃声播放器功能,支持播放模拟震动音频: 1. SystemSoundManager新增接口: - GetMockHapticRingTonePlayer(context, hapticUri) - QueryToneUriByHapticUri 查询震动对应的铃声URI - QueryPlayModeByHapticUri 查询震动播放模式 2. RingtonePlayerImpl新增: - Mock模式构造函数,支持传入mockSettings - isMockMode_标识和mockToneHapticsSettings_保存 - Start()方法Mock模式特殊处理 3. AudioHaptic模块修改: - 新增SetMockMode方法传递isMockMode标识 - AudioHapticPlayerImpl根据isMockMode设置rendererFlags - 支持AUDIO_FLAG_VKB_NORMAL播放模式 4. 删除GetMockHapticToneAttrList接口(暂不开放) Co-Authored-By: Agent Signed-off-by: suger_yeezy <chenyugan1@huawei.com> | 2 个月前 |
| player0227 Signed-off-by: zhangwt3652 <zhangwenting15@huawei.com> | 1 年前 |
| fixut Signed-off-by: 段文超 <duanwenchao@huawei.com> Co-Authored-By: Agent | 27 天前 |
| tdd0306 Signed-off-by: zhangwt3652 <zhangwenting15@huawei.com> | 1 年前 |
| fixut Signed-off-by: 段文超 <duanwenchao@huawei.com> Co-Authored-By: Agent | 27 天前 |
| player0228 Signed-off-by: zhangwt3652 <zhangwenting15@huawei.com> | 1 年前 |
| fixut Signed-off-by: 段文超 <duanwenchao@huawei.com> Co-Authored-By: Agent | 27 天前 |
| player0227 Signed-off-by: zhangwt3652 <zhangwenting15@huawei.com> | 1 年前 |
| fix ut bug Signed-off-by: suger_yeezy <chenyugan1@huawei.com> Change-Id: I6e0b8c0ab6c4bf2b8f920dde13e7b4c5ecac5aa8 | 5 个月前 |
| UT整改 Signed-off-by: wangwanliangw <wangwanliang2@h-partners.com> revert merge request: UT整改 8d2d3db23be74cae581a448ccca4d0939557644e This revert merge request !7002 | 7 个月前 |
| fix: fix invalid UT cases - set valid patternNum for VibratorPackage PlayVibrateForSoundPool_001~005 and RunVibrationPatterns_001~005 were invalid because VibratorPackage was created without setting patternNum (defaults to 0), causing the for loop in PlayVibrateForSoundPool and RunVibrationPatterns to never execute and always return MSERR_OK. Fix: Replace std::make_shared<VibratorPackage>() with CreatePackage() which sets patternNum=2 with valid patterns and events, ensuring the loop body executes and the test actually verifies function logic. Co-Authored-By: Agent Agent: GLM-5.1 Signed-off-by: Jvgang <yujugang2@h-partners.com> | 28 天前 |
| tdd0306 Signed-off-by: zhangwt3652 <zhangwenting15@huawei.com> | 1 年前 |