Searched refs:phAccessHelper (Results 1 – 5 of 5) sorted by relevance
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAccessHelperCases/ |
D | PhotoAccessHelperTest.test.ets | 45 function getAssetsForKeysCallback(phAccessHelper, fetchOptions, tag, done){ 47 phAccessHelper.getAssets(fetchOptions, async (err, fetchResult) => { 54 releaseHelperCallback(phAccessHelper,done) 56 getAssetsForKeysCallback(phAccessHelper, fetchOptions, tag, done) 67 async function getAssetsForKeysPromise(phAccessHelper, fetchOptions, done){ 70 … photoAccessHelper.FetchResult<photoAccessHelper.PhotoAsset> = await phAccessHelper.getAssets(fetc… 77 releaseHelperPromise(phAccessHelper,done) 79 getAssetsForKeysPromise(phAccessHelper, fetchOptions, done) 89 function getAssetsAndReleaseCallback(phAccessHelper,fetchOptions,done){ 91 phAccessHelper.getAssets(fetchOptions, async (err, fetchResult) => { [all …]
|
D | common.ets | 69 export function checkSet(callBackSet, uriSet, phAccessHelper, forChildUris, photoAsset, onCallback1… 71 phAccessHelper.registerChange(photoAsset.uri, forChildUris, onCallback1); 73 phAccessHelper.unRegisterChange(photoAsset.uri, onCallback1); 75 phAccessHelper.unRegisterChange(photoAsset.uri); 78 phAccessHelper.registerChange(DEFAULT_PHOTO_URI, true, onCallback1); 80 phAccessHelper.unRegisterChange(photoAsset.uri, onCallback1); 82 phAccessHelper.unRegisterChange(photoAsset.uri);
|
/test/xts/acts/multimedia/camera/camera_ndk_test/src/main/ets/test/ |
D | MediaUtils.ts | 40 …let phAccessHelper:photoAccessHelper.PhotoAccessHelper = photoAccessHelper.getPhotoAccessHelper(mC… 41 let photoAsset = await phAccessHelper.createAsset(displayName);
|
/test/xts/acts/multimedia/photoAccess/ |
D | common.ts | 25 const phAccessHelper = photoAccessHelper.getPhotoAccessHelper(globalThis.abilityContext); constant 304 await phAccessHelper.applyChanges(assetChangeRequest);
|
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/ |
D | provisionResources.ets | 27 const phAccessHelper = photoAccessHelper.getPhotoAccessHelper(globalThis.abilityContext); 54 … photoAccessHelper.FetchResult<photoAccessHelper.PhotoAsset> = await phAccessHelper.getAssets(fetc…
|