Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
fc0d7987
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fc0d7987
编写于
10月 31, 2022
作者:
1
18742514821
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
<audio_permission>
Signed-off-by:
N
18742514821
<
xumengshu@huawei.com
>
上级
ae4a42b3
变更
10
显示空白变更内容
内联
并排
Showing
10 changed file
with
39 addition
and
10 deletion
+39
-10
multimedia/audio/audio_js_standard/AudioCapturer/src/main/config.json
...udio/audio_js_standard/AudioCapturer/src/main/config.json
+5
-1
multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js
...dard/AudioCapturer/src/main/js/test/AudioCapturer.test.js
+2
-1
multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/config.json
..._js_standard/AudioCapturerChangeInfo/src/main/config.json
+6
-1
multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/js/test/AudioCapturerChangeInfo.test.js
...angeInfo/src/main/js/test/AudioCapturerChangeInfo.test.js
+2
-1
multimedia/audio/audio_js_standard/AudioTonePlayer/src/main/config.json
...io/audio_js_standard/AudioTonePlayer/src/main/config.json
+5
-1
multimedia/audio/audio_js_standard/audioInterrupt/src/main/config.json
...dio/audio_js_standard/audioInterrupt/src/main/config.json
+5
-1
multimedia/audio/audio_js_standard/audioManager/src/main/config.json
...audio/audio_js_standard/audioManager/src/main/config.json
+5
-1
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js
...dard/audioManager/src/main/js/test/AudioFramework.test.js
+2
-1
multimedia/audio/audio_js_standard/audioVoip/src/main/config.json
...ia/audio/audio_js_standard/audioVoip/src/main/config.json
+5
-1
multimedia/audio/audio_js_standard/audioVoip/src/main/js/test/AudioVOIP.test.js
..._js_standard/audioVoip/src/main/js/test/AudioVOIP.test.js
+2
-1
未找到文件。
multimedia/audio/audio_js_standard/AudioCapturer/src/main/config.json
浏览文件 @
fc0d7987
...
...
@@ -80,6 +80,10 @@
{
"name"
:
"ohos.permission.MICROPHONE"
,
"reason"
:
"use ohos.permission.MICROPHONE"
},
{
"name"
:
"ohos.permission.MANAGE_AUDIO_CONFIG"
,
"reason"
:
"use ohos.permission.MANAGE_AUDIO_CONFIG"
}
]
...
...
multimedia/audio/audio_js_standard/AudioCapturer/src/main/js/test/AudioCapturer.test.js
浏览文件 @
fc0d7987
...
...
@@ -420,7 +420,8 @@ describe('audioCapturer', function () {
beforeAll
(
async
function
()
{
console
.
info
(
`
${
Tag
}
AudioFrameworkTest: beforeAll: Prerequisites at the test suite level`
);
let
permissionName1
=
'
ohos.permission.MICROPHONE
'
;
let
permissionNameList
=
[
permissionName1
];
let
permissionName2
=
'
ohos.permission.MANAGE_AUDIO_CONFIG
'
;
let
permissionNameList
=
[
permissionName1
,
permissionName2
];
let
appName
=
'
ohos.acts.multimedia.audio.audiocapturer
'
;
await
audioTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
sleep
(
100
);
...
...
multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/config.json
浏览文件 @
fc0d7987
...
...
@@ -80,7 +80,12 @@
{
"name"
:
"ohos.permission.MICROPHONE"
,
"reason"
:
"use ohos.permission.MICROPHONE"
},
{
"name"
:
"ohos.permission.MANAGE_AUDIO_CONFIG"
,
"reason"
:
"use ohos.permission.MANAGE_AUDIO_CONFIG"
}
]
}
}
\ No newline at end of file
multimedia/audio/audio_js_standard/AudioCapturerChangeInfo/src/main/js/test/AudioCapturerChangeInfo.test.js
浏览文件 @
fc0d7987
...
...
@@ -28,7 +28,8 @@ describe('audioCapturerChange', function () {
beforeAll
(
async
function
()
{
console
.
info
(
`AudioFrameworkTest: beforeAll: Prerequisites at the test suite level`
);
let
permissionName1
=
'
ohos.permission.MICROPHONE
'
;
let
permissionNameList
=
[
permissionName1
];
let
permissionName2
=
'
ohos.permission.MANAGE_AUDIO_CONFIG
'
;
let
permissionNameList
=
[
permissionName1
,
permissionName2
];
let
appName
=
'
ohos.acts.multimedia.audio.audiocapturerchangeInfo
'
;
await
audioTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
sleep
(
100
);
...
...
multimedia/audio/audio_js_standard/AudioTonePlayer/src/main/config.json
浏览文件 @
fc0d7987
...
...
@@ -79,6 +79,10 @@
{
"name"
:
"ohos.permission.MICROPHONE"
,
"reason"
:
"use ohos.permission.MICROPHONE"
},
{
"name"
:
"ohos.permission.MANAGE_AUDIO_CONFIG"
,
"reason"
:
"use ohos.permission.MANAGE_AUDIO_CONFIG"
}
]
}
...
...
multimedia/audio/audio_js_standard/audioInterrupt/src/main/config.json
浏览文件 @
fc0d7987
...
...
@@ -110,6 +110,10 @@
{
"name"
:
"ohos.permission.MODIFY_AUDIO_SETTINGS"
,
"reason"
:
"use ohos.permission.MODIFY_AUDIO_SETTINGS"
},
{
"name"
:
"ohos.permission.MANAGE_AUDIO_CONFIG"
,
"reason"
:
"use ohos.permission.MANAGE_AUDIO_CONFIG"
}
]
}
...
...
multimedia/audio/audio_js_standard/audioManager/src/main/config.json
浏览文件 @
fc0d7987
...
...
@@ -89,6 +89,10 @@
{
"name"
:
"ohos.permission.MODIFY_AUDIO_SETTINGS"
,
"reason"
:
"use ohos.permission.MODIFY_AUDIO_SETTINGS"
},
{
"name"
:
"ohos.permission.MANAGE_AUDIO_CONFIG"
,
"reason"
:
"use ohos.permission.MANAGE_AUDIO_CONFIG"
}
]
}
...
...
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js
浏览文件 @
fc0d7987
...
...
@@ -100,7 +100,8 @@ describe('audioFramework', function () {
let
permissionName1
=
'
ohos.permission.MICROPHONE
'
;
let
permissionName2
=
'
ohos.permission.ACCESS_NOTIFICATION_POLICY
'
;
let
permissionName3
=
'
ohos.permission.MODIFY_AUDIO_SETTINGS
'
;
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
];
let
permissionName4
=
'
ohos.permission.MANAGE_AUDIO_CONFIG
'
;
let
permissionNameList
=
[
permissionName1
,
permissionName2
,
permissionName3
,
permissionName4
];
let
appName
=
'
ohos.acts.multimedia.audio.audiomanager
'
;
await
audioTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
sleep
(
100
);
...
...
multimedia/audio/audio_js_standard/audioVoip/src/main/config.json
浏览文件 @
fc0d7987
...
...
@@ -80,6 +80,10 @@
{
"name"
:
"ohos.permission.MICROPHONE"
,
"reason"
:
"use ohos.permission.MICROPHONE"
},
{
"name"
:
"ohos.permission.MANAGE_AUDIO_CONFIG"
,
"reason"
:
"use ohos.permission.MANAGE_AUDIO_CONFIG"
}
]
}
...
...
multimedia/audio/audio_js_standard/audioVoip/src/main/js/test/AudioVOIP.test.js
浏览文件 @
fc0d7987
...
...
@@ -35,7 +35,8 @@ describe('audioVoip', function () {
beforeAll
(
async
function
()
{
console
.
info
(
`AudioFrameworkTest: beforeAll: Prerequisites at the test suite level`
);
let
permissionName1
=
'
ohos.permission.MICROPHONE
'
;
let
permissionNameList
=
[
permissionName1
];
let
permissionName2
=
'
ohos.permission.MANAGE_AUDIO_CONFIG
'
;
let
permissionNameList
=
[
permissionName1
,
permissionName2
];
let
appName
=
'
ohos.acts.multimedia.audio.audiovoip
'
;
await
audioTestBase
.
applyPermission
(
appName
,
permissionNameList
);
await
sleep
(
100
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录