Home
last modified time | relevance | path

Searched refs:isDisallow (Results 1 - 9 of 9) sorted by relevance

/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Ddisable_microphone_plugin.cpp39 ErrCode DisableMicrophonePlugin::OnSetPolicy(bool &isDisallow) in OnSetPolicy() argument
41 EDMLOGI("DisableMicrophonePlugin OnSetPolicy...isDisallow = %{public}d", isDisallow); in OnSetPolicy()
49 ->SetMicrophoneMutePersistent(isDisallow, OHOS::AudioStandard::PolicyType::EDM_POLICY_TYPE); in OnSetPolicy()
50 if (ret == AUDIO_SET_MICROPHONE_MUTE_SUCCESS || (!isDisallow && ret == ERR_PRIVACY_POLICY_CHECK_FAILED)) { in OnSetPolicy()
51 std::string disableStr = isDisallow ? "true" : "false"; in OnSetPolicy()
H A Dfingerprint_auth_plugin.cpp122 bool isDisallow = false; in OnGetPolicy() local
124 isDisallow = policy.globalDisallow; in OnGetPolicy()
128 isDisallow = (it != policy.accountIds.end()); in OnGetPolicy()
131 reply.WriteBool(isDisallow); in OnGetPolicy()
132 EDMLOGI("FingerprintAuthPlugin OnGetPolicy result %{public}d", isDisallow); in OnGetPolicy()
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/
H A Ddisable_microphone_plugin_test.cpp56 bool isDisallow = true; in HWTEST_F() local
58 ErrCode ret = plugin.OnSetPolicy(isDisallow); in HWTEST_F()
70 bool isDisallow = false; in HWTEST_F() local
72 ErrCode ret = plugin.OnSetPolicy(isDisallow); in HWTEST_F()
/base/customization/enterprise_device_management/interfaces/inner_api/account_manager/include/
H A Daccount_manager_proxy.h31 int32_t DisallowAddLocalAccount(AppExecFwk::ElementName &admin, bool isDisallow);
33 int32_t DisallowAddOsAccountByUser(AppExecFwk::ElementName &admin, int32_t userId, bool isDisallow);
/base/customization/enterprise_device_management/interfaces/inner_api/account_manager/src/
H A Daccount_manager_proxy.cpp46 int32_t AccountManagerProxy::DisallowAddLocalAccount(AppExecFwk::ElementName &admin, bool isDisallow) in DisallowAddLocalAccount() argument
51 return proxy->SetPolicyDisabled(admin, isDisallow, EdmInterfaceCode::DISALLOW_ADD_LOCAL_ACCOUNT); in DisallowAddLocalAccount()
70 int32_t AccountManagerProxy::DisallowAddOsAccountByUser(AppExecFwk::ElementName &admin, int32_t userId, bool isDisallow) in DisallowAddOsAccountByUser() argument
83 std::vector<std::string> value {isDisallow ? "true" : "false"}; in DisallowAddOsAccountByUser()
/base/customization/enterprise_device_management/services/edm_plugin/include/
H A Ddisable_microphone_plugin.h27 ErrCode OnSetPolicy(bool &isDisallow);
/base/customization/enterprise_device_management/interfaces/kits/account_manager/include/
H A Daccount_manager_addon.h36 bool isDisallow; member
/base/customization/enterprise_device_management/interfaces/kits/account_manager/src/
H A Daccount_manager_addon.cpp67 ret = ParseBool(env, asyncCallbackInfo->isDisallow, argv[ARR_INDEX_ONE]); in DisallowAddLocalAccount()
68 ASSERT_AND_THROW_PARAM_ERROR(env, ret, "isDisallow param error"); in DisallowAddLocalAccount()
199 asyncCallbackInfo->isDisallow); in NativeDisallowAddLocalAccount()
/base/customization/enterprise_device_management/interfaces/kits/restrictions/src/
H A Drestrictions_addon.cpp318 bool isDisallow = false; in SetPolicyDisabledSync() local
319 ASSERT_AND_THROW_PARAM_ERROR(env, ParseBool(env, isDisallow, argv[ARR_INDEX_ONE]), "bool name param error"); in SetPolicyDisabledSync()
323 ErrCode ret = RestrictionsProxy::GetRestrictionsProxy()->SetDisallowedPolicy(elementName, isDisallow, policyCode, in SetPolicyDisabledSync()

Completed in 5 milliseconds