未验证 提交 8c351ecb 编写于 作者: O openharmony_ci 提交者: Gitee

!3308 Updating the config.json with permissions and renderer buffer reads

Merge pull request !3308 from harshaprasad/TEST_BR_26052022_01
......@@ -69,6 +69,48 @@
"autoDesignWidth": true
}
}
]
],
"reqPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "use ohos.permission.GET_BUNDLE_INFO"
},
{
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason": "use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name": "ohos.permission.GRANT_SENSITIVE_PERMISSIONS",
"reason": "use ohos.permission.GRANT_SENSITIVE_PERMISSIONS"
},
{
"name": "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS",
"reason": "use ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"
},
{
"name": "ohos.permission.MEDIA_LOCATION",
"reason": "use ohos.permission.MEDIA_LOCATION"
},
{
"name": "ohos.permission.READ_MEDIA",
"reason": "use ohos.permission.READ_MEDIA"
},
{
"name": "ohos.permission.WRITE_MEDIA",
"reason": "use ohos.permission.WRITE_MEDIA"
},
{
"name": "ohos.permission.MICROPHONE",
"reason": "use ohos.permission.MICROPHONE"
},
{
"name": "ohos.permission.ACCESS_NOTIFICATION_POLICY",
"reason": "use ohos.permission.ACCESS_NOTIFICATION_POLICY"
},
{
"name": "ohos.permission.MODIFY_AUDIO_SETTINGS",
"reason": "use ohos.permission.MODIFY_AUDIO_SETTINGS"
}
]
}
}
\ No newline at end of file
......@@ -1384,7 +1384,7 @@ describe('audioRenderer', function () {
await sleep(100);
console.info('AudioFrameworkRenderLog: waitTime : ' +waitTime);
while (rlen < totalSize/4) {
while (rlen < totalSize/10) {
let buf = new ArrayBuffer(bufferSize);
rlen += ss.readSync(buf);
console.info('BufferAudioFramework: bytes read from file: ' +rlen);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册