Home
last modified time | relevance | path

Searched refs:hasUserId (Results 1 – 20 of 20) sorted by relevance

/base/customization/enterprise_device_management/interfaces/kits/application_manager/src/
Dapplication_manager_addon.cpp43 bool hasUserId = false; in GetDisallowedRunningBundles() local
50 …_AND_THROW_PARAM_ERROR(env, CheckAdminWithUserIdParamType(env, argc, argv, hasCallback, hasUserId), in GetDisallowedRunningBundles()
59 if (hasUserId) { in GetDisallowedRunningBundles()
126 napi_value* argv, bool &hasCallback, bool &hasUserId) in CheckAddDisallowedRunningBundlesParamType() argument
136 hasUserId = false; in CheckAddDisallowedRunningBundlesParamType()
144 hasUserId = false; in CheckAddDisallowedRunningBundlesParamType()
149 hasUserId = true; in CheckAddDisallowedRunningBundlesParamType()
155 hasUserId = true; in CheckAddDisallowedRunningBundlesParamType()
169 bool hasUserId = false; in AddOrRemovellowedRunningBundles() local
178 …CheckAddDisallowedRunningBundlesParamType(env, argc, argv, hasCallback, hasUserId), "Parameter typ… in AddOrRemovellowedRunningBundles()
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Ddisturb_mode.h26 bool hasUserId = false; member
32 bool hasUserId = false; member
Denable_notification.h32 bool hasUserId = false; member
Dremove.h36 bool hasUserId = false; member
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/
Dbundle_manager_addon.cpp318 bool hasUserId = false; in GetAllowedOrDisallowedInstallBundles() local
325 …_AND_THROW_PARAM_ERROR(env, CheckAdminWithUserIdParamType(env, argc, argv, hasCallback, hasUserId), in GetAllowedOrDisallowedInstallBundles()
333 if (hasUserId) { in GetAllowedOrDisallowedInstallBundles()
413 bool &hasUserId) in CheckAddInstallBundlesParamType() argument
423 hasUserId = false; in CheckAddInstallBundlesParamType()
431 hasUserId = false; in CheckAddInstallBundlesParamType()
436 hasUserId = true; in CheckAddInstallBundlesParamType()
442 hasUserId = true; in CheckAddInstallBundlesParamType()
456 bool hasUserId = false; in AddOrRemoveInstallBundles() local
464 …ND_THROW_PARAM_ERROR(env, CheckAddInstallBundlesParamType(env, argc, argv, hasCallback, hasUserId), in AddOrRemoveInstallBundles()
[all …]
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/src/
Dadmin_manager_addon.cpp36 bool hasUserId = false; in EnableAdmin() local
44 …SERT_AND_THROW_PARAM_ERROR(env, CheckEnableAdminParamType(env, argc, argv, hasCallback, hasUserId), in EnableAdmin()
58 if (hasUserId) { in EnableAdmin()
102 bool &hasUserId) in CheckEnableAdminParamType() argument
107 hasUserId = false; in CheckEnableAdminParamType()
117 hasUserId = false; in CheckEnableAdminParamType()
124 hasUserId = true; in CheckEnableAdminParamType()
133 hasUserId = true; in CheckEnableAdminParamType()
152 bool hasUserId = false; in DisableAdmin() local
159 …_AND_THROW_PARAM_ERROR(env, CheckAdminWithUserIdParamType(env, argc, argv, hasCallback, hasUserId), in DisableAdmin()
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_disturb_mode.cpp48 if (asynccallbackinfo->params.hasUserId) { in NapiSetDoNotDisturbDate()
58 asynccallbackinfo->params.hasUserId); in NapiSetDoNotDisturbDate()
152 if (asynccallbackinfo->params.hasUserId) { in NapiGetDoNotDisturbDate()
162 asynccallbackinfo->params.hasUserId); in NapiGetDoNotDisturbDate()
Dnapi_enable_notification.cpp156 } else if (asynccallbackinfo->params.hasUserId) { in NapiIsNotificationEnabled()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Ddisturb_mode.cpp121 params.hasUserId = true; in ParseParameters()
166 if (asynccallbackinfo->params.hasUserId) { in SetDoNotDisturbDate()
176 asynccallbackinfo->params.hasUserId); in SetDoNotDisturbDate()
257 params.hasUserId = true; in ParseParameters()
305 if (asynccallbackinfo->params.hasUserId) { in GetDoNotDisturbDate()
315 asynccallbackinfo->params.hasUserId); in GetDoNotDisturbDate()
Denable_notification.cpp102 params.hasUserId = true; in ParseParameters()
253 } else if (asynccallbackinfo->params.hasUserId) { in IsNotificationEnabled()
Dremove.cpp187 params.hasUserId = true; in ParseParametersByRemoveAll()
361 } else if (asynccallbackinfo->params.hasUserId) { in RemoveAll()
/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/services/edm/src/
Denterprise_device_mgr_stub.cpp86 int32_t hasUserId; in OnRemoteRequest() local
88 data.ReadInt32(hasUserId); in OnRemoteRequest()
89 if (hasUserId == 1) { in OnRemoteRequest()
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_common.cpp597 …ithUserIdParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback, bool &hasUserId) in CheckAdminWithUserIdParamType() argument
606 hasUserId = false; in CheckAdminWithUserIdParamType()
614 hasUserId = false; in CheckAdminWithUserIdParamType()
619 hasUserId = true; in CheckAdminWithUserIdParamType()
625 hasUserId = true; in CheckAdminWithUserIdParamType()
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/include/
Dbundle_manager_addon.h84 bool &hasUserId);
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/include/
Dadmin_manager_addon.h117 bool &hasUserId);
/base/customization/enterprise_device_management/interfaces/kits/common/include/
Dnapi_edm_common.h96 …thUserIdParamType(napi_env env, size_t argc, napi_value* argv, bool &hasCallback, bool &hasUserId);
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/
Dnapi_remove.cpp124 } else if (asynccallbackinfo->params.hasUserId) { in NapiRemoveAll()
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
Dcommon_event.cpp2859 bool hasUserId = false; in GetUserIdByCreateSubscriber() local
2865 NAPI_CALL(env, napi_has_named_property(env, argv, "userId", &hasUserId)); in GetUserIdByCreateSubscriber()
2866 if (hasUserId) { in GetUserIdByCreateSubscriber()
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
Dnapi_common_event.cpp3420 bool hasUserId = false; in GetUserIdByCreateSubscriber() local
3426 NAPI_CALL(env, napi_has_named_property(env, argv, "userId", &hasUserId)); in GetUserIdByCreateSubscriber()
3427 if (hasUserId) { in GetUserIdByCreateSubscriber()