Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
3abf14f0
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看板
提交
3abf14f0
编写于
2月 25, 2022
作者:
P
panqiangbiao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add medialibrary xts
Signed-off-by:
N
panqiangbiao
<
panqiangbiao@huawei.com
>
上级
3c290e5a
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
3649 addition
and
803 deletion
+3649
-803
multimedia/BUILD.gn
multimedia/BUILD.gn
+1
-1
multimedia/medialibrary/mediaLibrary_js_standard/Test.json
multimedia/medialibrary/mediaLibrary_js_standard/Test.json
+7
-1
multimedia/medialibrary/mediaLibrary_js_standard/src/main/config.json
...edialibrary/mediaLibrary_js_standard/src/main/config.json
+2
-2
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/List.test.js
...ry/mediaLibrary_js_standard/src/main/js/test/List.test.js
+2
-10
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/favoriteTestCallBack.test.js
...js_standard/src/main/js/test/favoriteTestCallBack.test.js
+1389
-0
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/favoriteTestPromise.test.js
..._js_standard/src/main/js/test/favoriteTestPromise.test.js
+1112
-0
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileTestPromise.test.js
...rary_js_standard/src/main/js/test/fileTestPromise.test.js
+1136
-789
未找到文件。
multimedia/BUILD.gn
浏览文件 @
3abf14f0
...
...
@@ -26,7 +26,7 @@ group("multimedia") {
#"media/media_js_standard/videoPlayer:video_player_js_hap",
#"media/media_js_standard/videoRecorder:video_recorder_js_hap",
#
"medialibrary/mediaLibrary_js_standard:mediaLibrary_js_hap",
"medialibrary/mediaLibrary_js_standard:mediaLibrary_js_hap",
#"media/media_js_standard/audioRecorder:audio_recorder_js_hap",
]
...
...
multimedia/medialibrary/mediaLibrary_js_standard/Test.json
浏览文件 @
3abf14f0
...
...
@@ -14,7 +14,9 @@
"push"
:
[
"./resource/medialibrary/01.jpg ->/storage/media/100/local/files"
,
"./resource/medialibrary/01.mp3 ->/storage/media/100/local/files"
,
"./resource/medialibrary/01.mp4 ->/storage/media/100/local/files"
"./resource/medialibrary/01.mp4 ->/storage/media/100/local/files"
,
"./resource/medialibrary/test.dat ->/storage/media/100/local/files"
,
"./resource/medialibrary/test2.dat ->/storage/media/100/local/files"
]
},
{
...
...
@@ -35,6 +37,9 @@
"cp /storage/media/100/local/files/01.mp3 /storage/media/100/local/files/camera/02.mp3"
,
"cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/camera/01.mp4"
,
"cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/camera/02.mp4"
,
"mkdir /storage/media/100/local/files/File"
,
"cp /storage/media/100/local/files/test.dat /storage/media/100/local/files/File/test.dat"
,
"cp /storage/media/100/local/files/test2.dat /storage/media/100/local/files/File/test2.dat"
,
"chmod -R 777 /storage/media/100/local/files/*"
,
"chmod -R 777 /data/service/el2/100/hmdfs/account/files/*"
,
"killall com.ohos.medialibrary.MediaScannerAbilityA"
,
...
...
@@ -53,3 +58,4 @@
}
]
}
multimedia/medialibrary/mediaLibrary_js_standard/src/main/config.json
浏览文件 @
3abf14f0
...
...
@@ -75,7 +75,7 @@
"autoDesignWidth"
:
true
}
}
]
]
,
"reqPermissions"
:
[
{
"name"
:
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
...
...
@@ -85,4 +85,4 @@
}
]
}
}
\ No newline at end of file
}
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/List.test.js
浏览文件 @
3abf14f0
...
...
@@ -12,14 +12,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
require
(
'
./favoriteTestCallBack.test.js
'
)
require
(
'
./favoriteTestPromise.test.js
'
)
require
(
'
./fileTestPromise.test.js
'
)
require
(
'
./albumTestPromise.test.js
'
)
require
(
'
./fileTestCallBack.test.js
'
)
require
(
'
./favTestCallBack.test.js
'
)
require
(
'
./albumTestCallBack.test.js
'
)
require
(
'
./getMediaFileAssetStatus.test.js
'
)
require
(
'
./favTestPromise.test.js
'
)
require
(
'
./fileTestCallBack.test.js
'
)
require
(
'
./favTestCallBack.test.js
'
)
require
(
'
./albumTestCallBack.test.js
'
)
require
(
'
./FileAssetGetThumbnail.js
'
)
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/favoriteTestCallBack.test.js
0 → 100644
浏览文件 @
3abf14f0
此差异已折叠。
点击以展开。
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/favoriteTestPromise.test.js
0 → 100644
浏览文件 @
3abf14f0
此差异已折叠。
点击以展开。
multimedia/medialibrary/mediaLibrary_js_standard/src/main/js/test/fileTestPromise.test.js
浏览文件 @
3abf14f0
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录