/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAsset/ |
D | checkAttr.ets | 22 photoType 32 …console.info(`${testNum} uri: ${asset.uri} filetype: ${asset.photoType} displayName: ${asset.displ… 37 expect(asset.photoType).assertEqual(mediaType); 50 * @tc.desc : check image uri displayName photoType 58 const mediaType = photoType.IMAGE; 65 * @tc.desc : check video uri displayName photoType 73 const mediaType = photoType.VIDEO;
|
D | commitModify.ets | 23 photoType 191 * @tc.desc : modify image photoType 199 const type = 'photoType'; 200 const value = photoType.VIDEO; 315 * @tc.desc : modify image photoType 323 const type = 'photoType'; 324 const value = photoType.VIDEO; 440 * @tc.desc : modify image photoType 448 const type = 'photoType'; 449 const value = photoType.VIDEO; [all …]
|
D | get.ets | 23 photoType, 81 const value = photoType.IMAGE; 338 const value = photoType.VIDEO;
|
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAccessHelper/ |
D | createAsset.ets | 18 import { photoType } from '../../../../../../../common' 134 const type = photoType.IMAGE; 152 const type = photoType.IMAGE; 160 * @tc.desc : createAsset with undefined photoType 185 const type = photoType.IMAGE; 203 const type = photoType.IMAGE; 221 const type = photoType.IMAGE; 239 const type = photoType.IMAGE; 255 const type = photoType.IMAGE; 273 const type = photoType.IMAGE; [all …]
|
D | createDeleteRequest.ets | 18 import { genRadomStr, photoType } from '../../../../../../../common';
|
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/MediaAssetChangeRequest/ |
D | createAssetRequest.ets | 40 let photoType = photoAccessHelper.PhotoType.IMAGE; 42 …uest = photoAccessHelper.MediaAssetChangeRequest.createAssetRequest(context, photoType, extension); 72 let photoType = photoAccessHelper.PhotoType.IMAGE; 77 …= photoAccessHelper.MediaAssetChangeRequest.createAssetRequest(context, photoType, extension, opti… 107 let photoType = photoAccessHelper.PhotoType.VIDEO; 109 …uest = photoAccessHelper.MediaAssetChangeRequest.createAssetRequest(context, photoType, extension); 139 let photoType = photoAccessHelper.PhotoType.VIDEO; 144 …= photoAccessHelper.MediaAssetChangeRequest.createAssetRequest(context, photoType, extension, opti…
|
D | getAsset.ets | 41 expect(assetChangeRequest.getAsset().photoType).assertEqual(asset.photoType); 62 let photoType = photoAccessHelper.PhotoType.IMAGE; 64 …uest = photoAccessHelper.MediaAssetChangeRequest.createAssetRequest(context, photoType, extension);
|
D | addResource.ets | 40 let photoType = photoAccessHelper.PhotoType.IMAGE; 42 …uest = photoAccessHelper.MediaAssetChangeRequest.createAssetRequest(context, photoType, extension); 68 let photoType = photoAccessHelper.PhotoType.VIDEO; 70 …uest = photoAccessHelper.MediaAssetChangeRequest.createAssetRequest(context, photoType, extension);
|
D | getWriteCacheHandler.ets | 41 let photoType = photoAccessHelper.PhotoType.IMAGE; 43 …uest = photoAccessHelper.MediaAssetChangeRequest.createAssetRequest(context, photoType, extension); 76 let photoType = photoAccessHelper.PhotoType.VIDEO; 78 …uest = photoAccessHelper.MediaAssetChangeRequest.createAssetRequest(context, photoType, extension);
|
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAssetFetchResult/ |
D | getLastObject.ets | 20 photoType, 84 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.IMAGE); 99 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.IMAGE); 115 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.VIDEO); 130 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.VIDEO);
|
D | getObjectByPosition.ets | 20 photoType, 82 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.IMAGE); 97 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.IMAGE); 113 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.VIDEO); 128 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.VIDEO);
|
D | getAllObjects.ets | 20 photoType, 83 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.IMAGE); 98 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.IMAGE); 114 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.VIDEO); 129 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.VIDEO);
|
D | getNextObject.ets | 20 photoType, 83 predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.IMAGE).limit(2, 0); 103 predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.IMAGE).limit(2, 0); 124 predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.VIDEO).limit(2, 0); 144 predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.VIDEO).limit(2, 0);
|
D | getFirstObject.ets | 20 photoType, 84 …predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.IMAGE).and().equalTo(photoKeys.DISPLAY_NAME, '0… 104 …predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.IMAGE).and().equalTo(photoKeys.DISPLAY_NAME, '0… 125 …predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.VIDEO).and().equalTo(photoKeys.DISPLAY_NAME, '0… 145 …predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.VIDEO).and().equalTo(photoKeys.DISPLAY_NAME, '0…
|
D | getCount.ets | 20 photoType, 52 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.IMAGE); 67 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.VIDEO);
|
D | isAfterLast.ets | 20 photoType, 57 predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.IMAGE).limit(2, 0); 77 predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.IMAGE).limit(2, 0);
|
D | close.ets | 20 photoType, 104 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.IMAGE); 119 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.VIDEO);
|
/test/xts/acts/multimedia/photoAccess/ |
D | common.ts | 26 const photoType = photoAccessHelper.PhotoType; constant 279 let photoType: photoAccessHelper.PhotoType; 296 photoType = photoAccessHelper.PhotoType.IMAGE; 299 photoType = photoAccessHelper.PhotoType.VIDEO; 302 …r.MediaAssetChangeRequest.createAssetRequest(globalThis.abilityContext, photoType, extension, opti… 317 photoType,
|
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAccessHelperCases/ |
D | common.ets | 87 export function checkUri(uri,photoType, extension) { 88 if(photoType==photoAccessHelper.PhotoType.IMAGE){ 121 console.info('photoAsset.photoType : ' + photoAssetType);
|
D | PhotoAccessHelperTest.test.ets | 98 console.info('photoAsset.photoType : ' + photoAsset.photoType); 120 console.info('photoAsset.photoType : ' + photoAsset.photoType); 155 function createAsset(phAccessHelper,photoType, extension, options, done) { 156 phAccessHelper.createAsset(photoType, extension, options, (err, uri) => { 159 checkUri(uri, photoType, extension) 170 …function createAssetWithSuffixesCallback1(phAccessHelper, photoType, extension, options, extension… 174 phAccessHelper.createAsset(photoType, extension, options, (err, uri) => { 177 checkUri(uri, photoType, extension) 184 … createAssetWithSuffixesCallback1(phAccessHelper, photoType, extension, options, extensions, done) 195 … function createAssetWithSuffixesCallback2(phAccessHelper, photoType, extension, extensions, done){ [all …]
|