Home
last modified time | relevance | path

Searched refs:disallow (Results 1 - 13 of 13) sorted by relevance

/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Ddisallow_add_os_account_by_user_plugin.cpp56 bool disallow = it -> second == "true"; in OnSetPolicy() local
57 return SetSpecificOsAccountConstraints(userId, disallow); in OnSetPolicy()
79 bool disallow = in OnGetPolicy() local
83 reply.WriteBool(disallow); in OnGetPolicy()
87 ErrCode DisallowAddOsAccountByUserPlugin::SetSpecificOsAccountConstraints(int32_t userId, bool disallow) in SetSpecificOsAccountConstraints() argument
99 "disallow: %{public}s, targetId: %{public}d, enforceId: %{public}d", in SetSpecificOsAccountConstraints()
100 disallow ? "true" : "false", userId, ids.at(0)); in SetSpecificOsAccountConstraints()
101 ErrCode ret = AccountSA::OsAccountManager::SetSpecificOsAccountConstraints(constraints, disallow, userId, in SetSpecificOsAccountConstraints()
H A Dfingerprint_auth_plugin.cpp44 bool disallow = data.ReadBool(); in OnHandlePolicy() local
47 ret = HandleFingerprintAuthPolicy(disallow, policy); in OnHandlePolicy()
50 ret = HandleFingerprintForAccountPolicy(disallow, accountId, policy); in OnHandlePolicy()
71 ErrCode FingerprintAuthPlugin::HandleFingerprintAuthPolicy(bool disallow, FingerprintPolicy &policy) in HandleFingerprintAuthPolicy() argument
73 if (disallow) { in HandleFingerprintAuthPolicy()
85 ErrCode FingerprintAuthPlugin::HandleFingerprintForAccountPolicy(bool disallow, in HandleFingerprintForAccountPolicy() argument
91 if (disallow) { in HandleFingerprintForAccountPolicy()
H A Ddisallow_modify_datetime_plugin.cpp49 bool disallow = false; in OnGetPolicy() local
50 pluginInstance_->serializer_->Deserialize(policyData, disallow); in OnGetPolicy()
52 reply.WriteBool(disallow); in OnGetPolicy()
/base/customization/enterprise_device_management/interfaces/inner_api/restrictions/include/
H A Drestrictions_proxy.h27 int32_t SetDisallowedPolicy(const AppExecFwk::ElementName &admin, bool disallow, int policyCode,
31 int32_t SetFingerprintAuthDisabled(const AppExecFwk::ElementName &admin, bool disallow);
33 int32_t SetDisallowedPolicyForAccount(const AppExecFwk::ElementName &admin, bool disallow, uint32_t policyCode,
/base/customization/enterprise_device_management/services/edm_plugin/include/
H A Dfingerprint_auth_plugin.h43 ErrCode HandleFingerprintAuthPolicy(bool disallow, FingerprintPolicy &policy);
45 ErrCode HandleFingerprintForAccountPolicy(bool disallow, int32_t accountId, FingerprintPolicy &policy);
H A Ddisallow_add_os_account_by_user_plugin.h33 ErrCode SetSpecificOsAccountConstraints(int32_t userId, bool disallow);
/base/customization/enterprise_device_management/interfaces/inner_api/restrictions/src/
H A Drestrictions_proxy.cpp39 int32_t RestrictionsProxy::SetDisallowedPolicy(const AppExecFwk::ElementName &admin, bool disallow, int policyCode, in SetDisallowedPolicy() argument
42 return EnterpriseDeviceMgrProxy::GetInstance()->SetPolicyDisabled(admin, disallow, policyCode, permissionTag); in SetDisallowedPolicy()
51 int32_t RestrictionsProxy::SetFingerprintAuthDisabled(const AppExecFwk::ElementName &admin, bool disallow) in SetFingerprintAuthDisabled() argument
62 data.WriteBool(disallow); in SetFingerprintAuthDisabled()
92 int32_t RestrictionsProxy::SetDisallowedPolicyForAccount(const AppExecFwk::ElementName &admin, bool disallow, in SetDisallowedPolicyForAccount() argument
104 data.WriteBool(disallow); in SetDisallowedPolicyForAccount()
/base/customization/enterprise_device_management/interfaces/kits/restrictions/src/
H A Drestrictions_addon.cpp244 "parameter disallow error"); in SetFingerprintAuthDisabled()
250 bool disallow = false; in SetFingerprintAuthDisabled() local
251 ASSERT_AND_THROW_PARAM_ERROR(env, ParseBool(env, disallow, argv[ARR_INDEX_ONE]), "parameter disallow parse error"); in SetFingerprintAuthDisabled()
259 ErrCode ret = proxy->SetFingerprintAuthDisabled(elementName, disallow); in SetFingerprintAuthDisabled()
288 bool disallow = false; in IsFingerprintAuthDisabled() local
291 ret = proxy->IsFingerprintAuthDisabled(&elementName, disallow); in IsFingerprintAuthDisabled()
293 ret = proxy->IsFingerprintAuthDisabled(nullptr, disallow); in IsFingerprintAuthDisabled()
300 napi_get_boolean(env, disallow, &result); in IsFingerprintAuthDisabled()
377 "parameter disallow erro in SetDisallowedPolicy()
385 bool disallow = false; SetDisallowedPolicy() local
437 bool disallow = false; GetDisallowedPolicy() local
490 bool disallow = false; SetDisallowedPolicyForAccount() local
552 bool disallow = false; GetDisallowedPolicyForAccount() local
[all...]
/base/customization/enterprise_device_management/interfaces/inner_api/datetime_manager/src/
H A Ddatetime_manager_proxy.cpp58 int32_t DatetimeManagerProxy::DisallowModifyDateTime(AppExecFwk::ElementName &admin, bool disallow) in DisallowModifyDateTime() argument
61 return EnterpriseDeviceMgrProxy::GetInstance()->SetPolicyDisabled(admin, disallow, in DisallowModifyDateTime()
/base/customization/enterprise_device_management/interfaces/inner_api/datetime_manager/include/
H A Ddatetime_manager_proxy.h31 int32_t DisallowModifyDateTime(AppExecFwk::ElementName &admin, bool disallow);
/base/customization/enterprise_device_management/interfaces/kits/datetime_manager/include/
H A Ddatetime_manager_addon.h37 bool disallow = false; member
/base/customization/enterprise_device_management/interfaces/kits/account_manager/src/
H A Daccount_manager_addon.cpp92 "parameter disallow error"); in DisallowAddOsAccountByUser()
99 bool disallow; in DisallowAddOsAccountByUser() local
100 ASSERT_AND_THROW_PARAM_ERROR(env, ParseBool(env, disallow, argv[ARR_INDEX_TWO]), "parameter disallow parse error"); in DisallowAddOsAccountByUser()
107 int32_t ret = accountManagerProxy->DisallowAddOsAccountByUser(elementName, userId, disallow); in DisallowAddOsAccountByUser()
370 "parameter disallow error"); in DisallowAddOsAccount()
374 bool disallow; in DisallowAddOsAccount() local
375 ASSERT_AND_THROW_PARAM_ERROR(env, ParseBool(env, disallow, argv[ARR_INDEX_ONE]), "parameter disallow parse error"); in DisallowAddOsAccount()
392 ret = accountManagerProxy->DisallowAddOsAccountByUser(elementName, accountId, disallow); in DisallowAddOsAccount()
[all...]
/base/customization/enterprise_device_management/interfaces/kits/datetime_manager/src/
H A Ddatetime_manager_addon.cpp113 ret = ParseBool(env, asyncCallbackInfo->disallow, argv[ARR_INDEX_ONE]); in DisallowModifyDateTime()
114 ASSERT_AND_THROW_PARAM_ERROR(env, ret, "disallow param error"); in DisallowModifyDateTime()
141 asyncCallbackInfo->disallow); in NativeDisallowModifyDateTime()

Completed in 6 milliseconds