Home
last modified time | relevance | path

Searched defs:admin (Results 1 – 18 of 18) sorted by relevance

/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_proxy/enterprise_device_mgr_proxy_test/
Denterprise_device_mgr_stub_mock.h68 …ErrCode EnableAdmin(AppExecFwk::ElementName &admin, EntInfo &entInfo, AdminType type, int32_t user… in EnableAdmin()
73 ErrCode DisableAdmin(AppExecFwk::ElementName &admin, int32_t userId) override in DisableAdmin()
83 …ErrCode HandleDevicePolicy(uint32_t code, AppExecFwk::ElementName &admin, MessageParcel &data) ove… in HandleDevicePolicy()
88 …ErrCode GetDevicePolicy(uint32_t code, AppExecFwk::ElementName *admin, MessageParcel &reply) overr… in GetDevicePolicy()
98 ErrCode GetEnterpriseInfo(AppExecFwk::ElementName &admin, MessageParcel &reply) override in GetEnterpriseInfo()
103 ErrCode SetEnterpriseInfo(AppExecFwk::ElementName &admin, EntInfo &entInfo) override in SetEnterpriseInfo()
108 …ErrCode SubscribeManagedEvent(const AppExecFwk::ElementName &admin, const std::vector<uint32_t> &e… in SubscribeManagedEvent()
113 …ErrCode UnsubscribeManagedEvent(const AppExecFwk::ElementName &admin, const std::vector<uint32_t> … in UnsubscribeManagedEvent()
123 bool IsAdminEnabled(AppExecFwk::ElementName &admin, int32_t userId) override in IsAdminEnabled()
Denterprise_device_mgr_proxy_test.cpp73 AppExecFwk::ElementName admin; variable
91 AppExecFwk::ElementName admin; variable
109 AppExecFwk::ElementName admin; variable
127 AppExecFwk::ElementName admin; variable
145 AppExecFwk::ElementName admin; variable
163 AppExecFwk::ElementName admin; variable
182 AppExecFwk::ElementName admin; variable
324 AppExecFwk::ElementName admin; variable
341 AppExecFwk::ElementName admin; variable
558 AppExecFwk::ElementName admin; variable
[all …]
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_ability/enterprise_device_mgr_ability_test/
Denterprise_device_mgr_ability_test.cpp123 AppExecFwk::ElementName admin; variable
139 AppExecFwk::ElementName admin; variable
160 AppExecFwk::ElementName admin; variable
190 AppExecFwk::ElementName admin; variable
214 AppExecFwk::ElementName admin; variable
244 AppExecFwk::ElementName admin; variable
266 AppExecFwk::ElementName admin; variable
299 AppExecFwk::ElementName admin; variable
333 AppExecFwk::ElementName admin; variable
389 AppExecFwk::ElementName admin; variable
[all …]
/base/customization/enterprise_device_management/test/unittest/src/
Denterprise_admin_connection_test.cpp55 AppExecFwk::ElementName admin; variable
80 AppExecFwk::ElementName admin; variable
106 AppExecFwk::ElementName admin; variable
Denterprise_bundle_connection_test.cpp55 AppExecFwk::ElementName admin; variable
79 AppExecFwk::ElementName admin; variable
104 AppExecFwk::ElementName admin; variable
Dadmin_manager_test.cpp45 for (const auto &admin : userAdmin) { in TearDown() local
195 std::shared_ptr<Admin> admin; variable
250 std::shared_ptr<Admin> admin; variable
306 std::shared_ptr<Admin> admin; variable
459 std::shared_ptr<Admin> admin = std::make_shared<Admin>(); variable
484 std::shared_ptr<Admin> admin = std::make_shared<Admin>(); variable
Denterprise_device_mgr_proxy_test.cpp56 AppExecFwk::ElementName admin; variable
102 AppExecFwk::ElementName admin; variable
Ddatetime_manager_proxy_test.cpp55 AppExecFwk::ElementName admin; variable
Denterprise_device_mgr_ability_test.cpp334 AppExecFwk::ElementName admin; variable
/base/customization/enterprise_device_management/services/edm/src/
Denterprise_device_mgr_stub.cpp88 std::unique_ptr<AppExecFwk::ElementName> admin(data.ReadParcelable<AppExecFwk::ElementName>()); in EnableAdminInner() local
105 std::unique_ptr<AppExecFwk::ElementName> admin(data.ReadParcelable<AppExecFwk::ElementName>()); in DisableAdminInner() local
127 std::unique_ptr<AppExecFwk::ElementName> admin(data.ReadParcelable<AppExecFwk::ElementName>()); in HandleDevicePolicyInner() local
140 AppExecFwk::ElementName *admin = nullptr; in GetDevicePolicyInner() local
181 std::unique_ptr<AppExecFwk::ElementName> admin(data.ReadParcelable<AppExecFwk::ElementName>()); in GetEnterpriseInfoInner() local
205 std::unique_ptr<AppExecFwk::ElementName> admin(data.ReadParcelable<AppExecFwk::ElementName>()); in IsAdminEnabledInner() local
219 std::unique_ptr<AppExecFwk::ElementName> admin(data.ReadParcelable<AppExecFwk::ElementName>()); in SetEnterpriseInfoInner() local
244 std::unique_ptr<AppExecFwk::ElementName> admin(data.ReadParcelable<AppExecFwk::ElementName>()); in SubscribeManagedEventInner() local
Denterprise_device_mgr_ability.cpp311 ErrCode EnterpriseDeviceMgrAbility::VerifyEnableAdminCondition(AppExecFwk::ElementName &admin, in VerifyEnableAdminCondition()
352 ErrCode EnterpriseDeviceMgrAbility::EnableAdmin(AppExecFwk::ElementName &admin, EntInfo &entInfo, A… in EnableAdmin()
466 ErrCode EnterpriseDeviceMgrAbility::DisableAdmin(AppExecFwk::ElementName &admin, int32_t userId) in DisableAdmin()
533 std::shared_ptr<Admin> admin = adminMgr_->GetAdminByPkgName(bundleName, DEFAULT_USER_ID); in DisableSuperAdmin() local
557 std::shared_ptr<Admin> admin = adminMgr_->GetAdminByPkgName(bundleName, DEFAULT_USER_ID); in IsSuperAdmin() local
569 bool EnterpriseDeviceMgrAbility::IsAdminEnabled(AppExecFwk::ElementName &admin, int32_t userId) in IsAdminEnabled()
592 …rCode EnterpriseDeviceMgrAbility::HandleDevicePolicy(uint32_t code, AppExecFwk::ElementName &admin, in HandleDevicePolicy()
645 ErrCode EnterpriseDeviceMgrAbility::GetDevicePolicy(uint32_t code, AppExecFwk::ElementName *admin, in GetDevicePolicy()
697 ErrCode EnterpriseDeviceMgrAbility::GetEnterpriseInfo(AppExecFwk::ElementName &admin, MessageParcel… in GetEnterpriseInfo()
713 ErrCode EnterpriseDeviceMgrAbility::SetEnterpriseInfo(AppExecFwk::ElementName &admin, EntInfo &entI… in SetEnterpriseInfo()
[all …]
Dpolicy_manager.cpp86 bool PolicyManager::ParseAdminPolicy(const Json::Value &admin) in ParseAdminPolicy()
252 bool PolicyManager::GetAdminItemJsonObject(const Json::Value &admin, const std::string &adminName) in GetAdminItemJsonObject()
294 bool PolicyManager::SetAdminPolicyItemJsonValue(Json::Value &admin, const std::string &adminName, in SetAdminPolicyItemJsonValue()
325 for (auto &admin : policyRoot_["AdminPolicies"]) { in SetAdminJsonValue() local
413 bool PolicyManager::DeleteAdminPolicyItemJsonValue(Json::Value &admin, const std::string &adminName, in DeleteAdminPolicyItemJsonValue()
436 Json::Value &admin = policyRoot_["AdminPolicies"][i]; in DeleteAdminJsonValue() local
Dadmin_manager.cpp100 std::vector<std::shared_ptr<Admin>> admin; in SetAdminValue() local
241 …[](const std::shared_ptr<Admin> &admin) { return admin->adminInfo_.adminType_ == AdminType::ENT; }… in IsSuperAdminExist()
318 std::shared_ptr<Admin> &admin, int32_t userId) in SaveSubscribeEvents()
334 std::shared_ptr<Admin> &admin, int32_t userId) in RemoveSubscribeEvents()
365 void AdminManager::ReadJsonAdminType(Json::Value &admin, in ReadJsonAdminType()
/base/customization/enterprise_device_management/test/fuzztest/setenterpriseinfo_fuzzer/
Dsetenterpriseinfo_fuzzer.cpp37 AppExecFwk::ElementName admin; in FuzzSetEnterpriseInfo() local
/base/customization/enterprise_device_management/test/fuzztest/isadminenabled_fuzzer/
Disadminenabled_fuzzer.cpp38 AppExecFwk::ElementName admin; in FuzzIsAdminEnabled() local
/base/customization/enterprise_device_management/interfaces/inner_api/common/src/
Denterprise_device_mgr_proxy.cpp59 ErrCode EnterpriseDeviceMgrProxy::EnableAdmin(AppExecFwk::ElementName &admin, EntInfo &entInfo, Adm… in EnableAdmin()
88 ErrCode EnterpriseDeviceMgrProxy::DisableAdmin(AppExecFwk::ElementName &admin, int32_t userId) in DisableAdmin()
165 ErrCode EnterpriseDeviceMgrProxy::GetEnterpriseInfo(AppExecFwk::ElementName &admin, EntInfo &entInf… in GetEnterpriseInfo()
192 ErrCode EnterpriseDeviceMgrProxy::SetEnterpriseInfo(AppExecFwk::ElementName &admin, EntInfo &entInf… in SetEnterpriseInfo()
218 ErrCode EnterpriseDeviceMgrProxy::HandleManagedEvent(const AppExecFwk::ElementName &admin, in HandleManagedEvent()
269 bool EnterpriseDeviceMgrProxy::IsAdminEnabled(AppExecFwk::ElementName &admin, int32_t userId) in IsAdminEnabled()
/base/customization/enterprise_device_management/test/unittest/mock/src/
Dbundle_manager_mock.cpp34 AppExecFwk::ElementName admin = want.GetElement(); in QueryExtensionAbilityInfos() local
117 AppExecFwk::ElementName admin = want.GetElement(); in QueryExtensionAbilityInfos() local
/base/customization/enterprise_device_management/interfaces/inner_api/datetime_manager/src/
Ddatetime_manager_proxy.cpp43 int32_t DatetimeManagerProxy::SetDateTime(AppExecFwk::ElementName &admin, int64_t time) in SetDateTime()