/base/customization/enterprise_device_management/interfaces/kits/application_manager/src/ |
H A D | application_manager_addon.cpp | 143 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 D | notification_enable.h | 32 bool hasUserId = false; member
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | disturb_mode.h | 31 bool hasUserId = false; member 37 bool hasUserId = false; member
|
H A D | enable_notification.h | 32 bool hasUserId = false; member
|
H A D | remove.h | 36 bool hasUserId = false; member
|
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/ |
H A D | bundle_manager_addon.cpp | 337 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 D | admin_manager_addon.cpp | 38 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 D | disturb_mode.cpp | 224 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 D | enable_notification.cpp | 115 params.hasUserId = true; in ParseParameters() 262 } else if (asynccallbackinfo->params.hasUserId) { in IsNotificationEnabled()
|
H A D | remove.cpp | 192 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 D | application_manager_addon.h | 63 napi_value* argv, bool &hasCallback, bool &hasUserId);
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_disturb_mode.cpp | 49 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 D | napi_enable_notification.cpp | 155 } else if (asynccallbackinfo->params.hasUserId) { in NapiIsNotificationEnabled()
|
/base/customization/enterprise_device_management/interfaces/kits/common/src/ |
H A D | napi_edm_common.cpp | 578 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 D | enterprise_device_mgr_stub.cpp | 111 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 D | admin_manager_addon.h | 129 bool &hasUserId);
|
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/include/ |
H A D | bundle_manager_addon.h | 94 bool &hasUserId);
|
/base/customization/enterprise_device_management/interfaces/kits/common/include/ |
H A D | napi_edm_common.h | 95 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 D | napi_remove.cpp | 126 } else if (asynccallbackinfo->params.hasUserId) { in NapiRemoveAll()
|
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/ |
H A D | common_event_parse.cpp | 1111 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 D | notification_manager_impl.cpp | 334 } else if (params.hasUserId) { in IsNotificationEnabled()
|
/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/ |
H A D | common_event_parse.cpp | 1342 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()
|