Home
last modified time | relevance | path

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

/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_manager_service_create_os_account_test.cpp101 …errCode = g_osAccountManagerService->CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcc…
107 …errCode = g_osAccountManagerService->CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcc…
Dos_account_manager_service_module_test.cpp212 …ErrCode errCode = osAccountManagerService_->CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN,
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_info.h25 ADMIN = 0, enumerator
139 OsAccountType type_ = OsAccountType::ADMIN;
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_data_storage_test.cpp41 const OsAccountType INT_TYPE = OsAccountType::ADMIN;
Dos_account_file_manager_multiple_thread_test.cpp34 const OsAccountType OS_ACCOUNT_TYPE = OsAccountType::ADMIN;
Dos_account_control_file_manager_test.cpp42 const OsAccountType OS_ACCOUNT_TYPE = OsAccountType::ADMIN;
171 EXPECT_EQ(g_controlManager->GetConstraintsByType(OsAccountType::ADMIN, constraints), ERR_OK);
/base/customization/enterprise_device_management/services/edm_plugin/src/
Dadd_os_account_plugin.cpp90 if (type >= static_cast<int32_t>(OHOS::AccountSA::OsAccountType::ADMIN) in ParseOsAccountType()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_manager_service.cpp30 {OsAccountType::ADMIN, "admin"},
133 if (!isAllowedCreateAdmin && (osAccountInfo.GetType() == OsAccountType::ADMIN)) { in CreateOsAccountWithFullInfo()
154 if (!isAllowedCreateAdmin && osAccountInfo.GetType() == OsAccountType::ADMIN) { in UpdateOsAccountWithFullInfo()
173 if ((type < OsAccountType::ADMIN) || (type >= OsAccountType::END)) { in CreateOsAccountForDomain()
190 if (!isAllowedCreateAdmin && type == OsAccountType::ADMIN) { in CreateOsAccountForDomain()
Dinner_os_account_manager.cpp80 … Constants::ADMIN_LOCAL_ID, Constants::ADMIN_LOCAL_NAME, OsAccountType::ADMIN, serialNumber); in CreateBaseAdminAccount()
105 Constants::STANDARD_LOCAL_NAME, OsAccountType::ADMIN, serialNumber); in CreateBaseStandardAccount()
107 … OsAccountInfo osAccountInfo(Constants::START_USER_ID, "", OsAccountType::ADMIN, serialNumber); in CreateBaseStandardAccount()
110 ErrCode errCode = osAccountControl_->GetConstraintsByType(OsAccountType::ADMIN, constants); in CreateBaseStandardAccount()
145 while (CreateOsAccount(Constants::STANDARD_LOCAL_NAME, ADMIN, osAccountInfo) != ERR_OK) { in RetryToGetAccount()
147 while (CreateOsAccount("", ADMIN, osAccountInfo) != ERR_OK) { in RetryToGetAccount()
392 if (type < OsAccountType::ADMIN || type >= OsAccountType::END) { in RetryToGetAccount()
403 if (!isAllowedCreateAdmin && type == OsAccountType::ADMIN) { in RetryToGetAccount()
Dos_account_stub.cpp796 OsAccountType type = OsAccountType::ADMIN; in ProcGetOsAccountTypeFromProcess()
Dos_account_control_file_manager.cpp285 …if (osAccountFileOperator_->GetConstraintsByType(OsAccountType::ADMIN, baseOAConstraints) != ERR_O… in BuildAndSaveBaseOAConstraintsJsonFile()
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_info.cpp350 if ((type_ < OsAccountType::ADMIN) || (type_ >= OsAccountType::END) || in ParamCheck()
351 (localId_ == Constants::START_USER_ID && type_ != OsAccountType::ADMIN)) { in ParamCheck()
/base/account/os_account/frameworks/test/unittest/
Daccount_osaccount_proxy_mock_test.cpp94 …ErrCode errCode = OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcco…
312 OsAccountType type = OsAccountType::ADMIN;
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/
Dadd_os_account_plugin_test.cpp140 ASSERT_TRUE(accountInfo.GetType() == AccountSA::OsAccountType::ADMIN);
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
Dos_account_manager_benchmark_test.cpp356 OsAccountType type = OsAccountType::ADMIN; in BENCHMARK_F()
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/
Dgetparam.cpp409 return OHOS::AccountSA::OsAccountType::ADMIN; in GetParamOsAccountType()
/base/account/os_account/tools/acm/src/
Daccount_command.cpp658 type = OsAccountType::ADMIN; in AnalyzeTypeArgument()
/base/customization/enterprise_device_management/interfaces/kits/account_manager/src/
Daccount_manager_addon.cpp204 if (type >= static_cast<int32_t>(OHOS::AccountSA::OsAccountType::ADMIN) in CheckOsAccountType()
/base/account/os_account/frameworks/osaccount/native/test/unittest/
Dos_account_info_test.cpp31 const OsAccountType INT_TYPE = OsAccountType::ADMIN;
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp392 …ASSERT_EQ(OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAccountInfoO…
400 EXPECT_EQ(osAccountInfoOne.GetType(), OsAccountType::ADMIN);
796 OsAccountType type = OsAccountType::ADMIN;