/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | smart_album_napi.cpp | 45 void SmartAlbumNapi::SmartAlbumNapiDestructor(napi_env env, void *nativeObject, void *finalize_hint) in SmartAlbumNapiDestructor() argument 54 napi_value SmartAlbumNapi::Init(napi_env env, napi_value exports) in Init() argument 95 napi_value SmartAlbumNapi::UserFileMgrInit(napi_env env, napi_value exports) in UserFileMgrInit() argument 125 napi_value SmartAlbumNapi::SmartAlbumNapiConstructor(napi_env env, napi_callback_info info) in SmartAlbumNapiConstructor() argument 153 CreateSmartAlbumNapi(napi_env env, unique_ptr<SmartAlbumAsset> &albumData) CreateSmartAlbumNapi() argument 230 JSGetSmartAlbumId(napi_env env, napi_callback_info info) JSGetSmartAlbumId() argument 258 JSGetSmartAlbumName(napi_env env, napi_callback_info info) JSGetSmartAlbumName() argument 285 JSSmartAlbumNameSetter(napi_env env, napi_callback_info info) JSSmartAlbumNameSetter() argument 316 JSGetSmartAlbumTag(napi_env env, napi_callback_info info) JSGetSmartAlbumTag() argument 344 JSGetSmartAlbumCapacity(napi_env env, napi_callback_info info) JSGetSmartAlbumCapacity() argument 372 JSGetSmartAlbumCategoryId(napi_env env, napi_callback_info info) JSGetSmartAlbumCategoryId() argument 400 JSGetSmartAlbumCategoryName(napi_env env, napi_callback_info info) JSGetSmartAlbumCategoryName() argument 428 JSGetSmartAlbumCoverUri(napi_env env, napi_callback_info info) JSGetSmartAlbumCoverUri() argument 456 JSSmartAlbumCoverUriSetter(napi_env env, napi_callback_info info) JSSmartAlbumCoverUriSetter() argument 487 JSGetSmartAlbumUri(napi_env env, napi_callback_info info) JSGetSmartAlbumUri() argument 513 JSGetSmartAlbumDateModified(napi_env env, napi_callback_info info) JSGetSmartAlbumDateModified() argument 538 JSGetSmartAlbumType(napi_env env, napi_callback_info info) JSGetSmartAlbumType() argument 564 JSGetSmartAlbumDescription(napi_env env, napi_callback_info info) JSGetSmartAlbumDescription() argument 591 JSSmartAlbumDescriptionSetter(napi_env env, napi_callback_info info) JSSmartAlbumDescriptionSetter() argument 622 JSGetSmartAlbumExpiredTime(napi_env env, napi_callback_info info) JSGetSmartAlbumExpiredTime() argument 648 JSSmartAlbumExpiredTimeSetter(napi_env env, napi_callback_info info) JSSmartAlbumExpiredTimeSetter() argument 759 JSCommitModifyCompleteCallback(napi_env env, napi_status status, SmartAlbumNapiAsyncContext *context) JSCommitModifyCompleteCallback() argument 782 JSAddAssetCompleteCallback(napi_env env, napi_status status, SmartAlbumNapiAsyncContext *context) JSAddAssetCompleteCallback() argument 805 JSRemoveAssetCompleteCallback(napi_env env, napi_status status, SmartAlbumNapiAsyncContext *context) JSRemoveAssetCompleteCallback() argument 829 ConvertCommitJSArgsToNative(napi_env env, size_t argc, const napi_value argv[], SmartAlbumNapiAsyncContext &asyncContext) ConvertCommitJSArgsToNative() argument 853 GetAssetIds(napi_env env, napi_value param, SmartAlbumNapiAsyncContext &context) GetAssetIds() argument 884 GetJSArgsForAsset(napi_env env, size_t argc, const napi_value argv[], SmartAlbumNapiAsyncContext &asyncContext) GetJSArgsForAsset() argument 915 JSAddFileAssets(napi_env env, napi_callback_info info) JSAddFileAssets() argument 956 JSRemoveFileAssets(napi_env env, napi_callback_info info) JSRemoveFileAssets() argument 998 JSCommitModify(napi_env env, napi_callback_info info) JSCommitModify() argument 1040 GetFetchOptionsParam(napi_env env, napi_value arg, const SmartAlbumNapiAsyncContext &context, bool &err) GetFetchOptionsParam() argument 1080 ConvertJSArgsToNative(napi_env env, size_t argc, const napi_value argv[], SmartAlbumNapiAsyncContext &asyncContext) ConvertJSArgsToNative() argument 1144 GetFileAssetsNative(napi_env env, void *data) GetFileAssetsNative() argument 1184 JSGetFileAssetsCompleteCallback(napi_env env, napi_status status, void *data) JSGetFileAssetsCompleteCallback() argument 1228 JSGetSmartAlbumFileAssets(napi_env env, napi_callback_info info) JSGetSmartAlbumFileAssets() argument 1259 UserFileMgrGetAssets(napi_env env, napi_callback_info info) UserFileMgrGetAssets() argument 1278 JSRecoverAssetExecute(napi_env env, void *data) JSRecoverAssetExecute() argument 1296 JSRecoverAssetCompleteCallback(napi_env env, napi_status status, void *data) JSRecoverAssetCompleteCallback() argument 1325 UserFileMgrRecoverAsset(napi_env env, napi_callback_info info) UserFileMgrRecoverAsset() argument 1341 JSDeleteAssetExecute(napi_env env, void *data) JSDeleteAssetExecute() argument 1357 JSDeleteAssetCompleteCallback(napi_env env, napi_status status, void *data) JSDeleteAssetCompleteCallback() argument 1386 UserFileMgrDeleteAsset(napi_env env, napi_callback_info info) UserFileMgrDeleteAsset() argument [all...] |
/foundation/multimedia/player_framework/frameworks/js/common/ |
H A D | common_napi.cpp | 28 std::string CommonNapi::GetStringArgument(napi_env env, napi_value value, size_t maxLength) in GetStringArgument() argument 47 bool CommonNapi::CheckValueType(napi_env env, napi_value arg, napi_valuetype type) in CheckValueType() argument 56 bool CommonNapi::CheckhasNamedProperty(napi_env env, napi_value arg, std::string type) in CheckhasNamedProperty() argument 63 bool CommonNapi::GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result) in GetPropertyInt32() argument 76 GetPropertyUint32(napi_env env, napi_value configObj, const std::string &type, uint32_t &result) GetPropertyUint32() argument 90 GetPropertyInt64(napi_env env, napi_value configObj, const std::string &type, int64_t &result) GetPropertyInt64() argument 112 GetPropertyDouble(napi_env env, napi_value configObj, const std::string &type, double &result) GetPropertyDouble() argument 134 GetPropertyString(napi_env env, napi_value configObj, const std::string &type) GetPropertyString() argument 153 GetPropertyRecord(napi_env env, napi_value configObj, Meta &meta, std::string type) GetPropertyRecord() argument 204 GetFdArgument(napi_env env, napi_value value, AVFileDescriptor &rawFd) GetFdArgument() argument 222 GetPropertyMap(napi_env env, napi_value value, std::map<std::string, std::string>& map) GetPropertyMap() argument 248 GetPlayStrategy(napi_env env, napi_value value, AVPlayStrategyTmp &playStrategy) GetPlayStrategy() argument 270 FillErrorArgs(napi_env env, int32_t errCode, const napi_value &args) FillErrorArgs() argument 299 CreateError(napi_env env, int32_t errCode, const std::string &errMsg, napi_value &errVal) CreateError() argument 359 CreateReference(napi_env env, napi_value arg) CreateReference() argument 370 CreatePromise(napi_env env, napi_ref ref, napi_value &result) CreatePromise() argument 380 SetPropertyByValueType(napi_env env, napi_value &obj, std::shared_ptr<Meta> &meta, std::string key) SetPropertyByValueType() argument 411 AddRangeProperty(napi_env env, napi_value obj, const std::string &name, int32_t min, int32_t max) AddRangeProperty() argument 432 AddArrayProperty(napi_env env, napi_value obj, const std::string &name, const std::vector<int32_t> &vec) AddArrayProperty() argument 457 AddArrayInt(napi_env env, napi_value &array, const std::vector<int32_t> &vec) AddArrayInt() argument 475 SetPropertyInt32(napi_env env, napi_value &obj, const std::string &key, int32_t value) SetPropertyInt32() argument 493 SetPropertyInt64(napi_env env, napi_value &obj, const std::string &key, int64_t value) SetPropertyInt64() argument 511 SetPropertyDouble(napi_env env, napi_value &obj, const std::string &key, double value) SetPropertyDouble() argument 529 SetPropertyBool(napi_env env, napi_value &obj, const std::string &key, bool value) SetPropertyBool() argument 547 SetPropertyString(napi_env env, napi_value &obj, const std::string &key, const std::string &value) SetPropertyString() argument 565 CreateFormatBuffer(napi_env env, Format &format) CreateFormatBuffer() argument 610 CreateFormatBufferByRef(napi_env env, Format &format, napi_value &result) CreateFormatBufferByRef() argument 644 AddNumberPropInt32(napi_env env, napi_value obj, const std::string &key, int32_t value) AddNumberPropInt32() argument 662 AddNumberPropInt64(napi_env env, napi_value obj, const std::string &key, int64_t value) AddNumberPropInt64() argument 680 GetJsResult(napi_env env, napi_value &result) GetJsResult() argument 698 GetJsResult(napi_env env, napi_value &result) GetJsResult() argument 716 GetJsResult(napi_env env, napi_value &result) GetJsResult() argument 735 MediaAsyncContext(napi_env env) MediaAsyncContext() argument 755 CompleteCallback(napi_env env, napi_status status, void *data) CompleteCallback() argument 798 Callback(napi_env env, const MediaAsyncContext *context, const napi_value *args) Callback() argument 823 CheckCtorResult(napi_env env, napi_value &result, MediaAsyncContext *ctx, napi_value &args) CheckCtorResult() argument 838 AddStringProperty(napi_env env, napi_value obj, const std::string &key, const std::string &value) AddStringProperty() argument 856 GetPropertyBool(napi_env env, napi_value configObj, const std::string &type, bool &result) GetPropertyBool() argument 897 SetDeviceDescriptor(const napi_env &env, const AudioStandard::AudioDeviceDescriptor &deviceInfo, napi_value &result) SetDeviceDescriptor() argument 949 SetDeviceDescriptors(const napi_env &env, const std::vector<sptr<AudioStandard::AudioDeviceDescriptor>> &deviceDescriptors, napi_value &result) SetDeviceDescriptors() argument 963 SetValueDeviceInfo(const napi_env &env, const AudioStandard::DeviceInfo &deviceInfo, napi_value &result) SetValueDeviceInfo() argument [all...] |
/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
H A D | js_input_device_context.cpp | 64 napi_value JsInputDeviceContext::CreateInstance(napi_env env) in CreateInstance() argument 94 napi_value JsInputDeviceContext::JsConstructor(napi_env env, napi_callback_inf argument 117 GetInstance(napi_env env) GetInstance() argument 148 On(napi_env env, napi_callback_info info) On() argument 187 Off(napi_env env, napi_callback_info info) Off() argument 230 GetDeviceIds(napi_env env, napi_callback_info info) GetDeviceIds() argument 254 GetDevice(napi_env env, napi_callback_info info) GetDevice() argument 283 SupportKeys(napi_env env, napi_callback_info info) SupportKeys() argument 344 SupportKeysSync(napi_env env, napi_callback_info info) SupportKeysSync() argument 398 GetKeyboardType(napi_env env, napi_callback_info info) GetKeyboardType() argument 433 GetKeyboardTypeSync(napi_env env, napi_callback_info info) GetKeyboardTypeSync() argument 461 GetDeviceList(napi_env env, napi_callback_info info) GetDeviceList() argument 482 GetDeviceInfo(napi_env env, napi_callback_info info) GetDeviceInfo() argument 515 GetDeviceInfoSync(napi_env env, napi_callback_info info) GetDeviceInfoSync() argument 541 SetKeyboardRepeatDelay(napi_env env, napi_callback_info info) SetKeyboardRepeatDelay() argument 578 SetKeyboardRepeatRate(napi_env env, napi_callback_info info) SetKeyboardRepeatRate() argument 615 GetKeyboardRepeatDelay(napi_env env, napi_callback_info info) GetKeyboardRepeatDelay() argument 635 GetKeyboardRepeatRate(napi_env env, napi_callback_info info) GetKeyboardRepeatRate() argument 655 GetIntervalSinceLastInput(napi_env env, napi_callback_info info) GetIntervalSinceLastInput() argument 664 SetVKeyboardArea(napi_env env, napi_callback_info info) SetVKeyboardArea() argument 713 ParseBMSArray(napi_env env, napi_value value, std::vector<std::shared_ptr<ButtonMotionSpace>>& bmsArray) ParseBMSArray() argument 877 UpdateMotionSpace(napi_env env, napi_callback_info info) UpdateMotionSpace() argument 921 EnumClassConstructor(napi_env env, napi_callback_info info) EnumClassConstructor() argument 932 CreateEnumKeyboardType(napi_env env, napi_value exports) CreateEnumKeyboardType() argument 962 CreateEnumVKeyResult(napi_env env, napi_value exports) CreateEnumVKeyResult() argument 977 CreateEnumMotionSpaceType(napi_env env, napi_value exports) CreateEnumMotionSpaceType() argument 1000 CreateEnumPageType(napi_env env, napi_value exports) CreateEnumPageType() argument 1020 Export(napi_env env, napi_value exports) Export() argument [all...] |
/foundation/multimodalinput/input/frameworks/napi/input_monitor/src/ |
H A D | js_input_monitor.cpp | 1850 bool JsInputMonitor::IsLocaledWithinRect(napi_env env, napi_value napiPointer, in IsLocaledWithinRect() argument
|
/foundation/multimodalinput/input/frameworks/napi/pointer/src/ |
H A D | js_pointer_manager.cpp | 34 bool JsCommon::TypeOf(napi_env env, napi_value value, napi_valuetype type) in TypeOf() argument 64 napi_env env = asyncContext->env; in GetResult() local 109 napi_env env = asyncContext->env; AsyncCallbackWork() local 155 SetPointerVisible(napi_env env, bool visible, napi_value handle) SetPointerVisible() argument 175 SetPointerVisibleSync(napi_env env, bool visible) SetPointerVisibleSync() argument 187 IsPointerVisible(napi_env env, napi_value handle) IsPointerVisible() argument 208 IsPointerVisibleSync(napi_env env) IsPointerVisibleSync() argument 217 SetPointerColor(napi_env env, int32_t color, napi_value handle) SetPointerColor() argument 243 GetPointerColor(napi_env env, napi_value handle) GetPointerColor() argument 271 SetPointerColorSync(napi_env env, int32_t color) SetPointerColorSync() argument 289 GetPointerColorSync(napi_env env) GetPointerColorSync() argument 304 SetPointerSpeed(napi_env env, int32_t pointerSpeed, napi_value handle) SetPointerSpeed() argument 322 SetPointerSpeedSync(napi_env env, int32_t pointerSpeed) SetPointerSpeedSync() argument 334 GetPointerSpeed(napi_env env, napi_value handle) GetPointerSpeed() argument 354 GetPointerSpeedSync(napi_env env) GetPointerSpeedSync() argument 364 SetMouseScrollRows(napi_env env, int32_t rows, napi_value handle) SetMouseScrollRows() argument 390 GetMouseScrollRows(napi_env env, napi_value handle) GetMouseScrollRows() argument 418 SetPointerLocation(napi_env env, int32_t x, int32_t y, napi_value handle) SetPointerLocation() argument 444 SetCustomCursor(napi_env env, int32_t windowId, void* pixelMap, CursorFocus focus) SetCustomCursor() argument 462 SetCustomCursorSync(napi_env env, int32_t windowId, void* pixelMap, CursorFocus focus) SetCustomCursorSync() argument 474 SetPointerSize(napi_env env, int32_t size, napi_value handle) SetPointerSize() argument 500 GetPointerSize(napi_env env, napi_value handle) GetPointerSize() argument 528 SetPointerSizeSync(napi_env env, int32_t size) SetPointerSizeSync() argument 546 GetPointerSizeSync(napi_env env) GetPointerSizeSync() argument 561 SetPointerStyle(napi_env env, int32_t windowid, int32_t pointerStyle, napi_value handle) SetPointerStyle() argument 588 SetPointerStyleSync(napi_env env, int32_t windowid, int32_t pointerStyle) SetPointerStyleSync() argument 610 GetPointerStyle(napi_env env, int32_t windowid, napi_value handle) GetPointerStyle() argument 635 GetPointerStyleSync(napi_env env, int32_t windowid) GetPointerStyleSync() argument 653 EnterCaptureMode(napi_env env, int32_t windowId, napi_value handle) EnterCaptureMode() argument 675 LeaveCaptureMode(napi_env env, int32_t windowId, napi_value handle) LeaveCaptureMode() argument 698 SetMousePrimaryButton(napi_env env, int32_t primaryButton, napi_value handle) SetMousePrimaryButton() argument 723 GetMousePrimaryButton(napi_env env, napi_value handle) GetMousePrimaryButton() argument 747 SetHoverScrollState(napi_env env, bool state, napi_value handle) SetHoverScrollState() argument 772 GetHoverScrollState(napi_env env, napi_value handle) GetHoverScrollState() argument 798 SetTouchpadData(napi_env env, napi_value handle, int32_t errorCode) SetTouchpadData() argument 827 GetTouchpadBoolData(napi_env env, napi_value handle, bool data, int32_t errorCode) GetTouchpadBoolData() argument 856 GetTouchpadInt32Data(napi_env env, napi_value handle, int32_t data, int32_t errorCode) GetTouchpadInt32Data() argument 885 SetTouchpadScrollSwitch(napi_env env, bool switchFlag, napi_value handle) SetTouchpadScrollSwitch() argument 892 GetTouchpadScrollSwitch(napi_env env, napi_value handle) GetTouchpadScrollSwitch() argument 900 SetTouchpadScrollDirection(napi_env env, bool state, napi_value handle) SetTouchpadScrollDirection() argument 907 GetTouchpadScrollDirection(napi_env env, napi_value handle) GetTouchpadScrollDirection() argument 915 SetTouchpadTapSwitch(napi_env env, bool switchFlag, napi_value handle) SetTouchpadTapSwitch() argument 922 GetTouchpadTapSwitch(napi_env env, napi_value handle) GetTouchpadTapSwitch() argument 929 SetTouchpadPointerSpeed(napi_env env, int32_t speed, napi_value handle) SetTouchpadPointerSpeed() argument 936 GetTouchpadPointerSpeed(napi_env env, napi_value handle) GetTouchpadPointerSpeed() argument 944 SetTouchpadPinchSwitch(napi_env env, bool switchFlag, napi_value handle) SetTouchpadPinchSwitch() argument 951 GetTouchpadPinchSwitch(napi_env env, napi_value handle) GetTouchpadPinchSwitch() argument 959 SetTouchpadSwipeSwitch(napi_env env, bool switchFlag, napi_value handle) SetTouchpadSwipeSwitch() argument 966 GetTouchpadSwipeSwitch(napi_env env, napi_value handle) GetTouchpadSwipeSwitch() argument 974 SetTouchpadRightClickType(napi_env env, int32_t type, napi_value handle) SetTouchpadRightClickType() argument 981 GetTouchpadRightClickType(napi_env env, napi_value handle) GetTouchpadRightClickType() argument 989 SetTouchpadRotateSwitch(napi_env env, bool rotateSwitch, napi_value handle) SetTouchpadRotateSwitch() argument 996 GetTouchpadRotateSwitch(napi_env env, napi_value handle) GetTouchpadRotateSwitch() argument 1004 SetMoveEventFilters(napi_env env, bool flag) SetMoveEventFilters() argument 1013 SetTouchpadThreeFingersTapSwitch(napi_env env, bool switchFlag, napi_value handle) SetTouchpadThreeFingersTapSwitch() argument 1020 GetTouchpadThreeFingersTapSwitch(napi_env env, napi_value handle) GetTouchpadThreeFingersTapSwitch() argument 1028 EnableHardwareCursorStats(napi_env env, bool enable) EnableHardwareCursorStats() argument 1040 GetHardwareCursorStats(napi_env env) GetHardwareCursorStats() argument 1071 SetTouchpadScrollRows(napi_env env, int32_t rows, napi_value handle) SetTouchpadScrollRows() argument 1097 GetTouchpadScrollRows(napi_env env, napi_value handle) GetTouchpadScrollRows() argument [all...] |
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/ |
H A D | js_display.cpp | 161 void JsDisplay::Finalizer(napi_env env, void* data, void* hint)
in Finalizer() argument 183 napi_value JsDisplay::GetCutoutInfo(napi_env env, napi_callback_info info)
in GetCutoutInfo() argument 190 napi_value JsDisplay::GetAvailableArea(napi_env env, napi_callback_info info)
in GetAvailableArea() argument 197 napi_value JsDisplay::RegisterDisplayManagerCallback(napi_env env, napi_callback_info info)
in RegisterDisplayManagerCallback() argument 203 UnregisterDisplayManagerCallback(napi_env env, napi_callback_info info) UnregisterDisplayManagerCallback() argument 209 NapiIsCallable(napi_env env, napi_value value) NapiIsCallable() argument 216 IfCallbackRegistered(napi_env env, const std::string& type, napi_value jsListenerObject) IfCallbackRegistered() argument 234 OnRegisterDisplayManagerCallback(napi_env env, napi_callback_info info) OnRegisterDisplayManagerCallback() argument 277 RegisterDisplayListenerWithType(napi_env env, const std::string& type, napi_value value) RegisterDisplayListenerWithType() argument 308 OnUnregisterDisplayManagerCallback(napi_env env, napi_callback_info info) OnUnregisterDisplayManagerCallback() argument 371 UnRegisterDisplayListenerWithType(napi_env env, const std::string& type, napi_value value) UnRegisterDisplayListenerWithType() argument 402 HasImmersiveWindow(napi_env env, napi_callback_info info) HasImmersiveWindow() argument 409 GetType(napi_env env, napi_value value) GetType() argument 416 OnGetCutoutInfo(napi_env env, napi_callback_info info) OnGetCutoutInfo() argument 449 CreateEmptyAsyncTask(napi_env env, napi_value lastParam, napi_value* result) CreateEmptyAsyncTask() argument 467 OnGetAvailableArea(napi_env env, napi_callback_info info) OnGetAvailableArea() argument 502 OnHasImmersiveWindow(napi_env env, napi_callback_info info) OnHasImmersiveWindow() argument 537 GetSupportedColorSpaces(napi_env env, napi_callback_info info) GetSupportedColorSpaces() argument 544 CreateJsColorSpaceArray(napi_env env, const std::vector<uint32_t>& colorSpaces) CreateJsColorSpaceArray() argument 570 OnGetSupportedColorSpaces(napi_env env, napi_callback_info info) OnGetSupportedColorSpaces() argument 606 GetSupportedHDRFormats(napi_env env, napi_callback_info info) GetSupportedHDRFormats() argument 613 CreateJsHDRFormatArray(napi_env env, const std::vector<uint32_t>& hdrFormats) CreateJsHDRFormatArray() argument 639 OnGetSupportedHDRFormats(napi_env env, napi_callback_info info) OnGetSupportedHDRFormats() argument 686 NapiGetUndefined(napi_env env) NapiGetUndefined() argument 693 CreateJsCutoutInfoObject(napi_env env, sptr<CutoutInfo> cutoutInfo) CreateJsCutoutInfoObject() argument 714 CreateJsDisplayPhysicalInfoObject(napi_env env, DisplayPhysicalResolution physicalInfo) CreateJsDisplayPhysicalInfoObject() argument 724 CreateJsRectObject(napi_env env, DMRect rect) CreateJsRectObject() argument 735 CreateJsWaterfallDisplayAreaRectsObject(napi_env env, WaterfallDisplayAreaRects waterfallDisplayAreaRects) CreateJsWaterfallDisplayAreaRectsObject() argument 747 CreateJsBoundingRectsArrayObject(napi_env env, std::vector<DMRect> boundingRects) CreateJsBoundingRectsArrayObject() argument 758 NapiSetNamedProperty(napi_env env, napi_value objValue, sptr<DisplayInfo> info) NapiSetNamedProperty() argument 786 CreateJsDisplayObject(napi_env env, sptr<Display>& display) CreateJsDisplayObject() argument [all...] |
/foundation/window/window_manager/interfaces/kits/napi/common/ |
H A D | js_err_utils.cpp | 194 napi_value JsErrUtils::CreateJsValue(napi_env env, const T& value) in CreateJsValue() argument 239 napi_value JsErrUtils::CreateJsError(napi_env env, const WMError& errorCode, std::string msg) in CreateJsError() argument 247 CreateJsError(napi_env env, const WmErrorCode& errorCode, std::string msg) CreateJsError() argument 255 CreateJsError(napi_env env, const DMError& errorCode, std::string msg) CreateJsError() argument 263 CreateJsError(napi_env env, const DmErrorCode& errorCode, std::string msg) CreateJsError() argument [all...] |
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_manager_napi/ |
H A D | js_window_manager.cpp | 56 void JsWindowManager::Finalizer(napi_env env, void* data, void* hint)
in Finalizer() argument 62 napi_value JsWindowManager::Create(napi_env env, napi_callback_info info)
in Create() argument 68 napi_value JsWindowManager::CreateWindow(napi_env env, napi_callback_info info)
in CreateWindow() argument 74 napi_value JsWindowManager::FindWindow(napi_env env, napi_callback_info info)
in FindWindow() argument 80 FindWindowSync(napi_env env, napi_callback_info info) FindWindowSync() argument 86 MinimizeAll(napi_env env, napi_callback_info info) MinimizeAll() argument 92 ToggleShownStateForAllAppWindows(napi_env env, napi_callback_info info) ToggleShownStateForAllAppWindows() argument 98 RegisterWindowManagerCallback(napi_env env, napi_callback_info info) RegisterWindowManagerCallback() argument 104 UnregisterWindowMangerCallback(napi_env env, napi_callback_info info) UnregisterWindowMangerCallback() argument 110 GetTopWindow(napi_env env, napi_callback_info info) GetTopWindow() argument 117 GetLastWindow(napi_env env, napi_callback_info info) GetLastWindow() argument 123 GetSnapshot(napi_env env, napi_callback_info info) GetSnapshot() argument 130 SetWindowLayoutMode(napi_env env, napi_callback_info info) SetWindowLayoutMode() argument 136 SetGestureNavigationEnabled(napi_env env, napi_callback_info info) SetGestureNavigationEnabled() argument 142 SetWaterMarkImage(napi_env env, napi_callback_info info) SetWaterMarkImage() argument 148 ShiftAppWindowFocus(napi_env env, napi_callback_info info) ShiftAppWindowFocus() argument 154 GetVisibleWindowInfo(napi_env env, napi_callback_info info) GetVisibleWindowInfo() argument 160 GetWindowsByCoordinate(napi_env env, napi_callback_info info) GetWindowsByCoordinate() argument 166 GetNativeContext(napi_env env, napi_value nativeContext, void*& contextPtr, WMError& errCode) GetNativeContext() argument 179 GetParentId(napi_env env) GetParentId() argument 199 GetWindowTypeAndParentId(napi_env env, uint32_t& parentId, WindowType& winType, napi_value nativeString, napi_value nativeType) GetWindowTypeAndParentId() argument 239 CreateNewSystemWindowTask(void* contextPtr, sptr<WindowOption> windowOption, napi_env env, NapiAsyncTask& task) CreateNewSystemWindowTask() argument 278 CreateSystemWindowTask(void* contextPtr, std::string windowName, WindowType winType, napi_env env, NapiAsyncTask& task) CreateSystemWindowTask() argument 316 CreateNewSubWindowTask(sptr<WindowOption> windowOption, napi_env env, NapiAsyncTask& task) CreateNewSubWindowTask() argument 345 CreateSubWindowTask(uint32_t parentWinId, std::string windowName, WindowType winType, napi_env env, NapiAsyncTask& task, bool newErrorCode = false) CreateSubWindowTask() argument 377 isConfigOptionWindowTypeValid(napi_env env, WindowOption& option) isConfigOptionWindowTypeValid() argument 397 OnCreate(napi_env env, napi_callback_info info) OnCreate() argument 448 ParseRequiredConfigOption(napi_env env, napi_value jsObject, WindowOption& option) ParseRequiredConfigOption() argument 475 ParseConfigOption(napi_env env, napi_value jsObject, WindowOption& option, void*& contextPtr) ParseConfigOption() argument 524 OnCreateWindow(napi_env env, napi_callback_info info) OnCreateWindow() argument 568 OnGetSnapshot(napi_env env, napi_callback_info info) OnGetSnapshot() argument 617 OnFindWindow(napi_env env, napi_callback_info info) OnFindWindow() argument 669 OnFindWindowSync(napi_env env, napi_callback_info info) OnFindWindowSync() argument 710 OnMinimizeAll(napi_env env, napi_callback_info info) OnMinimizeAll() argument 758 OnToggleShownStateForAllAppWindows(napi_env env, napi_callback_info info) OnToggleShownStateForAllAppWindows() argument 783 OnRegisterWindowManagerCallback(napi_env env, napi_callback_info info) OnRegisterWindowManagerCallback() argument 816 OnUnregisterWindowManagerCallback(napi_env env, napi_callback_info info) OnUnregisterWindowManagerCallback() argument 854 GetTopWindowTask(void* contextPtr, napi_env env, napi_value callback, bool newApi) GetTopWindowTask() argument 929 OnGetTopWindow(napi_env env, napi_callback_info info) OnGetTopWindow() argument 956 OnGetLastWindow(napi_env env, napi_callback_info info) OnGetLastWindow() argument 984 OnSetWindowLayoutMode(napi_env env, napi_callback_info info) OnSetWindowLayoutMode() argument 1041 OnSetGestureNavigationEnabled(napi_env env, napi_callback_info info) OnSetGestureNavigationEnabled() argument 1083 OnSetWaterMarkImage(napi_env env, napi_callback_info info) OnSetWaterMarkImage() argument 1138 OnShiftAppWindowFocus(napi_env env, napi_callback_info info) OnShiftAppWindowFocus() argument 1182 OnGetVisibleWindowInfo(napi_env env, napi_callback_info info) OnGetVisibleWindowInfo() argument 1207 OnGetWindowsByCoordinate(napi_env env, napi_callback_info info) OnGetWindowsByCoordinate() argument 1260 JsWindowManagerInit(napi_env env, napi_value exportObj) JsWindowManagerInit() argument [all...] |
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/ |
H A D | js_window_utils.cpp | 33 napi_value WindowTypeInit(napi_env env)
in WindowTypeInit() argument 90 AvoidAreaTypeInit(napi_env env) AvoidAreaTypeInit() argument 112 WindowModeInit(napi_env env) WindowModeInit() argument 134 ColorSpaceInit(napi_env env) ColorSpaceInit() argument 150 OrientationInit(napi_env env) OrientationInit() argument 198 WindowStageEventTypeInit(napi_env env) WindowStageEventTypeInit() argument 222 WindowEventTypeInit(napi_env env) WindowEventTypeInit() argument 244 WindowLayoutModeInit(napi_env env) WindowLayoutModeInit() argument 259 BlurStyleInit(napi_env env) BlurStyleInit() argument 278 MaximizePresentationInit(napi_env env) MaximizePresentationInit() argument 297 WindowErrorInit(napi_env env) WindowErrorInit() argument 338 WindowErrorCodeInit(napi_env env) WindowErrorCodeInit() argument 370 WindowStatusTypeInit(napi_env env) WindowStatusTypeInit() argument 392 RectChangeReasonInit(napi_env env) RectChangeReasonInit() argument 418 GetRectAndConvertToJsValue(napi_env env, const Rect& rect) GetRectAndConvertToJsValue() argument 430 CreateJsWindowPropertiesObject(napi_env env, sptr<Window>& window, const Rect& drawableRect) CreateJsWindowPropertiesObject() argument 486 CreateJsSystemBarPropertiesObject(napi_env env, sptr<Window>& window) CreateJsSystemBarPropertiesObject() argument 512 CreateJsSystemBarRegionTintObject(napi_env env, const SystemBarRegionTint& tint) CreateJsSystemBarRegionTintObject() argument 537 CreateJsWindowInfoArrayObject(napi_env env, const std::vector<sptr<WindowVisibilityInfo>>& infos) CreateJsWindowInfoArrayObject() argument 558 CreateJsWindowInfoObject(napi_env env, const sptr<WindowVisibilityInfo>& info) CreateJsWindowInfoObject() argument 571 CreateJsSystemBarRegionTintArrayObject(napi_env env, const SystemBarRegionTints& tints) CreateJsSystemBarRegionTintArrayObject() argument 591 GetSystemBarStatus(std::map<WindowType, SystemBarProperty>& systemBarProperties, std::map<WindowType, SystemBarPropertyFlag>& systemBarpropertyFlags, napi_env env, napi_callback_info info, sptr<Window>& window) GetSystemBarStatus() argument 641 ParseAndCheckRect(napi_env env, napi_value jsObject, const Rect& windowRect, Rect& touchableRect) ParseAndCheckRect() argument 685 ParseTouchableAreas(napi_env env, napi_callback_info info, const Rect& windowRect, std::vector<Rect>& touchableAreas) ParseTouchableAreas() argument 746 GetSpecificBarStatus(napi_env env, napi_callback_info info, std::map<WindowType, SystemBarProperty>& systemBarProperties) GetSpecificBarStatus() argument 787 GetColorFromJs(napi_env env, napi_value jsObject, const char* name, uint32_t defaultColor, bool& flag) GetColorFromJs() argument 819 SetWindowStatusBarContentColor(napi_env env, napi_value jsObject, std::map<WindowType, SystemBarProperty>& properties, std::map<WindowType, SystemBarPropertyFlag>& propertyFlags) SetWindowStatusBarContentColor() argument 847 SetWindowNavigationBarContentColor(napi_env env, napi_value jsObject, std::map<WindowType, SystemBarProperty>& properties, std::map<WindowType, SystemBarPropertyFlag>& propertyFlags) SetWindowNavigationBarContentColor() argument 895 SetSystemBarPropertiesFromJs(napi_env env, napi_value jsObject, sptr<Window>& window, std::map<WindowType, SystemBarProperty>& properties, std::map<WindowType, SystemBarPropertyFlag>& propertyFlags) SetSystemBarPropertiesFromJs() argument 929 ConvertJSSystemBarStyleToSystemBarProperties(napi_env env, napi_value jsObject, std::map<WindowType, SystemBarProperty>& properties, std::map<WindowType, SystemBarPropertyFlag>& propertyFlags) ConvertJSSystemBarStyleToSystemBarProperties() argument 938 ConvertAvoidAreaToJsValue(napi_env env, const AvoidArea& avoidArea, AvoidAreaType type) ConvertAvoidAreaToJsValue() argument 952 GetWindowLimitsAndConvertToJsValue(napi_env env, const WindowLimits& windowLimits) GetWindowLimitsAndConvertToJsValue() argument 964 ConvertTitleButtonAreaToJsValue(napi_env env, const TitleButtonRect& titleButtonRect) ConvertTitleButtonAreaToJsValue() argument 999 GetAPI7Ability(napi_env env, AppExecFwk::Ability* &ability) GetAPI7Ability() argument 1024 GetWindowMaskFromJsValue(napi_env env, napi_value jsObject, std::vector<std::vector<uint32_t>>& windowMask) GetWindowMaskFromJsValue() argument 1045 ExtensionWindowAttributeInit(napi_env env) ExtensionWindowAttributeInit() argument 1064 CreateAsyncTask(napi_env env, napi_value lastParam, std::unique_ptr<NapiAsyncTask::ExecuteCallback>&& execute, std::unique_ptr<NapiAsyncTask::CompleteCallback>&& complete, napi_value* result) CreateAsyncTask() argument 1082 ModalityTypeInit(napi_env env) ModalityTypeInit() argument 1095 ParseModalityParam(napi_env env, napi_value jsObject, const sptr<WindowOption>& windowOption) ParseModalityParam() argument 1133 ParseSubWindowOptions(napi_env env, napi_value jsObject, const sptr<WindowOption>& windowOption) ParseSubWindowOptions() argument [all...] |
H A D | js_window_utils.h | 348 ParseJsValue(napi_value jsObject, napi_env env, const std::string& name, T& data) ParseJsValue() argument 364 ConvertNativeValueToVector(napi_env env, napi_value nativeArray, std::vector<T>& out) ConvertNativeValueToVector() argument [all...] |
/foundation/window/window_manager/previewer/include/ |
H A D | window.h | 247 virtual WMError SetUIContentByName(const std::string& contentInfo, napi_env env, napi_value storage, in SetUIContentByName() argument 252 virtual WMError SetUIContentByAbc(const std::string& abcPath, napi_env env, napi_value storage, in SetUIContentByAbc() argument
|
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/ |
H A D | js_screen_manager.cpp | 49 explicit JsScreenManager(napi_env env) {
in JsScreenManager() argument 54 static void Finalizer(napi_env env, void* data, void* hint)
in Finalizer() argument 60 static napi_value GetAllScreens(napi_env env, napi_callback_info info)
in GetAllScreens() argument 66 static napi_value RegisterScreenManagerCallback(napi_env env, napi_callback_info info)
in RegisterScreenManagerCallback() argument 72 static napi_value UnregisterScreenMangerCallback(napi_env env, napi_callback_info info)
in UnregisterScreenMangerCallback() argument 78 MakeMirror(napi_env env, napi_callback_info info) MakeMirror() argument 84 SetMultiScreenMode(napi_env env, napi_callback_info info) SetMultiScreenMode() argument 90 SetMultiScreenRelativePosition(napi_env env, napi_callback_info info) SetMultiScreenRelativePosition() argument 96 MakeExpand(napi_env env, napi_callback_info info) MakeExpand() argument 102 StopMirror(napi_env env, napi_callback_info info) StopMirror() argument 108 StopExpand(napi_env env, napi_callback_info info) StopExpand() argument 114 CreateVirtualScreen(napi_env env, napi_callback_info info) CreateVirtualScreen() argument 120 DestroyVirtualScreen(napi_env env, napi_callback_info info) DestroyVirtualScreen() argument 126 SetVirtualScreenSurface(napi_env env, napi_callback_info info) SetVirtualScreenSurface() argument 132 IsScreenRotationLocked(napi_env env, napi_callback_info info) IsScreenRotationLocked() argument 138 SetScreenRotationLocked(napi_env env, napi_callback_info info) SetScreenRotationLocked() argument 147 OnGetAllScreens(napi_env env, napi_callback_info info) OnGetAllScreens() argument 181 CreateJsScreenVectorObject(napi_env env, std::vector<sptr<Screen>>& screens) CreateJsScreenVectorObject() argument 199 IfCallbackRegistered(napi_env env, const std::string& type, napi_value jsListenerObject) IfCallbackRegistered() argument 217 RegisterScreenListenerWithType(napi_env env, const std::string& type, napi_value value) RegisterScreenListenerWithType() argument 269 UnRegisterScreenListenerWithType(napi_env env, const std::string& type, napi_value value) UnRegisterScreenListenerWithType() argument 306 NapiIsCallable(napi_env env, napi_value value) NapiIsCallable() argument 313 NapiThrowError(napi_env env, DmErrorCode errCode, std::string msg = �) NapiThrowError() argument 319 OnRegisterScreenManagerCallback(napi_env env, napi_callback_info info) OnRegisterScreenManagerCallback() argument 355 OnUnregisterScreenManagerCallback(napi_env env, napi_callback_info info) OnUnregisterScreenManagerCallback() argument 397 OnMakeMirror(napi_env env, napi_callback_info info) OnMakeMirror() argument 450 OnSetMultiScreenMode(napi_env env, napi_callback_info info) OnSetMultiScreenMode() argument 491 OnSetMultiScreenRelativePosition(napi_env env, napi_callback_info info) OnSetMultiScreenRelativePosition() argument 528 OnMakeExpand(napi_env env, napi_callback_info info) OnMakeExpand() argument 583 OnStopMirror(napi_env env, napi_callback_info info) OnStopMirror() argument 636 OnStopExpand(napi_env env, napi_callback_info info) OnStopExpand() argument 689 GetExpandOptionFromJs(napi_env env, napi_value optionObject, ExpandOption& option) GetExpandOptionFromJs() argument 716 GetMultiScreenPositionOptionsFromJs(napi_env env, napi_value optionObject, MultiScreenPositionOptions& option) GetMultiScreenPositionOptionsFromJs() argument 744 OnCreateVirtualScreen(napi_env env, napi_callback_info info) OnCreateVirtualScreen() argument 796 GetVirtualScreenOptionFromJs(napi_env env, napi_value optionObject, VirtualScreenOption& option) GetVirtualScreenOptionFromJs() argument 833 GetSurfaceFromJs(napi_env env, napi_value surfaceIdNapiValue, sptr<Surface>& surface) GetSurfaceFromJs() argument 856 OnDestroyVirtualScreen(napi_env env, napi_callback_info info) OnDestroyVirtualScreen() argument 905 OnSetVirtualScreenSurface(napi_env env, napi_callback_info info) OnSetVirtualScreenSurface() argument 957 OnIsScreenRotationLocked(napi_env env, napi_callback_info info) OnIsScreenRotationLocked() argument 989 OnSetScreenRotationLocked(napi_env env, napi_callback_info info) OnSetScreenRotationLocked() argument 1040 NapiSendDmsEvent(napi_env env, std::function<void()> asyncTask, std::unique_ptr<AbilityRuntime::NapiAsyncTask>& napiAsyncTask) NapiSendDmsEvent() argument 1057 InitScreenOrientation(napi_env env) InitScreenOrientation() argument 1086 InitScreenSourceMode(napi_env env) InitScreenSourceMode() argument 1113 InitMultiScreenMode(napi_env env) InitMultiScreenMode() argument 1136 InitDisplayErrorCode(napi_env env) InitDisplayErrorCode() argument 1169 InitDisplayError(napi_env env) InitDisplayError() argument 1214 JsScreenManagerInit(napi_env env, napi_value exportObj) JsScreenManagerInit() argument [all...] |
/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_message_sequence_write.cpp | 36 NAPI_MessageSequence::NAPI_MessageSequence(napi_env env, napi_value thisVar, MessageParcel *parcel) in NAPI_MessageSequence() argument 67 napi_value CreateTypeCodeEnum(napi_env env) in CreateTypeCodeEnum() argument 92 napi_value NAPI_MessageSequence::JS_writeByte(napi_env env, napi_callback_info info) in JS_writeByte() argument 130 JS_writeShort(napi_env env, napi_callback_info info) JS_writeShort() argument 168 JS_writeInt(napi_env env, napi_callback_info info) JS_writeInt() argument 206 JS_writeLong(napi_env env, napi_callback_info info) JS_writeLong() argument 244 JS_writeFloat(napi_env env, napi_callback_info info) JS_writeFloat() argument 282 JS_writeDouble(napi_env env, napi_callback_info info) JS_writeDouble() argument 288 JS_writeBoolean(napi_env env, napi_callback_info info) JS_writeBoolean() argument 326 JS_writeChar(napi_env env, napi_callback_info info) JS_writeChar() argument 364 JS_writeByteArray(napi_env env, napi_callback_info info) JS_writeByteArray() argument 420 JS_checkWriteArrayArgs(napi_env env, size_t argc, napi_value* argv, uint32_t &arrayLength) JS_checkWriteArrayArgs() argument 447 JS_writeShortArray(napi_env env, napi_callback_info info) JS_writeShortArray() argument 504 JS_writeIntArray(napi_env env, napi_callback_info info) JS_writeIntArray() argument 561 JS_writeLongArray(napi_env env, napi_callback_info info) JS_writeLongArray() argument 618 JS_writeFloatArray(napi_env env, napi_callback_info info) JS_writeFloatArray() argument 675 JS_writeDoubleArray(napi_env env, napi_callback_info info) JS_writeDoubleArray() argument 732 JS_writeBooleanArray(napi_env env, napi_callback_info info) JS_writeBooleanArray() argument 783 JS_writeCharArray(napi_env env, napi_callback_info info) JS_writeCharArray() argument 834 JS_writeString(napi_env env, napi_callback_info info) JS_writeString() argument 884 JS_checkWriteStringArrayElement(napi_env env, napi_value* argv, size_t &index, size_t &bufferSize, napi_value &element) JS_checkWriteStringArrayElement() argument 920 JS_writeStringArray(napi_env env, napi_callback_info info) JS_writeStringArray() argument 973 JS_writeParcelable(napi_env env, napi_callback_info info) JS_writeParcelable() argument 1030 JS_writeParcelableArrayCallJsFunc(napi_env env, napi_value &element, napi_value &thisVar) JS_writeParcelableArrayCallJsFunc() argument 1053 JS_writeParcelableArray(napi_env env, napi_callback_info info) JS_writeParcelableArray() argument 1109 JS_writeRemoteObjectArray(napi_env env, napi_callback_info info) JS_writeRemoteObjectArray() argument 1163 JS_setSize(napi_env env, napi_callback_info info) JS_setSize() argument 1201 JS_setCapacity(napi_env env, napi_callback_info info) JS_setCapacity() argument 1242 JS_getWritableBytes(napi_env env, napi_callback_info info) JS_getWritableBytes() argument 1258 JS_getWritePosition(napi_env env, napi_callback_info info) JS_getWritePosition() argument 1274 JS_rewindWrite(napi_env env, napi_callback_info info) JS_rewindWrite() argument 1310 JS_writeNoException(napi_env env, napi_callback_info info) JS_writeNoException() argument 1330 JS_checkReadArrayArgs(napi_env env, napi_callback_info info, size_t &argc, napi_value &thisVar, napi_value* argv) JS_checkReadArrayArgs() argument 1359 JS_readParcelableArrayCallJsFunc(napi_env env, napi_value &element, napi_value &thisVar) JS_readParcelableArrayCallJsFunc() argument 1380 JS_create(napi_env env, napi_callback_info info) JS_create() argument 1395 JS_reclaim(napi_env env, napi_callback_info info) JS_reclaim() argument 1411 JS_writeRemoteObject(napi_env env, napi_callback_info info) JS_writeRemoteObject() argument 1449 JS_writeInterfaceToken(napi_env env, napi_callback_info info) JS_writeInterfaceToken() argument 1498 JS_CloseFileDescriptor(napi_env env, napi_callback_info info) JS_CloseFileDescriptor() argument 1522 JS_DupFileDescriptor(napi_env env, napi_callback_info info) JS_DupFileDescriptor() argument 1550 JS_ContainFileDescriptors(napi_env env, napi_callback_info info) JS_ContainFileDescriptors() argument 1564 JS_WriteFileDescriptor(napi_env env, napi_callback_info info) JS_WriteFileDescriptor() argument 1598 JS_WriteAshmem(napi_env env, napi_callback_info info) JS_WriteAshmem() argument 1651 JS_checkWriteRawDataArgs(napi_env env, size_t argc, napi_value* argv) JS_checkWriteRawDataArgs() argument 1685 JS_WriteRawDataForArray(napi_env env, napi_value jsArray, uint32_t size, NAPI_MessageSequence *napiSequence) JS_WriteRawDataForArray() argument 1717 JS_WriteRawDataForTypedArray(napi_env env, napi_value jsTypedArray, size_t size, NAPI_MessageSequence *napiSequence) JS_WriteRawDataForTypedArray() argument 1739 JS_WriteRawData(napi_env env, napi_callback_info info) JS_WriteRawData() argument 1782 JS_WriteRawDataBuffer(napi_env env, napi_callback_info info) JS_WriteRawDataBuffer() argument 1839 JS_GetRawDataCapacity(napi_env env, napi_callback_info info) JS_GetRawDataCapacity() argument 1853 JS_checkWriteArrayBufferArgs(napi_env env, size_t argc, napi_value* argv) JS_checkWriteArrayBufferArgs() argument 1899 JS_writeArrayBuffer(napi_env env, napi_callback_info info) JS_writeArrayBuffer() argument 1992 Export(napi_env env, napi_value exports) Export() argument 2088 JS_constructor(napi_env env, napi_callback_info info) JS_constructor() argument [all...] |
/foundation/communication/ipc/ipc/native/src/jni/source/ |
H A D | ohos_rpc_remote_object.cpp | 152 JNIEnvHelper env; in JRemoteObject() local 172 JNIEnvHelper env; in ~JRemoteObject() local 185 JNIEnvHelper env; in OnRemoteRequest() local 219 JNIEnvHelper env; OnRemoteDump() local 273 JNIEnvHelper env; JDeathRecipient() local 289 JNIEnvHelper env; OnRemoteDied() local 305 JNIEnvHelper env; Matches() local 330 JNIEnvHelper env; ~JDeathRecipient() local 376 Java_ohos_rpc_getRemoteProxyHolder(JNIEnv *env, jobject object) Java_ohos_rpc_getRemoteProxyHolder() argument 381 Java_ohos_rpc_getJavaRemoteObject(JNIEnv *env, const sptr<IRemoteObject> target) Java_ohos_rpc_getJavaRemoteObject() argument 437 Java_ohos_rpc_getNativeRemoteObject(JNIEnv *env, jobject object) Java_ohos_rpc_getNativeRemoteObject() argument 465 Java_ohos_rpc_IPCSkeleton_nativeGetContextObject(JNIEnv *env, jclass clazz) Java_ohos_rpc_IPCSkeleton_nativeGetContextObject() argument 485 Java_ohos_rpc_IPCSkeleton_nativeGetCallingPid(JNIEnv *env, jclass clazz) Java_ohos_rpc_IPCSkeleton_nativeGetCallingPid() argument 496 Java_ohos_rpc_IPCSkeleton_nativeGetCallingUid(JNIEnv *env, jclass clazz) Java_ohos_rpc_IPCSkeleton_nativeGetCallingUid() argument 507 Java_ohos_rpc_IPCSkeleton_nativeGetCallingDeviceID(JNIEnv *env, jclass clazz) Java_ohos_rpc_IPCSkeleton_nativeGetCallingDeviceID() argument 522 Java_ohos_rpc_IPCSkeleton_nativeGetLocalDeviceID(JNIEnv *env, jclass clazz) Java_ohos_rpc_IPCSkeleton_nativeGetLocalDeviceID() argument 537 Java_ohos_rpc_IPCSkeleton_nativeIsLocalCalling(JNIEnv *env, jclass clazz) Java_ohos_rpc_IPCSkeleton_nativeIsLocalCalling() argument 547 Java_ohos_rpc_IPCSkeleton_nativeFlushCommands(JNIEnv *env, jclass clazz, jobject object) Java_ohos_rpc_IPCSkeleton_nativeFlushCommands() argument 562 Java_ohos_rpc_IPCSkeleton_nativeResetCallingIdentity(JNIEnv *env, jclass clazz) Java_ohos_rpc_IPCSkeleton_nativeResetCallingIdentity() argument 577 Java_ohos_rpc_IPCSkeleton_nativeSetCallingIdentity(JNIEnv *env, jclass clazz, jstring identity, jint len) Java_ohos_rpc_IPCSkeleton_nativeSetCallingIdentity() argument 601 Java_ohos_rpc_RemoteObject_nativeGetObjectHolder(JNIEnv *env, jclass clazz, jstring value, jint len) Java_ohos_rpc_RemoteObject_nativeGetObjectHolder() argument 620 Java_ohos_rpc_RemoteObject_nativeGetCallingPid(JNIEnv *env, jclass object) Java_ohos_rpc_RemoteObject_nativeGetCallingPid() argument 636 Java_ohos_rpc_RemoteObject_nativeGetCallingUid(JNIEnv *env, jclass object) Java_ohos_rpc_RemoteObject_nativeGetCallingUid() argument 652 Java_ohos_rpc_RemoteObject_nativeFreeObjectHolder(JNIEnv *env, jclass clazz, jlong holder) Java_ohos_rpc_RemoteObject_nativeFreeObjectHolder() argument 666 Java_ohos_rpc_RemoteProxy_nativeFreeProxyHolder(JNIEnv *env, jclass clazz, jlong holder) Java_ohos_rpc_RemoteProxy_nativeFreeProxyHolder() argument 689 Java_ohos_rpc_RemoteProxy_nativeSendRequest(JNIEnv *env, jobject object, jint code, jobject data, jobject reply, jobject option) Java_ohos_rpc_RemoteProxy_nativeSendRequest() argument 741 Java_ohos_rpc_RemoteProxy_nativeAddDeathRecipient(JNIEnv *env, jobject object, jobject recipient, jint flags) Java_ohos_rpc_RemoteProxy_nativeAddDeathRecipient() argument 776 Java_ohos_rpc_RemoteProxy_nativeRemoveDeathRecipient(JNIEnv *env, jobject object, jobject recipient, jint flags) Java_ohos_rpc_RemoteProxy_nativeRemoveDeathRecipient() argument 814 Java_ohos_rpc_RemoteProxy_nativeGetInterfaceDescriptor(JNIEnv *env, jobject object) Java_ohos_rpc_RemoteProxy_nativeGetInterfaceDescriptor() argument 841 Java_ohos_rpc_RemoteProxy_nativeIsObjectDead(JNIEnv *env, jobject object) Java_ohos_rpc_RemoteProxy_nativeIsObjectDead() argument 863 Java_ohos_rpc_RemoteProxy_nativeGetHandle(JNIEnv *env, jobject object) Java_ohos_rpc_RemoteProxy_nativeGetHandle() argument 919 JavaOhosRpcIpcSkeletonRegisterNativeMethods(JNIEnv *env) JavaOhosRpcIpcSkeletonRegisterNativeMethods() argument 928 JavaOhosRpcRemoteObjectRegisterNativeMethods(JNIEnv *env) JavaOhosRpcRemoteObjectRegisterNativeMethods() argument 974 JavaOhosRpcRemoteProxyRegisterNativeMethods(JNIEnv *env) JavaOhosRpcRemoteProxyRegisterNativeMethods() argument 1011 RegisterJavaRpcNativeMethods(JNIEnv *env) RegisterJavaRpcNativeMethods() argument 1057 JNIEnv *env = NULL; JNI_OnLoad() local [all...] |
/foundation/communication/netmanager_base/utils/napi_utils/src/ |
H A D | napi_utils.cpp | 46 WorkData(napi_env env, void *data, void (*handler)(napi_env env, napi_status status, void *data)) in WorkData() argument 85 napi_value GetGlobal(napi_env env) in GetGlobal() argument 93 uint64_t CreateUvHandlerQueue(napi_env env) in CreateUvHandlerQueue() argument 118 GetValueFromGlobal(napi_env env, const std::string &className) GetValueFromGlobal() argument 138 auto env = reinterpret_cast<napi_env>(work->data); MakeUvCallback() member 164 handler(env); MakeUvCallback() variable 169 CreateUvQueueWorkByModuleId(napi_env env, const UvHandler &handler, uint64_t id) CreateUvQueueWorkByModuleId() argument 201 GetValueType(napi_env env, napi_value value) GetValueType() argument 213 HasNamedProperty(napi_env env, napi_value object, const std::string &propertyName) HasNamedProperty() argument 220 GetNamedProperty(napi_env env, napi_value object, const std::string &propertyName) GetNamedProperty() argument 227 SetNamedProperty(napi_env env, napi_value object, const std::string &name, napi_value value) SetNamedProperty() argument 232 GetPropertyNames(napi_env env, napi_value object) GetPropertyNames() argument 253 CreateUint32(napi_env env, uint32_t code) CreateUint32() argument 262 GetUint32FromValue(napi_env env, napi_value value) GetUint32FromValue() argument 269 GetUint32Property(napi_env env, napi_value object, const std::string &propertyName) GetUint32Property() argument 278 SetUint32Property(napi_env env, napi_value object, const std::string &name, uint32_t value) SetUint32Property() argument 289 CreateInt32(napi_env env, int32_t code) CreateInt32() argument 298 GetInt32FromValue(napi_env env, napi_value value) GetInt32FromValue() argument 305 GetInt32Property(napi_env env, napi_value object, const std::string &propertyName) GetInt32Property() argument 314 SetInt32Property(napi_env env, napi_value object, const std::string &name, int32_t value) SetInt32Property() argument 325 CreateInt64(napi_env env, int64_t code) CreateInt64() argument 334 GetInt64Property(napi_env env, napi_value object, const std::string &propertyName) GetInt64Property() argument 342 GetInt64FromValue(napi_env env, napi_value value) GetInt64FromValue() argument 348 SetInt64Property(napi_env env, napi_value object, const std::string &name, int64_t value) SetInt64Property() argument 359 CreateStringUtf8(napi_env env, const std::string &str) CreateStringUtf8() argument 368 GetStringFromValueUtf8(napi_env env, napi_value value) GetStringFromValueUtf8() argument 384 GetSecureDataFromValueUtf8(napi_env env, napi_value value) GetSecureDataFromValueUtf8() argument 396 GetStringPropertyUtf8(napi_env env, napi_value object, const std::string &propertyName) GetStringPropertyUtf8() argument 405 GetSecureDataPropertyUtf8(napi_env env, napi_value object, const std::string &propertyName) GetSecureDataPropertyUtf8() argument 411 SetStringPropertyUtf8(napi_env env, napi_value object, const std::string &name, const std::string &value) SetStringPropertyUtf8() argument 421 ValueIsArrayBuffer(napi_env env, napi_value value) ValueIsArrayBuffer() argument 428 GetInfoFromArrayBufferValue(napi_env env, napi_value value, size_t *length) GetInfoFromArrayBufferValue() argument 439 CreateArrayBuffer(napi_env env, size_t length, void **data) CreateArrayBuffer() argument 450 CreateObject(napi_env env) CreateObject() argument 458 GetUndefined(napi_env env) GetUndefined() argument 466 CallFunction(napi_env env, napi_value recv, napi_value func, size_t argc, const napi_value *argv) CallFunction() argument 473 CreateFunction(napi_env env, const std::string &name, napi_callback func, void *arg) CreateFunction() argument 481 CreateReference(napi_env env, napi_value callback) CreateReference() argument 488 GetReference(napi_env env, napi_ref callbackRef) GetReference() argument 495 DeleteReference(napi_env env, napi_ref callbackRef) DeleteReference() argument 501 GetBooleanProperty(napi_env env, napi_value object, const std::string &propertyName) GetBooleanProperty() argument 512 SetBooleanProperty(napi_env env, napi_value object, const std::string &name, bool value) SetBooleanProperty() argument 523 GetBoolean(napi_env env, bool value) GetBoolean() argument 530 GetBooleanValue(napi_env env, napi_value value) GetBooleanValue() argument 538 DefineProperties(napi_env env, napi_value object, const std::initializer_list<napi_property_descriptor> &properties) DefineProperties() argument 548 CreateArray(napi_env env, size_t length) CreateArray() argument 560 SetArrayElement(napi_env env, napi_value array, uint32_t index, napi_value value) SetArrayElement() argument 565 IsArray(napi_env env, napi_value value) IsArray() argument 572 GetArrayLength(napi_env env, napi_value arr) GetArrayLength() argument 579 GetArrayElement(napi_env env, napi_value arr, uint32_t index) GetArrayElement() argument 587 CreateUvQueueWork(napi_env env, void *data, void(handler)(uv_work_t *, int status)) CreateUvQueueWork() argument 604 OpenScope(napi_env env) OpenScope() argument 611 CloseScope(napi_env env, napi_handle_scope scope) CloseScope() argument 616 CreateEnumConstructor(napi_env env, napi_callback_info info) CreateEnumConstructor() argument 627 CreateErrorMessage(napi_env env, int32_t errorCode, const std::string &errorMessage) CreateErrorMessage() argument 638 auto env = static_cast<napi_env>(data); HookForEnvCleanup() local 648 SetEnvValid(napi_env env) SetEnvValid() argument 654 IsEnvValid(napi_env env) IsEnvValid() argument [all...] |
/foundation/communication/wifi/wifi/frameworks/js/napi/inc/ |
H A D | wifi_napi_utils.h | 68 napi_env env; member in OHOS::Wifi::AsyncContext [all...] |
/foundation/communication/nfc/frameworks/js/napi/common/ |
H A D | nfc_napi_common_utils.cpp | 25 bool ParseString(napi_env env, std::string ¶m, napi_value args) in ParseString() argument 51 bool ParseInt32(napi_env env, int32_t ¶m, napi_value args) in ParseInt32() argument 65 bool ParseBool(napi_env env, bool ¶m, napi_value args) in ParseBool() argument 79 ParseBytesVector(napi_env env, std::vector<unsigned char> &vec, napi_value args) ParseBytesVector() argument 107 ParseUInt32Vector(napi_env& env, std::vector<uint32_t>& vec, napi_value &args) ParseUInt32Vector() argument 135 ParseStringVector(napi_env &env, std::vector<std::string> &vec, napi_value &args, uint32_t maxLen) ParseStringVector() argument 167 ParseElementName(napi_env &env, ElementName &element, napi_value &args) ParseElementName() argument 198 ParseArrayBuffer(napi_env env, uint8_t **data, size_t &size, napi_value args) ParseArrayBuffer() argument 220 UndefinedNapiValue(const napi_env &env) UndefinedNapiValue() argument 227 ConvertStringVector(napi_env env, napi_value jsValue) ConvertStringVector() argument 257 CreateErrorMessage(napi_env env, const std::string &msg, int32_t errorCode) CreateErrorMessage() argument 269 CreateUndefined(napi_env env) CreateUndefined() argument 276 GetNapiStringValue( napi_env env, napi_value napiValue, const std::string &name, const std::string &defValue) GetNapiStringValue() argument 287 GetStringFromValue(napi_env env, napi_value value) GetStringFromValue() argument 300 GetNamedProperty(napi_env env, napi_value object, const std::string &propertyName) GetNamedProperty() argument 311 GetNapiInt32Value(napi_env env, napi_value napiValue, const std::string &name, const int32_t &defValue) GetNapiInt32Value() argument 324 UnwrapStringFromJS(napi_env env, napi_value param) UnwrapStringFromJS() argument 338 JsStringToBytesVector(napi_env env, napi_value &src, std::vector<unsigned char> &values) JsStringToBytesVector() argument 351 ConvertStringVectorToJS(napi_env env, napi_value &result, std::vector<std::string>& stringVector) ConvertStringVectorToJS() argument 370 BytesVectorToJS(napi_env env, napi_value &result, std::vector<unsigned char>& src) BytesVectorToJS() argument 388 ConvertStringToNumberArray(napi_env env, napi_value &result, std::string srcValue) ConvertStringToNumberArray() argument 431 ConvertAirTouchNdefRecordToJS(napi_env env, napi_value &result, std::shared_ptr<NdefRecord> &ndefRecord) ConvertAirTouchNdefRecordToJS() argument 456 ConvertNdefRecordVectorToJS(napi_env env, napi_value &result, std::vector<std::shared_ptr<NdefRecord>> &ndefRecords) ConvertNdefRecordVectorToJS() argument 478 ConvertNdefRecordToJS(napi_env env, napi_value &result, std::shared_ptr<NdefRecord> &ndefRecord) ConvertNdefRecordToJS() argument 509 MatchValueType(napi_env env, napi_value value, napi_valuetype targetType) MatchValueType() argument 516 MatchParameters(napi_env env, const napi_value parameters[], std::initializer_list<napi_valuetype> valueTypes) MatchParameters() argument 531 HandleAsyncWork(napi_env env, BaseContext *baseContext, const std::string &workName, napi_async_execute_callback execute, napi_async_complete_callback complete) HandleAsyncWork() argument 564 DoAsyncCallbackOrPromise(const napi_env &env, BaseContext *baseContext, napi_value callbackValue) DoAsyncCallbackOrPromise() argument 595 ThrowAsyncError(const napi_env &env, BaseContext *baseContext, int errCode, const std::string &errMsg) ThrowAsyncError() argument 625 IsNumberArray(const napi_env &env, const napi_value ¶m) IsNumberArray() argument 645 IsObjectArray(const napi_env &env, const napi_value ¶m) IsObjectArray() argument 665 IsArray(const napi_env &env, const napi_value ¶m) IsArray() argument 681 IsNumber(const napi_env &env, const napi_value ¶m) IsNumber() argument 688 IsString(const napi_env &env, const napi_value ¶m) IsString() argument 695 IsObject(const napi_env &env, const napi_value ¶m) IsObject() argument 702 IsFunction(const napi_env &env, const napi_value ¶m) IsFunction() argument 771 GenerateBusinessError(const napi_env &env, int errCode, const std::string &errMessage) GenerateBusinessError() argument 783 CheckUnwrapStatusAndThrow(const napi_env &env, napi_status status, int errCode) CheckUnwrapStatusAndThrow() argument 791 CheckContextAndThrow(const napi_env &env, const BaseContext *context, int errCode) CheckContextAndThrow() argument 799 CheckParametersAndThrow(const napi_env &env, const napi_value parameters[], std::initializer_list<napi_valuetype> types, const std::string &argName, const std::string &argType) CheckParametersAndThrow() argument 809 CheckArrayNumberAndThrow(const napi_env &env, const napi_value ¶m, const std::string &argName, const std::string &argType) CheckArrayNumberAndThrow() argument 819 CheckNumberAndThrow(const napi_env &env, const napi_value ¶m, const std::string &argName, const std::string &argType) CheckNumberAndThrow() argument 829 CheckStringAndThrow(const napi_env &env, const napi_value ¶m, const std::string &argName, const std::string &argType) CheckStringAndThrow() argument 839 CheckObjectAndThrow(const napi_env &env, const napi_value ¶m, const std::string &argName, const std::string &argType) CheckObjectAndThrow() argument 850 CheckFunctionAndThrow(const napi_env &env, const napi_value ¶m, const std::string &argName, const std::string &argType) CheckFunctionAndThrow() argument 861 CheckArgCountAndThrow(const napi_env &env, int argCount, int expCount) CheckArgCountAndThrow() argument 870 CheckTagStatusCodeAndThrow(const napi_env &env, int statusCode, const std::string &funcName) CheckTagStatusCodeAndThrow() argument 888 CheckHceStatusCodeAndThrow(const napi_env &env, int statusCode, const std::string &funcName) CheckHceStatusCodeAndThrow() argument [all...] |
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | napi_utils.cpp | 59 WorkData(napi_env env, void *data, void (*handler)(napi_env env, napi_status status, void *data)) in WorkData() argument 69 napi_valuetype GetValueType(napi_env env, napi_value value) in GetValueType() argument 80 bool IsInstanceOf(napi_env env, napi_value object, const std::string &name) in IsInstanceOf() argument 98 HasNamedProperty(napi_env env, napi_value object, const std::string &propertyName) HasNamedProperty() argument 109 GetNamedProperty(napi_env env, napi_value object, const std::string &propertyName) GetNamedProperty() argument 120 SetNamedProperty(napi_env env, napi_value object, const std::string &name, napi_value value) SetNamedProperty() argument 129 GetPropertyNames(napi_env env, napi_value object) GetPropertyNames() argument 154 CreateUint32(napi_env env, uint32_t code) CreateUint32() argument 164 CreateUint64(napi_env env, uint64_t code) CreateUint64() argument 173 GetInt64FromValue(napi_env env, napi_value value) GetInt64FromValue() argument 183 GetInt64Property(napi_env env, napi_value object, const std::string &propertyName) GetInt64Property() argument 192 GetUint32FromValue(napi_env env, napi_value value) GetUint32FromValue() argument 203 GetUint32Property(napi_env env, napi_value object, const std::string &propertyName) GetUint32Property() argument 212 SetUint32Property(napi_env env, napi_value object, const std::string &name, uint32_t value) SetUint32Property() argument 222 SetUint64Property(napi_env env, napi_value object, const std::string &name, uint64_t value) SetUint64Property() argument 233 CreateInt32(napi_env env, int32_t code) CreateInt32() argument 242 GetInt32FromValue(napi_env env, napi_value value) GetInt32FromValue() argument 253 GetInt32Property(napi_env env, napi_value object, const std::string &propertyName) GetInt32Property() argument 262 SetInt32Property(napi_env env, napi_value object, const std::string &name, int32_t value) SetInt32Property() argument 272 SetDoubleProperty(napi_env env, napi_value object, const std::string &name, double value) SetDoubleProperty() argument 285 CreateStringUtf8(napi_env env, const std::string &str) CreateStringUtf8() argument 294 GetStringFromValueUtf8(napi_env env, napi_value value) GetStringFromValueUtf8() argument 320 GetStringPropertyUtf8(napi_env env, napi_value object, const std::string &propertyName) GetStringPropertyUtf8() argument 329 NapiValueToString(napi_env env, napi_value value) NapiValueToString() argument 366 SetStringPropertyUtf8(napi_env env, napi_value object, const std::string &name, const std::string &value) SetStringPropertyUtf8() argument 376 ValueIsArrayBuffer(napi_env env, napi_value value) ValueIsArrayBuffer() argument 386 GetInfoFromArrayBufferValue(napi_env env, napi_value value, size_t *length) GetInfoFromArrayBufferValue() argument 397 CreateArrayBuffer(napi_env env, size_t length, void **data) CreateArrayBuffer() argument 408 CreateObject(napi_env env) CreateObject() argument 416 GetUndefined(napi_env env) GetUndefined() argument 424 CallFunction(napi_env env, napi_value recv, napi_value func, size_t argc, const napi_value *argv) CallFunction() argument 431 CreateFunction(napi_env env, const std::string &name, napi_callback func, void *arg) CreateFunction() argument 439 CreateReference(napi_env env, napi_value callback) CreateReference() argument 446 GetReference(napi_env env, napi_ref callbackRef) GetReference() argument 453 DeleteReference(napi_env env, napi_ref callbackRef) DeleteReference() argument 459 GetBooleanProperty(napi_env env, napi_value object, const std::string &propertyName) GetBooleanProperty() argument 470 SetBooleanProperty(napi_env env, napi_value object, const std::string &name, bool value) SetBooleanProperty() argument 481 GetBoolean(napi_env env, bool value) GetBoolean() argument 488 GetBooleanFromValue(napi_env env, napi_value value) GetBooleanFromValue() argument 500 DefineProperties(napi_env env, napi_value object, const std::initializer_list<napi_property_descriptor> &properties) DefineProperties() argument 510 CreateArray(napi_env env, size_t length) CreateArray() argument 522 SetArrayElement(napi_env env, napi_value array, uint32_t index, napi_value value) SetArrayElement() argument 527 IsArray(napi_env env, napi_value value) IsArray() argument 534 SetArrayProperty(napi_env env, napi_value object, const std::string &name, napi_value value) SetArrayProperty() argument 542 GetArrayLength(napi_env env, napi_value arr) GetArrayLength() argument 549 GetArrayElement(napi_env env, napi_value arr, uint32_t index) GetArrayElement() argument 557 JsonStringify(napi_env env, napi_value object) JsonStringify() argument 581 JsonParse(napi_env env, const std::string &inStr) JsonParse() argument 613 CreateUvQueueWork(napi_env env, void *data, void(handler)(uv_work_t *, int status)) CreateUvQueueWork() argument 635 OpenScope(napi_env env) OpenScope() argument 642 CloseScope(napi_env env, napi_handle_scope scope) CloseScope() argument 661 napi_env env = workData->env_; UvQueueWorkCallback() local 671 CreateUvQueueWorkEnhanced(napi_env env, void *data, void (*handler)(napi_env env, napi_status status, void *data)) CreateUvQueueWorkEnhanced() argument 702 CreateErrorMessage(napi_env env, int32_t errorCode, const std::string &errorMessage) CreateErrorMessage() argument 711 GetGlobal(napi_env env) GetGlobal() argument 719 CreateUvHandlerQueue(napi_env env) CreateUvHandlerQueue() argument 743 GetValueFromGlobal(napi_env env, const std::string &className) GetValueFromGlobal() argument 763 auto env = reinterpret_cast<napi_env>(work->data); MakeUvCallback() member [all...] |
/foundation/communication/nfc/frameworks/js/napi/tag/ |
H A D | nfc_napi_tag.cpp | 39 static napi_value EnumConstructor(napi_env env, napi_callback_info info)
in EnumConstructor() argument 49 static napi_value RegisterEnumTnfType(napi_env env, napi_value exports)
in RegisterEnumTnfType() argument 83 RegisterEnumNfcForumType(napi_env env, napi_value exports) RegisterEnumNfcForumType() argument 111 RegisterEnumRtdType(napi_env env, napi_value exports) RegisterEnumRtdType() argument 146 RegisterEnumMifareClassicType(napi_env env, napi_value exports) RegisterEnumMifareClassicType() argument 171 RegisterEnumMifareClassicSize(napi_env env, napi_value exports) RegisterEnumMifareClassicSize() argument 196 RegisterEnumMifareUlType(napi_env env, napi_value exports) RegisterEnumMifareUlType() argument 218 ParseTechAndExtraFromJsTagInfo(napi_env env, napi_value obj, std::vector<int> &tagTechList, std::vector<AppExecFwk::PacMap> &tagTechExtras) ParseTechAndExtraFromJsTagInfo() argument 339 BuildNativeTagFromJsObj(napi_env env, napi_value obj) BuildNativeTagFromJsObj() argument 383 JS_Constructor(napi_env env, napi_callback_info cbinfo) JS_Constructor() argument 461 RegisterNfcAJSClass(napi_env env) RegisterNfcAJSClass() argument 480 RegisterNfcBJSClass(napi_env env) RegisterNfcBJSClass() argument 498 RegisterNfcFJSClass(napi_env env) RegisterNfcFJSClass() argument 516 RegisterNfcVJSClass(napi_env env) RegisterNfcVJSClass() argument 534 RegisterIsoDepJSClass(napi_env env) RegisterIsoDepJSClass() argument 553 RegisterNdefJSClass(napi_env env, napi_value exports) RegisterNdefJSClass() argument 582 RegisterNdefStaticFunctions(napi_env env, napi_value exports) RegisterNdefStaticFunctions() argument 600 RegisterMifareClassicJSClass(napi_env env, napi_value exports) RegisterMifareClassicJSClass() argument 631 RegisterMifareUltralightJSClass(napi_env env, napi_value exports) RegisterMifareUltralightJSClass() argument 651 RegisterNdefFormatableJSClass(napi_env env, napi_value exports) RegisterNdefFormatableJSClass() argument 670 GetSpecificTagObj(napi_env env, napi_callback_info info, napi_ref ref) GetSpecificTagObj() argument 688 GetNfcATag(napi_env env, napi_callback_info info) GetNfcATag() argument 693 GetNfcBTag(napi_env env, napi_callback_info info) GetNfcBTag() argument 698 GetNfcFTag(napi_env env, napi_callback_info info) GetNfcFTag() argument 703 GetNfcVTag(napi_env env, napi_callback_info info) GetNfcVTag() argument 708 GetIsoDepTag(napi_env env, napi_callback_info info) GetIsoDepTag() argument 713 GetNdefTag(napi_env env, napi_callback_info info) GetNdefTag() argument 718 GetMifareClassicTag(napi_env env, napi_callback_info info) GetMifareClassicTag() argument 723 GetMifareUltralightTag(napi_env env, napi_callback_info info) GetMifareUltralightTag() argument 728 GetNdefFormatableTag(napi_env env, napi_callback_info info) GetNdefFormatableTag() argument 733 BuildTagTechAndExtraData(napi_env env, napi_value ¶meters, napi_value &tagInfoObj) BuildTagTechAndExtraData() argument 836 BuildTagFromWantParams(napi_env env, napi_value ¶meters) BuildTagFromWantParams() argument 877 GetTagInfo(napi_env env, napi_callback_info info) GetTagInfo() argument 901 InitJs(napi_env env, napi_value exports) InitJs() argument [all...] |
/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/ |
H A D | request_context.cpp | 81 RequestContext::RequestContext(napi_env env, EventManager *manager) in RequestContext() argument 415 napi_env env = GetEnv(); in ParseResumeFromToNumber() local 642 napi_env env = GetEnv(); in ParseDnsServers() local 696 napi_env env = GetEnv(); SetPerformanceTimingToResult() local 726 napi_env env = GetEnv(); ParseMultiFormData() local 751 napi_env env = GetEnv(); NapiValue2FormData() local 767 napi_env env = GetEnv(); NapiValue2CertPinning() local 780 SaveFormData(napi_env env, napi_value dataValue, MultiFormData &multiFormData) SaveFormData() argument 804 auto env = GetEnv(); ParseCertificatePinning() local [all...] |
/foundation/distributeddatamgr/data_share/frameworks/native/provider/src/ |
H A D | js_datashare_ext_ability.cpp | 83 napi_env env = jsRuntime_.GetNapiEnv(); in Init() local 122 napi_env env = jsRuntime_.GetNapiEnv(); in OnStart() local 149 bool JsDataShareExtAbility::UnwrapBatchUpdateResult(napi_env env, napi_valu argument 185 CheckAndSetAsyncResult(napi_env env) CheckAndSetAsyncResult() argument 221 AsyncCallback(napi_env env, napi_callback_info info) AsyncCallback() argument 263 AsyncCallbackWithContext(napi_env env, napi_callback_info info) AsyncCallbackWithContext() argument 295 napi_env env = jsRuntime_.GetNapiEnv(); CallObjectMethod() local 348 napi_env env = jsRuntime_.GetNapiEnv(); CallObjectMethod() local 396 SaveNewCallingInfo(napi_env &env) SaveNewCallingInfo() argument 412 InitAsyncCallParams(size_t argc, napi_env &env, napi_value *args) InitAsyncCallParams() argument 458 napi_env env = jsRuntime_.GetNapiEnv(); GetFileTypes() local 489 napi_env env = jsRuntime_.GetNapiEnv(); OpenFile() local 520 napi_env env = jsRuntime_.GetNapiEnv(); OpenRawFile() local 552 napi_env env = jsRuntime_.GetNapiEnv(); Insert() local 584 napi_env env = jsRuntime_.GetNapiEnv(); Update() local 623 napi_env env = jsRuntime_.GetNapiEnv(); BatchUpdate() local 667 napi_env env = jsRuntime_.GetNapiEnv(); Delete() local 701 napi_env env = jsRuntime_.GetNapiEnv(); Query() local 739 napi_env env = jsRuntime_.GetNapiEnv(); GetType() local 765 napi_env env = jsRuntime_.GetNapiEnv(); BatchInsert() local 864 napi_env env = jsRuntime_.GetNapiEnv(); NormalizeUri() local 888 napi_env env = jsRuntime_.GetNapiEnv(); DenormalizeUri() local 908 MakePredicates(napi_env env, const DataSharePredicates &predicates) MakePredicates() argument 922 UnWrapBusinessError(napi_env env, napi_value info, DatashareBusinessError& businessError) UnWrapBusinessError() argument 931 UnWrapProperty(napi_env env, napi_value info, const std::string &key) UnWrapProperty() argument 949 UnWrapPropertyType(napi_env env, napi_value info, const std::string &propertyKey) UnWrapPropertyType() argument 1013 MakeUpdateOperation(napi_env env, const UpdateOperation &updateOperation) MakeUpdateOperation() argument 1036 MakeNapiColumn(napi_env env, napi_value &napiColumns, const std::vector<std::string> &columns) MakeNapiColumn() argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
H A D | js_util.cpp | 55 JSUtil::StatusMsg JSUtil::GetValue(napi_env env, napi_value in, napi_value& out) in GetValue() argument 61 JSUtil::StatusMsg JSUtil::SetValue(napi_env env, napi_value in, napi_value& out) in SetValue() argument 68 JSUtil::StatusMsg JSUtil::GetValue(napi_env env, napi_value in, bool& out) in GetValue() argument 73 JSUtil::StatusMsg JSUtil::SetValue(napi_env env, const bool& in, napi_value& out) in SetValue() argument 79 JSUtil::StatusMsg JSUtil::GetValue(napi_env env, napi_value in, int32_t& out) in GetValue() argument 84 JSUtil::StatusMsg JSUtil::SetValue(napi_env env, const int32_t& in, napi_value& out) in SetValue() argument 90 GetValue(napi_env env, napi_value in, uint32_t& out) GetValue() argument 95 SetValue(napi_env env, const uint32_t& in, napi_value& out) SetValue() argument 101 GetValue(napi_env env, napi_value in, int64_t& out) GetValue() argument 106 SetValue(napi_env env, const int64_t& in, napi_value& out) SetValue() argument 112 GetValue(napi_env env, napi_value in, double& out) GetValue() argument 117 SetValue(napi_env env, const double& in, napi_value& out) SetValue() argument 123 GetValue(napi_env env, napi_value in, std::string& out) GetValue() argument 150 SetValue(napi_env env, const std::string& in, napi_value& out) SetValue() argument 156 GetValue(napi_env env, napi_value in, std::vector<std::string>& out, bool checkLength) GetValue() argument 182 SetValue(napi_env env, const std::vector<std::string>& in, napi_value& out) SetValue() argument 276 GetValue(napi_env env, napi_value in, JSUtil::KvStoreVariant& out) GetValue() argument 314 SetValue(napi_env env, const JSUtil::KvStoreVariant& in, napi_value& out) SetValue() argument 346 GetValue(napi_env env, napi_value in, JSUtil::QueryVariant& out) GetValue() argument 379 SetValue(napi_env env, const JSUtil::QueryVariant& in, napi_value& out) SetValue() argument 401 GetValue(napi_env env, napi_value in, std::vector<uint8_t>& out) GetValue() argument 419 SetValue(napi_env env, const std::vector<uint8_t>& in, napi_value& out) SetValue() argument 486 GetValue(napi_env env, napi_value in, std::vector<int32_t>& out) GetValue() argument 505 SetValue(napi_env env, const std::vector<int32_t>& in, napi_value& out) SetValue() argument 525 GetValue(napi_env env, napi_value in, std::vector<uint32_t>& out) GetValue() argument 544 SetValue(napi_env env, const std::vector<uint32_t>& in, napi_value& out) SetValue() argument 564 GetValue(napi_env env, napi_value in, std::vector<int64_t>& out) GetValue() argument 583 SetValue(napi_env env, const std::vector<int64_t>& in, napi_value& out) SetValue() argument 602 GetValue(napi_env env, napi_value in, std::vector<double>& out) GetValue() argument 642 SetValue(napi_env env, const std::vector<double>& in, napi_value& out) SetValue() argument 653 GetValue(napi_env env, napi_value in, std::map<std::string, DistributedKv::Status>& out) GetValue() argument 663 SetValue( napi_env env, const std::map<std::string, DistributedKv::Status>& in, napi_value& out) SetValue() argument 695 GetValue(napi_env env, napi_value in, DistributedKv::Entry& out, bool hasSchema) GetValue() argument 735 SetValue(napi_env env, const DistributedKv::Entry& in, napi_value& out, bool hasSchema) SetValue() argument 769 GetValue(napi_env env, napi_value in, std::list<DistributedKv::Entry>& out, bool hasSchema) GetValue() argument 793 SetValue( napi_env env, const std::list<DistributedKv::Entry>& in, napi_value& out, bool hasSchema) SetValue() argument 808 GetValue(napi_env env, napi_value jsValue, ValueObject::Type &valueObject) GetValue() argument 832 GetValue(napi_env env, napi_value jsValue, ValuesBucket &valuesBucket) GetValue() argument 855 GetValue(napi_env env, napi_value in, std::vector<DistributedKv::Entry> &out, bool hasSchema) GetValue() argument 903 SetValue( napi_env env, const std::vector<DistributedKv::Entry>& in, napi_value& out, bool hasSchema) SetValue() argument 919 GetValue(napi_env env, napi_value in, std::vector<DistributedKv::StoreId>& out) GetValue() argument 945 SetValue(napi_env env, const std::vector<DistributedKv::StoreId>& in, napi_value& out) SetValue() argument 960 GetValue(napi_env env, napi_value in, DistributedKv::ChangeNotification& out, bool hasSchema) GetValue() argument 970 SetValue( napi_env env, const DistributedKv::ChangeNotification& in, napi_value& out, bool hasSchema) SetValue() argument 1004 GetValue(napi_env env, napi_value in, DistributedKv::Options& options) GetValue() argument 1054 GetValue(napi_env env, napi_value inner, JsSchema*& out) GetValue() argument 1059 SetValue(napi_env env, const DistributedKv::Options& in, napi_value& out) SetValue() argument 1069 DefineClass(napi_env env, const std::string &spaceName, const std::string &className, const Descriptor &descriptor, napi_callback ctor) DefineClass() argument 1117 GetClass(napi_env env, const std::string &spaceName, const std::string &className) GetClass() argument 1149 NewWithRef(napi_env env, size_t argc, napi_value* argv, void** out, napi_value constructor) NewWithRef() argument 1167 Unwrap(napi_env env, napi_value in, void** out, napi_value constructor) Unwrap() argument 1180 Equals(napi_env env, napi_value value, napi_ref copy) Equals() argument 1194 GetValue(napi_env env, napi_value in, std::vector<Blob> &out) GetValue() argument 1216 GetValue(napi_env env, napi_value in, DataQuery &query) GetValue() argument 1232 GetCurrentAbilityParam(napi_env env, ContextParam ¶m) GetCurrentAbilityParam() argument 1257 GetValue(napi_env env, napi_value in, ContextParam ¶m) GetValue() argument 1297 IsNull(napi_env env, napi_value value) IsNull() argument 1307 GetInnerValue( napi_env env, napi_value in, const std::string& prop, bool optional) GetInnerValue() argument [all...] |
H A D | js_single_kv_store.cpp | 130 napi_value JsSingleKVStore::Constructor(napi_env env) in Constructor() argument 171 napi_value JsSingleKVStore::Put(napi_env env, napi_callback_info info) in Put() argument 218 Delete(napi_env env, napi_callback_info info) Delete() argument 273 OnEvent(napi_env env, napi_callback_info info) OnEvent() argument 303 OffEvent(napi_env env, napi_callback_info info) OffEvent() argument 336 PutBatch(napi_env env, napi_callback_info info) PutBatch() argument 374 DeleteBatch(napi_env env, napi_callback_info info) DeleteBatch() argument 413 StartTransaction(napi_env env, napi_callback_info info) StartTransaction() argument 434 Commit(napi_env env, napi_callback_info info) Commit() argument 456 Rollback(napi_env env, napi_callback_info info) Rollback() argument 478 EnableSync(napi_env env, napi_callback_info info) EnableSync() argument 512 SetSyncRange(napi_env env, napi_callback_info info) SetSyncRange() argument 550 Backup(napi_env env, napi_callback_info info) Backup() argument 586 Restore(napi_env env, napi_callback_info info) Restore() argument 620 DeleteBackup(napi_env env, napi_callback_info info) DeleteBackup() argument 658 OnDataChange(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OnDataChange() argument 697 OffDataChange(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OffDataChange() argument 747 OnSyncComplete(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OnSyncComplete() argument 768 OffSyncComplete(napi_env env, size_t argc, napi_value* argv, std::shared_ptr<ContextBase> ctxt) OffSyncComplete() argument 883 Get(napi_env env, napi_callback_info info) Get() argument 925 GetVariantArgs(napi_env env, size_t argc, napi_value* argv, VariantArgs& va) GetVariantArgs() argument 970 GetEntries(napi_env env, napi_callback_info info) GetEntries() argument 1010 GetResultSet(napi_env env, napi_callback_info info) GetResultSet() argument 1061 CloseResultSet(napi_env env, napi_callback_info info) CloseResultSet() argument 1100 GetResultSize(napi_env env, napi_callback_info info) GetResultSize() argument 1142 RemoveDeviceData(napi_env env, napi_callback_info info) RemoveDeviceData() argument 1222 Sync(napi_env env, napi_callback_info info) Sync() argument 1251 SetSyncParam(napi_env env, napi_callback_info info) SetSyncParam() argument 1284 GetSecurityLevel(napi_env env, napi_callback_info info) GetSecurityLevel() argument 1306 New(napi_env env, napi_callback_info info) New() argument [all...] |
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_util.cpp | 48 napi_status JSUtil::GetValue(napi_env env, napi_value in, napi_value& out) in GetValue() argument 54 napi_status JSUtil::SetValue(napi_env env, napi_value in, napi_value& out) in SetValue() argument 61 napi_status JSUtil::GetValue(napi_env env, napi_value in, bool& out) in GetValue() argument 66 napi_status JSUtil::SetValue(napi_env env, const bool& in, napi_value& out) in SetValue() argument 72 napi_status JSUtil::GetValue(napi_env env, napi_value in, int32_t& out) in GetValue() argument 77 napi_status JSUtil::SetValue(napi_env env, const int32_t& in, napi_value& out) in SetValue() argument 83 GetValue(napi_env env, napi_value in, uint32_t& out) GetValue() argument 88 SetValue(napi_env env, const uint32_t& in, napi_value& out) SetValue() argument 94 GetValue(napi_env env, napi_value in, int64_t& out) GetValue() argument 99 SetValue(napi_env env, const int64_t& in, napi_value& out) SetValue() argument 105 GetValue(napi_env env, napi_value in, double& out) GetValue() argument 110 SetValue(napi_env env, const double& in, napi_value& out) SetValue() argument 116 GetValue(napi_env env, napi_value in, std::string& out) GetValue() argument 143 SetValue(napi_env env, const std::string& in, napi_value& out) SetValue() argument 149 GetValue(napi_env env, napi_value in, std::vector<std::string>& out, bool checkLength) GetValue() argument 175 SetValue(napi_env env, const std::vector<std::string>& in, napi_value& out) SetValue() argument 269 GetValue(napi_env env, napi_value in, JSUtil::KvStoreVariant& out) GetValue() argument 307 SetValue(napi_env env, const JSUtil::KvStoreVariant& in, napi_value& out) SetValue() argument 339 GetValue(napi_env env, napi_value in, JSUtil::QueryVariant& out) GetValue() argument 372 SetValue(napi_env env, const JSUtil::QueryVariant& in, napi_value& out) SetValue() argument 394 GetValue(napi_env env, napi_value in, std::vector<uint8_t>& out) GetValue() argument 412 SetValue(napi_env env, const std::vector<uint8_t>& in, napi_value& out) SetValue() argument 484 GetValue(napi_env env, napi_value in, std::vector<int32_t>& out) GetValue() argument 503 SetValue(napi_env env, const std::vector<int32_t>& in, napi_value& out) SetValue() argument 528 GetValue(napi_env env, napi_value in, std::vector<uint32_t>& out) GetValue() argument 547 SetValue(napi_env env, const std::vector<uint32_t>& in, napi_value& out) SetValue() argument 572 GetValue(napi_env env, napi_value in, std::vector<int64_t>& out) GetValue() argument 591 SetValue(napi_env env, const std::vector<int64_t>& in, napi_value& out) SetValue() argument 615 GetValue(napi_env env, napi_value in, std::vector<double>& out) GetValue() argument 655 SetValue(napi_env env, const std::vector<double>& in, napi_value& out) SetValue() argument 666 GetValue(napi_env env, napi_value in, std::map<std::string, DistributedKv::Status>& out) GetValue() argument 676 SetValue(napi_env env, const std::map<std::string, DistributedKv::Status>& in, napi_value& out) SetValue() argument 707 GetValue(napi_env env, napi_value in, DistributedKv::Entry& out, bool hasSchema) GetValue() argument 747 SetValue(napi_env env, const DistributedKv::Entry& in, napi_value& out, bool hasSchema) SetValue() argument 782 GetValue(napi_env env, napi_value in, std::list<DistributedKv::Entry>& out, bool hasSchema) GetValue() argument 806 SetValue(napi_env env, const std::list<DistributedKv::Entry>& in, napi_value& out, bool hasSchema) SetValue() argument 820 GetValue(napi_env env, napi_value jsValue, ValueObject::Type &valueObject) GetValue() argument 845 GetValue(napi_env env, napi_value in, std::vector<DistributedKv::Entry> &out, bool hasSchema) GetValue() argument 870 SetValue(napi_env env, const std::vector<DistributedKv::Entry>& in, napi_value& out, bool hasSchema) SetValue() argument 885 GetValue(napi_env env, napi_value in, std::vector<DistributedKv::StoreId>& out) GetValue() argument 911 SetValue(napi_env env, const std::vector<DistributedKv::StoreId>& in, napi_value& out) SetValue() argument 926 GetValue(napi_env env, napi_value in, DistributedKv::ChangeNotification& out, bool hasSchema) GetValue() argument 936 SetValue(napi_env env, const DistributedKv::ChangeNotification& in, napi_value& out, bool hasSchema) SetValue() argument 968 GetValue(napi_env env, napi_value in, DistributedKv::Options& options) GetValue() argument 992 GetValue(napi_env env, napi_value inner, JsSchema*& out) GetValue() argument 997 SetValue(napi_env env, const DistributedKv::Options& in, napi_value& out) SetValue() argument 1006 DefineClass(napi_env env, const std::string& name, const napi_property_descriptor* properties, size_t count, napi_callback newcb) DefineClass() argument 1046 NewWithRef(napi_env env, size_t argc, napi_value* argv, void** out, napi_value constructor) NewWithRef() argument 1064 Unwrap(napi_env env, napi_value in, void** out, napi_value constructor) Unwrap() argument 1077 Equals(napi_env env, napi_value value, napi_ref copy) Equals() argument 1091 GetValue(napi_env env, napi_value in, DataQuery &query) GetValue() argument 1107 GetCurrentAbilityParam(napi_env env, ContextParam ¶m) GetCurrentAbilityParam() argument 1138 GetValue(napi_env env, napi_value in, ContextParam ¶m) GetValue() argument 1168 GetValue(napi_env env, napi_value in, DistributedKv::UserInfo& userInfo) GetValue() argument 1175 IsNull(napi_env env, napi_value value) IsNull() argument 1185 GetInnerValue( napi_env env, napi_value in, const std::string& prop, bool optional) GetInnerValue() argument [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_store.cpp | 108 void RdbStoreProxy::Init(napi_env env, napi_value exports) in Init() argument 151 napi_value RdbStoreProxy::InnerInitialize(napi_env env, napi_callback_inf argument 179 Initialize(napi_env env, napi_callback_info info) Initialize() argument 184 InitializeV9(napi_env env, napi_callback_info info) InitializeV9() argument 189 NewInstance(napi_env env, std::shared_ptr<OHOS::NativeRdb::RdbStore> value, int version) NewInstance() argument 226 GetNativeInstance(napi_env env, napi_value self) GetNativeInstance() argument 237 ParserThis(const napi_env &env, const napi_value &self, std::shared_ptr<RdbStoreContext> context) ParserThis() argument 248 ParseTableName(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseTableName() argument 258 ParseDevice(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseDevice() argument 268 ParseTablesName(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseTablesName() argument 289 ParseSyncModeArg(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseSyncModeArg() argument 299 CheckGlobalProperty(const napi_env env, const napi_value arg, const std::string &propertyName) CheckGlobalProperty() argument 317 ParsePredicates(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParsePredicates() argument 353 ParseSrcName(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseSrcName() argument 363 ParseColumns(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseColumns() argument 376 ParseWhereClause(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseWhereClause() argument 386 ParseAlias(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseAlias() argument 396 ParsePath(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParsePath() argument 406 ParseWhereArgs(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseWhereArgs() argument 419 ParseSelectionArgs(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseSelectionArgs() argument 432 ParseSql(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseSql() argument 442 ParseValuesBucket(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseValuesBucket() argument 486 ParseValuesBuckets(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseValuesBuckets() argument 511 IsNapiString(napi_env env, napi_callback_info info) IsNapiString() argument 528 Insert(napi_env env, napi_callback_info info) Insert() argument 562 BatchInsert(napi_env env, napi_callback_info info) BatchInsert() argument 599 Delete(napi_env env, napi_callback_info info) Delete() argument 639 Update(napi_env env, napi_callback_info info) Update() argument 682 Query(napi_env env, napi_callback_info info) Query() argument 729 QuerySql(napi_env env, napi_callback_info info) QuerySql() argument 774 ParseBindArgs(const napi_env env, const napi_value arg, std::shared_ptr<RdbStoreContext> context) ParseBindArgs() argument 802 ExecuteSql(napi_env env, napi_callback_info info) ExecuteSql() argument 835 Count(napi_env env, napi_callback_info info) Count() argument 869 Replace(napi_env env, napi_callback_info info) Replace() argument 903 Attach(napi_env env, napi_callback_info info) Attach() argument 934 IsHoldingConnection(napi_env env, napi_callback_info info) IsHoldingConnection() argument 946 IsReadOnly(napi_env env, napi_callback_info info) IsReadOnly() argument 958 IsMemoryRdb(napi_env env, napi_callback_info info) IsMemoryRdb() argument 970 GetPath(napi_env env, napi_callback_info info) GetPath() argument 982 BeginTransaction(napi_env env, napi_callback_info info) BeginTransaction() argument 995 RollBack(napi_env env, napi_callback_info info) RollBack() argument 1007 Commit(napi_env env, napi_callback_info info) Commit() argument 1019 QueryByStep(napi_env env, napi_callback_info info) QueryByStep() argument 1055 IsInTransaction(napi_env env, napi_callback_info info) IsInTransaction() argument 1066 IsOpen(napi_env env, napi_callback_info info) IsOpen() argument 1077 GetVersion(napi_env env, napi_callback_info info) GetVersion() argument 1089 SetVersion(napi_env env, napi_callback_info info) SetVersion() argument 1106 SetDistributedTables(napi_env env, napi_callback_info info) SetDistributedTables() argument 1138 ObtainDistributedTableName(napi_env env, napi_callback_info info) ObtainDistributedTableName() argument 1175 Sync(napi_env env, napi_callback_info info) Sync() argument 1212 OnDataChangeEvent(napi_env env, size_t argc, napi_value *argv) OnDataChangeEvent() argument 1253 OffDataChangeEvent(napi_env env, size_t argc, napi_value *argv) OffDataChangeEvent() argument 1293 OnEvent(napi_env env, napi_callback_info info) OnEvent() argument 1317 OffEvent(napi_env env, napi_callback_info info) OffEvent() argument [all...] |