Searched refs:ModelYear (Results 1 – 7 of 7) sorted by relevance
38 struct ModelYear { struct42 struct ManufactureYear : ModelYear {};58 using ManufactureOrModelDate = std::variant<ModelYear, ManufactureYear, ManufactureWeekAndYear>;
327 using ModelYear = android::DeviceProductInfo::ModelYear; in toString() typedef331 if (const auto* model = std::get_if<ModelYear>(&date)) { in toString()
64 if (const auto* model = std::get_if<ModelYear>(&manufactureOrModelDate)) { in dump()
130 info.manufactureOrModelDate = DeviceProductInfo::ModelYear{.year = year}; in buildDeviceProductInfo()
321 using ModelYear = DeviceProductInfo::ModelYear; in TEST() typedef398 ASSERT_TRUE(std::holds_alternative<ModelYear>(info.manufactureOrModelDate)); in TEST()399 EXPECT_EQ(2013, std::get<ModelYear>(info.manufactureOrModelDate).year); in TEST()
1244 using ModelYear = android::DeviceProductInfo::ModelYear; in convertDeviceProductInfoToJavaObject() typedef1254 if (const auto* model = std::get_if<ModelYear>(&date)) { in convertDeviceProductInfoToJavaObject()