/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/ |
D | os_account_manager_benchmark_test.cpp | 42 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/ |
D | setosaccountprofilephoto_fuzzer.cpp | 27 const int LOCAL_ID = 100; variable 35 result = OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, testPhotoStr); in SetOsAccountProfilePhotoFuzzTest()
|
/base/account/os_account/test/fuzztest/osaccount/setosaccountname_fuzzer/ |
D | setosaccountname_fuzzer.cpp | 27 const int LOCAL_ID = 100; variable 35 result = OsAccountManager::SetOsAccountName(LOCAL_ID, testName); in SetOsAccountNameFuzzTest()
|
/base/account/os_account/test/fuzztest/osaccount/isosaccountconstraintenable_fuzzer/ |
D | isosaccountconstraintenable_fuzzer.cpp | 27 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/ |
D | getosaccountfromdatabase_fuzzer.cpp | 27 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/ |
D | setosaccountconstraints_fuzzer.cpp | 27 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/ |
D | os_account_info.cpp | 24 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/ |
D | os_account_manager_module_test.cpp | 53 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 …]
|