Searched refs:kValue (Results 1 - 8 of 8) sorted by relevance

/system/connectivity/shill/
H A Dkey_value_store_unittest.cc38 const string kValue("baz");
40 store_.Set(kKey, brillo::Any(kValue));
42 EXPECT_EQ(kValue, store_.Get(kKey).Get<string>());
50 const bool kValue = false; local
53 store_.SetBool(kKey, kValue);
58 EXPECT_EQ(static_cast<int>(kValue),
60 EXPECT_EQ(static_cast<int>(kValue),
66 const vector<vector<uint8_t>> kValue{ {1, 2, 3 } };
68 store_.SetByteArrays(kKey, kValue);
70 EXPECT_EQ(kValue, store
77 const int kValue = 456; local
91 const int16_t kValue = 123; local
175 const uint32_t kValue = 456; local
184 const uint16_t kValue = 456; local
193 const uint8_t kValue = 123; local
[all...]
H A Dkey_file_store_unittest.cc162 static const char kValue[] = "true"; local
170 kGroupA, kKeyA, kValue,
171 kGroupB, kKeyA, kValue, kKeyB, kValue,
172 kGroupC, kKeyB, kValue));
328 static const char kValue[] = "bar"; local
331 kGroup, kKey, kValue));
335 EXPECT_EQ(kValue, value);
494 const uint64_t kValue = 0xFEDCBA9876543210LL; local
496 ASSERT_TRUE(store_->SetUint64(kGroup, kKey, kValue));
512 static const char kValue[] = "value"; local
571 static const char kValue[] = "abc"; local
[all...]
H A Dproperty_accessor_unittest.cc596 const string kValue = "entry_value"; local
603 wrapper.value_[kKey] = kValue;
605 EXPECT_EQ(kValue, accessor.Get(&error));
615 EXPECT_TRUE(accessor.Set(kValue, &error));
617 EXPECT_EQ(kValue, wrapper.value_[kKey]);
621 EXPECT_FALSE(accessor.Set(kValue, &error));
630 wrapper.value_[kKey] = kValue;
/system/update_engine/common/
H A Dprefs_unittest.cc99 const char kValue[] = "some test value\non 2 lines"; local
100 EXPECT_TRUE(prefs_.SetString(kKey, kValue));
103 EXPECT_EQ(kValue, value);
113 const char kValue[] = "test value"; local
116 EXPECT_TRUE(prefs_.SetString(kKey, kValue));
119 EXPECT_EQ(kValue, value);
H A Dutils_unittest.cc188 const int kValue = 50; local
190 uint32_t value = utils::FuzzInt(kValue, range);
191 EXPECT_GE(value, kValue - range / 2);
192 EXPECT_LE(value, kValue + range - range / 2);
/system/connectivity/shill/vpn/
H A Dvpn_driver_unittest.cc402 const string kValue = "some-value"; local
404 EXPECT_TRUE(store.SetStringProperty(kPINProperty, kValue, &error));
405 EXPECT_EQ(kValue, GetArgs()->GetString(kPINProperty));
408 const vector<string> kValue{ "some-value" };
410 EXPECT_TRUE(store.SetStringsProperty(kEapCaCertPemProperty, kValue,
412 EXPECT_EQ(kValue, GetArgs()->GetStrings(kEapCaCertPemProperty));
H A Dopenvpn_driver_unittest.cc144 static const char kValue[]; member in class:shill::OpenVPNDriverTest
279 const char OpenVPNDriverTest::kValue[] = "some-property-value"; member in class:shill::OpenVPNDriverTest
1078 SetArg(kProperty, kValue);
1083 vector<string> expected_value { kOption, kValue };
1101 string kConcatenatedValues(string(kValue) + " " + string(kValue2));
1111 vector<string> expected_value2 { kOption2, kValue, kValue2 };
H A Dl2tp_ipsec_driver_unittest.cc447 static const char kValue[] = "some-property-value"; local
462 SetArg(kProperty, kValue);
467 EXPECT_EQ(base::StringPrintf("%s=%s", kOption, kValue), options[0]);

Completed in 122 milliseconds