/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/ |
H A D | os_account_manager_benchmark_test.cpp | 42 const std::int32_t LOCAL_ID = 100; member 68 EXPECT_EQ(OsAccountManager::SetOsAccountName(LOCAL_ID, STRING_NAME), ERR_OK); in BENCHMARK_F() 108 EXPECT_EQ(OsAccountManager::IsOsAccountActived(LOCAL_ID, isOsAccountActived), ERR_OK); in BENCHMARK_F() 129 EXPECT_EQ(OsAccountManager::IsOsAccountConstraintEnable(LOCAL_ID, "constraint.wifi.set", in BENCHMARK_F() 151 EXPECT_EQ(OsAccountManager::IsOsAccountVerified(LOCAL_ID, isVerified), ERR_OK); in BENCHMARK_F() 190 EXPECT_EQ(OsAccountManager::SetOsAccountConstraints(LOCAL_ID, CONSTANTS_VECTOR, true), ERR_OK); in BENCHMARK_F() 274 EXPECT_EQ(OsAccountManager::GetOsAccountAllConstraints(LOCAL_ID, constraints), ERR_OK); in BENCHMARK_F() 317 EXPECT_EQ(OsAccountManager::QueryOsAccountById(LOCAL_ID, osAccountInfo), ERR_OK); in BENCHMARK_F() 396 EXPECT_EQ(OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, PHOTO_IMG), ERR_OK); in BENCHMARK_F() 416 EXPECT_EQ(OsAccountManager::GetOsAccountProfilePhoto(LOCAL_ID, phot in BENCHMARK_F() [all...] |
/base/account/os_account/test/fuzztest/osaccount/getosaccountfromdatabase_fuzzer/ |
H A D | getosaccountfromdatabase_fuzzer.cpp | 28 const int LOCAL_ID = 100; variable 38 result = OsAccountManager::GetOsAccountFromDatabase(stroeID, LOCAL_ID, osAccountInfoOne); in GetOsAccountFromDatabaseFuzzTest()
|
/base/account/os_account/test/fuzztest/osaccount/isosaccountconstraintenable_fuzzer/ |
H A D | isosaccountconstraintenable_fuzzer.cpp | 28 const int LOCAL_ID = 100; variable 37 result = OsAccountManager::IsOsAccountConstraintEnable(LOCAL_ID, testConstraint, isEnable); in IsOsAccountConstraintEnableFuzzTest()
|
/base/account/os_account/test/fuzztest/osaccount/setosaccountprofilephoto_fuzzer/ |
H A D | setosaccountprofilephoto_fuzzer.cpp | 28 const int LOCAL_ID = 100; variable 37 result = OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, testPhotoStr); in SetOsAccountProfilePhotoFuzzTest()
|
/base/account/os_account/test/fuzztest/osaccount/setosaccountname_fuzzer/ |
H A D | setosaccountname_fuzzer.cpp | 28 const int LOCAL_ID = 100; variable 37 result = OsAccountManager::SetOsAccountName(LOCAL_ID, testName); in SetOsAccountNameFuzzTest()
|
/base/account/os_account/test/fuzztest/osaccount/setosaccountconstraints_fuzzer/ |
H A D | setosaccountconstraints_fuzzer.cpp | 28 const int LOCAL_ID = 100; variable 49 result = OsAccountManager::SetOsAccountConstraints(LOCAL_ID, CONSTANTS_VECTOR, enable); in SetOsAccountConstraintsFuzzTest()
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.h | 46 const std::int32_t LOCAL_ID = 105; variable
|
H A D | os_account_manager_module_test.cpp | 2265 ASSERT_EQ(OsAccountManager::ActivateOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F() 2267 ASSERT_EQ(OsAccountManager::RemoveOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F() 2270 ASSERT_EQ(OsAccountManager::SetOsAccountConstraints(LOCAL_ID, CONSTANTS_VECTOR, enable), in HWTEST_F() 2273 ASSERT_EQ(OsAccountManager::SetOsAccountName(LOCAL_ID, STRING_NAME), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F() 2307 OsAccountManager::QueryOsAccountById(LOCAL_ID, osAccountInfoTwo), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F() 2310 ASSERT_EQ(OsAccountManager::GetOsAccountProfilePhoto(LOCAL_ID, photo), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F() 2312 ASSERT_EQ(OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, PHOTO_IMG), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F() 2353 ASSERT_NE(OsAccountManager::ActivateOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F() 2355 ASSERT_NE(OsAccountManager::RemoveOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F() 2358 ASSERT_NE(OsAccountManager::SetOsAccountConstraints(LOCAL_ID, CONSTANTS_VECTO in HWTEST_F() [all...] |
/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_info.cpp | 25 const std::string LOCAL_ID = "localId"; member 256 {LOCAL_ID, localId_}, in ToJson() 323 jsonObject, jsonObjectEnd, LOCAL_ID, localId_, OHOS::AccountSA::JsonType::NUMBER); in FromJson()
|
/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/ |
H A D | account_mgr_inner_sdk_func_test.cpp | 58 const std::int32_t LOCAL_ID = 101;
member 628 auto ret = OhosAccountKits::GetInstance().SetOhosAccountInfoByUserId(LOCAL_ID, accountInfo, g_eventLogin);
in HWTEST_F() 698 auto ret = OhosAccountKits::GetInstance().GetOhosAccountInfoByUserId(LOCAL_ID, accountInfo);
in HWTEST_F()
|