提交 3abf14f0 编写于 作者: P panqiangbiao

add medialibrary xts

Signed-off-by: Npanqiangbiao <panqiangbiao@huawei.com>
上级 3c290e5a
...@@ -26,7 +26,7 @@ group("multimedia") { ...@@ -26,7 +26,7 @@ group("multimedia") {
#"media/media_js_standard/videoPlayer:video_player_js_hap", #"media/media_js_standard/videoPlayer:video_player_js_hap",
#"media/media_js_standard/videoRecorder:video_recorder_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", #"media/media_js_standard/audioRecorder:audio_recorder_js_hap",
] ]
......
...@@ -14,7 +14,9 @@ ...@@ -14,7 +14,9 @@
"push": [ "push": [
"./resource/medialibrary/01.jpg ->/storage/media/100/local/files", "./resource/medialibrary/01.jpg ->/storage/media/100/local/files",
"./resource/medialibrary/01.mp3 ->/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 @@ ...@@ -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.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/01.mp4",
"cp /storage/media/100/local/files/01.mp4 /storage/media/100/local/files/camera/02.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 /storage/media/100/local/files/*",
"chmod -R 777 /data/service/el2/100/hmdfs/account/files/*", "chmod -R 777 /data/service/el2/100/hmdfs/account/files/*",
"killall com.ohos.medialibrary.MediaScannerAbilityA", "killall com.ohos.medialibrary.MediaScannerAbilityA",
...@@ -53,3 +58,4 @@ ...@@ -53,3 +58,4 @@
} }
] ]
} }
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
"autoDesignWidth": true "autoDesignWidth": true
} }
} }
] ],
"reqPermissions": [ "reqPermissions": [
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
......
...@@ -12,14 +12,6 @@ ...@@ -12,14 +12,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
require('./favoriteTestCallBack.test.js')
require('./favoriteTestPromise.test.js')
require('./fileTestPromise.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')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册