Home
last modified time | relevance | path

Searched refs:GetOsAccountProfilePhoto (Results 1 - 23 of 23) sorted by relevance

/base/account/os_account/test/fuzztest/osaccount/getosaccountprofilephoto_fuzzer/
H A Dgetosaccountprofilephoto_fuzzer.cpp36 result = OsAccountManager::GetOsAccountProfilePhoto(testId, testPhoto); in GetOsAccountProfilePhotoFuzzTest()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h285 static ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo);
/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account.h54 ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo);
H A Dios_account.h64 virtual ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo) = 0;
H A Dos_account_proxy.h58 ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo) override;
/base/account/os_account/services/accountmgr/include/osaccount/
H A Diinner_os_account.h55 virtual ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo) = 0;
H A Dos_account_manager_service.h72 ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo) override;
H A Diinner_os_account_manager.h60 ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo) override;
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp176 ErrCode OsAccountManager::GetOsAccountProfilePhoto(const int id, std::string &photo) in GetOsAccountProfilePhoto() function in OHOS::AccountSA::OsAccountManager
178 return OsAccount::GetInstance().GetOsAccountProfilePhoto(id, photo); in GetOsAccountProfilePhoto()
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
H A Dos_account_manager_benchmark_test.cpp405 * @tc.desc: GetOsAccountProfilePhoto
416 EXPECT_EQ(OsAccountManager::GetOsAccountProfilePhoto(LOCAL_ID, photo), ERR_OK); in BENCHMARK_F()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp483 ErrCode OsAccountManagerService::GetOsAccountProfilePhoto(const int id, std::string &photo) in GetOsAccountProfilePhoto() function in OHOS::AccountSA::OsAccountManagerService
492 return innerManager_.GetOsAccountProfilePhoto(id, photo); in GetOsAccountProfilePhoto()
501 return innerManager_.GetOsAccountProfilePhoto(id, photo); in GetOsAccountProfilePhoto()
H A Dos_account_stub.cpp955 ErrCode result = GetOsAccountProfilePhoto(localId, photo); in ProcGetOsAccountProfilePhoto()
H A Dinner_os_account_manager.cpp1468 ErrCode IInnerOsAccountManager::GetOsAccountProfilePhoto(const int id, std::string &photo) in RetryToGetAccount() function in OHOS::AccountSA::IInnerOsAccountManager
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp394 ErrCode OsAccount::GetOsAccountProfilePhoto(const int id, std::string &photo) in GetOsAccountProfilePhoto() function in OHOS::AccountSA::OsAccount
405 return proxy->GetOsAccountProfilePhoto(id, photo); in GetOsAccountProfilePhoto()
H A Dos_account_proxy.cpp600 ErrCode OsAccountProxy::GetOsAccountProfilePhoto(const int id, std::string &photo) in GetOsAccountProfilePhoto() function in OHOS::AccountSA::OsAccountProxy
/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp326 ErrCode errCode = OsAccountManager::GetOsAccountProfilePhoto(TEST_USER_ID, photo); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_mock_test.cpp310 * @tc.desc: Test GetOsAccountProfilePhoto getosaccountproxy faild
318 g_osAccount->GetOsAccountProfilePhoto(MAIN_ACCOUNT_ID, photo)); in HWTEST_F()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
H A Dnapi_os_account.h285 napi_value GetOsAccountProfilePhoto(napi_env env, napi_callback_info cbInfo);
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp1027 OsAccountManager::GetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), photo), ERR_OK); in HWTEST_F()
1056 * @tc.desc: Test GetOsAccountProfilePhoto with valid data.
1066 EXPECT_EQ(OsAccountManager::GetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), photo), ERR_OK); in HWTEST_F()
1082 EXPECT_EQ(OsAccountManager::GetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), photo), ERR_OK); in HWTEST_F()
1089 * @tc.desc: Test GetOsAccountProfilePhoto with invalid id.
1096 EXPECT_NE(OsAccountManager::GetOsAccountProfilePhoto(Constants::MAX_USER_ID + 1, photo), ERR_OK); in HWTEST_F()
2310 ASSERT_EQ(OsAccountManager::GetOsAccountProfilePhoto(LOCAL_ID, photo), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F()
2399 ASSERT_NE(OsAccountManager::GetOsAccountProfilePhoto(LOCAL_ID, photo), ERR_ACCOUNT_COMMON_NOT_SYSTEM_APP_ERROR); in HWTEST_F()
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_module_test.cpp836 * @tc.desc: Test GetOsAccountProfilePhoto with valid data.
846 EXPECT_EQ(osAccountManagerService_->GetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), photo), ERR_OK); in HWTEST_F()
853 * @tc.desc: Test GetOsAccountProfilePhoto with invalid data.
862 EXPECT_EQ(osAccountManagerService_->GetOsAccountProfilePhoto(osAccountInfoOne.GetLocalId(), photo), ERR_OK); in HWTEST_F()
869 * @tc.desc: Test GetOsAccountProfilePhoto with invalid id.
876 EXPECT_EQ(osAccountManagerService_->GetOsAccountProfilePhoto(Constants::MAX_USER_ID + 1, photo), in HWTEST_F()
1825 * @tc.desc: Test GetOsAccountProfilePhoto PermissionCheck failed.
1834 osAccountManagerService_->GetOsAccountProfilePhoto(MAIN_ACCOUNT_ID, photo)); in HWTEST_F()
/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account.cpp63 DECLARE_NAPI_FUNCTION("getOsAccountProfilePhoto", GetOsAccountProfilePhoto),
771 napi_value GetOsAccountProfilePhoto(napi_env env, napi_callback_info cbInfo) in GetOsAccountProfilePhoto() function
789 napi_create_string_utf8(env, "GetOsAccountProfilePhoto", NAPI_AUTO_LENGTH, &resource); in GetOsAccountProfilePhoto()
H A Dnapi_os_account_common.cpp1085 asyncContext->errCode = OsAccountManager::GetOsAccountProfilePhoto(asyncContext->id, asyncContext->photo); in GetOAPhotoExecuteCB()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_inner_account_mgr_mock.cpp572 EXPECT_EQ(ERR_OK, innerMgrService_->GetOsAccountProfilePhoto(id, resStr)); in HWTEST_F()
1285 ErrCode ret = innerMgrService_->GetOsAccountProfilePhoto(id, photo); in HWTEST_F()

Completed in 42 milliseconds