/ohos5.0/foundation/multimedia/media_lite/interfaces/kits/player_lite/js/builtin/src/ |
H A D | audio_module.cpp | 46 JSIValue AudioModule::Play(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in Play() 51 JSIValue AudioModule::Pause(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in Pause() 56 JSIValue AudioModule::Stop(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in Stop() 61 JSIValue AudioModule::GetPlayState(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in GetPlayState() 99 JSIValue AudioModule::SrcGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in SrcGetter() 105 JSIValue AudioModule::SrcSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in SrcSetter() 157 JSIValue AudioModule::LoopGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in LoopGetter() 162 JSIValue AudioModule::LoopSetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in LoopSetter() 173 JSIValue AudioModule::VolumeGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in VolumeGetter() 188 JSIValue AudioModule::MutedGetter(const JSIValue thisVal, const JSIValue *args, uint8_t argsSize) in MutedGetter() [all …]
|
/ohos5.0/commonlibrary/utils_lite/js/builtin/filekit/src/ |
H A D | nativeapi_fs.cpp | 70 JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args, in ExecuteAsyncWork() 95 JSIValue thisVal = params->thisVal; in ExecuteCopyFile() local 144 JSIValue thisVal = params->thisVal; in ExecuteDeleteAccess() local 212 JSIValue thisVal = params->thisVal; in ExecuteGetFileList() local 243 JSIValue thisVal = params->thisVal; in ExecuteGetFileInfo() local 284 JSIValue thisVal = params->thisVal; in ExecuteWriteTextFile() local 350 JSIValue thisVal = params->thisVal; in ExecuteReadTextFile() local 373 JSIValue thisVal = params->thisVal; in ExecuteDirFunc() local 440 JSIValue thisVal = params->thisVal; in ExecuteReadArrayFile() local 475 JSIValue thisVal = params->thisVal; in ExecuteWriteArrayFile() local [all …]
|
/ohos5.0/base/powermgr/battery_lite/frameworks/js/builtin/src/ |
H A D | battery_module.cpp | 23 void SuccessCallBack(const JSIValue thisVal, const JSIValue args, JSIValue jsiValue) in SuccessCallBack() 44 JSIValue BatteryModule::GetBatterySOC(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in GetBatterySOC() 60 JSIValue BatteryModule::GetChargingStatus(const JSIValue thisVal, const JSIValue *args, uint8_t arg… in GetChargingStatus() 76 JSIValue BatteryModule::GetHealthStatus(const JSIValue thisVal, const JSIValue *args, uint8_t argsN… in GetHealthStatus() 92 JSIValue BatteryModule::GetPluggedType(const JSIValue thisVal, const JSIValue *args, uint8_t argsNu… in GetPluggedType() 109 JSIValue BatteryModule::GetVoltage(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in GetVoltage() 125 JSIValue BatteryModule::GetTechnology(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in GetTechnology() 141 JSIValue BatteryModule::GetTemperature(const JSIValue thisVal, const JSIValue *args, uint8_t argsNu… in GetTemperature()
|
/ohos5.0/commonlibrary/utils_lite/js/builtin/kvstorekit/src/ |
H A D | nativeapi_kv.cpp | 59 void GetDefault(const JSIValue thisVal, const JSIValue args) in GetDefault() 100 JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args, in ExecuteAsyncWork() 125 JSIValue thisVal = params->thisVal; in ExecuteGet() local 165 JSIValue thisVal = params->thisVal; in ExecuteSet() local 203 JSIValue thisVal = params->thisVal; in ExecuteDelete() local 233 JSIValue thisVal = params->thisVal; in ExecuteClear() local 263 JSIValue NativeapiKv::Get(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in Get() 268 JSIValue NativeapiKv::Set(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in Set() 273 JSIValue NativeapiKv::Delete(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in Delete() 278 JSIValue NativeapiKv::Clear(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in Clear()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | sample_module.cpp | 25 JSIValue SampleModule::TestCallFunc(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in TestCallFunc() 30 JSIValue SampleModule::TestCallback(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in TestCallback() 47 JSIValue SampleModule::TestStandardCallback(const JSIValue thisVal, const JSIValue *args, uint8_t a… in TestStandardCallback() 89 JSIValue SampleModule::TestCallbackWithArgs(const JSIValue thisVal, const JSIValue *args, uint8_t a… in TestCallbackWithArgs() 127 JSIValue SampleModule::TestStandardCallbackWithArgs(const JSIValue thisVal, const JSIValue *args, u… in TestStandardCallbackWithArgs() 155 JSIValue SampleModule::TestGeneralFunc(const JSIValue thisVal, const JSIValue *args, uint8_t argsNu… in TestGeneralFunc() 182 JSIValue SampleModule::Setter(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Setter() 194 JSIValue SampleModule::Getter(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Getter()
|
H A D | app_module.cpp | 48 JSIValue AppModule::GetInfo(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in GetInfo() 122 JSIValue AppModule::Terminate(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Terminate() 132 JSIValue AppModule::ScreenOnVisible(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in ScreenOnVisible() 158 void AppModule::OnSetActionSuccess(const JSIValue thisVal, const JSIValue *args) in OnSetActionSuccess() 168 void AppModule::OnSetActionFail(const JSIValue thisVal, const JSIValue *args) in OnSetActionFail() 181 void AppModule::OnSetActionComplete(const JSIValue thisVal, const JSIValue *args) in OnSetActionComplete() 191 void AppModule::AsyncCallFunction(const JSIValue thisVal, const JSIValue callback, const JSIValue r… in AsyncCallFunction()
|
H A D | dfx_module.cpp | 83 JSIValue DfxModule::Screenshot(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Screenshot() 118 JSIValue DfxModule::DumpDomTree(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in DumpDomTree() 153 JSIValue DfxModule::DumpDomNode(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in DumpDomTree() 223 JSIValue DfxModule::InjectEvent(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in DumpDomTree()
|
/ohos5.0/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | module_template.cpp | 38 napi_value thisVal = nullptr; in OnManagerWrapper() local 80 napi_value thisVal = nullptr; in OnceManagerWrapper() local 116 napi_value thisVal = nullptr; in OffManagerWrapper() local 168 napi_value thisVal = nullptr; in OnSharedManager() local 210 napi_value thisVal = nullptr; in OnceSharedManager() local 246 napi_value thisVal = nullptr; in OffSharedManager() local 298 napi_value thisVal = nullptr; in On() local 327 napi_value thisVal = nullptr; in Once() local 354 napi_value thisVal = nullptr; in Off() local 416 napi_value thisVal = nullptr; in NewInstanceWithManagerWrapper() local [all …]
|
/ohos5.0/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/ |
H A D | hilog_module.cpp | 142 JSIValue HilogModule::Debug(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Debug() 147 JSIValue HilogModule::Info(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Info() 152 JSIValue HilogModule::Error(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Error() 157 JSIValue HilogModule::Warn(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Warn() 162 JSIValue HilogModule::Fatal(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in Fatal() 176 JSIValue HilogModule::IsLoggable(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in IsLoggable() 215 void HilogModule::ParseNapiValue(const JSIValue thisVal, const JSIValue *element, HilogVector *par… in ParseNapiValue() 239 JSIValue HilogModule::HilogImpl(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum, int … in HilogImpl() 291 const JSIValue thisVal, const JSIValue *args, uint8_t argsNum, HilogVector *params) in HilogImplParseValue()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/net_handle_interface/src/ |
H A D | net_handle_interface.cpp | 30 [](napi_env theEnv, napi_value thisVal, GetAddressByNameContext *context) -> bool { in GetAddressesByName() 42 [](napi_env theEnv, napi_value thisVal, GetAddressByNameContext *context) -> bool { in GetAddressByName() 54 [](napi_env theEnv, napi_value thisVal, BindSocketContext *context) -> bool { in BindSocket()
|
/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/src/ |
H A D | module_template.cpp | 31 napi_value thisVal = nullptr; in On() local 59 napi_value thisVal = nullptr; in Once() local 86 napi_value thisVal = nullptr; in Off() local 124 napi_value thisVal = nullptr; in DefineClass() local 144 napi_value thisVal = nullptr; in NewInstance() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/ |
H A D | patternlock_napi.cpp | 93 napi_value thisVal = nullptr; in SideLength() local 111 napi_value thisVal = nullptr; in CircleRadius() local 129 napi_value thisVal = nullptr; in PathStrokeWidth() local 147 napi_value thisVal = nullptr; in ActiveColor() local 165 napi_value thisVal = nullptr; in SelectedColor() local 183 napi_value thisVal = nullptr; in PathColor() local 201 napi_value thisVal = nullptr; in RegularColor() local 218 napi_value thisVal = nullptr; in AutoReset() local 231 napi_value thisVal = nullptr; in OnPatternComplete() local
|
/ohos5.0/base/powermgr/powermgr_lite/interfaces/kits/battery/js/builtin/src/ |
H A D | battery_module.cpp | 22 void SuccessCallBack(const JSIValue thisVal, const JSIValue args, JSIValue jsiValue) in SuccessCallBack() 42 JSIValue BatteryModule::GetStatus(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in GetStatus()
|
/ohos5.0/commonlibrary/utils_lite/js/builtin/common/src/ |
H A D | nativeapi_common.cpp | 22 void NativeapiCommon::FailCallBack(const JSIValue thisVal, const JSIValue args, int ret) in FailCallBack() 57 void NativeapiCommon::SuccessCallBack(const JSIValue thisVal, const JSIValue args, JSIValue jsiValu… in SuccessCallBack()
|
/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/include/ |
H A D | module_template.h | 42 napi_value thisVal = nullptr; in InterfaceWithoutManager() local 75 napi_value thisVal = nullptr; in Interface() local 111 napi_value thisVal = nullptr; in InterfaceSync() local 155 napi_value thisVal = nullptr; in InterfaceWithOutAsyncWork() local
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tlssocketserver_module.cpp | 79 [](napi_env theEnv, napi_value thisVal, TLSServerSendContext *context) -> bool { in Send() 90 [](napi_env theEnv, napi_value thisVal, TLSServerCloseContext *context) -> bool { in Close() 101 [](napi_env theEnv, napi_value thisVal, ServerTLSGetRemoteAddressContext *context) -> bool { in GetRemoteAddress() 112 [](napi_env theEnv, napi_value thisVal, TLSServerGetLocalAddressContext *context) -> bool { in GetLocalAddress() 125 … [](napi_env theEnv, napi_value thisVal, ServerGetRemoteCertificateContext *context) -> bool { in GetRemoteCertificate() 136 [](napi_env theEnv, napi_value thisVal, ServerGetCipherSuitesContext *context) -> bool { in GetCipherSuites() 148 … [](napi_env theEnv, napi_value thisVal, ServerGetSignatureAlgorithmsContext *context) -> bool { in GetSignatureAlgorithms()
|
/ohos5.0/base/security/huks/interfaces/kits/liteapi/src/ |
H A D | hks_lite_api_update_finish_session.cpp | 67 static JSIValue InnerUpdateFinishSession(const JSIValue thisVal, const JSIValue *args, uint8_t args… in InnerUpdateFinishSession() 120 JSIValue HksLiteModule::updateSession(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in updateSession() 125 JSIValue HksLiteModule::finishSession(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in finishSession()
|
H A D | hks_lite_api_export_key_item.cpp | 28 JSIValue HksLiteModule::exportKeyItem(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in exportKeyItem()
|
H A D | hks_lite_api_get_key_properties.cpp | 28 JSIValue HksLiteModule::getKeyProperties(const JSIValue thisVal, const JSIValue* args, uint8_t args… in getKeyProperties()
|
H A D | hks_lite_api_has_key_item.cpp | 28 JSIValue HksLiteModule::hasKeyItem(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in hasKeyItem()
|
H A D | hks_lite_api_import_key_item.cpp | 28 JSIValue HksLiteModule::importKeyItem(const JSIValue thisVal, const JSIValue* args, uint8_t argsNum) in importKeyItem()
|
/ohos5.0/foundation/communication/netstack/utils/napi_utils/include/ |
H A D | module_template.h | 50 napi_value thisVal = nullptr; in InterfaceWithManagerWrapper() local 100 napi_value thisVal = nullptr; in InterfaceWithSharedManager() local 150 napi_value thisVal = nullptr; in InterfaceWithOutAsyncWorkWithManagerWrapper() local 199 napi_value thisVal = nullptr; in InterfaceWithOutAsyncWorkWithSharedManager() local 248 napi_value thisVal = nullptr; in Interface() local 294 napi_value thisVal = nullptr; in InterfaceWithOutAsyncWork() local
|
/ohos5.0/foundation/communication/netstack/frameworks/js/builtin/fetch/include/ |
H A D | http_async_callback.h | 40 JSIValue thisVal; variable
|
/ohos5.0/commonlibrary/utils_lite/js/builtin/deviceinfokit/src/ |
H A D | nativeapi_deviceinfo.cpp | 29 JSIValue ExecuteAsyncWork(const JSIValue thisVal, const JSIValue* args, in ExecuteAsyncWork() 54 JSIValue thisVal = params->thisVal; in ExecuteGetInfo() local 82 JSIValue NativeapiDeviceInfo::GetDeviceInfo(const JSIValue thisVal, const JSIValue* args, uint8_t a… in GetDeviceInfo()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_module/src/ |
H A D | socket_module.cpp | 185 static bool SetSocket(napi_env env, napi_value thisVal, BaseContext *context, int sock) in SetSocket() 207 static bool MakeTcpClientBindSocket(napi_env env, napi_value thisVal, BindContext *context) in MakeTcpClientBindSocket() 230 static bool MakeTcpClientConnectSocket(napi_env env, napi_value thisVal, ConnectContext *context) in MakeTcpClientConnectSocket() 257 static bool MakeTcpServerSocket(napi_env env, napi_value thisVal, TcpServerListenContext *context) in MakeTcpServerSocket() 282 static bool MakeUdpSocket(napi_env env, napi_value thisVal, BindContext *context) in MakeUdpSocket() 344 static bool MakeLocalSocketBind(napi_env env, napi_value thisVal, LocalSocketBindContext *context) in MakeLocalSocketBind() 758 [](napi_env theEnv, napi_value thisVal, TcpServerSendContext *context) -> bool { in Send() 769 [](napi_env theEnv, napi_value thisVal, TcpServerCloseContext *context) -> bool { in Close() 967 [](napi_env theEnv, napi_value thisVal, LocalSocketServerSendContext *context) -> bool { in Send() 978 [](napi_env theEnv, napi_value thisVal, LocalSocketServerCloseContext *context) -> bool { in Close() [all …]
|