Home
last modified time | relevance | path

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

/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/
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_PC, HapParser::GetDeviceType(DEVICE_PC)); 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()
H A Dresource_manager_test.cpp345 EXPECT_EQ(DEVICE_NOT_SET, rc.GetDeviceType()); in HWTEST_F()
373 EXPECT_EQ(DEVICE_CAR, rc.GetDeviceType()); in HWTEST_F()
/test/xts/acts/startup_lite/syspara_hal/src/
H A Dparameter_reli_test.c60 const char* value1 = GetDeviceType();
63 const char* value = GetDeviceType();
65 const char* value2 = GetDeviceType();
H A Ddeviceinfo_func_test.c66 const char *value = GetDeviceType();
81 const char *value = GetDeviceType();
/test/xts/hats/hdf/input/PassthroughBenchmarkTest/
H A Dhdf_input_benchmark_test.cpp190 BENCHMARK_F(PassthroughBenchmarkTest, GetDeviceType)(benchmark::State &st) in BENCHMARK_F()
201 ret = g_inputInterfaces->GetDeviceType(TOUCH_INDEX, devType); in BENCHMARK_F()
209 BENCHMARK_REGISTER_F(PassthroughBenchmarkTest, GetDeviceType)->Iterations(100)->
/test/xts/hats/hdf/input/inputBenchmarkTest/
H A Dhdf_input_benchmark_test.cpp420 BENCHMARK_F(InputBenchmarkTest, GetDeviceType)(benchmark::State &st) in BENCHMARK_F()
427 ret = g_inputInterface->iInputController->GetDeviceType(TOUCH_INDEX, &devType); in BENCHMARK_F()
430 BENCHMARK_REGISTER_F(InputBenchmarkTest, GetDeviceType)->Iterations(100)->
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dmock_idevice.h65 int32_t GetDeviceType(DeviceType& deviceType) override;
H A Dmock_idevice.cpp183 int32_t MockIDevice::GetDeviceType(DeviceType& deviceType) in GetDeviceType() function in OHOS::HDI::Nnrt::V2_0::MockIDevice
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
H A Dmock_idevice.h65 int32_t GetDeviceType(DeviceType& deviceType) override;
H A Dmock_idevice.cpp165 int32_t MockIDevice::GetDeviceType(DeviceType& deviceType) in GetDeviceType() function in OHOS::HDI::Nnrt::V1_0::MockIDevice
/test/xts/acts/ai/nncore/opstest/include/
H A Dmock_idevice.h65 int32_t GetDeviceType(DeviceType& deviceType) override;
/test/xts/acts/ai/nncore/common/
H A Dmock_idevice.h65 int32_t GetDeviceType(DeviceType& deviceType) override;
H A Dmock_idevice.cpp180 int32_t MockIDevice::GetDeviceType(DeviceType& deviceType) in GetDeviceType() function in OHOS::HDI::Nnrt::V2_0::MockIDevice
/test/xts/tools/others/query/src/
H A DQueryMainStandard.cpp97 const char *productType = GetDeviceType(); in main()
/test/xts/tools/lite/others/query/src/
H A DQueryMainSmall.cpp95 const char *productType = GetDeviceType(); in main()
/test/xts/hats/hdf/input/hdi_input/common/
H A Dhdi_input_test.cpp434 ret = g_inputInterface->iInputController->GetDeviceType(TOUCH_INDEX, &devType); in HWTEST_F()
454 ret = g_inputInterface->iInputController->GetDeviceType(TOUCH_INDEX, nullptr); in HWTEST_F()
456 ret = g_inputInterface->iInputController->GetDeviceType(0, &devType); in HWTEST_F()
458 ret = g_inputInterface->iInputController->GetDeviceType(MAX_INPUT_DEV_NUM, &devType); in HWTEST_F()
/test/xts/hats/hdf/input/hdi_passthrough_additional/
H A Dhdf_input_hdi_test.cpp517 * @tc.desc : Reliability of function(GetDeviceType)
527 ret = g_inputInterfaces->GetDeviceType(TOUCH_INDEX, devType); in HWTEST_F()
543 ret = g_inputInterfaces->GetDeviceType(devIndex, devType); in HWTEST_F()
561 ret = g_inputInterfaces->GetDeviceType(devIndex, devType); in HWTEST_F()
565 ret = g_inputInterfaces->GetDeviceType(devIndex, devType); in HWTEST_F()
580 ret = g_inputInterfaces->GetDeviceType(MAX_DEVICES, devType); in HWTEST_F()
/test/xts/acts/ai/nncore/opstest/src/
H A Dmock_idevice.cpp180 int32_t MockIDevice::GetDeviceType(DeviceType& deviceType) in GetDeviceType() function in OHOS::HDI::Nnrt::V2_1::MockIDevice
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtFunctionTest/src/
H A Dhdi_device_test.cpp76 auto hdiRet = device_->GetDeviceType(deviceType); in HWTEST_F()
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/
H A Dhdi_device_test.cpp76 auto hdiRet = device_->GetDeviceType(deviceType); in HWTEST_F()
/test/xts/acts/startup_lite/syspara_posix/src/
H A DParameterTest.cpp47 {"GetDeviceType", GetDeviceType},
/test/xts/tools/lite/hctest/src/
H A Dhctest.c290 const char *productType = GetDeviceType(); in ObtainSystemParams()
/test/xts/hats/hdf/input/hdi_passthrough/
H A Dhdf_input_hdi_test.cpp368 ret = g_inputInterfaces->GetDeviceType(TOUCH_INDEX, devType); in HWTEST_F()
395 ret = g_inputInterfaces->GetDeviceType(INVALID_INDEX, devType); in HWTEST_F()
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/
H A Dhdi_device_test.cpp106 * @tc.desc: Call function V2 GetDeviceType, stability test
114 hdiRet = device_->GetDeviceType(deviceType); in HWTEST_F()

Completed in 24 milliseconds