Home
last modified time | relevance | path

Searched refs:NORMAL (Results 1 – 25 of 38) sorted by relevance

12

/base/customization/enterprise_device_management/test/unittest/src/
Dedm_permission_test.cpp46 permission1.setAdminType(AdminType::NORMAL);
48 permission2.setAdminType(AdminType::NORMAL);
62 EdmPermission permission1("ohos.permission.EDM_TEST_PERMISSION", AdminType::NORMAL);
Dadmin_manager_test.cpp95 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 …]
Denterprise_device_mgr_proxy_test.cpp62 …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/
Denterprise_device_mgr_ability_test.cpp128 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/
Dadmin_type.h22 NORMAL = 0, enumerator
/base/powermgr/thermal_manager/interfaces/innerkits/native/include/
Dthermal_level_info.h33 NORMAL, enumerator
/base/powermgr/thermal_manager/interfaces/kits/js/
D@ohos.thermal.d.ts41 NORMAL = 1, enumerator
/base/customization/enterprise_device_management/services/edm/src/
Dadmin.cpp33 return AdminType::NORMAL; in GetAdminType()
Dadmin_manager.cpp106 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()
Denterprise_device_mgr_ability.cpp193 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/
Dos_account_manager_module_test.cpp278 …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/
Dpermission_manager.h35 { "ohos.permission.EDM_TEST_PERMISSION", AdminType::NORMAL },
/base/security/access_token/interfaces/innerkits/nativetoken/include/
Dnativetoken.h58 #define NORMAL 1 macro
/base/account/os_account/frameworks/osaccount/core/test/unittest/
Dos_account_test.cpp339 OsAccountType type = NORMAL;
353 OsAccountType type = NORMAL;
372 OsAccountType type = NORMAL;
Dos_account_mock_test.cpp80 OsAccountType type = NORMAL;
94 OsAccountType type = NORMAL;
/base/update/updater/services/include/fs_manager/
Dpartitions.h53 NORMAL, enumerator
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_info.h26 NORMAL, enumerator
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_inner_account_mgr_cov.cpp299 …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/
Ddomain_account_client_module_test.cpp285 …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/
Denterprise_device_mgr_proxy_test.cpp80 …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/
Dos_account_manager_service_module_test.cpp1063 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/
Daccount_command_dump_test.cpp270 …EXPECT_EQ(ERR_OK, OsAccount::GetInstance().CreateOsAccount(TOOL_NAME, OsAccountType::NORMAL, osAcc…
Daccount_command_switch_test.cpp250 …EXPECT_EQ(ERR_OK, OsAccount::GetInstance().CreateOsAccount(TOOL_NAME, OsAccountType::NORMAL, osAcc…
Daccount_command_delete_test.cpp272 …EXPECT_EQ(ERR_OK, OsAccount::GetInstance().CreateOsAccount(TOOL_NAME, OsAccountType::NORMAL, osAcc…
/base/customization/enterprise_device_management/tools/edm/src/
Dedm_command.cpp105 return RunAsEnableCommand(AdminType::NORMAL); in RunAsEnableAdminCommand()

12