Home
last modified time | relevance | path

Searched refs:productType (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dfold_screen_controller_test.cpp70 DisplayDeviceType productType = DisplayDeviceType::SINGLE_DISPLAY_DEVICE; variable
71 auto ret = fsc_.GetFoldScreenPolicy(productType);
74 productType = DisplayDeviceType::DOUBLE_DISPLAY_DEVICE;
75 ret = fsc_.GetFoldScreenPolicy(productType);
78 productType = DisplayDeviceType::SINGLE_DISPLAY_POCKET_DEVICE;
79 ret = fsc_.GetFoldScreenPolicy(productType);
82 productType = DisplayDeviceType::DISPLAY_DEVICE_UNKNOWN;
83 ret = fsc_.GetFoldScreenPolicy(productType);
/ohos5.0/base/startup/init/interfaces/innerkits/syspara/
H A Dparam_wrapper.cpp165 static const char *productType = nullptr; in GetDeviceType() local
166 const char *type = GetProperty("const.product.devicetype", &productType); in GetDeviceType()
168 type = GetProperty("const.build.characteristics", &productType); in GetDeviceType()
H A Dparameter.c110 static const char *productType = NULL; in GetDeviceType() local
111 const char *deviceType = GetProperty("const.product.devicetype", &productType); in GetDeviceType()
115 return GetProperty("const.build.characteristics", &productType); in GetDeviceType()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/fold_screen_controller/
H A Dfold_screen_controller.cpp65 sptr<FoldScreenPolicy> FoldScreenController::GetFoldScreenPolicy(DisplayDeviceType productType) in GetFoldScreenPolicy() argument
68 switch (productType) { in GetFoldScreenPolicy()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/fold_screen_controller/
H A Dfold_screen_controller.h64 sptr<FoldScreenPolicy> GetFoldScreenPolicy(DisplayDeviceType productType);