Home
last modified time | relevance | path

Searched refs:intKey (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/protocol/
H A Djson_protocol.cpp60 for (const auto& [intKey, strKey] : NegotiateMessage::keyStringTable_) { in Read()
62 key = static_cast<int>(intKey); in Read()
/foundation/distributeddatamgr/preferences/test/native/unittest/
H A Dpreferences_file_test.cpp55 int PreferencesPutValue(std::shared_ptr<Preferences> pref, const std::string &intKey, int intValue, in PreferencesPutValue() argument
58 pref->PutInt(intKey, intValue); in PreferencesPutValue()
81 elem.key_ = "intKey"; in HWTEST_F()
90 int ret = pref->GetInt("intKey", 0); in HWTEST_F()
151 ret = PreferencesPutValue(pref, "intKey", 1, "stringKey", "string1"); in HWTEST_F()
154 EXPECT_EQ(1, pref->GetInt("intKey", 0)); in HWTEST_F()
165 EXPECT_EQ(1, pref->GetInt("intKey", 0)); in HWTEST_F()
169 ret = PreferencesPutValue(pref, "intKey", i, "stringKey", "string" + std::to_string(i)); in HWTEST_F()
173 EXPECT_EQ(5, pref->GetInt("intKey", 0)); in HWTEST_F()
184 EXPECT_EQ(5, pref->GetInt("intKey", in HWTEST_F()
[all...]
/foundation/distributeddatamgr/preferences/test/ndk/unittest/
H A Dpreferences_ndk_value_test.cpp99 std::string intKey = "ndktest_int_key"; in HWTEST_F() local
102 errCode = OH_Preferences_SetInt(nullptr, intKey.c_str(), 123); in HWTEST_F()
105 errCode = OH_Preferences_GetInt(nullptr, intKey.c_str(), &value); in HWTEST_F()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinterface_info.cpp150 int intKey = (int)WifiDirectUtils::BytesToInt((uint8_t *)data, size); in Unmarshalling() local
151 Set(InterfaceInfoKey(key), intKey); in Unmarshalling() local
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_test.cpp1144 std::string intKey = "intKey"; in AddIntParams() local
1149 key = intKey + std::to_string(i); in AddIntParams()
/foundation/ability/ability_base/test/unittest/want/
H A Dwant_test.cpp866 std::string intKey = "intKey"; in AddIntParams() local
871 key = intKey + std::to_string(i); in AddIntParams()

Completed in 16 milliseconds