Home
last modified time | relevance | path

Searched refs:SetOsAccountProfilePhoto (Results 1 – 25 of 27) sorted by relevance

12

/base/account/os_account/test/fuzztest/osaccount/setosaccountprofilephoto_fuzzer/
Dsetosaccountprofilephoto_fuzzer.cpp35 result = OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, testPhotoStr); in SetOsAccountProfilePhotoFuzzTest()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_inner_account_mgr_cov.cpp259 errCode = innerMgrService_->SetOsAccountProfilePhoto(localID, ACCOUNT_PHOTO);
264 errCode = innerMgrService_->SetOsAccountProfilePhoto(localID, ACCOUNT_PHOTO);
Dos_account_inner_account_mgr_mock.cpp787 ErrCode ret = innerMgrService_->SetOsAccountProfilePhoto(id, photo);
796 ret = innerMgrService_->SetOsAccountProfilePhoto(id, photo);
806 ret = innerMgrService_->SetOsAccountProfilePhoto(id, photo);
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_manager.cpp164 ErrCode OsAccountManager::SetOsAccountProfilePhoto(const int id, const std::string &photo) in SetOsAccountProfilePhoto() function in OHOS::AccountSA::OsAccountManager
166 return OsAccount::GetInstance().SetOsAccountProfilePhoto(id, photo); in SetOsAccountProfilePhoto()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_manager.h271 static ErrCode SetOsAccountProfilePhoto(const int id, const std::string &photo);
/base/account/os_account/services/accountmgr/include/osaccount/
Diinner_os_account.h52 virtual ErrCode SetOsAccountProfilePhoto(const int id, const std::string &photo) = 0;
Dos_account_manager_service.h68 ErrCode SetOsAccountProfilePhoto(const int id, const std::string &photo) override;
Diinner_os_account_manager.h55 ErrCode SetOsAccountProfilePhoto(const int id, const std::string &photo) override;
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_manager_service_module_test.cpp819 …EXPECT_EQ(osAccountManagerService_->SetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), PHOTO_…
833 EXPECT_NE(osAccountManagerService_->SetOsAccountProfilePhoto(
838 osAccountManagerService_->SetOsAccountProfilePhoto(localId, STRING_PHOTO_OUT_OF_RANGE),
853 EXPECT_NE(osAccountManagerService_->SetOsAccountProfilePhoto(
868 …ASSERT_EQ(osAccountManagerService_->SetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), PHOTO_…
1919 osAccountManagerService_->SetOsAccountProfilePhoto(MAIN_ACCOUNT_ID, PHOTO_IMG));
2124 … EXPECT_EQ(osAccountManagerService_->SetOsAccountProfilePhoto(Constants::START_USER_ID + 1, photo),
2216 …osAccountManagerService_->SetOsAccountProfilePhoto(MAIN_ACCOUNT_ID, ""), ERR_ACCOUNT_COMMON_INVALI…
/base/account/os_account/frameworks/osaccount/core/include/
Dos_account.h52 ErrCode SetOsAccountProfilePhoto(const int id, const std::string &photo);
Dios_account.h62 virtual ErrCode SetOsAccountProfilePhoto(const int id, const std::string &photo) = 0;
Dos_account_proxy.h56 ErrCode SetOsAccountProfilePhoto(const int id, const std::string &photo) override;
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp909 …EXPECT_EQ(OsAccountManager::SetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), PHOTO_IMG), ER…
924 …OsAccountManager::SetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), STRING_PHOTO_OUT_OF_RANG…
938 …EXPECT_NE(OsAccountManager::SetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), PHOTO_IMG_ERRO…
952 …EXPECT_EQ(OsAccountManager::SetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), PHOTO_IMG), ER…
2121 EXPECT_EQ(OsAccountManager::SetOsAccountProfilePhoto(Constants::MAX_USER_ID + 1, PHOTO_IMG),
2207 …ASSERT_EQ(OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, PHOTO_IMG), ERR_ACCOUNT_COMMON_NOT_…
2297 …ASSERT_NE(OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, PHOTO_IMG), ERR_ACCOUNT_COMMON_NOT_…
/base/account/os_account/frameworks/osaccount/core/test/unittest/
Dos_account_test.cpp257 ErrCode errCode = g_osAccount->SetOsAccountProfilePhoto(100, STRING_PHOTO_OUT_OF_RANGE);
Dos_account_mock_test.cpp360 g_osAccount->SetOsAccountProfilePhoto(MAIN_ACCOUNT_ID, PHOTO_IMG));
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
Dos_account_manager_benchmark_test.cpp397 EXPECT_EQ(OsAccountManager::SetOsAccountProfilePhoto(LOCAL_ID, PHOTO_IMG), ERR_OK); in BENCHMARK_F()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_manager_service.cpp452 ErrCode OsAccountManagerService::SetOsAccountProfilePhoto(const int id, const std::string &photo) in SetOsAccountProfilePhoto() function in OHOS::AccountSA::OsAccountManagerService
473 return innerManager_.SetOsAccountProfilePhoto(id, photo); in SetOsAccountProfilePhoto()
Dos_account_stub.cpp536 ErrCode result = SetOsAccountProfilePhoto(localId, photo); in ProcSetOsAccountProfilePhoto()
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/
Dfuzz_test_manager.cpp206 OsAccountManager::SetOsAccountProfilePhoto(GetIntParam(), photo); in RegisterOsAccountManager()
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account.cpp392 ErrCode OsAccount::SetOsAccountProfilePhoto(const int id, const std::string &photo) in SetOsAccountProfilePhoto() function in OHOS::AccountSA::OsAccount
412 return osAccountProxy_->SetOsAccountProfilePhoto(id, photo); in SetOsAccountProfilePhoto()
Dos_account_proxy.cpp541 ErrCode OsAccountProxy::SetOsAccountProfilePhoto(const int id, const std::string &photo) in SetOsAccountProfilePhoto() function in OHOS::AccountSA::OsAccountProxy
/base/account/os_account/frameworks/osaccount/native/
Dlibos_account_innerkits.map43 …"OHOS::AccountSA::OsAccount::SetOsAccountProfilePhoto(int, std::__h::basic_string<char, std::__h::…
66 …"OHOS::AccountSA::OsAccount::SetOsAccountProfilePhoto(int, std::__h::basic_string<char, std::__h::…
113 …"OHOS::AccountSA::OsAccountManager::SetOsAccountProfilePhoto(int, std::__h::basic_string<char, std…
/base/account/os_account/interfaces/kits/napi/osaccount/include/
Dnapi_os_account.h288 napi_value SetOsAccountProfilePhoto(napi_env env, napi_callback_info cbInfo);
/base/account/os_account/frameworks/test/unittest/
Daccount_osaccount_proxy_mock_test.cpp369 ErrCode errCode = OsAccountManager::SetOsAccountProfilePhoto(TEST_USER_ID, PHOTO_IMG);
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp69 DECLARE_NAPI_FUNCTION("setOsAccountProfilePhoto", SetOsAccountProfilePhoto),
907 napi_value SetOsAccountProfilePhoto(napi_env env, napi_callback_info cbInfo) in SetOsAccountProfilePhoto() function

12