/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_proxy/enterprise_device_mgr_proxy_test/ |
D | enterprise_device_mgr_stub_mock.h | 68 …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()
|
D | enterprise_device_mgr_proxy_test.cpp | 73 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/ |
D | enterprise_device_mgr_ability_test.cpp | 123 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/ |
D | enterprise_admin_connection_test.cpp | 55 AppExecFwk::ElementName admin; variable 80 AppExecFwk::ElementName admin; variable 106 AppExecFwk::ElementName admin; variable
|
D | enterprise_bundle_connection_test.cpp | 55 AppExecFwk::ElementName admin; variable 79 AppExecFwk::ElementName admin; variable 104 AppExecFwk::ElementName admin; variable
|
D | admin_manager_test.cpp | 45 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
|
D | enterprise_device_mgr_proxy_test.cpp | 56 AppExecFwk::ElementName admin; variable 102 AppExecFwk::ElementName admin; variable
|
D | datetime_manager_proxy_test.cpp | 55 AppExecFwk::ElementName admin; variable
|
D | enterprise_device_mgr_ability_test.cpp | 334 AppExecFwk::ElementName admin; variable
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | enterprise_device_mgr_stub.cpp | 88 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
|
D | enterprise_device_mgr_ability.cpp | 311 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 …]
|
D | policy_manager.cpp | 86 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
|
D | admin_manager.cpp | 100 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/ |
D | setenterpriseinfo_fuzzer.cpp | 37 AppExecFwk::ElementName admin; in FuzzSetEnterpriseInfo() local
|
/base/customization/enterprise_device_management/test/fuzztest/isadminenabled_fuzzer/ |
D | isadminenabled_fuzzer.cpp | 38 AppExecFwk::ElementName admin; in FuzzIsAdminEnabled() local
|
/base/customization/enterprise_device_management/interfaces/inner_api/common/src/ |
D | enterprise_device_mgr_proxy.cpp | 59 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/ |
D | bundle_manager_mock.cpp | 34 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/ |
D | datetime_manager_proxy.cpp | 43 int32_t DatetimeManagerProxy::SetDateTime(AppExecFwk::ElementName &admin, int64_t time) in SetDateTime()
|