/base/customization/enterprise_device_management/test/unittest/src/ |
D | edm_permission_test.cpp | 46 permission1.setAdminType(AdminType::NORMAL); 48 permission2.setAdminType(AdminType::NORMAL); 62 EdmPermission permission1("ohos.permission.EDM_TEST_PERMISSION", AdminType::NORMAL);
|
D | admin_manager_test.cpp | 95 res = adminMgr_->GetGrantedPermission(abilityInfo, permissions, AdminType::NORMAL); 101 res = adminMgr_->GetGrantedPermission(abilityInfo, permissions, AdminType::NORMAL); 115 res = adminMgr_->GetGrantedPermission(abilityInfo, permissions, AdminType::NORMAL); 146 …res = adminMgr_->SetAdminValue(abilityInfo, entInfo, AdminType::NORMAL, permissions, DEFAULT_USER_… 181 …res = adminMgr_->SetAdminValue(abilityInfo, entInfo, AdminType::NORMAL, permissions, DEFAULT_USER_… 222 …res = adminMgr_->SetAdminValue(abilityInfo, entInfo, AdminType::NORMAL, permissions, DEFAULT_USER_… 263 …res = adminMgr_->SetAdminValue(abilityInfo, entInfo, AdminType::NORMAL, permissions, DEFAULT_USER_… 270 …res = adminMgr_->SetAdminValue(abilityInfo, entInfo, AdminType::NORMAL, permissions, DEFAULT_USER_… 279 …res = adminMgr_->SetAdminValue(abilityInfo, entInfo, AdminType::NORMAL, permissions, DEFAULT_USER_… 286 …res = adminMgr_->SetAdminValue(abilityInfo, entInfo, AdminType::NORMAL, permissions, DEFAULT_USER_… [all …]
|
D | enterprise_device_mgr_proxy_test.cpp | 62 …ErrCode errVal = enterpriseDeviceMgrProxyTest->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFA… 82 enterpriseDeviceMgrProxyTest->GetEnabledAdmin(AdminType::NORMAL, enabledAdminList1);
|
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_ability/enterprise_device_mgr_ability_test/ |
D | enterprise_device_mgr_ability_test.cpp | 128 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, 0); 144 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, 1); 165 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); 195 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); 219 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); 249 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); 271 ErrCode res = edmMgr_->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFAULT_USER_ID); 275 edmMgr_->GetEnabledAdmin(AdminType::NORMAL, enabledAdminList); // normal admin not empty 362 res = edmMgr_->EnableAdmin(admin1, entInfo1, AdminType::NORMAL, DEFAULT_USER_ID); 500 edmMgr_->GetEnabledAdmin(AdminType::NORMAL, enabledAdminList); [all …]
|
/base/customization/enterprise_device_management/common/native/include/ |
D | admin_type.h | 22 NORMAL = 0, enumerator
|
/base/powermgr/thermal_manager/interfaces/innerkits/native/include/ |
D | thermal_level_info.h | 33 NORMAL, enumerator
|
/base/powermgr/thermal_manager/interfaces/kits/js/ |
D | @ohos.thermal.d.ts | 41 NORMAL = 1, enumerator
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | admin.cpp | 33 return AdminType::NORMAL; in GetAdminType()
|
D | admin_manager.cpp | 106 if (role == AdminType::NORMAL && it.adminType == AdminType::ENT) { in SetAdminValue() 114 if (role == AdminType::NORMAL) { in SetAdminValue() 199 if ((type == AdminType::NORMAL) && (it.adminType == AdminType::ENT)) { in GetGrantedPermission() 269 if (role >= AdminType::UNKNOWN || role < AdminType::NORMAL) { in GetEnabledAdmin() 369 if (admin["adminType"].asUInt() == AdminType::NORMAL) { in ReadJsonAdminType()
|
D | enterprise_device_mgr_ability.cpp | 193 GetEnabledAdmin(AdminType::NORMAL, enabledAdminList); in Dump() 345 if ((existAdmin->adminInfo_.adminType_ == AdminType::ENT) && (type == AdminType::NORMAL)) { in VerifyEnableAdminCondition() 479 if (adminPtr->adminInfo_.adminType_ != AdminType::NORMAL) { in DisableAdmin() 673 case AdminType::NORMAL: in GetEnabledAdmin() 674 adminMgr_->GetEnabledAdmin(AdminType::NORMAL, normalList, GetCurrentUserId()); in GetEnabledAdmin()
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
D | os_account_manager_module_test.cpp | 278 …ASSERT_EQ(OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::NORMAL, osAccountInfo… 282 EXPECT_EQ(osAccountInfoOne.GetType(), OsAccountType::NORMAL); 420 …ASSERT_EQ(OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::NORMAL, osAccountInfo… 464 …ASSERT_EQ(OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::NORMAL, osAccountInfo… 991 OsAccountType type = NORMAL; 1022 OsAccountType type = NORMAL; 1069 OsAccountType type = NORMAL; 1097 OsAccountType type = NORMAL; 1116 OsAccountType type = NORMAL; 1146 OsAccountType type = NORMAL; [all …]
|
/base/customization/enterprise_device_management/services/edm/include/ |
D | permission_manager.h | 35 { "ohos.permission.EDM_TEST_PERMISSION", AdminType::NORMAL },
|
/base/security/access_token/interfaces/innerkits/nativetoken/include/ |
D | nativetoken.h | 58 #define NORMAL 1 macro
|
/base/account/os_account/frameworks/osaccount/core/test/unittest/ |
D | os_account_test.cpp | 339 OsAccountType type = NORMAL; 353 OsAccountType type = NORMAL; 372 OsAccountType type = NORMAL;
|
D | os_account_mock_test.cpp | 80 OsAccountType type = NORMAL; 94 OsAccountType type = NORMAL;
|
/base/update/updater/services/include/fs_manager/ |
D | partitions.h | 53 NORMAL, enumerator
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
D | os_account_info.h | 26 NORMAL, enumerator
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
D | os_account_inner_account_mgr_cov.cpp | 299 …int errCode = innerMgrService_->CreateOsAccount(ACCOUNT_NAME, OsAccountType::NORMAL, osAccountInfo… 338 …int errCode = innerMgrService_->CreateOsAccount(ACCOUNT_NAME, OsAccountType::NORMAL, osAccountInfo…
|
/base/account/os_account/frameworks/domain_account/test/moduletest/src/ |
D | domain_account_client_module_test.cpp | 285 …ErrCode errCode = OsAccountManager::CreateOsAccount(STRING_NAME, OsAccountType::NORMAL, accountInf… 307 …ErrCode errCode = OsAccountManager::CreateOsAccountForDomain(OsAccountType::NORMAL, domainInfo, ac…
|
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_proxy/enterprise_device_mgr_proxy_test/ |
D | enterprise_device_mgr_proxy_test.cpp | 80 …ErrCode errVal = enterpriseDeviceMgrProxyTest->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFA… 98 …ErrCode errVal = enterpriseDeviceMgrProxyTest->EnableAdmin(admin, entInfo, AdminType::NORMAL, DEFA… 203 …ErrCode errVal = enterpriseDeviceMgrProxyTest->GetEnabledAdmin(AdminType::NORMAL, enabledAdminList… 218 …ErrCode errVal = enterpriseDeviceMgrProxyTest->GetEnabledAdmin(AdminType::NORMAL, enabledAdminList…
|
/base/account/os_account/services/accountmgr/test/moduletest/os_account/ |
D | os_account_manager_service_module_test.cpp | 1063 OsAccountType type = NORMAL; 1099 OsAccountType type = NORMAL; 1146 OsAccountType type = NORMAL; 1178 OsAccountType type = NORMAL; 1200 OsAccountType type = NORMAL; 1228 OsAccountType type = NORMAL; 1251 OsAccountType type = NORMAL; 1699 OsAccountType type = NORMAL;
|
/base/account/os_account/tools/test/unittest/acm/ |
D | account_command_dump_test.cpp | 270 …EXPECT_EQ(ERR_OK, OsAccount::GetInstance().CreateOsAccount(TOOL_NAME, OsAccountType::NORMAL, osAcc…
|
D | account_command_switch_test.cpp | 250 …EXPECT_EQ(ERR_OK, OsAccount::GetInstance().CreateOsAccount(TOOL_NAME, OsAccountType::NORMAL, osAcc…
|
D | account_command_delete_test.cpp | 272 …EXPECT_EQ(ERR_OK, OsAccount::GetInstance().CreateOsAccount(TOOL_NAME, OsAccountType::NORMAL, osAcc…
|
/base/customization/enterprise_device_management/tools/edm/src/ |
D | edm_command.cpp | 105 return RunAsEnableCommand(AdminType::NORMAL); in RunAsEnableAdminCommand()
|