Home
last modified time | relevance | path

Searched refs:fileCache (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/
H A Djs-apis-file-cloudsync.md65 let fileCache = new cloudSync.CloudFileCache();
96 let fileCache = new cloudSync.CloudFileCache();
102 fileCache.on('progress', callback);
137 let fileCache = new cloudSync.CloudFileCache();
144 fileCache.on('progress', callback);
145 fileCache.off('progress', callback);
177 let fileCache = new cloudSync.CloudFileCache();
190 fileCache.start(uri).then(() => {
245 fileCache.start(uri, (err: BusinessError) => {
297 fileCache.stop(uri, true).then(() => {
[all …]
H A Djs-apis-file-cloudsync-sys.md1217 let fileCache = new cloudSync.CloudFileCache();
1222 fileCache.cleanCache(uri);
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/
H A Djs-apis-file-cloudsync.md65 let fileCache = new cloudSync.CloudFileCache();
96 let fileCache = new cloudSync.CloudFileCache();
102 fileCache.on('progress', callback);
137 let fileCache = new cloudSync.CloudFileCache();
144 fileCache.on('progress', callback);
145 fileCache.off('progress', callback);
177 let fileCache = new cloudSync.CloudFileCache();
190 fileCache.start(uri).then(() => {
245 fileCache.start(uri, (err: BusinessError) => {
297 fileCache.stop(uri, true).then(() => {
[all …]
H A Djs-apis-file-cloudsync-sys.md1217 let fileCache = new cloudSync.CloudFileCache();
1222 fileCache.cleanCache(uri);
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/
H A Dfile_operations_helper.cpp114 auto it = data->fileCache.find(key); in FindCloudDiskFile()
115 if (it != data->fileCache.end()) { in FindCloudDiskFile()
231 data->fileCache.erase(key); in PutCloudDiskFile()
H A Dfile_operations_cloud.cpp109 data->fileCache[fi->fh] = filePtr; in InitFileAttr()
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/include/cloud_disk/
H A Dcloud_disk_inode.h89 std::unordered_map<int64_t, std::shared_ptr<CloudDiskFile>> fileCache; member
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/
H A Dfile_operations_helper_mock.cpp258 data->fileCache.erase(key); in PutCloudDiskFile()