Home
last modified time | relevance | path

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

/external/libbrillo/brillo/dbus/
Dexported_property_set_test.cc259 dbus::MessageReader entry_reader(nullptr); in TEST_F() local
261 ASSERT_TRUE(dict_reader.PopDictEntry(&entry_reader)); in TEST_F()
263 ASSERT_TRUE(entry_reader.PopString(&property_name)); in TEST_F()
267 ASSERT_TRUE(entry_reader.PopVariantOfUint16(&value16)); in TEST_F()
268 ASSERT_FALSE(entry_reader.HasMoreData()); in TEST_F()
269 ASSERT_TRUE(dict_reader.PopDictEntry(&entry_reader)); in TEST_F()
270 ASSERT_TRUE(entry_reader.PopString(&property_name)); in TEST_F()
272 ASSERT_TRUE(entry_reader.PopVariantOfInt32(&value32)); in TEST_F()
275 ASSERT_TRUE(entry_reader.PopVariantOfInt32(&value32)); in TEST_F()
276 ASSERT_FALSE(entry_reader.HasMoreData()); in TEST_F()
[all …]
/external/libchrome/dbus/
Dvalues_util.cc41 MessageReader entry_reader(nullptr); in PopDictionaryEntries() local
42 if (!reader->PopDictEntry(&entry_reader)) in PopDictionaryEntries()
46 if (entry_reader.GetDataType() == Message::STRING) { in PopDictionaryEntries()
48 if (!entry_reader.PopString(&key_string)) in PopDictionaryEntries()
52 std::unique_ptr<base::Value> key(PopDataAsValue(&entry_reader)); in PopDictionaryEntries()
59 std::unique_ptr<base::Value> value = PopDataAsValue(&entry_reader); in PopDictionaryEntries()
Dproperty.cc679 MessageReader entry_reader(nullptr); in PopValueFromReader() local
680 if (!dict_reader.PopDictEntry(&entry_reader)) in PopValueFromReader()
685 if (!entry_reader.PopString(&key) || in PopValueFromReader()
686 !entry_reader.PopVariant(&value_varient_reader)) in PopValueFromReader()
743 MessageReader entry_reader(nullptr); in PopValueFromReader() local
744 if (!dict_reader.PopDictEntry(&entry_reader)) in PopValueFromReader()
749 if (!entry_reader.PopUint16(&key) || in PopValueFromReader()
750 !entry_reader.PopVariant(&value_varient_reader)) in PopValueFromReader()