Home
last modified time | relevance | path

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

/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
H A 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()
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, photo), ERR_OK); in BENCHMARK_F()
[all …]
/ohos5.0/base/account/os_account/test/fuzztest/osaccount/setosaccountname_fuzzer/
H A Dsetosaccountname_fuzzer.cpp28 const int LOCAL_ID = 100; variable
37 result = OsAccountManager::SetOsAccountName(LOCAL_ID, testName); in SetOsAccountNameFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/osaccount/setosaccountprofilephoto_fuzzer/
H A Dsetosaccountprofilephoto_fuzzer.cpp28 const int LOCAL_ID = 100; variable
37 result = OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, testPhotoStr); in SetOsAccountProfilePhotoFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/osaccount/isosaccountconstraintenable_fuzzer/
H A Disosaccountconstraintenable_fuzzer.cpp28 const int LOCAL_ID = 100; variable
37 … result = OsAccountManager::IsOsAccountConstraintEnable(LOCAL_ID, testConstraint, isEnable); in IsOsAccountConstraintEnableFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/osaccount/getosaccountfromdatabase_fuzzer/
H A Dgetosaccountfromdatabase_fuzzer.cpp28 const int LOCAL_ID = 100; variable
38 … result = OsAccountManager::GetOsAccountFromDatabase(stroeID, LOCAL_ID, osAccountInfoOne); in GetOsAccountFromDatabaseFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/osaccount/setosaccountconstraints_fuzzer/
H A Dsetosaccountconstraints_fuzzer.cpp28 const int LOCAL_ID = 100; variable
49 result = OsAccountManager::SetOsAccountConstraints(LOCAL_ID, CONSTANTS_VECTOR, enable); in SetOsAccountConstraintsFuzzTest()
/ohos5.0/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_info.cpp25 const std::string LOCAL_ID = "localId"; variable
245 {LOCAL_ID, localId_}, in ToJson()
311 jsonObject, jsonObjectEnd, LOCAL_ID, localId_, OHOS::AccountSA::JsonType::NUMBER); in FromJson()
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp75 const std::int32_t LOCAL_ID = 105; variable
2368 … ASSERT_EQ(OsAccountManager::ActivateOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR);
2370 ASSERT_EQ(OsAccountManager::RemoveOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR);
2373 ASSERT_EQ(OsAccountManager::SetOsAccountConstraints(LOCAL_ID, CONSTANTS_VECTOR, enable),
2376 …ASSERT_EQ(OsAccountManager::SetOsAccountName(LOCAL_ID, STRING_NAME), ERR_ACCOUNT_COMMON_NOT_SYSTEM…
2410 …OsAccountManager::QueryOsAccountById(LOCAL_ID, osAccountInfoTwo), ERR_ACCOUNT_COMMON_NOT_SYSTEM_AP…
2456 … ASSERT_NE(OsAccountManager::ActivateOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR);
2458 ASSERT_NE(OsAccountManager::RemoveOsAccount(LOCAL_ID), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR);
2461 ASSERT_NE(OsAccountManager::SetOsAccountConstraints(LOCAL_ID, CONSTANTS_VECTOR, enable),
2464 …ASSERT_NE(OsAccountManager::SetOsAccountName(LOCAL_ID, STRING_NAME), ERR_ACCOUNT_COMMON_NOT_SYSTEM…
[all …]
/ohos5.0/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/
H A Daccount_mgr_inner_sdk_func_test.cpp58 const std::int32_t LOCAL_ID = 101; variable
598 …auto ret = OhosAccountKits::GetInstance().SetOhosAccountInfoByUserId(LOCAL_ID, accountInfo, g_even…
624 auto ret = OhosAccountKits::GetInstance().GetOhosAccountInfoByUserId(LOCAL_ID, accountInfo);