/base/account/os_account/services/accountmgr/test/moduletest/os_account/ |
D | os_account_manager_service_create_os_account_test.cpp | 101 …errCode = g_osAccountManagerService->CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcc… 107 …errCode = g_osAccountManagerService->CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAcc…
|
D | os_account_manager_service_module_test.cpp | 212 …ErrCode errCode = osAccountManagerService_->CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN,
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
D | os_account_info.h | 25 ADMIN = 0, enumerator 139 OsAccountType type_ = OsAccountType::ADMIN;
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
D | os_account_data_storage_test.cpp | 41 const OsAccountType INT_TYPE = OsAccountType::ADMIN;
|
D | os_account_file_manager_multiple_thread_test.cpp | 34 const OsAccountType OS_ACCOUNT_TYPE = OsAccountType::ADMIN;
|
D | os_account_control_file_manager_test.cpp | 42 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/ |
D | add_os_account_plugin.cpp | 90 if (type >= static_cast<int32_t>(OHOS::AccountSA::OsAccountType::ADMIN) in ParseOsAccountType()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_manager_service.cpp | 30 {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()
|
D | inner_os_account_manager.cpp | 80 … 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()
|
D | os_account_stub.cpp | 796 OsAccountType type = OsAccountType::ADMIN; in ProcGetOsAccountTypeFromProcess()
|
D | os_account_control_file_manager.cpp | 285 …if (osAccountFileOperator_->GetConstraintsByType(OsAccountType::ADMIN, baseOAConstraints) != ERR_O… in BuildAndSaveBaseOAConstraintsJsonFile()
|
/base/account/os_account/frameworks/osaccount/native/src/ |
D | os_account_info.cpp | 350 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/ |
D | account_osaccount_proxy_mock_test.cpp | 94 …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/ |
D | add_os_account_plugin_test.cpp | 140 ASSERT_TRUE(accountInfo.GetType() == AccountSA::OsAccountType::ADMIN);
|
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/ |
D | os_account_manager_benchmark_test.cpp | 356 OsAccountType type = OsAccountType::ADMIN; in BENCHMARK_F()
|
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/ |
D | getparam.cpp | 409 return OHOS::AccountSA::OsAccountType::ADMIN; in GetParamOsAccountType()
|
/base/account/os_account/tools/acm/src/ |
D | account_command.cpp | 658 type = OsAccountType::ADMIN; in AnalyzeTypeArgument()
|
/base/customization/enterprise_device_management/interfaces/kits/account_manager/src/ |
D | account_manager_addon.cpp | 204 if (type >= static_cast<int32_t>(OHOS::AccountSA::OsAccountType::ADMIN) in CheckOsAccountType()
|
/base/account/os_account/frameworks/osaccount/native/test/unittest/ |
D | os_account_info_test.cpp | 31 const OsAccountType INT_TYPE = OsAccountType::ADMIN;
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
D | os_account_manager_module_test.cpp | 392 …ASSERT_EQ(OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::ADMIN, osAccountInfoO… 400 EXPECT_EQ(osAccountInfoOne.GetType(), OsAccountType::ADMIN); 796 OsAccountType type = OsAccountType::ADMIN;
|