Home
last modified time | relevance | path

Searched refs:photoType (Results 1 – 20 of 20) sorted by relevance

/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAsset/
DcheckAttr.ets22 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;
DcommitModify.ets23 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 …]
Dget.ets23 photoType,
81 const value = photoType.IMAGE;
338 const value = photoType.VIDEO;
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAccessHelper/
DcreateAsset.ets18 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 …]
DcreateDeleteRequest.ets18 import { genRadomStr, photoType } from '../../../../../../../common';
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/MediaAssetChangeRequest/
DcreateAssetRequest.ets40 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…
DgetAsset.ets41 expect(assetChangeRequest.getAsset().photoType).assertEqual(asset.photoType);
62 let photoType = photoAccessHelper.PhotoType.IMAGE;
64 …uest = photoAccessHelper.MediaAssetChangeRequest.createAssetRequest(context, photoType, extension);
DaddResource.ets40 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);
DgetWriteCacheHandler.ets41 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/
DgetLastObject.ets20 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);
DgetObjectByPosition.ets20 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);
DgetAllObjects.ets20 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);
DgetNextObject.ets20 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);
DgetFirstObject.ets20 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…
DgetCount.ets20 photoType,
52 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.IMAGE);
67 const fetchOps = fetchOption(testNum, photoKeys.PHOTO_TYPE, photoType.VIDEO);
DisAfterLast.ets20 photoType,
57 predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.IMAGE).limit(2, 0);
77 predicates.equalTo(photoKeys.PHOTO_TYPE, photoType.IMAGE).limit(2, 0);
Dclose.ets20 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/
Dcommon.ts26 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/
Dcommon.ets87 export function checkUri(uri,photoType, extension) {
88 if(photoType==photoAccessHelper.PhotoType.IMAGE){
121 console.info('photoAsset.photoType : ' + photoAssetType);
DPhotoAccessHelperTest.test.ets98 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 …]