/base/account/os_account/test/fuzztest/osaccount/getosaccountprofilephoto_fuzzer/ |
H A D | getosaccountprofilephoto_fuzzer.cpp | 36 result = OsAccountManager::GetOsAccountProfilePhoto(testId, testPhoto); in GetOsAccountProfilePhotoFuzzTest()
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
H A D | os_account_manager.h | 285 static ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo);
|
/base/account/os_account/frameworks/osaccount/core/include/ |
H A D | os_account.h | 54 ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo);
|
H A D | ios_account.h | 64 virtual ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo) = 0;
|
H A D | os_account_proxy.h | 58 ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo) override;
|
/base/account/os_account/services/accountmgr/include/osaccount/ |
H A D | iinner_os_account.h | 55 virtual ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo) = 0;
|
H A D | os_account_manager_service.h | 72 ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo) override;
|
H A D | iinner_os_account_manager.h | 60 ErrCode GetOsAccountProfilePhoto(const int id, std::string &photo) override;
|
/base/account/os_account/frameworks/osaccount/native/src/ |
H A D | os_account_manager.cpp | 176 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 D | os_account_manager_benchmark_test.cpp | 405 * @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 D | os_account_manager_service.cpp | 483 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 D | os_account_stub.cpp | 955 ErrCode result = GetOsAccountProfilePhoto(localId, photo); in ProcGetOsAccountProfilePhoto()
|
H A D | inner_os_account_manager.cpp | 1468 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 D | os_account.cpp | 394 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 D | os_account_proxy.cpp | 600 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 D | account_osaccount_proxy_mock_test.cpp | 326 ErrCode errCode = OsAccountManager::GetOsAccountProfilePhoto(TEST_USER_ID, photo); in HWTEST_F()
|
/base/account/os_account/frameworks/osaccount/core/test/unittest/ |
H A D | os_account_mock_test.cpp | 310 * @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 D | napi_os_account.h | 285 napi_value GetOsAccountProfilePhoto(napi_env env, napi_callback_info cbInfo);
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 1027 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 D | os_account_manager_service_module_test.cpp | 836 * @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 D | napi_os_account.cpp | 63 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 D | napi_os_account_common.cpp | 1085 asyncContext->errCode = OsAccountManager::GetOsAccountProfilePhoto(asyncContext->id, asyncContext->photo); in GetOAPhotoExecuteCB()
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
H A D | os_account_inner_account_mgr_mock.cpp | 572 EXPECT_EQ(ERR_OK, innerMgrService_->GetOsAccountProfilePhoto(id, resStr)); in HWTEST_F() 1285 ErrCode ret = innerMgrService_->GetOsAccountProfilePhoto(id, photo); in HWTEST_F()
|