Home
last modified time | relevance | path

Searched refs:ProductDeviceType (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/web/webview/ohos_adapter/system_properties_adapter/src/
H A Dsystem_properties_adapter_impl.cpp118 ProductDeviceType factoryLevel = AnalysisFromConfig(); in GetProductDeviceType()
119 if (factoryLevel != ProductDeviceType::DEVICE_TYPE_UNKNOWN) { in GetProductDeviceType()
126 return ProductDeviceType::DEVICE_TYPE_MOBILE; in GetProductDeviceType()
128 return ProductDeviceType::DEVICE_TYPE_TABLET; in GetProductDeviceType()
130 return ProductDeviceType::DEVICE_TYPE_2IN1; in GetProductDeviceType()
132 return ProductDeviceType::DEVICE_TYPE_UNKNOWN; in GetProductDeviceType()
135 ProductDeviceType SystemPropertiesAdapterImpl::AnalysisFromConfig() in AnalysisFromConfig()
146 return ProductDeviceType::DEVICE_TYPE_MOBILE; in AnalysisFromConfig()
148 return ProductDeviceType::DEVICE_TYPE_TABLET; in AnalysisFromConfig()
150 return ProductDeviceType::DEVICE_TYPE_2IN1; in AnalysisFromConfig()
[all …]
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dsystem_properties_adapter.h25 enum class ProductDeviceType : int32_t { enum
57 virtual ProductDeviceType GetProductDeviceType() = 0;
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_system_properties_adapter_wrapper.cpp62 OHOS::NWeb::ProductDeviceType ArkSystemPropertiesAdapterWrapper::GetProductDeviceType() in GetProductDeviceType()
65 return OHOS::NWeb::ProductDeviceType::DEVICE_TYPE_UNKNOWN; in GetProductDeviceType()
68 return (OHOS::NWeb::ProductDeviceType)result; in GetProductDeviceType()
H A Dark_system_properties_adapter_wrapper.h38 OHOS::NWeb::ProductDeviceType GetProductDeviceType() override;
/ohos5.0/base/web/webview/ohos_adapter/system_properties_adapter/include/
H A Dsystem_properties_adapter_impl.h41 ProductDeviceType GetProductDeviceType() override;
87 ProductDeviceType AnalysisFromConfig();
/ohos5.0/base/web/webview/ohos_adapter/res_sched_adapter/src/
H A Dres_sched_client_adapter_impl.cpp226ProductDeviceType deviceType = SystemPropertiesAdapterImpl::GetInstance().GetProductDeviceType(); in ReportStatusData()
227 if (deviceType == ProductDeviceType::DEVICE_TYPE_MOBILE || g_processInUse.count(pid)) { in ReportStatusData()
365ProductDeviceType deviceType = SystemPropertiesAdapterImpl::GetInstance().GetProductDeviceType(); in ReportWindowStatus()
366 …if (deviceType == ProductDeviceType::DEVICE_TYPE_TABLET || deviceType == ProductDeviceType::DEVICE… in ReportWindowStatus()