Home
last modified time | relevance | path

Searched refs:phAccessHelper (Results 1 – 5 of 5) sorted by relevance

/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/PhotoAccessHelperCases/
DPhotoAccessHelperTest.test.ets45 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 …]
Dcommon.ets69 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/
DMediaUtils.ts40 …let phAccessHelper:photoAccessHelper.PhotoAccessHelper = photoAccessHelper.getPhotoAccessHelper(mC…
41 let photoAsset = await phAccessHelper.createAsset(displayName);
/test/xts/acts/multimedia/photoAccess/
Dcommon.ts25 const phAccessHelper = photoAccessHelper.getPhotoAccessHelper(globalThis.abilityContext); constant
304 await phAccessHelper.applyChanges(assetChangeRequest);
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/
DprovisionResources.ets27 const phAccessHelper = photoAccessHelper.getPhotoAccessHelper(globalThis.abilityContext);
54 … photoAccessHelper.FetchResult<photoAccessHelper.PhotoAsset> = await phAccessHelper.getAssets(fetc…