/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_ability/enterprise_device_mgr_ability_test/ |
D | enterprise_device_mgr_ability_test.cpp | 125 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, 0); 141 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, 1); 164 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); 196 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); 222 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); 254 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); 276 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); 309 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::ENT, DEFAULT_USER_ID); 350 res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::ENT, DEFAULT_USER_ID); 367 res = edmMgr_->EnableAdmin(admin1, entInfo1, AdminType::NORMAL, DEFAULT_USER_ID); [all …]
|
/base/customization/enterprise_device_management/test/unittest/src/ |
D | enterprise_device_mgr_proxy_test.cpp | 60 …ErrCode errVal = enterpriseDeviceMgrProxyTest->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFA… 107 …ErrCode errVal = enterpriseDeviceMgrProxyTest->EnableAdmin(admin, entInfo, AdminType::ENT, DEFAULT…
|
D | enterprise_device_mgr_ability_test.cpp | 549 …EXPECT_TRUE(SUCCEEDED(edmMgr_->EnableAdmin(superAdmin, entInfo, AdminType::ENT, DEFAULT_USER_ID))); 605 … EXPECT_TRUE(SUCCEEDED(edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID))); 606 EXPECT_TRUE(SUCCEEDED(edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, TEST_USER_ID))); 641 …EXPECT_TRUE(SUCCEEDED(edmMgr_->EnableAdmin(superAdmin, entInfo, AdminType::ENT, DEFAULT_USER_ID))); 702 …EXPECT_TRUE(SUCCEEDED(edmMgr_->EnableAdmin(superAdmin, entInfo, AdminType::ENT, DEFAULT_USER_ID))); 779 …EXPECT_TRUE(SUCCEEDED(edmMgr_->EnableAdmin(superAdmin, entInfo, AdminType::ENT, DEFAULT_USER_ID))); 859 … ASSERT_TRUE(SUCCEEDED(edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID))); 884 EXPECT_TRUE(SUCCEEDED(edmMgr_->EnableAdmin(admin, entInfo, AdminType::ENT, DEFAULT_USER_ID))); 910 EXPECT_TRUE(SUCCEEDED(edmMgr_->EnableAdmin(admin, entInfo, AdminType::ENT, DEFAULT_USER_ID))); 936 EXPECT_TRUE(SUCCEEDED(edmMgr_->EnableAdmin(admin, entInfo, AdminType::ENT, DEFAULT_USER_ID)));
|
/base/customization/enterprise_device_management/interfaces/inner_api/common/include/ |
D | ienterprise_device_mgr.h | 35 …virtual ErrCode EnableAdmin(AppExecFwk::ElementName &admin, EntInfo &entInfo, AdminType type, int3…
|
D | enterprise_device_mgr_proxy.h | 42 …ErrCode EnableAdmin(AppExecFwk::ElementName &admin, EntInfo &entInfo, AdminType type, int32_t user…
|
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/include/ |
D | admin_manager_addon.h | 85 static napi_value EnableAdmin(napi_env env, napi_callback_info info);
|
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_proxy/enterprise_device_mgr_proxy_test/ |
D | enterprise_device_mgr_stub_mock.h | 87 …ErrCode EnableAdmin(AppExecFwk::ElementName &admin, EntInfo &entInfo, AdminType type, int32_t user… in EnableAdmin() function
|
D | enterprise_device_mgr_proxy_test.cpp | 90 …ErrCode errVal = enterpriseDeviceMgrProxyTest->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFA… 108 …ErrCode errVal = enterpriseDeviceMgrProxyTest->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFA…
|
/base/customization/enterprise_device_management/tools/edm/src/ |
D | edm_command.cpp | 127 … ErrCode result = enterpriseDeviceMgrProxy_->EnableAdmin(elementName, info, type, DEFAULT_USER_ID); in RunAsEnableCommand()
|
/base/customization/enterprise_device_management/services/edm/include/ |
D | enterprise_device_mgr_ability.h | 47 …ErrCode EnableAdmin(AppExecFwk::ElementName &admin, EntInfo &entInfo, AdminType type, int32_t user…
|
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/src/ |
D | admin_manager_addon.cpp | 27 napi_value AdminManager::EnableAdmin(napi_env env, napi_callback_info info) in EnableAdmin() function in AdminManager 97 …asyncCallbackInfo->ret = proxy->EnableAdmin(asyncCallbackInfo->elementName, asyncCallbackInfo->ent… in NativeEnableAdmin() 706 DECLARE_NAPI_FUNCTION("enableAdmin", EnableAdmin), in Init()
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | enterprise_device_mgr_stub.cpp | 127 ErrCode retCode = EnableAdmin(*admin, *entInfo, adminType, userId); in EnableAdminInner()
|
D | enterprise_device_mgr_ability.cpp | 483 ErrCode EnterpriseDeviceMgrAbility::EnableAdmin(AppExecFwk::ElementName &admin, EntInfo &entInfo, A… in EnableAdmin() function in OHOS::EDM::EnterpriseDeviceMgrAbility
|
/base/customization/enterprise_device_management/interfaces/inner_api/common/src/ |
D | enterprise_device_mgr_proxy.cpp | 65 ErrCode EnterpriseDeviceMgrProxy::EnableAdmin(AppExecFwk::ElementName &admin, EntInfo &entInfo, Adm… in EnableAdmin() function in OHOS::EDM::EnterpriseDeviceMgrProxy
|