/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
H A D | hap_parser_test.cpp | 100 EXPECT_EQ(DEVICE_CAR, config->GetDeviceType()); in HWTEST_F() 115 * @tc.desc: Test GetDeviceType 120 ASSERT_EQ(DEVICE_CAR, HapParser::GetDeviceType(DEVICE_CAR)); in HWTEST_F() 121 ASSERT_EQ(DEVICE_PAD, HapParser::GetDeviceType(DEVICE_PAD)); in HWTEST_F() 122 ASSERT_EQ(DEVICE_PHONE, HapParser::GetDeviceType(DEVICE_PHONE)); in HWTEST_F() 123 ASSERT_EQ(DEVICE_TABLET, HapParser::GetDeviceType(DEVICE_TABLET)); in HWTEST_F() 124 ASSERT_EQ(DEVICE_TV, HapParser::GetDeviceType(DEVICE_TV)); in HWTEST_F() 125 ASSERT_EQ(DEVICE_WEARABLE, HapParser::GetDeviceType(DEVICE_WEARABLE)); in HWTEST_F() 126 ASSERT_EQ(DEVICE_NOT_SET, HapParser::GetDeviceType(1000000)); in HWTEST_F()
|
/base/security/appverify/interfaces/innerkits/appverify/src/init/ |
H A 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/ |
H A D | getdevicetypecpp_fuzzer.cpp | 23 system::GetDeviceType(); in FuzzGetDeviceTypeCpp()
|
/base/startup/init/test/fuzztest/getdevicetypec_fuzzer/ |
H A D | getdevicetypec_fuzzer.cpp | 24 if (GetDeviceType() != nullptr) { in FuzzGetDeviceCType()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_subscribe_info.cpp | 35 deviceType_ = subscribeInfo.GetDeviceType(); in NotificationSubscribeInfo() 70 std::string NotificationSubscribeInfo::GetDeviceType() const in GetDeviceType() function in OHOS::Notification::NotificationSubscribeInfo
|
H A D | notification_subscriber.cpp | 38 std::string NotificationSubscriber::GetDeviceType() const in GetDeviceType() function in OHOS::Notification::NotificationSubscriber
|
/base/global/resource_management_lite/frameworks/resmgr_lite/src/ |
H A 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/ |
H A D | device_type_manager.h | 38 bool GetDeviceType() const;
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | hap_parser_test.cpp | 105 EXPECT_EQ(DEVICE_CAR, config->GetDeviceType()); in HWTEST_F() 118 * @tc.desc: Test GetDeviceType 123 ASSERT_EQ(DEVICE_CAR, HapParser::GetDeviceType(DEVICE_CAR)); in HWTEST_F() 124 ASSERT_EQ(DEVICE_PAD, HapParser::GetDeviceType(DEVICE_PAD)); in HWTEST_F() 125 ASSERT_EQ(DEVICE_PHONE, HapParser::GetDeviceType(DEVICE_PHONE)); in HWTEST_F() 126 ASSERT_EQ(DEVICE_TABLET, HapParser::GetDeviceType(DEVICE_TABLET)); in HWTEST_F() 127 ASSERT_EQ(DEVICE_TV, HapParser::GetDeviceType(DEVICE_TV)); in HWTEST_F() 128 ASSERT_EQ(DEVICE_WEARABLE, HapParser::GetDeviceType(DEVICE_WEARABLE)); in HWTEST_F() 129 ASSERT_EQ(DEVICE_NOT_SET, HapParser::GetDeviceType(1000000)); in HWTEST_F()
|
/base/startup/init/interfaces/kits/syscap/src/ |
H A D | deviceinfo.c | 19 return GetDeviceType(); in OH_GetDeviceType()
|
/base/print/print_fwk/frameworks/helper/scan_helper/src/ |
H A D | scanner_info_helper.cpp | 51 NapiScanUtils::SetStringPropertyUtf8(env, jsObj, PARAM_TCP_DEVICETYPE, info.GetDeviceType()); in MakeJsObject() 68 NapiScanUtils::SetStringPropertyUtf8(env, jsObj, PARAM_DEVICETYPE, info.GetDeviceType()); in MakeJsObject()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/include/ |
H A D | hap_parser.h | 91 static DeviceType GetDeviceType(uint32_t value);
|
H A D | res_config_impl.h | 82 DeviceType GetDeviceType() const;
|
H A D | res_config.h | 45 virtual DeviceType GetDeviceType() const = 0;
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_subscribe_info.h | 87 std::string GetDeviceType() const;
|
H A D | notification_subscriber.h | 119 std::string GetDeviceType() const;
|
/base/startup/init/interfaces/innerkits/include/syspara/ |
H A D | parameters.h | 64 std::string GetDeviceType(void);
|
H A D | parameter.h | 143 const char *GetDeviceType(void);
|
/base/startup/init/simulator/parameter/src/ |
H A D | parameter_common.c | 95 const char *GetDeviceType(void)
in GetDeviceType() function 266 GetDeviceType(), GetManufacture(), GetBrand(), GetProductSeries(),
in BuildVersionId()
|
/base/startup/init/interfaces/innerkits/syspara/ |
H A D | parameter.c | 108 const char *GetDeviceType(void) in GetDeviceType() function 283 if (GetDeviceType() == NULL) { in BuildVersionId() 288 GetDeviceType(), GetManufacture(), GetBrand(), GetProductSeries(), in BuildVersionId()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
H A D | api_dumper.cpp | 46 AddApiRetIntoResult(GetDeviceType(), "DeviceType"); in Execute()
|
/base/startup/init/interfaces/kits/cj/src_deviceinfo/ |
H A D | device_info.cpp | 51 return GetDeviceType(); in CjGetDeviceType()
|
/base/startup/init/test/moduletest/ |
H A D | syspara.cpp | 32 {(char *)"DeviceType", GetDeviceType},
|
/base/print/print_fwk/frameworks/helper/scan_helper/include/ |
H A D | scanner_info.h | 54 [[nodiscard]] const std::string &GetDeviceType() const; 111 [[nodiscard]] const std::string &GetDeviceType() const;
|
/base/global/resource_management/frameworks/resmgr/include/ |
H A D | res_config_impl.h | 140 DeviceType GetDeviceType() const;
|