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 D | js-apis-file-cloudsync.md | 65 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 D | js-apis-file-cloudsync-sys.md | 1217 let fileCache = new cloudSync.CloudFileCache(); 1222 fileCache.cleanCache(uri);
|
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-file-cloudsync.md | 65 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 D | js-apis-file-cloudsync-sys.md | 1217 let fileCache = new cloudSync.CloudFileCache(); 1222 fileCache.cleanCache(uri);
|
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/ |
H A D | file_operations_helper.cpp | 114 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 D | file_operations_cloud.cpp | 109 data->fileCache[fi->fh] = filePtr; in InitFileAttr()
|
/ohos5.0/foundation/filemanagement/dfs_service/services/cloudfiledaemon/include/cloud_disk/ |
H A D | cloud_disk_inode.h | 89 std::unordered_map<int64_t, std::shared_ptr<CloudDiskFile>> fileCache; member
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | file_operations_helper_mock.cpp | 258 data->fileCache.erase(key); in PutCloudDiskFile()
|