Home
last modified time | relevance | path

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

12

/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
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));
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dhap_parser_test.cpp106 EXPECT_EQ(DEVICE_CAR, config->GetDeviceType());
128 ASSERT_EQ(DEVICE_CAR, HapParser::GetDeviceType(DEVICE_CAR));
129 ASSERT_EQ(DEVICE_PAD, HapParser::GetDeviceType(DEVICE_PAD));
130 ASSERT_EQ(DEVICE_PHONE, HapParser::GetDeviceType(DEVICE_PHONE));
131 ASSERT_EQ(DEVICE_TABLET, HapParser::GetDeviceType(DEVICE_TABLET));
132 ASSERT_EQ(DEVICE_TV, HapParser::GetDeviceType(DEVICE_TV));
133 ASSERT_EQ(DEVICE_WEARABLE, HapParser::GetDeviceType(DEVICE_WEARABLE));
134 ASSERT_EQ(DEVICE_NOT_SET, HapParser::GetDeviceType(1000000));
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Ddevice_type_manager.cpp43 bool DeviceTypeManager::GetDeviceType() const in GetDeviceType() function in OHOS::Security::Verify::DeviceTypeManager
54 bool currentDeviceType = GetDeviceType(); in GetDeviceTypeInfo()
/base/startup/init/test/fuzztest/getdevicetypecpp_fuzzer/
Dgetdevicetypecpp_fuzzer.cpp23 system::GetDeviceType(); in FuzzGetDeviceTypeCpp()
/base/startup/init/test/fuzztest/getdevicetypec_fuzzer/
Dgetdevicetypec_fuzzer.cpp24 if (GetDeviceType() != nullptr) { in FuzzGetDeviceCType()
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
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()
/base/security/appverify/interfaces/innerkits/appverify/include/init/
Ddevice_type_manager.h38 bool GetDeviceType() const;
/base/web/webview/ohos_adapter/system_properties_adapter/src/
Dsystem_properties_adapter_impl.cpp53 std::string deviceType = OHOS::system::GetDeviceType(); in GetProductDeviceType()
/base/startup/init/interfaces/kits/syscap/src/
Ddeviceinfo.c19 return GetDeviceType(); in OH_GetDeviceType()
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dhap_parser.h91 static DeviceType GetDeviceType(uint32_t value);
Dres_config_impl.h82 DeviceType GetDeviceType() const;
Dres_config.h45 virtual DeviceType GetDeviceType() const = 0;
/base/hiviewdfx/hiview/base/utility/include/
Dparameter_ex.h39 DeviceType GetDeviceType();
/base/startup/init/interfaces/innerkits/include/syspara/
Dparameters.h64 std::string GetDeviceType(void);
Dparameter.h132 const char *GetDeviceType(void);
/base/startup/init/interfaces/innerkits/syspara/
Dparameter.c97 const char *GetDeviceType(void) in GetDeviceType() function
272 if (GetDeviceType() == NULL) { in BuildVersionId()
277 GetDeviceType(), GetManufacture(), GetBrand(), GetProductSeries(), in BuildVersionId()
/base/hiviewdfx/hiview/base/utility/test/unittest/common/
Dsystem_service_ohos_test.cpp53 auto ret = Parameter::GetDeviceType();
/base/startup/init/simulator/parameter/src/
Dparameter_common.c94 const char *GetDeviceType(void) in GetDeviceType() function
265 GetDeviceType(), GetManufacture(), GetBrand(), GetProductSeries(), in BuildVersionId()
/base/hiviewdfx/hiview/base/utility/
Dparameter_ex.cpp60 DeviceType GetDeviceType() in GetDeviceType() function
/base/startup/init/test/moduletest/
Dsyspara.cpp32 {(char *)"DeviceType", GetDeviceType},
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dapi_dumper.cpp45 AddApiRetIntoResult(GetDeviceType(), "DeviceType"); in Execute()
/base/global/resource_management/interfaces/inner_api/include/
Dres_config.h58 virtual DeviceType GetDeviceType() const = 0;
/base/global/resource_management/frameworks/resmgr/src/
Dres_config_impl.cpp202 DeviceType ResConfigImpl::GetDeviceType() const in GetDeviceType() function in OHOS::Global::Resource::ResConfigImpl
264 if (this->GetDeviceType() != other.GetDeviceType()) { in Copy()
265 this->SetDeviceType(other.GetDeviceType()); in Copy()
/base/global/resource_management/frameworks/resmgr/include/
Dres_config_impl.h106 DeviceType GetDeviceType() const;
/base/startup/init/test/unittest/syspara/
Dsyspara_unittest.cpp47 printf("Device type =%s\n", GetDeviceType());
81 EXPECT_STRNE(GetDeviceType(), nullptr);
347 std::string type = OHOS::system::GetDeviceType();

12