Home
last modified time | relevance | path

Searched refs:hasUserId (Results 1 - 22 of 22) sorted by relevance

/base/customization/enterprise_device_management/interfaces/kits/application_manager/src/
H A Dapplication_manager_addon.cpp143 bool hasUserId = false; in GetDisallowedRunningBundles() local
150 ASSERT_AND_THROW_PARAM_ERROR(env, CheckAdminWithUserIdParamType(env, argc, argv, hasCallback, hasUserId), in GetDisallowedRunningBundles()
159 if (hasUserId) { in GetDisallowedRunningBundles()
228 napi_value* argv, bool &hasCallback, bool &hasUserId) in CheckAddDisallowedRunningBundlesParamType()
238 hasUserId = false; in CheckAddDisallowedRunningBundlesParamType()
239 EDMLOGI("hasCallback = false; hasUserId = false;"); in CheckAddDisallowedRunningBundlesParamType()
246 hasUserId = false; in CheckAddDisallowedRunningBundlesParamType()
247 EDMLOGI("hasCallback = true; hasUserId = false;"); in CheckAddDisallowedRunningBundlesParamType()
251 hasUserId = true; in CheckAddDisallowedRunningBundlesParamType()
252 EDMLOGI("hasCallback = false; hasUserId in CheckAddDisallowedRunningBundlesParamType()
227 CheckAddDisallowedRunningBundlesParamType(napi_env env, size_t argc, napi_value* argv, bool &hasCallback, bool &hasUserId) CheckAddDisallowedRunningBundlesParamType() argument
271 bool hasUserId = false; AddOrRemovellowedRunningBundles() local
[all...]
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_enable.h32 bool hasUserId = false; member
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Ddisturb_mode.h31 bool hasUserId = false; member
37 bool hasUserId = false; member
H A Denable_notification.h32 bool hasUserId = false; member
H A Dremove.h36 bool hasUserId = false; member
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/
H A Dbundle_manager_addon.cpp337 bool hasUserId = false; in GetAllowedOrDisallowedInstallBundles() local
344 ASSERT_AND_THROW_PARAM_ERROR(env, CheckAdminWithUserIdParamType(env, argc, argv, hasCallback, hasUserId), in GetAllowedOrDisallowedInstallBundles()
352 if (hasUserId) { in GetAllowedOrDisallowedInstallBundles()
432 bool &hasUserId) in CheckAddInstallBundlesParamType()
442 hasUserId = false; in CheckAddInstallBundlesParamType()
443 EDMLOGI("hasCallback = false; hasUserId = false;"); in CheckAddInstallBundlesParamType()
450 hasUserId = false; in CheckAddInstallBundlesParamType()
451 EDMLOGI("hasCallback = true; hasUserId = false;"); in CheckAddInstallBundlesParamType()
455 hasUserId = true; in CheckAddInstallBundlesParamType()
456 EDMLOGI("hasCallback = false; hasUserId in CheckAddInstallBundlesParamType()
431 CheckAddInstallBundlesParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback, bool &hasUserId) CheckAddInstallBundlesParamType() argument
475 bool hasUserId = false; AddOrRemoveInstallBundles() local
[all...]
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/src/
H A Dadmin_manager_addon.cpp38 bool hasUserId = false; in EnableAdmin() local
46 ASSERT_AND_THROW_PARAM_ERROR(env, CheckEnableAdminParamType(env, argc, argv, hasCallback, hasUserId), in EnableAdmin()
59 if (hasUserId) { in EnableAdmin()
99 bool &hasUserId) in CheckEnableAdminParamType()
104 hasUserId = false; in CheckEnableAdminParamType()
105 EDMLOGI("hasCallback = false; hasUserId = false;"); in CheckEnableAdminParamType()
114 hasUserId = false; in CheckEnableAdminParamType()
115 EDMLOGI("hasCallback = true; hasUserId = false;"); in CheckEnableAdminParamType()
121 hasUserId = true; in CheckEnableAdminParamType()
122 EDMLOGI("hasCallback = false; hasUserId in CheckEnableAdminParamType()
98 CheckEnableAdminParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback, bool &hasUserId) CheckEnableAdminParamType() argument
149 bool hasUserId = false; DisableAdmin() local
421 bool hasUserId = false; IsAdminEnabled() local
[all...]
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Ddisturb_mode.cpp224 params.hasUserId = true; in ParseParameters()
323 if (asynccallbackinfo->params.hasUserId) { in SetDoNotDisturbDate()
331 ANS_LOGI("SetDoNotDisturbDate date=%{public}s errorCode=%{public}d, hasUserId=%{public}d", in SetDoNotDisturbDate()
333 asynccallbackinfo->params.hasUserId); in SetDoNotDisturbDate()
408 params.hasUserId = true; in ParseParameters()
458 if (asynccallbackinfo->params.hasUserId) { in GetDoNotDisturbDate()
466 ANS_LOGI("GetDoNotDisturbDate errorCode=%{public}d date=%{public}s, hasUserId=%{public}d", in GetDoNotDisturbDate()
468 asynccallbackinfo->params.hasUserId); in GetDoNotDisturbDate()
H A Denable_notification.cpp115 params.hasUserId = true; in ParseParameters()
262 } else if (asynccallbackinfo->params.hasUserId) { in IsNotificationEnabled()
H A Dremove.cpp192 params.hasUserId = true; in ParseParametersByRemoveAll()
376 } else if (asynccallbackinfo->params.hasUserId) { in RemoveAll()
377 ANS_LOGD("hasUserId is true."); in RemoveAll()
/base/customization/enterprise_device_management/interfaces/kits/application_manager/include/
H A Dapplication_manager_addon.h63 napi_value* argv, bool &hasCallback, bool &hasUserId);
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_disturb_mode.cpp49 if (asynccallbackinfo->params.hasUserId) { in NapiSetDoNotDisturbDate()
57 ANS_LOGI("date=%{public}s errorCode=%{public}d, hasUserId=%{public}d", in NapiSetDoNotDisturbDate()
59 asynccallbackinfo->params.hasUserId); in NapiSetDoNotDisturbDate()
237 if (asynccallbackinfo->params.hasUserId) { in NapiGetDoNotDisturbDate()
245 ANS_LOGI("errorCode=%{public}d date=%{public}s, hasUserId=%{public}d", in NapiGetDoNotDisturbDate()
247 asynccallbackinfo->params.hasUserId); in NapiGetDoNotDisturbDate()
H A Dnapi_enable_notification.cpp155 } else if (asynccallbackinfo->params.hasUserId) { in NapiIsNotificationEnabled()
/base/customization/enterprise_device_management/interfaces/kits/common/src/
H A Dnapi_edm_common.cpp578 bool CheckAdminWithUserIdParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback, bool &hasUserId) in CheckAdminWithUserIdParamType() argument
587 hasUserId = false; in CheckAdminWithUserIdParamType()
588 EDMLOGI("hasCallback = false; hasUserId = false;"); in CheckAdminWithUserIdParamType()
595 hasUserId = false; in CheckAdminWithUserIdParamType()
596 EDMLOGI("hasCallback = true; hasUserId = false;"); in CheckAdminWithUserIdParamType()
600 hasUserId = true; in CheckAdminWithUserIdParamType()
601 EDMLOGI("hasCallback = false; hasUserId = true;"); in CheckAdminWithUserIdParamType()
606 hasUserId = true; in CheckAdminWithUserIdParamType()
607 EDMLOGI("hasCallback = true; hasUserId = true;"); in CheckAdminWithUserIdParamType()
/base/customization/enterprise_device_management/services/edm/src/
H A Denterprise_device_mgr_stub.cpp111 int32_t hasUserId; in OnRemoteRequest() local
113 data.ReadInt32(hasUserId); in OnRemoteRequest()
114 if (hasUserId == 1) { in OnRemoteRequest()
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/include/
H A Dadmin_manager_addon.h129 bool &hasUserId);
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/include/
H A Dbundle_manager_addon.h94 bool &hasUserId);
/base/customization/enterprise_device_management/interfaces/kits/common/include/
H A Dnapi_edm_common.h95 bool CheckAdminWithUserIdParamType(napi_env env, size_t argc, napi_value *argv, bool &hasCallback, bool &hasUserId);
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/
H A Dnapi_remove.cpp126 } else if (asynccallbackinfo->params.hasUserId) { in NapiRemoveAll()
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
H A Dcommon_event_parse.cpp1111 bool hasUserId = false; in GetUserIdByCreateSubscriber() local
1117 NAPI_CALL(env, napi_has_named_property(env, argv, "userId", &hasUserId)); in GetUserIdByCreateSubscriber()
1118 if (hasUserId) { in GetUserIdByCreateSubscriber()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_manager_impl.cpp334 } else if (params.hasUserId) { in IsNotificationEnabled()
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
H A Dcommon_event_parse.cpp1342 bool hasUserId = false; in GetUserIdByCreateSubscriber() local
1348 NAPI_CALL(env, napi_has_named_property(env, argv, "userId", &hasUserId)); in GetUserIdByCreateSubscriber()
1349 if (hasUserId) { in GetUserIdByCreateSubscriber()

Completed in 17 milliseconds