Home
last modified time | relevance | path

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

/ohos5.0/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/
H A Daccount_mgr_inner_sdk_func_test.cpp203 accountInfo.avatar_ = TEST_AVATAR;
214 EXPECT_EQ(accountInfoget.avatar_, TEST_AVATAR);
253 accountInfo.avatar_ = TEST_AVATAR;
307 accountInfo.avatar_ = TEST_AVATAR;
340 accountInfo.avatar_ = ""; // 10*1024*1024
343 accountInfo.avatar_.push_back('a');
371 accountInfo.avatar_ = TEST_AVATAR;
397 accountInfo.avatar_ = TEST_AVATAR;
444 accountInfo.avatar_ = TEST_AVATAR;
501 accountInfo.avatar_ = TEST_AVATAR;
[all …]
/ohos5.0/base/account/os_account/interfaces/innerkits/ohosaccount/native/include/
H A Daccount_info.h87 std::string avatar_; variable
94 avatar_ = ""; in OhosAccountInfo()
103 avatar_ = ""; in OhosAccountInfo()
128 …return (nickname_.size() <= Constants::NICKNAME_MAX_SIZE) && (avatar_.size() <= Constants::AVATAR_… in IsValid()
178 ohosAccountInfo_.avatar_ = "";
/ohos5.0/base/account/os_account/test/fuzztest/account_stub/cmdsetohosaccountinfobyuseridstub_fuzzer/
H A Dcmdsetohosaccountinfobyuseridstub_fuzzer.cpp55 if (!data.WriteInt32(ohosAccountInfo.avatar_.size() + 1)) { in WriteOhosAccountInfo()
59 if (!data.WriteRawData(ohosAccountInfo.avatar_.c_str(), ohosAccountInfo.avatar_.size() + 1)) { in WriteOhosAccountInfo()
89 ohosAccountInfo.avatar_ = fuzzData.GenerateRandomString(); in CmdSetOhosAccountInfoByUserIdStubFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/account_stub/cmdsetohosaccountinfostub_fuzzer/
H A Dcmdsetohosaccountinfostub_fuzzer.cpp55 if (!data.WriteInt32(ohosAccountInfo.avatar_.size() + 1)) { in WriteOhosAccountInfo()
59 if (!data.WriteRawData(ohosAccountInfo.avatar_.c_str(), ohosAccountInfo.avatar_.size() + 1)) { in WriteOhosAccountInfo()
86 ohosAccountInfo.avatar_ = fuzzData.GenerateRandomString(); in CmdSetOhosAccountInfoStubFuzzTest()
/ohos5.0/base/account/os_account/frameworks/ohosaccount/native/src/
H A Daccount_info_parcel.cpp48 if (!data.WriteInt32(ohosAccountInfo.avatar_.size() + 1)) { in WriteOhosAccountInfo()
52 if (!data.WriteRawData(ohosAccountInfo.avatar_.c_str(), ohosAccountInfo.avatar_.size() + 1)) { in WriteOhosAccountInfo()
112 ErrCode ret = ReadAvatarData(data, ohosAccountInfo.avatar_); in ReadOhosAccountInfo()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/eventhandler_impl/
H A Devent_runner.cpp254 static Avatar avatar_; member in OHOS::AppExecFwk::__anon214a92540110::ThreadCollector
268 avatar_.Disable(); in ~ThreadCollector()
394 ThreadCollector::Avatar ThreadCollector::avatar_; member in OHOS::AppExecFwk::__anon214a92540310::ThreadCollector
/ohos5.0/base/notification/eventhandler/frameworks/eventhandler/src/
H A Devent_runner.cpp268 static Avatar avatar_; member in OHOS::AppExecFwk::__anon7f2328720110::ThreadCollector
284 avatar_.Disable(); in ~ThreadCollector()
533 ThreadCollector::Avatar ThreadCollector::avatar_; member in OHOS::AppExecFwk::__anon7f2328720310::ThreadCollector
/ohos5.0/base/account/os_account/services/accountmgr/src/
H A Dohos_account_data_deal.cpp207 … accountFileOperator_->InputFileByPathAndContent(avatarFile, accountInfo.ohosAccountInfo_.avatar_); in SaveAccountInfo()
302 …accountInfo.ohosAccountInfo_.avatar_ = jsonData.at(DATADEAL_JSON_KEY_OHOSACCOUNT_AVATAR).get<std::… in GetAccountInfoFromJson()
/ohos5.0/base/account/os_account/interfaces/kits/napi/distributedaccount/src/
H A Dnapi_distributed_account.cpp116 …onalStringPropertyByKey(env, object, PROPERTY_KEY_AVATAR, asyncContext->ohosAccountInfo.avatar_)) { in GetAccountInfo()
230 napi_create_string_utf8(env, asyncContext->ohosAccountInfo.avatar_.c_str(), in ProcessSetNamedProperty()
231 asyncContext->ohosAccountInfo.avatar_.size(), &value); in ProcessSetNamedProperty()