Home
last modified time | relevance | path

Searched refs:ModelYear (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/ui/include_vndk/ui/
DDeviceProductInfo.h38 struct ModelYear { struct
42 struct ManufactureYear : ModelYear {};
58 using ManufactureOrModelDate = std::variant<ModelYear, ManufactureYear, ManufactureWeekAndYear>;
/frameworks/native/libs/ui/include/ui/
DDeviceProductInfo.h38 struct ModelYear { struct
42 struct ManufactureYear : ModelYear {};
58 using ManufactureOrModelDate = std::variant<ModelYear, ManufactureYear, ManufactureWeekAndYear>;
/frameworks/native/libs/ui/
DDebugUtils.cpp327 using ModelYear = android::DeviceProductInfo::ModelYear; in toString() typedef
331 if (const auto* model = std::get_if<ModelYear>(&date)) { in toString()
DDeviceProductInfo.cpp64 if (const auto* model = std::get_if<ModelYear>(&manufactureOrModelDate)) { in dump()
DDisplayIdentification.cpp130 info.manufactureOrModelDate = DeviceProductInfo::ModelYear{.year = year}; in buildDeviceProductInfo()
/frameworks/native/libs/ui/tests/
DDisplayIdentification_test.cpp321 using ModelYear = DeviceProductInfo::ModelYear; in TEST() typedef
398 ASSERT_TRUE(std::holds_alternative<ModelYear>(info.manufactureOrModelDate)); in TEST()
399 EXPECT_EQ(2013, std::get<ModelYear>(info.manufactureOrModelDate).year); in TEST()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp1244 using ModelYear = android::DeviceProductInfo::ModelYear; in convertDeviceProductInfoToJavaObject() typedef
1254 if (const auto* model = std::get_if<ModelYear>(&date)) { in convertDeviceProductInfoToJavaObject()