/test/xts/acts/global_lite/i18n_lite/resource_parse_load/src/ |
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_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 D | resource_manager_test.cpp | 345 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 D | parameter_reli_test.c | 60 const char* value1 = GetDeviceType(); 63 const char* value = GetDeviceType(); 65 const char* value2 = GetDeviceType();
|
H A D | deviceinfo_func_test.c | 66 const char *value = GetDeviceType(); 81 const char *value = GetDeviceType();
|
/test/xts/hats/hdf/input/PassthroughBenchmarkTest/ |
H A D | hdf_input_benchmark_test.cpp | 190 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 D | hdf_input_benchmark_test.cpp | 420 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 D | mock_idevice.h | 65 int32_t GetDeviceType(DeviceType& deviceType) override;
|
H A D | mock_idevice.cpp | 183 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 D | mock_idevice.h | 65 int32_t GetDeviceType(DeviceType& deviceType) override;
|
H A D | mock_idevice.cpp | 165 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 D | mock_idevice.h | 65 int32_t GetDeviceType(DeviceType& deviceType) override;
|
/test/xts/acts/ai/nncore/common/ |
H A D | mock_idevice.h | 65 int32_t GetDeviceType(DeviceType& deviceType) override;
|
H A D | mock_idevice.cpp | 180 int32_t MockIDevice::GetDeviceType(DeviceType& deviceType) in GetDeviceType() function in OHOS::HDI::Nnrt::V2_0::MockIDevice
|
/test/xts/tools/others/query/src/ |
H A D | QueryMainStandard.cpp | 97 const char *productType = GetDeviceType();
in main()
|
/test/xts/tools/lite/others/query/src/ |
H A D | QueryMainSmall.cpp | 95 const char *productType = GetDeviceType();
in main()
|
/test/xts/hats/hdf/input/hdi_input/common/ |
H A D | hdi_input_test.cpp | 434 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 D | hdf_input_hdi_test.cpp | 517 * @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 D | mock_idevice.cpp | 180 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 D | hdi_device_test.cpp | 76 auto hdiRet = device_->GetDeviceType(deviceType); in HWTEST_F()
|
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/ |
H A D | hdi_device_test.cpp | 76 auto hdiRet = device_->GetDeviceType(deviceType); in HWTEST_F()
|
/test/xts/acts/startup_lite/syspara_posix/src/ |
H A D | ParameterTest.cpp | 47 {"GetDeviceType", GetDeviceType},
|
/test/xts/tools/lite/hctest/src/ |
H A D | hctest.c | 290 const char *productType = GetDeviceType(); in ObtainSystemParams()
|
/test/xts/hats/hdf/input/hdi_passthrough/ |
H A D | hdf_input_hdi_test.cpp | 368 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 D | hdi_device_test.cpp | 106 * @tc.desc: Call function V2 GetDeviceType, stability test 114 hdiRet = device_->GetDeviceType(deviceType); in HWTEST_F()
|