Searched refs:intKey (Results 1 - 6 of 6) sorted by relevance
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/protocol/ |
H A D | json_protocol.cpp | 60 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 D | preferences_file_test.cpp | 55 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 D | preferences_ndk_value_test.cpp | 99 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 D | interface_info.cpp | 150 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 D | distributed_want_test.cpp | 1144 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 D | want_test.cpp | 866 std::string intKey = "intKey"; in AddIntParams() local 871 key = intKey + std::to_string(i); in AddIntParams()
|
Completed in 16 milliseconds