Home
last modified time | relevance | path

Searched refs:GetDeviceType (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_utils_test/
H A Dapp_utils_test.cpp56 std::string deviceType = OHOS::system::GetDeviceType();
76 std::string deviceType = OHOS::system::GetDeviceType();
96 std::string deviceType = OHOS::system::GetDeviceType();
116 std::string deviceType = OHOS::system::GetDeviceType();
136 std::string deviceType = OHOS::system::GetDeviceType();
156 std::string deviceType = OHOS::system::GetDeviceType();
176 std::string deviceType = OHOS::system::GetDeviceType();
196 std::string deviceType = OHOS::system::GetDeviceType();
216 std::string deviceType = OHOS::system::GetDeviceType();
236 std::string deviceType = OHOS::system::GetDeviceType();
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/
H A Drender_focus_animation.cpp54 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in Update()
107 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in SetFocusAnimationProperties()
113 } else if (SystemProperties::GetDeviceType() == DeviceType::PHONE) { in SetFocusAnimationProperties()
126 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in SetFocusAnimationProperties()
136 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in CancelFocusAnimation()
149 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in StopFocusAnimation()
159 if (SystemProperties::GetDeviceType() == DeviceType::PHONE) { in StartFocusAnimation()
161 } else if (SystemProperties::GetDeviceType() == DeviceType::TV) { in StartFocusAnimation()
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dhap_parser_test.cpp100 EXPECT_EQ(DEVICE_CAR, config->GetDeviceType());
120 ASSERT_EQ(DEVICE_CAR, HapParser::GetDeviceType(DEVICE_CAR));
121 ASSERT_EQ(DEVICE_PAD, HapParser::GetDeviceType(DEVICE_PAD));
122 ASSERT_EQ(DEVICE_PHONE, HapParser::GetDeviceType(DEVICE_PHONE));
123 ASSERT_EQ(DEVICE_TABLET, HapParser::GetDeviceType(DEVICE_TABLET));
124 ASSERT_EQ(DEVICE_TV, HapParser::GetDeviceType(DEVICE_TV));
125 ASSERT_EQ(DEVICE_WEARABLE, HapParser::GetDeviceType(DEVICE_WEARABLE));
126 ASSERT_EQ(DEVICE_NOT_SET, HapParser::GetDeviceType(1000000));
/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dhap_parser_test.cpp106 EXPECT_EQ(DEVICE_CAR, config->GetDeviceType());
124 ASSERT_EQ(DEVICE_CAR, HapParser::GetDeviceType(DEVICE_CAR));
125 ASSERT_EQ(DEVICE_PAD, HapParser::GetDeviceType(DEVICE_PAD));
126 ASSERT_EQ(DEVICE_PHONE, HapParser::GetDeviceType(DEVICE_PHONE));
127 ASSERT_EQ(DEVICE_TABLET, HapParser::GetDeviceType(DEVICE_TABLET));
128 ASSERT_EQ(DEVICE_TV, HapParser::GetDeviceType(DEVICE_TV));
129 ASSERT_EQ(DEVICE_WEARABLE, HapParser::GetDeviceType(DEVICE_WEARABLE));
130 ASSERT_EQ(DEVICE_NOT_SET, HapParser::GetDeviceType(1000000));
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/accessibility/
H A Djs_inspector_test.cpp90 DeviceType deviceType = SystemProperties::GetDeviceType(); in CheckToggleAttrAndStyle()
576 DeviceType deviceType = SystemProperties::GetDeviceType();
596 DeviceType deviceType = SystemProperties::GetDeviceType();
616 DeviceType deviceType = SystemProperties::GetDeviceType();
636 DeviceType deviceType = SystemProperties::GetDeviceType();
656 DeviceType deviceType = SystemProperties::GetDeviceType();
676 DeviceType deviceType = SystemProperties::GetDeviceType();
916 DeviceType deviceType = SystemProperties::GetDeviceType();
936 DeviceType deviceType = SystemProperties::GetDeviceType();
956 DeviceType deviceType = SystemProperties::GetDeviceType();
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/shadow/
H A Drender_shadow.cpp27 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in SetShadowProperties()
38 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in SetShadowProperties()
51 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in CancelShadow()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Drender_calendar.cpp118 if (SystemProperties::GetDeviceType() == DeviceType::TV && !cardCalendar_) { in PerformLayout()
136 if (SystemProperties::GetDeviceType() == DeviceType::TV && IsValid(focusIndex_) && in OnDataChanged()
190 } else if (SystemProperties::GetDeviceType() == DeviceType::TV) { in OnSelectedDay()
227 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in OnStatusChanged()
248 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in OnDateSelected()
251 if (SystemProperties::GetDeviceType() == DeviceType::WATCH && in OnDateSelected()
300 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in FocusChanged()
322 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in HandleClick()
418 if ((SystemProperties::GetDeviceType() != DeviceType::WATCH && type_ != CalendarType::SIMPLE) || in UpdateBreakInformation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/media_query/
H A Dmedia_query_info.cpp23 std::string MediaQueryInfo::GetDeviceType() in GetDeviceType() function in OHOS::Ace::Framework::MediaQueryInfo
31 switch (SystemProperties::GetDeviceType()) { in GetDeviceType()
97 json->Put("device-type", GetDeviceType().c_str()); in GetMediaQueryJsonInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_column_component.cpp55 if (SystemProperties::GetDeviceType() == DeviceType::PHONE && in Initialize()
65 option->SetDisappear((SystemProperties::GetDeviceType() != DeviceType::WATCH && in Initialize()
66 … SystemProperties::GetDeviceType() != DeviceType::UNKNOWN && showCount >= 5 && in Initialize()
H A Drender_picker_option.cpp35 if (SystemProperties::GetDeviceType() == DeviceType::WATCH || in RenderPickerOption()
36 SystemProperties::GetDeviceType() == DeviceType::UNKNOWN) { in RenderPickerOption()
315 if (SystemProperties::GetDeviceType() != DeviceType::PHONE) { in UpdatePhoneFocus()
346 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in UpdateFocus()
384 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in RefreshFocus()
411 if (SystemProperties::GetDeviceType() != DeviceType::WATCH && in LayoutBox()
412 SystemProperties::GetDeviceType() != DeviceType::UNKNOWN && selected_ && !autoLayout_) { in LayoutBox()
H A Drender_picker_value.cpp94 if (SystemProperties::GetDeviceType() != DeviceType::TV) { in HandleTextFocus()
97 if (SystemProperties::GetDeviceType() != DeviceType::PHONE) { in HandleTextFocus()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dsystem_info.cpp42 deviceType_ = ProductAdapter::GetDeviceType(); in Initialize()
60 const char *SystemInfo::GetDeviceType() const in GetDeviceType() function in OHOS::ACELite::SystemInfo
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dres_config_impl.cpp113 DeviceType ResConfigImpl::GetDeviceType() const in GetDeviceType() function in OHOS::Global::Resource::ResConfigImpl
170 if (this->GetDeviceType() != other.GetDeviceType()) { in Copy()
171 this->SetDeviceType(other.GetDeviceType()); in Copy()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/init/
H A Ddevice_type_manager.cpp43 bool DeviceTypeManager::GetDeviceType() const in GetDeviceType() function in OHOS::Security::Verify::DeviceTypeManager
54 bool currentDeviceType = GetDeviceType(); in GetDeviceTypeInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drender_checkable.h81 return SystemProperties::GetDeviceType() == DeviceType::PHONE; in IsPhone()
85 return SystemProperties::GetDeviceType() == DeviceType::TABLET || in IsTablet()
86 SystemProperties::GetDeviceType() == DeviceType::TWO_IN_ONE; in IsTablet()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Doption_component.cpp68 icon_->SetAlignment((SystemProperties::GetDeviceType() == DeviceType::TV ? in Initialize()
114 double minFontSize = (SystemProperties::GetDeviceType() == DeviceType::TV ? in Initialize()
117 if (SystemProperties::GetDeviceType() == DeviceType::TV) { in Initialize()
/ohos5.0/commonlibrary/utils_lite/js/builtin/deviceinfokit/src/
H A Dnativeapi_deviceinfo.cpp87 bool NativeapiDeviceInfo::GetDeviceType(JSIValue result) in GetDeviceType() function in OHOS::ACELite::NativeapiDeviceInfo
89 const char* deviceType = ::GetDeviceType(); in GetDeviceType()
124 if (!NativeapiDeviceInfo::GetDeviceType(result) || in GetProductInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/rating/
H A Drender_rating.h103 return SystemProperties::GetDeviceType() == DeviceType::TV; in IsTv()
107 return SystemProperties::GetDeviceType() == DeviceType::PHONE; in IsPhone()
111 return SystemProperties::GetDeviceType() == DeviceType::TABLET || in IsTablet()
112 SystemProperties::GetDeviceType() == DeviceType::TWO_IN_ONE; in IsTablet()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/input/
H A D_input_controller.md24 | int32_t(\* [GetDeviceType](#getdevicetype) )(uint32_t devIndex, uint32_t \*deviceType) | 获取devInd…
94 ### GetDeviceType subsection
97 int32_t(* InputController::GetDeviceType) (uint32_t devIndex, uint32_t *deviceType)
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/
H A Dinterface_i_nnrt_device_v10.md24 | [GetDeviceType](#getdevicetype) ([out] enum [DeviceType](_n_n_rt_v10.md#devicetype) deviceType) |…
114 ### GetDeviceType()
117 INnrtDevice::GetDeviceType ([out] enum DeviceType deviceType)
/ohos5.0/drivers/peripheral/input/udriver/src/
H A Dinput_manager.cpp123 static int32_t GetDeviceType(uint32_t devIndex, uint32_t *deviceType) in GetDeviceType() function
129 return gInputDeviceManager_->GetDeviceType(devIndex, deviceType); in GetDeviceType()
234 controllerHdi->GetDeviceType = GetDeviceType; in InstanceControllerHdi()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dmeta_capability_info.cpp102 if (this->GetDeviceType() != metaCapInfo.GetDeviceType()) { in Compare()
156 cJSON_AddNumberToObject(jsonObject, DEV_TYPE.c_str(), (double)metaCapInfo.GetDeviceType()); in ToJson()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_subscribe_info.cpp35 deviceType_ = subscribeInfo.GetDeviceType(); in NotificationSubscribeInfo()
70 std::string NotificationSubscribeInfo::GetDeviceType() const in GetDeviceType() function in OHOS::Notification::NotificationSubscribeInfo
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dtool_bar_layout_algorithm.cpp43 if (SystemProperties::GetDeviceType() == DeviceType::PHONE && in GetToolbarContainerMaxWidth()
53 if (SystemProperties::GetDeviceType() == DeviceType::TABLET && in GetToolbarContainerMaxWidth()
63 if (SystemProperties::GetDeviceType() == DeviceType::TABLET && in GetToolbarContainerMaxWidth()
/ohos5.0/foundation/ability/dmsfwk/services/dtbabilitymgr/src/continuation_manager/
H A Dcontinuation_result.cpp60 parcel.WriteString16(Str8ToStr16(GetDeviceType())); in Marshalling()
80 std::string ContinuationResult::GetDeviceType() const in GetDeviceType() function in OHOS::DistributedSchedule::ContinuationResult

12345678910>>...16