/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/ |
H A D | storage_statistics_n_exporter.cpp | 77 std::string procedureName = "GetTotalSizeOfVolume"; in GetTotalSizeOfVolume() local 80 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in GetTotalSizeOfVolume() 83 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in GetTotalSizeOfVolume() 125 std::string procedureName = "getFreeSizeOfVolume"; in GetFreeSizeOfVolume() local 128 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in GetFreeSizeOfVolume() 131 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in GetFreeSizeOfVolume() 197 std::string procedureName = "GetBundleStats"; in GetBundleStats() local 202 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in GetBundleStats() 205 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in GetBundleStats() 235 std::string procedureName in GetCurrentBundleStats() local 272 std::string procedureName = "GetSystemSize"; GetSystemSize() local 334 std::string procedureName = "GetUserStorageStats"; GetUserStorageStats() local 375 std::string procedureName = "GetTotalSize"; GetTotalSize() local 412 std::string procedureName = "GetFreeSize"; GetFreeSize() local [all...] |
H A D | volumemanager_n_exporter.cpp | 92 std::string procedureName = "GetAllVolumes"; in GetAllVolumes() local 95 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in GetAllVolumes() 98 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in GetAllVolumes() 146 std::string procedureName = "Mount"; in Mount() local 149 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in Mount() 152 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in Mount() 186 std::string procedureName = "Unmount"; in Unmount() local 189 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in Unmount() 192 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in Unmount() 238 std::string procedureName in GetVolumeByUuid() local 291 std::string procedureName = "GetVolumeById"; GetVolumeById() local 345 std::string procedureName = "SetVolumeDescription"; SetVolumeDescription() local 398 std::string procedureName = "Format"; Format() local 450 std::string procedureName = "Partition"; Partition() local [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | fchmod.cpp | 48 const string procedureName = "FileIOFchmod"; in Async() local 51 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplCallback).val_; in Async() 54 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplCallback).val_; in Async()
|
H A D | fchown.cpp | 47 const string procedureName = "FileIOFchown"; in Async() local 50 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplCallback).val_; in Async() 53 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplCallback).val_; in Async()
|
H A D | chown.cpp | 48 const string procedureName = "FileIOChown"; in Async() local 51 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Async() 55 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Async()
|
H A D | chmod.cpp | 50 const string procedureName = "FileIOChmod"; in Async() local 52 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in Async() 55 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in Async()
|
H A D | lchown.cpp | 47 const string procedureName = "FileIOLchown"; in Async() local 50 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Async() 53 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Async()
|
H A D | fsync.cpp | 83 const string procedureName = "FileIOFsync"; in Async() local 87 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in Async() 90 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in Async()
|
H A D | fdatasync.cpp | 85 const string procedureName = "FileIOFdatasync"; in Async() local 88 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplCallback).val_; in Async() 91 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplCallback).val_; in Async()
|
H A D | rmdir.cpp | 82 const string procedureName = "FileIORmdir"; in Async() local 86 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Async() 89 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Async()
|
H A D | close.cpp | 83 const string procedureName = "FileIOClose"; in Async() local 87 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in Async() 90 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in Async()
|
H A D | hash.cpp | 114 const string procedureName = "FileIOHash"; in Async() local 117 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in Async() 120 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in Async()
|
H A D | fstat.cpp | 115 const string procedureName = "fileIOFstat"; in Async() local 117 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Async() 120 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Async()
|
H A D | ftruncate.cpp | 104 const string procedureName = "fileIOFtruncate"; in Async() local 108 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in Async() 111 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in Async()
|
H A D | stat.cpp | 118 const string procedureName = "fileioStatStat"; in Async() local 120 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Async() 123 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Async()
|
H A D | symlink.cpp | 97 const string procedureName = "FileIOsymLink"; in Async() local 101 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplCallback).val_; in Async() 104 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplCallback).val_; in Async()
|
H A D | truncate.cpp | 100 const string procedureName = "FileIOTruncate"; in Async() local 103 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Async() 106 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Async()
|
H A D | posix_fallocate.cpp | 104 const string procedureName = "fileioPosixFallocate"; in Async() local 107 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Async() 110 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Async()
|
H A D | create_stream.cpp | 127 const string procedureName = "FileIOCreateStream"; in Async() local 130 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Async() 133 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Async()
|
H A D | fdopen_stream.cpp | 125 const string procedureName = "FileIOFdopenStream"; in Async() local 128 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Async() 131 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Async()
|
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/ |
H A D | napi_fileaccess_helper.cpp | 234 const std::string procedureName = "getFileAccessAbilityInfo"; in NAPI_GetFileAccessAbilityInfo() local 237 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in NAPI_GetFileAccessAbilityInfo() 244 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in NAPI_GetFileAccessAbilityInfo() 349 const std::string procedureName = "openFile"; in NAPI_OpenFile() local 352 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in NAPI_OpenFile() 358 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in NAPI_OpenFile() 404 const std::string procedureName = "createFile"; in NAPI_CreateFile() local 407 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbComplete).val_; in NAPI_CreateFile() 415 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; in NAPI_CreateFile() 461 const std::string procedureName in NAPI_Mkdir() local 515 const std::string procedureName = "delete"; NAPI_Delete() local 567 const std::string procedureName = "move"; NAPI_Move() local 617 const std::string procedureName = "query"; NAPI_Query() local 729 AddNAsyncWork(napi_env env, std::string procedureName, NFuncArg &funcArg, CallbackExec cbExec, CallbackComplete cbComplete) AddNAsyncWork() argument 798 const std::string procedureName = "copyFile"; AddCopyFileNAsyncWork() local 893 const std::string procedureName = "rename"; NAPI_Rename() local 973 const std::string procedureName = "getRoots"; NAPI_GetRoots() local 1024 const std::string procedureName = "access"; NAPI_Access() local 1099 const std::string procedureName = "getFileInfoFromUri"; NAPI_GetFileInfoFromUri() local 1151 const std::string procedureName = "getFileInfoFromRelativePath"; NAPI_GetFileInfoFromRelativePath() local [all...] |
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/ |
H A D | cloud_sync_manager_n_exporter.cpp | 81 std::string procedureName = "ChangeAppCloudSwitch"; in ChangeAppCloudSwitch() local 84 return asyncWork == nullptr ? nullptr : asyncWork->Schedule(procedureName, cbExec, cbComplete).val_; in ChangeAppCloudSwitch() 124 std::string procedureName = "NotifyDataChange"; in NotifyDataChangeInner() local 126 return asyncWork == nullptr ? nullptr : asyncWork->Schedule(procedureName, cbExec, cbComplete).val_; in NotifyDataChangeInner() 187 std::string procedureName = "NotifyEventChange"; in NotifyEventChange() local 189 return asyncWork == nullptr ? nullptr : asyncWork->Schedule(procedureName, cbExec, cbComplete).val_; in NotifyEventChange() 242 std::string procedureName = "DisableCloud"; in DisableCloud() local 244 return asyncWork == nullptr ? nullptr : asyncWork->Schedule(procedureName, cbExec, cbComplete).val_; in DisableCloud() 324 std::string procedureName = "EnableCloud"; in EnableCloud() local 326 return asyncWork == nullptr ? nullptr : asyncWork->Schedule(procedureName, cbExe in EnableCloud() 401 std::string procedureName = "Clean"; Clean() local [all...] |
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_share/ |
H A D | grant_permissions.cpp | 160 const string procedureName = "persist_permission"; in PersistPermission() local 162 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in PersistPermission() 194 const string procedureName = "revoke_permission"; in RevokePermission() local 196 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in RevokePermission() 228 const string procedureName = "activate_permission"; in ActivatePermission() local 230 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in ActivatePermission() 262 const string procedureName = "deactivate_permission"; in DeactivatePermission() local 264 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in DeactivatePermission() 291 const string procedureName = "check_persist_permission"; in CheckPersistentPermission() local 293 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExe in CheckPersistentPermission() [all...] |
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_stream/ |
H A D | flush.cpp | 91 string procedureName = "fileIOFlush"; in Async() local 93 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Async() 96 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Async()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_watcher/ |
H A D | watcher_n_exporter.cpp | 98 const string procedureName = "FileIOCreaterWatcher"; in Stop() local 101 return NAsyncWorkPromise(env, thisVar).Schedule(procedureName, cbExec, cbCompl).val_; in Stop() 104 return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbCompl).val_; in Stop()
|