Home
last modified time | relevance | path

Searched refs:RestrictionsProxy (Results 1 - 5 of 5) sorted by relevance

/base/customization/enterprise_device_management/interfaces/inner_api/restrictions/src/
H A Drestrictions_proxy.cpp23 std::shared_ptr<RestrictionsProxy> RestrictionsProxy::instance_ = nullptr;
24 std::mutex RestrictionsProxy::mutexLock_;
27 std::shared_ptr<RestrictionsProxy> RestrictionsProxy::GetRestrictionsProxy() in GetRestrictionsProxy()
32 std::shared_ptr<RestrictionsProxy> temp = std::make_shared<RestrictionsProxy>(); in GetRestrictionsProxy()
39 int32_t RestrictionsProxy::SetDisallowedPolicy(const AppExecFwk::ElementName &admin, bool disallow, int policyCode, in SetDisallowedPolicy()
45 int32_t RestrictionsProxy::GetDisallowedPolicy(AppExecFwk::ElementName *admin, int policyCode, bool &result, in GetDisallowedPolicy()
51 int32_t RestrictionsProxy
[all...]
/base/customization/enterprise_device_management/interfaces/inner_api/restrictions/include/
H A Drestrictions_proxy.h24 class RestrictionsProxy { class
26 static std::shared_ptr<RestrictionsProxy> GetRestrictionsProxy();
43 static std::shared_ptr<RestrictionsProxy> instance_;
/base/customization/enterprise_device_management/interfaces/kits/restrictions/src/
H A Drestrictions_addon.cpp144 asyncCallbackInfo->ret = RestrictionsProxy::GetRestrictionsProxy()->SetDisallowedPolicy( in NativeSetPolicyDisabled()
214 asyncCallbackInfo->ret = RestrictionsProxy::GetRestrictionsProxy()->GetDisallowedPolicy( in NativeIsPolicyDisabled()
218 asyncCallbackInfo->ret = RestrictionsProxy::GetRestrictionsProxy()->GetDisallowedPolicy( in NativeIsPolicyDisabled()
253 auto proxy = RestrictionsProxy::GetRestrictionsProxy(); in SetFingerprintAuthDisabled()
255 EDMLOGE("can not get RestrictionsProxy"); in SetFingerprintAuthDisabled()
282 auto proxy = RestrictionsProxy::GetRestrictionsProxy(); in IsFingerprintAuthDisabled()
284 EDMLOGE("can not get RestrictionsProxy"); in IsFingerprintAuthDisabled()
323 ErrCode ret = RestrictionsProxy::GetRestrictionsProxy()->SetDisallowedPolicy(elementName, isDisallow, policyCode, in SetPolicyDisabledSync()
349 ret = RestrictionsProxy::GetRestrictionsProxy()->GetDisallowedPolicy(&elementName, policyCode, boolRet, in IsPolicyDisabledSync()
352 ret = RestrictionsProxy in IsPolicyDisabledSync()
[all...]
/base/customization/enterprise_device_management/interfaces/kits/restrictions/include/
H A Drestrictions_addon.h60 static std::shared_ptr<RestrictionsProxy> restrictionsProxy_;
/base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/
H A Drestrictions_proxy_test.cpp40 std::shared_ptr<RestrictionsProxy> proxy_ = nullptr;
47 proxy_ = RestrictionsProxy::GetRestrictionsProxy(); in SetUp()

Completed in 5 milliseconds