Home
last modified time | relevance | path

Searched refs:stringMap (Results 1 – 3 of 3) sorted by relevance

/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_info.cpp657 bool AppAccountInfo::WriteStringMap(const std::map<std::string, std::string> &stringMap, Parcel &da… in WriteStringMap() argument
659 if (!data.WriteInt32(stringMap.size())) { in WriteStringMap()
664 for (auto& it : stringMap) { in WriteStringMap()
701 bool AppAccountInfo::ReadStringMap(std::map<std::string, std::string> &stringMap, Parcel &data) in ReadStringMap() argument
712 stringMap.clear(); in ReadStringMap()
724 stringMap.emplace(key, value); in ReadStringMap()
/base/account/os_account/frameworks/appaccount/native/include/
Dapp_account_info.h102 bool ReadStringMap(std::map<std::string, std::string> &stringMap, Parcel &data);
/base/account/os_account/services/accountmgr/test/unittest/app_account/
Dapp_account_info_test.cpp980 std::map<std::string, std::string> stringMap; variable
983 EXPECT_EQ(testInfo.ReadStringMap(stringMap, data), true);
984 EXPECT_EQ(stringMap["testkey"], "testvalue");