Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
bda17148
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看板
提交
bda17148
编写于
8月 19, 2022
作者:
Q
qinliwen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
<媒体子系统部件化整改&Audio部件优化新增用例>
Signed-off-by:
N
qinliwen
<
qinliwen3@huawei.com
>
上级
826c08aa
变更
29
展开全部
隐藏空白更改
内联
并排
Showing
29 changed file
with
769 addition
and
361 deletion
+769
-361
multimedia/audio/audio_js_standard/audioManager/BUILD.gn
multimedia/audio/audio_js_standard/audioManager/BUILD.gn
+2
-0
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioEventManagement.test.js
...udioManager/src/main/js/test/AudioEventManagement.test.js
+0
-47
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js
...dard/audioManager/src/main/js/test/AudioFramework.test.js
+715
-314
multimedia/camera/camera_js_standard/BUILD.gn
multimedia/camera/camera_js_standard/BUILD.gn
+2
-0
multimedia/image/image_js_standard/image/BUILD.gn
multimedia/image/image_js_standard/image/BUILD.gn
+2
-0
multimedia/image/image_js_standard/imageColorspace/BUILD.gn
multimedia/image/image_js_standard/imageColorspace/BUILD.gn
+2
-0
multimedia/image/image_js_standard/imageDecodeOptions/BUILD.gn
...media/image/image_js_standard/imageDecodeOptions/BUILD.gn
+2
-0
multimedia/image/image_js_standard/imageExif/BUILD.gn
multimedia/image/image_js_standard/imageExif/BUILD.gn
+2
-0
multimedia/image/image_js_standard/imageModifyProperty/BUILD.gn
...edia/image/image_js_standard/imageModifyProperty/BUILD.gn
+2
-0
multimedia/image/image_js_standard/imagePacking/BUILD.gn
multimedia/image/image_js_standard/imagePacking/BUILD.gn
+2
-0
multimedia/image/image_js_standard/imagePixelMapFramework/BUILD.gn
...a/image/image_js_standard/imagePixelMapFramework/BUILD.gn
+2
-0
multimedia/image/image_js_standard/imageReceiver/BUILD.gn
multimedia/image/image_js_standard/imageReceiver/BUILD.gn
+2
-0
multimedia/image/image_js_standard/imageWebp/BUILD.gn
multimedia/image/image_js_standard/imageWebp/BUILD.gn
+2
-0
multimedia/image/image_js_standard/imageYUV/BUILD.gn
multimedia/image/image_js_standard/imageYUV/BUILD.gn
+2
-0
multimedia/image/image_js_standard/image_ndk_test/BUILD.gn
multimedia/image/image_js_standard/image_ndk_test/BUILD.gn
+2
-0
multimedia/media/media_js_standard/audioCodecFormat/BUILD.gn
multimedia/media/media_js_standard/audioCodecFormat/BUILD.gn
+2
-0
multimedia/media/media_js_standard/audioDecoder/BUILD.gn
multimedia/media/media_js_standard/audioDecoder/BUILD.gn
+2
-0
multimedia/media/media_js_standard/audioEncoder/BUILD.gn
multimedia/media/media_js_standard/audioEncoder/BUILD.gn
+2
-0
multimedia/media/media_js_standard/audioPlayer/BUILD.gn
multimedia/media/media_js_standard/audioPlayer/BUILD.gn
+2
-0
multimedia/media/media_js_standard/audioRecorder/BUILD.gn
multimedia/media/media_js_standard/audioRecorder/BUILD.gn
+2
-0
multimedia/media/media_js_standard/hlsPlayer/BUILD.gn
multimedia/media/media_js_standard/hlsPlayer/BUILD.gn
+2
-0
multimedia/media/media_js_standard/httpPlayer/BUILD.gn
multimedia/media/media_js_standard/httpPlayer/BUILD.gn
+2
-0
multimedia/media/media_js_standard/recorderFormat/BUILD.gn
multimedia/media/media_js_standard/recorderFormat/BUILD.gn
+2
-0
multimedia/media/media_js_standard/recorderProfile/BUILD.gn
multimedia/media/media_js_standard/recorderProfile/BUILD.gn
+2
-0
multimedia/media/media_js_standard/videoCodecFormat/BUILD.gn
multimedia/media/media_js_standard/videoCodecFormat/BUILD.gn
+2
-0
multimedia/media/media_js_standard/videoDecoder/BUILD.gn
multimedia/media/media_js_standard/videoDecoder/BUILD.gn
+2
-0
multimedia/media/media_js_standard/videoEncoder/BUILD.gn
multimedia/media/media_js_standard/videoEncoder/BUILD.gn
+2
-0
multimedia/media/media_js_standard/videoPlayer/BUILD.gn
multimedia/media/media_js_standard/videoPlayer/BUILD.gn
+2
-0
multimedia/media/media_js_standard/videoRecorder/BUILD.gn
multimedia/media/media_js_standard/videoRecorder/BUILD.gn
+2
-0
未找到文件。
multimedia/audio/audio_js_standard/audioManager/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_manager_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioManagerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_audio_framework"
}
ohos_js_assets("audio_manager_js_assets") {
source_dir = "./src/main/js/default"
...
...
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioEventManagement.test.js
浏览文件 @
bda17148
...
...
@@ -742,51 +742,6 @@ describe('audioEM', function () {
});
})
/* *
* @tc.number : SUB_AUDIO_MANAGER_DeviceType_001
* @tc.name : DeviceType - INVALID
* @tc.desc : DeviceType - INVALID
* @tc.size : MEDIUM
* @tc.type : Function
* @tc.level : Level 0
*/
it
(
'
SUB_AUDIO_MANAGER_DeviceType_001
'
,
0
,
async
function
(
done
)
{
expect
(
audio
.
DeviceType
.
INVALID
).
assertEqual
(
0
);
await
sleep
(
50
);
done
();
})
/* *
* @tc.number : SUB_AUDIO_MANAGER_DeviceType_002
* @tc.name : DeviceType - WIRED_HEADSET
* @tc.desc : DeviceType - WIRED_HEADSET
* @tc.size : MEDIUM
* @tc.type : Function
* @tc.level : Level 0
*/
it
(
'
SUB_AUDIO_MANAGER_DeviceType_002
'
,
0
,
async
function
(
done
)
{
expect
(
audio
.
DeviceType
.
WIRED_HEADSET
).
assertEqual
(
3
);
await
sleep
(
50
);
done
();
})
/* *
* @tc.number : SUB_AUDIO_MANAGER_DeviceType_003
* @tc.name : DeviceType - USB_HEADSET
* @tc.desc : DeviceType - USB_HEADSET
* @tc.size : MEDIUM
* @tc.type : Function
* @tc.level : Level 0
*/
it
(
'
SUB_AUDIO_MANAGER_DeviceType_003
'
,
0
,
async
function
(
done
)
{
var
resultflag
=
false
;
if
(
audio
.
DeviceType
.
USB_HEADSET
==
22
||
audio
.
DeviceType
.
USB_HEADSET
==
undefined
)
resultflag
=
true
;
expect
(
resultflag
).
assertTrue
();
await
sleep
(
50
);
done
();
})
/* *
* @tc.number : SUB_AUDIO_MANAGER_DeviceChangeType_001
* @tc.name : DeviceChangeType - CONNECT
...
...
@@ -814,6 +769,4 @@ describe('audioEM', function () {
await
sleep
(
50
);
done
();
})
})
\ No newline at end of file
multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioFramework.test.js
浏览文件 @
bda17148
此差异已折叠。
点击以展开。
multimedia/camera/camera_js_standard/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -22,6 +22,8 @@ ohos_js_hap_suite("camera_standard_ets_hap") {
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsCameraStandardETSTest"
subsystem_name = "multimedia"
part_name = "multimedia_camera_standard"
}
ohos_js_assets("camera_ets_assets") {
source_dir = "./src/main/ets/MainAbility"
...
...
multimedia/image/image_js_standard/image/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_js_assets") {
js2abc = true
...
...
multimedia/image/image_js_standard/imageColorspace/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_colorspace_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageColorspaceJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_colorspace_js_assets") {
js2abc = true
...
...
multimedia/image/image_js_standard/imageDecodeOptions/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_DecodeOptions_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageDecodeOptionsJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_DecodeOptions_js_assets") {
js2abc = true
...
...
multimedia/image/image_js_standard/imageExif/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_exif_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageExifJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_exif_js_assets") {
source_dir = "./src/main/js/default"
...
...
multimedia/image/image_js_standard/imageModifyProperty/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_modifyProperty_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageModifyPropertyJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_modifyProperty_js_assets") {
js2abc = true
...
...
multimedia/image/image_js_standard/imagePacking/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_packing_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImagePackingJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_packing_js_assets") {
js2abc = true
...
...
multimedia/image/image_js_standard/imagePixelMapFramework/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_pixelmapframework_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImagePixelMapFrameworkJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_pixelmapframework_js_assets") {
js2abc = true
...
...
multimedia/image/image_js_standard/imageReceiver/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_receiver_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageReceiverJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_receiver_js_assets") {
js2abc = true
...
...
multimedia/image/image_js_standard/imageWebp/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_webp_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageWebpJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_webp_js_assets") {
js2abc = true
...
...
multimedia/image/image_js_standard/imageYUV/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("image_yuv_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsImageyuvJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
}
ohos_js_assets("image_yuv_js_assets") {
js2abc = true
...
...
multimedia/image/image_js_standard/image_ndk_test/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -23,6 +23,8 @@ ohos_js_hap_suite("image_pixelmap_ndk_hap") {
ets2abc = true
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsPixelMapNapiEtsTest"
subsystem_name = "multimedia"
part_name = "multimedia_image_standard"
shared_libraries = [ "./entry/src/main/cpp:imagePixelmap" ]
}
...
...
multimedia/media/media_js_standard/audioCodecFormat/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_codec_format_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioCodecFormatJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("audio_codec_format_js_assets") {
source_dir = "./src/main/js/default"
...
...
multimedia/media/media_js_standard/audioDecoder/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_decoder_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioDecoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("audio_decoder_js_assets") {
source_dir = "./src/main/js/default"
...
...
multimedia/media/media_js_standard/audioEncoder/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -22,6 +22,8 @@ ohos_js_hap_suite("audio_encoder_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioEncoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("audio_encoder_js_assets") {
source_dir = "./src/main/js/default"
...
...
multimedia/media/media_js_standard/audioPlayer/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_player_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("audio_player_js_assets") {
js2abc = true
...
...
multimedia/media/media_js_standard/audioRecorder/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("audio_recorder_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsAudioRecorderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("audio_recorder_js_assets") {
source_dir = "./src/main/js/default"
...
...
multimedia/media/media_js_standard/hlsPlayer/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -27,6 +27,8 @@ ohos_js_hap_suite("hls_player_js_hap") {
# ]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsHLSPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
...
...
multimedia/media/media_js_standard/httpPlayer/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -27,6 +27,8 @@ ohos_js_hap_suite("http_player_js_hap") {
# ]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsHTTPPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
...
...
multimedia/media/media_js_standard/recorderFormat/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("recorder_format_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsRecorderFormatJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("recorder_format_js_assets") {
js2abc = true
...
...
multimedia/media/media_js_standard/recorderProfile/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -22,6 +22,8 @@ ohos_js_hap_suite("recorder_profile_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsRecorderProfileJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("profile_js_assets") {
js2abc = true
...
...
multimedia/media/media_js_standard/videoCodecFormat/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("video_codec_format_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoCodecFormatJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("video_codec_format_js_assets") {
source_dir = "./src/main/js/default"
...
...
multimedia/media/media_js_standard/videoDecoder/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -21,6 +21,8 @@ ohos_js_hap_suite("video_decoder_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoDecoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("video_decoder_js_assets") {
source_dir = "./src/main/js/default"
...
...
multimedia/media/media_js_standard/videoEncoder/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -22,6 +22,8 @@ ohos_js_hap_suite("video_encoder_js_hap") {
]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoEncoderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
}
ohos_js_assets("video_encoder_js_assets") {
source_dir = "./src/main/js/default"
...
...
multimedia/media/media_js_standard/videoPlayer/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -27,6 +27,8 @@ ohos_js_hap_suite("video_player_js_hap") {
# ]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoPlayerJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
...
...
multimedia/media/media_js_standard/videoRecorder/BUILD.gn
浏览文件 @
bda17148
...
...
@@ -25,6 +25,8 @@ ohos_js_hap_suite("video_recorder_js_hap") {
# ]
certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsVideoRecorderJsTest"
subsystem_name = "multimedia"
part_name = "multimedia_player_framework"
# part_name = "prebuilt_hap"
# subsystem_name = "xts"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录