Home
last modified time | relevance | path

Searched refs:HandleAsyncWork (Results 1 – 25 of 25) sorted by relevance

/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_manager.cpp1043 return HandleAsyncWork(env, asyncContext.release(), "Dial", NativeDial, NativeDialCallBack); in Dial()
1091 …return HandleAsyncWork(env, asyncContext.release(), "DialCall", NativeDialCall, NativeVoidCallBack… in DialCall()
1112 …return HandleAsyncWork(env, asyncContext.release(), "MakeCall", NativeMakeCall, NativeVoidCallBack… in MakeCall()
1146 return HandleAsyncWork( in AnswerCall()
1204 return HandleAsyncWork( in RejectCall()
1239 return HandleAsyncWork( in HangUpCall()
1261 …return HandleAsyncWork(env, asyncContext.release(), "HoldCall", NativeHoldCall, NativeVoidCallBack… in HoldCall()
1282 return HandleAsyncWork( in UnHoldCall()
1305 return HandleAsyncWork( in SwitchCall()
1328 return HandleAsyncWork( in CombineConference()
[all …]
/base/customization/enterprise_device_management/interfaces/kits/device_settings/src/
Ddevice_settings_addon.cpp62 …napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "GetScreenOffTime", NativeGet… in GetScreenOffTime()
120 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "InstallUserCertificate", in InstallUserCertificate()
175 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "uninstallUserCertificate", in UninstallUserCertificate()
/base/customization/enterprise_device_management/interfaces/kits/datetime_manager/src/
Ddatetime_manager_addon.cpp64 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "SetDateTime", in SetDateTime()
120 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "DisallowModifyDateTime", in DisallowModifyDateTime()
180 … napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "IsModifyDateTimeDisallowed", in IsModifyDateTimeDisallowed()
/base/customization/config_policy/interfaces/kits/js/src/
Dconfig_policy_napi.cpp70 return HandleAsyncWork(env, asyncContext.release(), "NAPIGetOneCfgFile", NativeGetOneCfgFile, in NAPIGetOneCfgFile()
94 …return HandleAsyncWork(env, asyncContext.release(), "NAPIGetCfgFiles", NativeGetCfgFiles, NativeCa… in NAPIGetCfgFiles()
113 return HandleAsyncWork(env, asyncContext.release(), "NAPIGetCfgDirList", NativeGetCfgDirList, in NAPIGetCfgDirList()
142 napi_value ConfigPolicyNapi::HandleAsyncWork(napi_env env, ConfigAsyncContext *context, std::string… in HandleAsyncWork() function in OHOS::Customization::ConfigPolicy::ConfigPolicyNapi
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/src/
Dadmin_manager_addon.cpp71HandleAsyncWork(env, asyncCallbackInfo, "EnableAdmin", NativeEnableAdmin, NativeVoidCallbackComple… in EnableAdmin()
182HandleAsyncWork(env, asyncCallbackInfo, "DisableAdmin", NativeDisableAdmin, NativeVoidCallbackComp… in DisableAdmin()
229 …napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "DisableSuperAdmin", NativeDi… in DisableSuperAdmin()
282 …napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "GetEnterpriseInfo", NativeGe… in GetEnterpriseInfo()
377 …napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "SetEnterpriseInfo", NativeSe… in SetEnterpriseInfo()
424HandleAsyncWork(env, asyncCallbackInfo, "IsSuperAdmin", NativeIsSuperAdmin, NativeBoolCallbackComp… in IsSuperAdmin()
469HandleAsyncWork(env, asyncCallbackInfo, "isAdminEnabled", NativeIsAdminEnabled, NativeBoolCallback… in IsAdminEnabled()
546 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "SubscribeManagedEvent", in HandleManagedEvent()
650HandleAsyncWork(env, asyncCallbackInfo, "AuthorizeAdmin", NativeAuthorizeAdmin, NativeVoidCallback… in AuthorizeAdmin()
/base/customization/enterprise_device_management/interfaces/kits/browser/src/
Dbrowser_addon.cpp69HandleAsyncWork(env, asyncCallbackInfo, "setPolicies", NativeSetPolicies, NativeVoidCallbackComple… in SetPolicies()
119HandleAsyncWork(env, asyncCallbackInfo, "getPolicies", NativeGetPolicies, NativeStringCallbackComp… in GetPolicies()
/base/telephony/cellular_data/frameworks/js/napi/src/
Dnapi_cellular_data.cpp177 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "GetCellularDataState", in GetCellularDataState()
242 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "IsCellularDataEnabled", in IsCellularDataEnabled()
366 return NapiUtil::HandleAsyncWork( in EnableCellularData()
410 return NapiUtil::HandleAsyncWork( in DisableCellularData()
462 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "EnableCellularDataRoaming", in EnableCellularDataRoaming()
513 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "DisableCellularDataRoaming", in DisableCellularDataRoaming()
587 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "IsCellularDataRoamingEnabled", in IsCellularDataRoamingEnabled()
658 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "GetDefaultCellularDataSlotId", in GetDefaultCellularDataSlotId()
758 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "SetDefaultCellularDataSlotId", in SetDefaultCellularDataSlotId()
819 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "GetCellularDataFlowType", in GetCellularDataFlowType()
/base/customization/config_policy/interfaces/kits/js/include/
Dconfig_policy_napi.h52 … static napi_value HandleAsyncWork(napi_env env, ConfigAsyncContext *context, std::string workName,
/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/
Dnetwork_manager_addon.cpp143 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "GetAllNetworkInterface", in GetAllNetworkInterfaces()
212HandleAsyncWork(env, asyncCallbackInfo, "GetIpAddress", NativeGetIpOrMacAddress, NativeStringCallb… in GetIpOrMacAddress()
268 …napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "SetNetworkInterfaceDisabled", in SetNetworkInterfaceDisabled()
323 … napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "IsNetworkInterfaceDisabled", in IsNetworkInterfaceDisabled()
379 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "AddIptablesFilterRule", in AddIptablesFilterRule()
462 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "RemoveIptablesFilterRule", in RemoveIptablesFilterRule()
532 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "ListIptablesFilterRules", in ListIptablesFilterRules()
584HandleAsyncWork(env, asyncCallbackInfo, "setGlobalProxy", NativeSetGlobalHttpProxy, NativeVoidCall… in SetGlobalHttpProxy()
694 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "NativeGetGlobalHttpProxy", in GetGlobalHttpProxy()
/base/customization/enterprise_device_management/interfaces/kits/device_control/src/
Ddevice_control_addon.cpp59 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "ResetFactory", in ResetFactory()
/base/customization/enterprise_device_management/interfaces/kits/account_manager/src/
Daccount_manager_addon.cpp62 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "DisallowAddLocalAccount", in DisallowAddLocalAccount()
/base/customization/enterprise_device_management/interfaces/kits/application_manager/src/
Dapplication_manager_addon.cpp71 …napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "GetDisallowedRunningBundles", in GetDisallowedRunningBundles()
201 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, workName, in AddOrRemovellowedRunningBundles()
/base/customization/enterprise_device_management/interfaces/kits/restrictions/src/
Drestrictions_addon.cpp91 …napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "SetPolicyDisabled", NativeSe… in SetPolicyDisabled()
166HandleAsyncWork(env, asyncCallbackInfo, "IsPolicyDisabled", NativeIsPolicyDisabled, NativeBoolCall… in IsPolicyDisabled()
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_sms.cpp411 …NapiUtil::HandleAsyncWork(env, asyncContext, "SendShortMessage", NativeSendMessage, SendMessageCal… in SendShortMessage()
539 return NapiUtil ::HandleAsyncWork( in CreateMessage()
610 napi_value result = NapiUtil::HandleAsyncWork( in SetDefaultSmsSlotId()
680 return NapiUtil::HandleAsyncWork( in GetDefaultSmsSlotId()
738 return NapiUtil::HandleAsyncWork( in GetDefaultSmsSimId()
815 …return NapiUtil::HandleAsyncWork(env, context, "SetSmscAddr", NativeSetSmscAddr, SetSmscAddrCallba… in SetSmscAddr()
889 …return NapiUtil::HandleAsyncWork(env, context, "GetSmscAddr", NativeGetSmscAddr, GetSmscAddrCallba… in GetSmscAddr()
993 …return NapiUtil::HandleAsyncWork(env, context, "AddSimMessage", NativeAddSimMessage, AddSimMessage… in AddSimMessage()
1064 …return NapiUtil::HandleAsyncWork(env, context, "DelSimMessage", NativeDelSimMessage, DelSimMessage… in DelSimMessage()
1181 return NapiUtil::HandleAsyncWork( in UpdateSimMessage()
[all …]
Dnapi_mms.cpp713 … result = NapiUtil::HandleAsyncWork(env, context, "DecodeMms", NativeDecodeMms, DecodeMmsCallback); in DecodeMms()
1472 … result = NapiUtil::HandleAsyncWork(env, context, "EncodeMms", NativeEncodeMms, EncodeMmsCallback); in EncodeMms()
1715 …napi_value result = NapiUtil::HandleAsyncWork(env, context, "SendMms", NativeSendMms, SendMmsCallb… in SendMms()
1899 …napi_value result = NapiUtil::HandleAsyncWork(env, context, "DownloadMms", NativeDownloadMms, Down… in DownloadMms()
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/
Dbundle_manager_addon.cpp96HandleAsyncWork(env, asyncCallbackInfo, "NativeUninstall", NativeUninstall, NativeUninstallCallbac… in Uninstall()
139HandleAsyncWork(env, asyncCallbackInfo, "NativeInstall", NativeInstall, NativeVoidCallbackComplete… in Install()
348HandleAsyncWork(env, asyncCallbackInfo, workName, execute, NativeArrayStringCallbackComplete); in GetAllowedOrDisallowedInstallBundles()
492 …napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, workName, execute, NativeVoid… in AddOrRemoveInstallBundles()
/base/customization/enterprise_device_management/interfaces/kits/device_info/src/
Ddevice_info_addon.cpp82HandleAsyncWork(env, asyncCallbackInfo, "GetDeviceInfo", NativeGetDeviceInfo, NativeStringCallback… in GetDeviceInfo()
/base/telephony/core_service/frameworks/js/network_search/src/
Dnapi_radio.cpp206 return NapiUtil::HandleAsyncWork( in GetRadioTech()
298 return NapiUtil::HandleAsyncWork( in GetSignalInfoList()
540 return NapiUtil::HandleAsyncWork( in GetNetworkState()
600 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "GetNetworkSelectionMode", in GetNetworkSelectionMode()
734 return NapiUtil::HandleAsyncWork(env, asyncContext, "GetNetworkSearchInformation", in GetNetworkSearchInformation()
951 return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "SetNetworkSelectionMode", in SetNetworkSelectionMode()
1017 return NapiUtil::HandleAsyncWork( in GetISOCountryCodeForNetwork()
1145 …return NapiUtil::HandleAsyncWork(env, asyncContext.release(), "IsRadioOn", NativeIsRadioOn, IsRadi… in IsRadioOn()
1237 return NapiUtil::HandleAsyncWork( in TurnOnRadio()
1312 return NapiUtil::HandleAsyncWork( in TurnOffRadio()
[all …]
/base/customization/enterprise_device_management/interfaces/kits/usb_manager/src/
Dusb_manager_addon.cpp86HandleAsyncWork(env, asyncCallbackInfo, "SetUsbPolicy", NativeSetUsbPolicy, NativeVoidCallbackComp… in SetUsbPolicy()
/base/customization/enterprise_device_management/interfaces/kits/common/include/
Dnapi_edm_common.h89 napi_value HandleAsyncWork(napi_env env, AsyncCallbackInfo *context, const std::string &workName,
/base/telephony/core_service/frameworks/js/napi/
Dnapi_util.h54 … static napi_value HandleAsyncWork(napi_env env, BaseContext *context, const std::string &workName,
Dnapi_util.cpp257 napi_value NapiUtil::HandleAsyncWork(napi_env env, BaseContext *baseContext, const std::string &wor… in HandleAsyncWork() function in OHOS::Telephony::NapiUtil
/base/customization/enterprise_device_management/interfaces/kits/wifi_manager/src/
Dwifi_manager_addon.cpp192 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "IsWifiActive", in IsWifiActive()
230 napi_value asyncWorkReturn = HandleAsyncWork(env, asyncCallbackInfo, "SetWifiProfile", in SetWifiProfile()
/base/telephony/call_manager/frameworks/js/napi/include/
Dnapi_call_manager.h239 static napi_value HandleAsyncWork(napi_env env, AsyncContext *context, std::string workName,
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_common.cpp395 napi_value HandleAsyncWork(napi_env env, AsyncCallbackInfo *context, const std::string &workName, in HandleAsyncWork() function