Home
last modified time | relevance | path

Searched refs:GetDeviceType (Results 1 - 25 of 53) sorted by relevance

123

/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dhap_parser_test.cpp100 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 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/
H A Dgetdevicetypecpp_fuzzer.cpp23 system::GetDeviceType(); in FuzzGetDeviceTypeCpp()
/base/startup/init/test/fuzztest/getdevicetypec_fuzzer/
H A Dgetdevicetypec_fuzzer.cpp24 if (GetDeviceType() != nullptr) { in FuzzGetDeviceCType()
/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
H A Dnotification_subscriber.cpp38 std::string NotificationSubscriber::GetDeviceType() const in GetDeviceType() function in OHOS::Notification::NotificationSubscriber
/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()
/base/security/appverify/interfaces/innerkits/appverify/include/init/
H A Ddevice_type_manager.h38 bool GetDeviceType() const;
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dhap_parser_test.cpp105 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 Ddeviceinfo.c19 return GetDeviceType(); in OH_GetDeviceType()
/base/print/print_fwk/frameworks/helper/scan_helper/src/
H A Dscanner_info_helper.cpp51 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 Dhap_parser.h91 static DeviceType GetDeviceType(uint32_t value);
H A Dres_config_impl.h82 DeviceType GetDeviceType() const;
H A Dres_config.h45 virtual DeviceType GetDeviceType() const = 0;
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_subscribe_info.h87 std::string GetDeviceType() const;
H A Dnotification_subscriber.h119 std::string GetDeviceType() const;
/base/startup/init/interfaces/innerkits/include/syspara/
H A Dparameters.h64 std::string GetDeviceType(void);
H A Dparameter.h143 const char *GetDeviceType(void);
/base/startup/init/simulator/parameter/src/
H A Dparameter_common.c95 const char *GetDeviceType(void) in GetDeviceType() function
266 GetDeviceType(), GetManufacture(), GetBrand(), GetProductSeries(), in BuildVersionId()
/base/startup/init/interfaces/innerkits/syspara/
H A Dparameter.c108 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 Dapi_dumper.cpp46 AddApiRetIntoResult(GetDeviceType(), "DeviceType"); in Execute()
/base/startup/init/interfaces/kits/cj/src_deviceinfo/
H A Ddevice_info.cpp51 return GetDeviceType(); in CjGetDeviceType()
/base/startup/init/test/moduletest/
H A Dsyspara.cpp32 {(char *)"DeviceType", GetDeviceType},
/base/print/print_fwk/frameworks/helper/scan_helper/include/
H A Dscanner_info.h54 [[nodiscard]] const std::string &GetDeviceType() const;
111 [[nodiscard]] const std::string &GetDeviceType() const;
/base/global/resource_management/frameworks/resmgr/include/
H A Dres_config_impl.h140 DeviceType GetDeviceType() const;

Completed in 13 milliseconds

123