Home
last modified time | relevance | path

Searched refs:hasCallback (Results 1 – 17 of 17) sorted by relevance

/base/customization/enterprise_device_management/interfaces/kits/application_manager/src/
Dapplication_manager_addon.cpp42 bool hasCallback = false; in GetDisallowedRunningBundles() local
50 …ASSERT_AND_THROW_PARAM_ERROR(env, CheckAdminWithUserIdParamType(env, argc, argv, hasCallback, hasU… in GetDisallowedRunningBundles()
65 if (hasCallback) { in GetDisallowedRunningBundles()
126 napi_value* argv, bool &hasCallback, bool &hasUserId) in CheckAddDisallowedRunningBundlesParamType() argument
135 hasCallback = false; in CheckAddDisallowedRunningBundlesParamType()
143 hasCallback = true; in CheckAddDisallowedRunningBundlesParamType()
148 hasCallback = false; in CheckAddDisallowedRunningBundlesParamType()
154 hasCallback = true; in CheckAddDisallowedRunningBundlesParamType()
168 bool hasCallback = false; in AddOrRemovellowedRunningBundles() local
178 …CheckAddDisallowedRunningBundlesParamType(env, argc, argv, hasCallback, hasUserId), "Parameter typ… in AddOrRemovellowedRunningBundles()
[all …]
/base/telephony/sms_mms/test/gtest/
Dsms_send_callback_gtest.cpp35 void SmsSendCallbackGTest::HasDeliveryCallBack(bool hasCallback) in HasDeliveryCallBack() argument
37 hasDeliveryCallback_ = hasCallback; in HasDeliveryCallBack()
Dsms_send_callback_gtest.h34 void HasDeliveryCallBack(bool hasCallback);
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/
Dbundle_manager_addon.cpp216 bool hasCallback = argc <= ARGS_SIZE_FIVE ? MatchValueType(env, argv[argc - 1], napi_function) : in CheckAndParseUninstallParamType() local
218 if (hasCallback) { in CheckAndParseUninstallParamType()
289 bool hasCallback = argc <= ARGS_SIZE_FOUR ? MatchValueType(env, argv[argc - 1], napi_function) : in CheckAndParseInstallParamType() local
291 if (hasCallback) { in CheckAndParseInstallParamType()
317 bool hasCallback = false; in GetAllowedOrDisallowedInstallBundles() local
325 …ASSERT_AND_THROW_PARAM_ERROR(env, CheckAdminWithUserIdParamType(env, argc, argv, hasCallback, hasU… in GetAllowedOrDisallowedInstallBundles()
339 if (hasCallback) { in GetAllowedOrDisallowedInstallBundles()
412 …on::CheckAddInstallBundlesParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback, in CheckAddInstallBundlesParamType() argument
422 hasCallback = false; in CheckAddInstallBundlesParamType()
430 hasCallback = true; in CheckAddInstallBundlesParamType()
[all …]
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/src/
Dadmin_manager_addon.cpp35 bool hasCallback = false; in EnableAdmin() local
44 …ASSERT_AND_THROW_PARAM_ERROR(env, CheckEnableAdminParamType(env, argc, argv, hasCallback, hasUserI… in EnableAdmin()
64 if (hasCallback) { in EnableAdmin()
101 …nManager::CheckEnableAdminParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback, in CheckEnableAdminParamType() argument
106 hasCallback = false; in CheckEnableAdminParamType()
116 hasCallback = true; in CheckEnableAdminParamType()
123 hasCallback = false; in CheckEnableAdminParamType()
132 hasCallback = true; in CheckEnableAdminParamType()
151 bool hasCallback = false; in DisableAdmin() local
159 …ASSERT_AND_THROW_PARAM_ERROR(env, CheckAdminWithUserIdParamType(env, argc, argv, hasCallback, hasU… in DisableAdmin()
[all …]
/base/telephony/sms_mms/frameworks/js/napi/include/
Ddelivery_callback.h32 DeliveryCallback(bool hasCallback, napi_env env, napi_ref thisVarRef, napi_ref callbackRef);
Dsend_callback.h33 SendCallback(bool hasCallback, napi_env env, napi_ref thisVarRef, napi_ref callbackRef);
/base/telephony/sms_mms/frameworks/js/napi/src/
Dsend_callback.cpp43 SendCallback::SendCallback(bool hasCallback, napi_env env, napi_ref thisVarRef, napi_ref callbackRe… in SendCallback() argument
44 : hasCallback_(hasCallback), env_(env), thisVarRef_(thisVarRef), callbackRef_(callbackRef) in SendCallback()
Ddelivery_callback.cpp25 DeliveryCallback::DeliveryCallback(bool hasCallback, napi_env env, napi_ref thisVarRef, napi_ref ca… in DeliveryCallback() argument
26 : hasCallback_(hasCallback), env_(env), thisVarRef_(thisVarRef), callbackRef_(callbackRef) in DeliveryCallback()
/base/customization/enterprise_device_management/interfaces/kits/usb_manager/src/
Dusb_manager_addon.cpp60 bool hasCallback = MatchValueType(env, argv[ARR_INDEX_TWO], napi_function); in SetUsbPolicy() local
61 ASSERT_AND_THROW_PARAM_ERROR(env, hasCallback, "type callback error"); in SetUsbPolicy()
/base/customization/enterprise_device_management/interfaces/kits/application_manager/include/
Dapplication_manager_addon.h56 napi_value* argv, bool &hasCallback, bool &hasUserId);
/base/customization/enterprise_device_management/interfaces/kits/restrictions/src/
Drestrictions_addon.cpp69 bool hasCallback = MatchValueType(env, argv[ARR_INDEX_TWO], napi_function); in SetPolicyDisabled() local
70 ASSERT_AND_THROW_PARAM_ERROR(env, hasCallback, "The third parameter must be function"); in SetPolicyDisabled()
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_common.cpp597 bool CheckAdminWithUserIdParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback, … in CheckAdminWithUserIdParamType() argument
605 hasCallback = false; in CheckAdminWithUserIdParamType()
613 hasCallback = true; in CheckAdminWithUserIdParamType()
618 hasCallback = false; in CheckAdminWithUserIdParamType()
624 hasCallback = true; in CheckAdminWithUserIdParamType()
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/include/
Dbundle_manager_addon.h83 …ool CheckAddInstallBundlesParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback,
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/include/
Dadmin_manager_addon.h116 …atic bool CheckEnableAdminParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback,
/base/customization/enterprise_device_management/interfaces/kits/common/include/
Dnapi_edm_common.h96 bool CheckAdminWithUserIdParamType(napi_env env, size_t argc, napi_value* argv, bool &hasCallback, …
/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/
Dnetwork_manager_addon.cpp566 bool hasCallback = MatchValueType(env, argv[ARGS_SIZE_TWO], napi_function); in SetGlobalHttpProxy() local
567 ASSERT_AND_THROW_PARAM_ERROR(env, hasCallback, "parameter callback error"); in SetGlobalHttpProxy()