/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
D | hap_parser_test.cpp | 100 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/ |
D | hap_parser_test.cpp | 106 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/ |
D | device_type_manager.cpp | 43 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/ |
D | getdevicetypecpp_fuzzer.cpp | 23 system::GetDeviceType(); in FuzzGetDeviceTypeCpp()
|
/base/startup/init/test/fuzztest/getdevicetypec_fuzzer/ |
D | getdevicetypec_fuzzer.cpp | 24 if (GetDeviceType() != nullptr) { in FuzzGetDeviceCType()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
D | res_config_impl.cpp | 113 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/ |
D | device_type_manager.h | 38 bool GetDeviceType() const;
|
/base/web/webview/ohos_adapter/system_properties_adapter/src/ |
D | system_properties_adapter_impl.cpp | 53 std::string deviceType = OHOS::system::GetDeviceType(); in GetProductDeviceType()
|
/base/startup/init/interfaces/kits/syscap/src/ |
D | deviceinfo.c | 19 return GetDeviceType(); in OH_GetDeviceType()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
D | hap_parser.h | 91 static DeviceType GetDeviceType(uint32_t value);
|
D | res_config_impl.h | 82 DeviceType GetDeviceType() const;
|
D | res_config.h | 45 virtual DeviceType GetDeviceType() const = 0;
|
/base/hiviewdfx/hiview/base/utility/include/ |
D | parameter_ex.h | 39 DeviceType GetDeviceType();
|
/base/startup/init/interfaces/innerkits/include/syspara/ |
D | parameters.h | 64 std::string GetDeviceType(void);
|
D | parameter.h | 132 const char *GetDeviceType(void);
|
/base/startup/init/interfaces/innerkits/syspara/ |
D | parameter.c | 97 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/ |
D | system_service_ohos_test.cpp | 53 auto ret = Parameter::GetDeviceType();
|
/base/startup/init/simulator/parameter/src/ |
D | parameter_common.c | 94 const char *GetDeviceType(void) in GetDeviceType() function 265 GetDeviceType(), GetManufacture(), GetBrand(), GetProductSeries(), in BuildVersionId()
|
/base/hiviewdfx/hiview/base/utility/ |
D | parameter_ex.cpp | 60 DeviceType GetDeviceType() in GetDeviceType() function
|
/base/startup/init/test/moduletest/ |
D | syspara.cpp | 32 {(char *)"DeviceType", GetDeviceType},
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | api_dumper.cpp | 45 AddApiRetIntoResult(GetDeviceType(), "DeviceType"); in Execute()
|
/base/global/resource_management/interfaces/inner_api/include/ |
D | res_config.h | 58 virtual DeviceType GetDeviceType() const = 0;
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | res_config_impl.cpp | 202 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/ |
D | res_config_impl.h | 106 DeviceType GetDeviceType() const;
|
/base/startup/init/test/unittest/syspara/ |
D | syspara_unittest.cpp | 47 printf("Device type =%s\n", GetDeviceType()); 81 EXPECT_STRNE(GetDeviceType(), nullptr); 347 std::string type = OHOS::system::GetDeviceType();
|