Home
last modified time | relevance | path

Searched refs:ADMIN (Results 1 – 16 of 16) sorted by relevance

/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_manager_service_create_os_account_test.cpp93 …errCode = g_osAccountManagerService->CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcc…
99 …errCode = g_osAccountManagerService->CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcc…
Dos_account_manager_service_module_test.cpp271 …ErrCode errCode = osAccountManagerService_->CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN,
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_data_storage_test.cpp40 const OsAccountType INT_TYPE = OsAccountType::ADMIN;
Dos_account_control_file_manager_test.cpp35 const OsAccountType OS_ACCOUNT_TYPE = OsAccountType::ADMIN;
158 …EXPECT_EQ(osAccountControlManager_->GetConstraintsByType(OsAccountType::ADMIN, constraints), ERR_O…
586 ErrCode ret = osAccountControlManager->GetConstraintsByType(OsAccountType::ADMIN, constants);
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_manager_service.cpp29 {OsAccountType::ADMIN, "admin"},
103 if ((type < OsAccountType::ADMIN) || (type >= OsAccountType::END)) { in CreateOsAccount()
114 if (!isAllowedCreateAdmin && type == OsAccountType::ADMIN) { in CreateOsAccount()
138 if ((type < OsAccountType::ADMIN) || (type >= OsAccountType::END)) { in CreateOsAccountForDomain()
155 if (!isAllowedCreateAdmin && type == OsAccountType::ADMIN) { in CreateOsAccountForDomain()
Dinner_os_account_manager.cpp61 … Constants::ADMIN_LOCAL_ID, Constants::ADMIN_LOCAL_NAME, OsAccountType::ADMIN, serialNumber); in CreateBaseAdminAccount()
81 … Constants::START_USER_ID, Constants::STANDARD_LOCAL_NAME, OsAccountType::ADMIN, serialNumber); in CreateBaseStandardAccount()
83 ErrCode errCode = osAccountControl_->GetConstraintsByType(OsAccountType::ADMIN, constants); in CreateBaseStandardAccount()
Dos_account_control_file_manager.cpp112 …if (osAccountFileOperator_->GetConstraintsByType(OsAccountType::ADMIN, baseOAConstraints) != ERR_O… in BuildAndSaveBaseOAConstraintsJsonFile()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_info.h25 ADMIN = 0, enumerator
/base/account/os_account/frameworks/test/unittest/
Daccount_osaccount_proxy_mock_test.cpp87 …ErrCode errCode = OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcco…
303 OsAccountType type = OsAccountType::ADMIN;
/base/account/os_account/frameworks/osaccount/native/test/unittest/
Dos_account_info_test.cpp29 const OsAccountType INT_TYPE = OsAccountType::ADMIN;
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
Dos_account_manager_benchmark_test.cpp357 OsAccountType type = OsAccountType::ADMIN; in BENCHMARK_F()
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_info.cpp43 type_ = OsAccountType::ADMIN; in OsAccountInfo()
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/
Dgetparam.cpp429 return OHOS::AccountSA::OsAccountType::ADMIN; in GetParamOsAccountType()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp261 …ASSERT_EQ(OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAccountInfoO…
265 EXPECT_EQ(osAccountInfoOne.GetType(), OsAccountType::ADMIN);
686 OsAccountType type = OsAccountType::ADMIN;
/base/account/os_account/tools/acm/src/
Daccount_command.cpp1001 type = OsAccountType::ADMIN; in AnalyzeTypeArgument()
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account_stub.cpp572 OsAccountType type = OsAccountType::ADMIN; in ProcGetOsAccountTypeFromProcess()