Home
last modified time | relevance | path

Searched refs:human_readable_name (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ui/display/util/
Dedid_parser_unittest.cc149 std::string human_readable_name; in TEST() local
153 edid, &manufacturer_id, &human_readable_name)); in TEST()
155 EXPECT_EQ("HP ZR30w", human_readable_name); in TEST()
158 human_readable_name.clear(); in TEST()
162 EXPECT_EQ("", human_readable_name); in TEST()
165 EXPECT_TRUE(ParseOutputDeviceData(edid, NULL, &human_readable_name)); in TEST()
166 EXPECT_TRUE(human_readable_name.empty()); in TEST()
169 human_readable_name.clear(); in TEST()
172 edid, &manufacturer_id, &human_readable_name)); in TEST()
174 EXPECT_EQ("SAMSUNG", human_readable_name); in TEST()
[all …]
Dedid_parser.cc58 std::string* human_readable_name) { in ParseOutputDeviceData() argument
85 if (!human_readable_name) in ParseOutputDeviceData()
88 human_readable_name->clear(); in ParseOutputDeviceData()
106 found_name, base::TRIM_TRAILING, human_readable_name); in ParseOutputDeviceData()
112 for (size_t i = 0; i < human_readable_name->size(); ++i) { in ParseOutputDeviceData()
113 char c = (*human_readable_name)[i]; in ParseOutputDeviceData()
115 human_readable_name->clear(); in ParseOutputDeviceData()
Dedid_parser.h34 std::string* human_readable_name);
/external/chromium_org/ui/display/util/x11/
Dedid_parser_x11.cc84 std::string* human_readable_name) { in GetOutputDeviceData() argument
90 edid, manufacturer_id, human_readable_name); in GetOutputDeviceData()