/base/customization/config_policy/interfaces/kits/js/src/ |
D | config_policy_napi.cpp | 34 static constexpr int32_t NAPI_RETURN_ONE = 1; variable 68 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncContext->callbackRef_); in NAPIGetOneCfgFile() 92 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncContext->callbackRef_); in NAPIGetCfgFiles() 111 … napi_create_reference(env, argv[ARR_INDEX_ZERO], NAPI_RETURN_ONE, &asyncContext->callbackRef_); in NAPIGetCfgDirList() 133 result.reserve(size + NAPI_RETURN_ONE); in GetStringFromNAPI() 135 …if (napi_get_value_string_utf8(env, value, result.data(), (size + NAPI_RETURN_ONE), &size) != napi… in GetStringFromNAPI() 280 NAPI_CALL(env, napi_create_int32(env, NAPI_RETURN_ONE, &result)); in ParseRelPath()
|
/base/customization/enterprise_device_management/interfaces/kits/device_settings/src/ |
D | device_settings_addon.cpp | 60 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in GetScreenOffTime() 118 … napi_create_reference(env, argv[ARR_INDEX_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in InstallUserCertificate() 173 … napi_create_reference(env, argv[ARR_INDEX_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in UninstallUserCertificate()
|
/base/customization/enterprise_device_management/interfaces/kits/datetime_manager/src/ |
D | datetime_manager_addon.cpp | 61 … napi_create_reference(env, argv[ARR_INDEX_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in SetDateTime() 117 … napi_create_reference(env, argv[ARR_INDEX_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in DisallowModifyDateTime() 178 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in IsModifyDateTimeDisallowed()
|
/base/customization/enterprise_device_management/interfaces/kits/browser/src/ |
D | browser_addon.cpp | 66 … napi_create_reference(env, argv[ARGS_SIZE_THREE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in SetPolicies() 116 … napi_create_reference(env, argv[ARGS_SIZE_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in GetPolicies()
|
/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/ |
D | network_manager_addon.cpp | 141 … napi_create_reference(env, argv[ARGS_SIZE_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in GetAllNetworkInterfaces() 208 … napi_create_reference(env, argv[ARGS_SIZE_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in GetIpOrMacAddress() 266 … napi_create_reference(env, argv[ARGS_SIZE_THREE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in SetNetworkInterfaceDisabled() 321 … napi_create_reference(env, argv[ARGS_SIZE_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in IsNetworkInterfaceDisabled() 377 … napi_create_reference(env, argv[ARGS_SIZE_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in AddIptablesFilterRule() 460 … napi_create_reference(env, argv[ARGS_SIZE_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in RemoveIptablesFilterRule() 530 … napi_create_reference(env, argv[ARGS_SIZE_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in ListIptablesFilterRules() 581 … napi_create_reference(env, argv[ARGS_SIZE_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in SetGlobalHttpProxy() 692 … napi_create_reference(env, argv[ARGS_SIZE_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in GetGlobalHttpProxy()
|
/base/customization/enterprise_device_management/interfaces/kits/device_control/src/ |
D | device_control_addon.cpp | 57 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in ResetFactory()
|
/base/customization/enterprise_device_management/interfaces/kits/account_manager/src/ |
D | account_manager_addon.cpp | 59 … napi_create_reference(env, argv[ARR_INDEX_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in DisallowAddLocalAccount()
|
/base/customization/enterprise_device_management/interfaces/kits/restrictions/src/ |
D | restrictions_addon.cpp | 88 … napi_create_reference(env, argv[ARR_INDEX_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in SetPolicyDisabled() 162 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in IsPolicyDisabled()
|
/base/customization/enterprise_device_management/interfaces/kits/common/src/ |
D | napi_edm_common.cpp | 85 napi_create_reference(env, args, NAPI_RETURN_ONE, ¶m) != napi_ok) { in ParseCallback() 135 result.reserve(size + NAPI_RETURN_ONE); in GetStringFromNAPI() 137 …if (napi_get_value_string_utf8(env, value, result.data(), (size + NAPI_RETURN_ONE), &size) != napi… in GetStringFromNAPI() 161 if (napi_get_value_string_utf8(env, args, param, (size + NAPI_RETURN_ONE), &size) != napi_ok) { in ParseCharArray() 194 napi_status status = napi_create_int32(env, NAPI_RETURN_ONE, &result); in ParseStringArray()
|
/base/customization/enterprise_device_management/interfaces/kits/device_info/src/ |
D | device_info_addon.cpp | 78 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in GetDeviceInfo()
|
/base/customization/enterprise_device_management/interfaces/kits/usb_manager/src/ |
D | usb_manager_addon.cpp | 80 … napi_create_reference(env, argv[ARGS_SIZE_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in SetUsbPolicy()
|
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/src/ |
D | admin_manager_addon.cpp | 223 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in DisableSuperAdmin() 279 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in GetEnterpriseInfo() 374 … napi_create_reference(env, argv[ARR_INDEX_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in SetEnterpriseInfo() 420 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in IsSuperAdmin() 543 … napi_create_reference(env, argv[ARR_INDEX_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in HandleManagedEvent()
|
/base/customization/enterprise_device_management/interfaces/kits/common/include/ |
D | napi_edm_common.h | 61 constexpr int32_t NAPI_RETURN_ONE = 1; variable
|
/base/customization/enterprise_device_management/interfaces/kits/wifi_manager/src/ |
D | wifi_manager_addon.cpp | 190 … napi_create_reference(env, argv[ARR_INDEX_ONE], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in IsWifiActive() 228 … napi_create_reference(env, argv[ARGS_SIZE_TWO], NAPI_RETURN_ONE, &asyncCallbackInfo->callback); in SetWifiProfile()
|