/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/ |
H A D | swiper_controller.h | 26 using CommonFunc = std::function<void()>; variable 230 CommonFunc showPrevImpl_; 231 CommonFunc showNextImpl_; 233 CommonFunc finishImpl_; 234 CommonFunc finishCallback_; 235 CommonFunc tabBarFinishCallback_; 236 CommonFunc removeTabBarEventCallback_; 237 CommonFunc addTabBarEventCallback_; 239 CommonFunc addSwiperEventCallback_; 241 CommonFunc updateCubicCurveCallback_; [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/ |
H A D | bundle_manager_sync.cpp | 165 auto iBundleMgr = CommonFunc::GetBundleMgr(); in SetApplicationEnabledSync() 206 auto iBundleMgr = CommonFunc::GetBundleMgr(); in SetAbilityEnabledSync() 241 auto iBundleMgr = CommonFunc::GetBundleMgr(); in IsApplicationEnabledSync() 276 auto iBundleMgr = CommonFunc::GetBundleMgr(); in IsAbilityEnabledSync() 412 auto iBundleMgr = CommonFunc::GetBundleMgr(); in QueryExtensionInfosSync() 448 auto iBundleMgr = CommonFunc::GetBundleMgr(); in QueryExtensionInfosSyncOnlyWithTypeName() 518 ErrCode ret = CommonFunc::ConvertErrCode( in GetPermissionDefSync() 582 ErrCode ret = CommonFunc::ConvertErrCode( in GetAbilityLabelSync() 657 ErrCode ret = CommonFunc::ConvertErrCode( in GetLaunchWantForBundleSync() 701 ErrCode ret = CommonFunc::ConvertErrCode( in GetBundleArchiveInfoSync() [all …]
|
H A D | bundle_manager.cpp | 183 return CommonFunc::ConvertErrCode(ret); in InnerGetBundleArchiveInfo() 209 CommonFunc::ConvertBundleInfo(env, in GetBundleArchiveInfoComplete() 272 return CommonFunc::ConvertErrCode(ret); in InnerGetAppCloneIdentity() 284 return CommonFunc::ConvertErrCode(ret); in InnerGetApplicationInfo() 296 return CommonFunc::ConvertErrCode(ret); in InnerGetApplicationInfos() 736 return CommonFunc::ConvertErrCode(ret); in InnerQueryAbilityInfos() 749 return CommonFunc::ConvertErrCode(ret); in InnerBatchQueryAbilityInfos() 765 return CommonFunc::ConvertErrCode(ret); in InnerSetApplicationEnabled() 781 return CommonFunc::ConvertErrCode(ret); in InnerIsApplicationEnabled() 797 return CommonFunc::ConvertErrCode(ret); in InnerSetAbilityEnabled() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/shortcut_manager/ |
H A D | shortcut_manager.cpp | 41 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerAddDesktopShortcutInfo() 58 asyncCallbackInfo->err = CommonFunc::ConvertErrCode(asyncCallbackInfo->err); in AddDesktopShortcutInfoExec() 97 !CommonFunc::CheckShortcutInfo(asyncCallbackInfo->shortcutInfo)) { in AddDesktopShortcutInfo() 102 if (!CommonFunc::ParseInt(env, args[ARGS_POS_ONE], asyncCallbackInfo->userId)) { in AddDesktopShortcutInfo() 121 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerDeleteDesktopShortcutInfo() 138 asyncCallbackInfo->err = CommonFunc::ConvertErrCode(asyncCallbackInfo->err); in DeleteDesktopShortcutInfoExec() 157 CommonFunc::NapiReturnDeferred<DeleteDesktopShortcutInfoCallbackInfo>( in DeleteDesktopShortcutInfoComplete() 179 !CommonFunc::CheckShortcutInfo(asyncCallbackInfo->shortcutInfo)) { in DeleteDesktopShortcutInfo() 204 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetAllDesktopShortcutInfo() 222 asyncCallbackInfo->err = CommonFunc::ConvertErrCode(asyncCallbackInfo->err); in GetAllDesktopShortcutInfoExec() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launcher_bundle_manager/ |
H A D | launcher_bundle_manager.cpp | 78 asyncCallbackInfo->err = CommonFunc::ConvertErrCode(asyncCallbackInfo->err); in GetLauncherAbilityInfoExec() 156 if (!CommonFunc::ParseString(env, args[ARGS_POS_ZERO], bundleName)) { in GetLauncherAbilityInfoSync() 160 if (!CommonFunc::ParseInt(env, args[ARGS_POS_ONE], userId)) { in GetLauncherAbilityInfoSync() 173 ErrCode ret = CommonFunc::ConvertErrCode(launcherService-> in GetLauncherAbilityInfoSync() 209 asyncCallbackInfo->err = CommonFunc::ConvertErrCode(asyncCallbackInfo->err); in GetAllLauncherAbilityInfoExec() 292 asyncCallbackInfo->err = CommonFunc::ConvertErrCode(asyncCallbackInfo->err); in GetShortcutInfoExec() 365 if (!CommonFunc::ParseString(env, args[ARGS_POS_ZERO], bundleName)) { in GetShortcutInfoSync() 371 if (!CommonFunc::ParseInt(env, args[ARGS_POS_ONE], userId)) { in GetShortcutInfoSync() 396 CommonFunc::ConvertShortCutInfos(env, shortcutInfos, nShortcutInfos); in GetShortcutInfoSync() 434 asyncCallbackInfo->err = CommonFunc::ConvertErrCode(asyncCallbackInfo->err); in StartShortcutExec() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/overlay/ |
H A D | js_app_overlay.cpp | 50 auto bundleMgr = CommonFunc::GetBundleMgr(); in GetOverlayMgrProxy() 77 return CommonFunc::ConvertErrCode(ret); in InnerSetOverlayEnabledExec() 155 auto promise = CommonFunc::AsyncCallNativeMethod<OverlayCallbackInfo>( in SetOverlayEnabled() 195 if (!CommonFunc::ParseBool(env, args[i], overlayCallbackInfo->isEnabled)) { in SetOverlayEnabledByBundleName() 214 auto promise = CommonFunc::AsyncCallNativeMethod<OverlayCallbackInfo>( in SetOverlayEnabledByBundleName() 224 std::string bundleName = CommonFunc::ObtainCallingBundleName(); in InnerGetOverlayModuleInfoExec() 253 return CommonFunc::ConvertErrCode(ret); in InnerGetOverlayModuleInfoExec() 332 auto promise = CommonFunc::AsyncCallNativeMethod<OverlayCallbackInfo>( in GetOverlayModuleInfo() 397 auto promise = CommonFunc::AsyncCallNativeMethod<OverlayCallbackInfo>( in GetTargetOverlayModuleInfos() 451 auto promise = CommonFunc::AsyncCallNativeMethod<OverlayCallbackInfo>( in GetOverlayModuleInfoByBundleName() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/app_control/ |
H A D | js_app_control.cpp | 53 auto bundleMgr = CommonFunc::GetBundleMgr(); in GetAppControlProxy() 74 return CommonFunc::ConvertErrCode(ret); in InnerGetDisposedStatus() 85 return CommonFunc::ConvertErrCode(ret); in InnerSetDisposedStatus() 96 return CommonFunc::ConvertErrCode(ret); in InnerDeleteDisposedStatus() 219 ret = CommonFunc::ConvertErrCode(ret); in SetDisposedStatusSync() 331 ret = CommonFunc::ConvertErrCode(ret); in InnerDeleteDisposedStatusSync() 485 ret = CommonFunc::ConvertErrCode(ret); in GetDisposedStatusSync() 563 if (!CommonFunc::ParseInt(env, prop, disposedType)) { in ParseDiposedRule() 575 if (!CommonFunc::ParseInt(env, prop, controlType)) { in ParseDiposedRule() 637 ret = CommonFunc::ConvertErrCode(ret); in InnerGetDisposedRule() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
H A D | common_func.cpp | 584 bool succ = CommonFunc::SetZStreamValue(env, funcArg); in GetDeflateArg() 731 bool succ = CommonFunc::SetZStreamValue(env, funcArg); in GetInflateSetDictionaryArg() 751 bool succ = CommonFunc::SetZStreamValue(env, funcArg); in GetInflateArg() 770 bool succ = CommonFunc::SetZStreamValue(env, funcArg); in GetInflateReset2Arg() 790 bool succ = CommonFunc::SetZStreamValue(env, funcArg); in GetInflateBackInitArg() 818 bool succ = CommonFunc::SetZStreamValue(env, funcArg); in GetInflatePrimeArg() 845 bool succ = CommonFunc::SetZStreamValue(env, funcArg); in GetInflateValidateArg() 864 bool succ = CommonFunc::SetZStreamValue(env, funcArg); in GetInflateGetHeaderArg() 897 bool succ = CommonFunc::SetZStreamValue(env, funcArg); in UnwrapInt64Params() 918 bool succ = CommonFunc::SetZStreamValue(env, funcArg); in UnwrapDeflateTuneParams() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/ |
H A D | installer.cpp | 133 auto iBundleMgr = CommonFunc::GetBundleMgr(); in GetBundleInstallerCompleted() 159 napi_value callback = CommonFunc::WrapVoidToJS(env); in GetBundleInstallerCompleted() 205 napi_value promise = CommonFunc::AsyncCallNativeMethod( in GetBundleInstaller() 222 auto iBundleMgr = CommonFunc::GetBundleMgr(); in GetBundleInstallerSync() 824 if (!CommonFunc::ParseString(env, value, path)) { in ParseSharedBundleDirPaths() 1470 return CommonFunc::ConvertErrCode(ret); in InnerAddExtResource() 1478 return CommonFunc::ConvertErrCode(ret); in InnerAddExtResource() 1568 return CommonFunc::ConvertErrCode(ret); in InnerRemoveExtResource() 1646 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerCreateAppClone() 1760 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerDestroyAppClone() [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | file_fs_impl.cpp | 74 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in GetUvStat() 112 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in GetFsAccess() 213 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in Lstat() 245 CommonFunc::ConvertCjFlags(flags); in CreateRandomAccessFileSync() 247 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in CreateRandomAccessFileSync() 317 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in Mkdir() 333 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in Rmdir() 366 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in Rmdir() 382 new uv_fs_t, CommonFunc::FsReqCleanup }; in Rename() 398 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in Unlink() [all …]
|
H A D | randomAccessFile_impl.cpp | 33 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> write_req = { in DoWriteRAF() 34 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in DoWriteRAF() 46 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> read_req = { in DoReadRAF() 47 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in DoReadRAF() 85 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> close_req = { in CloseSync() 86 new (std::nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in CloseSync()
|
H A D | copy_file.cpp | 80 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> copyfile_req = { in IsAllPath() 81 new (nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in IsAllPath() 98 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> sendfile_req = { in SendFileCore() 99 new (nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in SendFileCore() 128 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> ftruncate_req = { in TruncateCore() 129 new (nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in TruncateCore() 144 std::unique_ptr<uv_fs_t, decltype(CommonFunc::FsReqCleanup)*> open_req = { in OpenCore() 145 new (nothrow) uv_fs_t, CommonFunc::FsReqCleanup }; in OpenCore()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_resource/ |
H A D | bundle_resource.cpp | 178 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetBundleResourceInfo() 192 return CommonFunc::ConvertErrCode(ret); in InnerGetBundleResourceInfo() 212 if (!CommonFunc::ParseInt(env, args[ARGS_POS_ONE], flags)) { in GetBundleResourceInfo() 245 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetLauncherAbilityResourceInfo() 260 return CommonFunc::ConvertErrCode(ret); in InnerGetLauncherAbilityResourceInfo() 311 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetAllBundleResourceInfo() 325 return CommonFunc::ConvertErrCode(ret); in InnerGetAllBundleResourceInfo() 375 if (!CommonFunc::ParseInt(env, args[ARGS_POS_ZERO], flags)) { in GetAllBundleResourceInfo() 403 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetAllLauncherAbilityResourceInfo() 417 return CommonFunc::ConvertErrCode(ret); in InnerGetAllLauncherAbilityResourceInfo() [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
H A D | stat.cpp | 88 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> stat_req = { in Sync() 89 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 107 auto stat = CommonFunc::InstantiateStat(env, stat_req->statbuf, arg).val_; in Sync() 109 auto stat = CommonFunc::InstantiateStat(env, stat_req->statbuf).val_; in Sync() 133 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> stat_req = { in Async() 134 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in Async() 154 return CommonFunc::InstantiateStat(env, arg->stat_, arg->fileInfo_, true); in Async() 156 return CommonFunc::InstantiateStat(env, arg->stat_, true); in Async()
|
H A D | lstat.cpp | 46 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> lstat_req = { in Sync() 47 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 60 auto stat = CommonFunc::InstantiateStat(env, lstat_req->statbuf).val_; in Sync() 66 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> lstat_req = { in LstatExec() 67 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in LstatExec() 113 auto stat = CommonFunc::InstantiateStat(env, arg->stat_, true); in Async()
|
H A D | rmdirent.cpp | 60 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> scandir_req = { in RmDirent() 61 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in RmDirent() 76 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> unlink_req = { in RmDirent() 77 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in RmDirent() 94 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> rmdir_req = { in RmDirent() 95 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in RmDirent()
|
H A D | read_text.cpp | 76 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in ReadTextAsync() 77 new uv_fs_t, CommonFunc::fs_req_cleanup }; in ReadTextAsync() 107 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> read_req = { in ReadTextAsync() 108 new uv_fs_t, CommonFunc::fs_req_cleanup }; in ReadTextAsync() 124 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in OpenFile() 125 new uv_fs_t, CommonFunc::fs_req_cleanup in OpenFile() 139 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> read_req = { in ReadFromFile() 140 new uv_fs_t, CommonFunc::fs_req_cleanup }; in ReadFromFile()
|
H A D | truncate.cpp | 54 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> open_req = { in TruncateCore() 55 new uv_fs_t, CommonFunc::fs_req_cleanup }; in TruncateCore() 65 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> ftruncate_req = { in TruncateCore() 66 new uv_fs_t, CommonFunc::fs_req_cleanup }; in TruncateCore() 77 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> ftruncate_req = { in TruncateCore() 78 new uv_fs_t, CommonFunc::fs_req_cleanup }; in TruncateCore()
|
H A D | utimes.cpp | 52 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> stat_req = { in Sync() 53 new (std::nothrow) uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync() 67 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> utimes_req = { in Sync() 68 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Sync()
|
H A D | prop_n_exporter.cpp | 108 CommonFunc::fs_req_cleanup}; in UvAccess() 339 new uv_fs_t, CommonFunc::fs_req_cleanup }; in Unlink() 385 new uv_fs_t, CommonFunc::fs_req_cleanup }; in UnlinkSync() 403 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> mkdir_req = { in MkdirCore() 404 new uv_fs_t, CommonFunc::fs_req_cleanup }; in MkdirCore() 562 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> read_req = { in ReadSync() 563 new uv_fs_t, CommonFunc::fs_req_cleanup }; in ReadSync() 582 std::unique_ptr<uv_fs_t, decltype(CommonFunc::fs_req_cleanup)*> read_req = { in ReadExec() 583 new uv_fs_t, CommonFunc::fs_req_cleanup }; in ReadExec() 661 new uv_fs_t, CommonFunc::fs_req_cleanup }; in WriteExec() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/ |
H A D | js_default_app.cpp | 244 return CommonFunc::ConvertErrCode(ret); in InnerIsDefaultApplication() 365 ret = CommonFunc::ConvertErrCode(ret); in IsDefaultApplicationSync() 391 return CommonFunc::ConvertErrCode(ret); in InnerGetDefaultApplication() 525 ret = CommonFunc::ConvertErrCode(ret); in GetDefaultApplicationSync() 554 return CommonFunc::ConvertErrCode(ret); in InnerSetDefaultApplication() 661 if ((!CommonFunc::ParseElementName(env, args[i], want))) { in ParamsProcessSetDefaultApplicationSync() 667 if ((!CommonFunc::ParseInt(env, args[i], userId))) { in ParamsProcessSetDefaultApplicationSync() 701 ret = CommonFunc::ConvertErrCode(ret); in SetDefaultApplicationSync() 727 return CommonFunc::ConvertErrCode(ret); in InnerResetDefaultApplication() 827 if (!CommonFunc::ParseInt(env, args[i], userId)) { in ParamsProcessResetDefaultApplicationSync() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | bundle_manager.cpp | 37 auto iBundleMgr = AppExecFwk::CommonFunc::GetBundleMgr(); in GetBundleInfoForSelf() 45 auto verifyManager = AppExecFwk::CommonFunc::GetVerifyManager(); in VerifyAbc() 55 return AppExecFwk::CommonFunc::ConvertErrCode(ret); in VerifyAbc() 120 auto naBundleMgr = AppExecFwk::CommonFunc::GetBundleMgr(); in GetProfileByExtensionAbility() 130 ErrCode ret = AppExecFwk::CommonFunc::ConvertErrCode( in GetProfileByExtensionAbility() 211 auto iBundleMgr = AppExecFwk::CommonFunc::GetBundleMgr(); in GetProfileByAbility() 220 …ErrCode ret = AppExecFwk::CommonFunc::ConvertErrCode(iBundleMgr->GetBundleInfoForSelf(getAbilityFl… in GetProfileByAbility()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/ |
H A D | free_install.cpp | 57 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerIsHapModuleRemovable() 66 return CommonFunc::ConvertErrCode(result); in InnerIsHapModuleRemovable() 136 auto promise = CommonFunc::AsyncCallNativeMethod<HapModuleRemovableCallbackInfo>( in IsHapModuleRemovable() 147 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerSetHapModuleUpgradeFlag() 157 return CommonFunc::ConvertErrCode(result); in InnerSetHapModuleUpgradeFlag() 188 CommonFunc::NapiReturnDeferred<SetHapModuleUpgradeFlagCallbackInfo>(env, in SetHapModuleUpgradeFlagComplete() 551 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetBundlePackInfo() 560 return CommonFunc::ConvertErrCode(ret); in InnerGetBundlePackInfo() 636 auto promise = CommonFunc::AsyncCallNativeMethod<GetBundlePackInfoCallbackInfo>( in GetBundlePackInfo() 659 auto iBundleMgr = CommonFunc::GetBundleMgr(); in InnerGetDispatchInfo() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | common_func.cpp | 185 sptr<IBundleMgr> CommonFunc::bundleMgr_ = nullptr; 186 std::mutex CommonFunc::bundleMgrMutex_; 196 napi_value CommonFunc::WrapVoidToJS(napi_env env) in WrapVoidToJS() 419 sptr<IBundleMgr> CommonFunc::GetBundleMgr() in GetBundleMgr() 453 sptr<IVerifyManager> CommonFunc::GetVerifyManager() in GetVerifyManager() 1169 void CommonFunc::ConvertAppProvisionInfo( in ConvertAppProvisionInfo() 2065 void CommonFunc::ConvertParameters(napi_env env, in ConvertParameters() 2233 std::string CommonFunc::ObtainCallingBundleName() in ObtainCallingBundleName() 2314 void CommonFunc::ConvertRecoverableApplicationInfo( in ConvertRecoverableApplicationInfo() 2415 bool CommonFunc::ParseShortcutWantArray( in ParseShortcutWantArray() [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/ |
H A D | common_func.cpp | 158 unsigned int CommonFunc::ConvertJsFlags(unsigned int &flags) in ConvertJsFlags() 204 NVal CommonFunc::InstantiateStat(napi_env env, const uv_stat_t &buf, bool async) in InstantiateStat() 231 NVal CommonFunc::InstantiateFile(napi_env env, int fd, const string &pathOrUri, bool isUri) in InstantiateFile() 266 NVal CommonFunc::InstantiateStream(napi_env env, shared_ptr<FILE> fp, bool async) in InstantiateStream() 292 void CommonFunc::fs_req_cleanup(uv_fs_t* req) in fs_req_cleanup() 301 string CommonFunc::GetModeFromFlags(unsigned int flags) in GetModeFromFlags() 317 bool CommonFunc::CheckPublicDirPath(const std::string &sandboxPath) in CheckPublicDirPath() 327 string CommonFunc::Decode(const std::string &uri) in Decode() 348 tuple<bool, unique_ptr<char[]>, unique_ptr<char[]>> CommonFunc::GetCopyPathArg(napi_env env, in GetCopyPathArg() 397 tuple<bool, void *, size_t, int64_t> CommonFunc::GetReadArg(napi_env env, in GetReadArg() [all …]
|