Home
last modified time | relevance | path

Searched refs:LOCAL_ID (Results 1 – 8 of 8) sorted by relevance

/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
Dos_account_manager_benchmark_test.cpp42 const std::int32_t LOCAL_ID = 100; variable
68 EXPECT_EQ(OsAccountManager::SetOsAccountName(LOCAL_ID, STRING_NAME), ERR_OK); in BENCHMARK_F()
109 EXPECT_EQ(OsAccountManager::IsOsAccountActived(LOCAL_ID, isOsAccountActived), ERR_OK); in BENCHMARK_F()
130 EXPECT_EQ(OsAccountManager::IsOsAccountConstraintEnable(LOCAL_ID, "constraint.wifi.set", in BENCHMARK_F()
152 EXPECT_EQ(OsAccountManager::IsOsAccountVerified(LOCAL_ID, isVerified), ERR_OK); in BENCHMARK_F()
191 … EXPECT_EQ(OsAccountManager::SetOsAccountConstraints(LOCAL_ID, CONSTANTS_VECTOR, true), ERR_OK); in BENCHMARK_F()
275 EXPECT_EQ(OsAccountManager::GetOsAccountAllConstraints(LOCAL_ID, constraints), ERR_OK); in BENCHMARK_F()
318 EXPECT_EQ(OsAccountManager::QueryOsAccountById(LOCAL_ID, osAccountInfo), ERR_OK); in BENCHMARK_F()
397 EXPECT_EQ(OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, PHOTO_IMG), ERR_OK); in BENCHMARK_F()
417 EXPECT_EQ(OsAccountManager::GetOsAccountProfilePhoto(LOCAL_ID, photo), ERR_OK); in BENCHMARK_F()
[all …]
/base/account/os_account/test/fuzztest/osaccount/setosaccountprofilephoto_fuzzer/
Dsetosaccountprofilephoto_fuzzer.cpp27 const int LOCAL_ID = 100; variable
35 result = OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, testPhotoStr); in SetOsAccountProfilePhotoFuzzTest()
/base/account/os_account/test/fuzztest/osaccount/setosaccountname_fuzzer/
Dsetosaccountname_fuzzer.cpp27 const int LOCAL_ID = 100; variable
35 result = OsAccountManager::SetOsAccountName(LOCAL_ID, testName); in SetOsAccountNameFuzzTest()
/base/account/os_account/test/fuzztest/osaccount/isosaccountconstraintenable_fuzzer/
Disosaccountconstraintenable_fuzzer.cpp27 const int LOCAL_ID = 100; variable
35 … result = OsAccountManager::IsOsAccountConstraintEnable(LOCAL_ID, testConstraint, isEnable); in IsOsAccountConstraintEnableFuzzTest()
/base/account/os_account/test/fuzztest/osaccount/getosaccountfromdatabase_fuzzer/
Dgetosaccountfromdatabase_fuzzer.cpp27 const int LOCAL_ID = 100; variable
36 … result = OsAccountManager::GetOsAccountFromDatabase(stroeID, LOCAL_ID, osAccountInfoOne); in GetOsAccountFromDatabaseFuzzTest()
/base/account/os_account/test/fuzztest/osaccount/setosaccountconstraints_fuzzer/
Dsetosaccountconstraints_fuzzer.cpp27 const int LOCAL_ID = 100; variable
47 result = OsAccountManager::SetOsAccountConstraints(LOCAL_ID, CONSTANTS_VECTOR, enable); in SetOsAccountConstraintsFuzzTest()
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_info.cpp24 const std::string LOCAL_ID = "localId"; variable
213 {LOCAL_ID, localId_}, in ToJson()
253 jsonObject, jsonObjectEnd, LOCAL_ID, localId_, OHOS::AccountSA::JsonType::NUMBER); in FromJson()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp53 const std::int32_t LOCAL_ID = 105; variable
2158 … ASSERT_EQ(OsAccountManager::ActivateOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR);
2160 ASSERT_EQ(OsAccountManager::RemoveOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR);
2163 ASSERT_EQ(OsAccountManager::SetOsAccountConstraints(LOCAL_ID, CONSTANTS_VECTOR, enable),
2166 …ASSERT_EQ(OsAccountManager::SetOsAccountName(LOCAL_ID, STRING_NAME), ERR_ACCOUNT_COMMON_NOT_SYSTEM…
2202 …OsAccountManager::QueryOsAccountById(LOCAL_ID, osAccountInfoTwo), ERR_ACCOUNT_COMMON_NOT_SYSTEM_AP…
2205 …ASSERT_EQ(OsAccountManager::GetOsAccountProfilePhoto(LOCAL_ID, photo), ERR_ACCOUNT_COMMON_NOT_SYST…
2207 …ASSERT_EQ(OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, PHOTO_IMG), ERR_ACCOUNT_COMMON_NOT_…
2247 … ASSERT_NE(OsAccountManager::ActivateOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR);
2249 ASSERT_NE(OsAccountManager::RemoveOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR);
[all …]