Home
last modified time | relevance | path

Searched refs:OpenDevice (Results 1 - 25 of 30) sorted by relevance

12

/drivers/peripheral/usb/test/unittest/hal/src/
H A Dusbd_device_test.cpp86 * @tc.desc: Test functions to OpenDevice
87 * @tc.desc: int32_t OpenDevice(const UsbDev &dev);
94 auto ret = g_usbInterface->OpenDevice(dev); in HWTEST_F()
95 HDF_LOGI("UsbdDeviceTest:: Line:%{public}d OpenDevice result =%{public}d", __LINE__, ret); in HWTEST_F()
101 * @tc.desc: Test functions to OpenDevice
102 * @tc.desc: int32_t OpenDevice(const UsbDev &dev);
109 auto ret = g_usbInterface->OpenDevice(dev); in HWTEST_F()
110 HDF_LOGI("UsbdDeviceTest:: Line:%{public}d OpenDevice result=%{public}d", __LINE__, ret); in HWTEST_F()
116 * @tc.desc: Test functions to OpenDevice
117 * @tc.desc: int32_t OpenDevice(cons
[all...]
H A Dusbd_manage_interface_test.cpp78 ret = g_usbInterface->OpenDevice(dev_); in SetUpTestCase()
79 HDF_LOGI("UsbdManageInterfaceTest:: %{public}d OpenDevice=%{public}d", __LINE__, ret); in SetUpTestCase()
H A Dusbd_interface_test.cpp86 ret = g_usbInterface->OpenDevice(dev_); in SetUpTestCase()
88 HDF_LOGI("UsbdInterfaceTest:: %{public}d OpenDevice=%{public}d", __LINE__, ret); in SetUpTestCase()
H A Dusbd_device_status_test.cpp77 ret = g_usbInterface->OpenDevice(dev_); in SetUpTestCase()
78 HDF_LOGI("UsbdDeviceStatusTest::%{public}d OpenDevice=%{public}d", __LINE__, ret); in SetUpTestCase()
/drivers/peripheral/usb/test/benchmarktest/
H A Dusb_benchmark_device_test.cpp60 * @tc.name: OpenDevice
61 * @tc.desc: Test functions to OpenDevice benchmark test
62 * @tc.desc: int32_t OpenDevice(const UsbDev &dev);
66 BENCHMARK_F(UsbBenchmarkDeviceTest, OpenDevice)(benchmark::State &state) in BENCHMARK_F()
77 ret = g_usbInterface->OpenDevice(g_dev); in BENCHMARK_F()
83 BENCHMARK_REGISTER_F(UsbBenchmarkDeviceTest, OpenDevice)->
104 ret = g_usbInterface->OpenDevice(g_dev); in BENCHMARK_F()
H A Dusb_benchmark_transfer_test.cpp128 auto ret = g_usbInterface->OpenDevice(g_dev); in InitPara()
565 auto ret = g_usbInterface->OpenDevice(g_dev); in BENCHMARK_F()
H A Dusb_benchmark_request_test.cpp96 auto ret = g_usbInterface->OpenDevice(g_dev); in InitPara()
/drivers/peripheral/display/hal/default_standard/src/utils/
H A Ddisplay_adapter.cpp71 int32_t DisplayAdapter::OpenDevice(const std::string &pathName, int32_t flags, mode_t mode) in OpenDevice() function in OHOS::HDI::DISPLAY::DisplayAdapter
73 if (funcs_->OpenDevice != nullptr) { in OpenDevice()
75 return funcs_->OpenDevice(pathName.c_str(), flags, mode); in OpenDevice()
H A Ddisplay_adapter.h36 int32_t OpenDevice(const std::string &pathName, int32_t flags, mode_t mode);
/drivers/peripheral/usb/test/unittest/mock/src/
H A Dusbd_device_auto_test.cpp290 * @tc.desc: Test functions to OpenDevice
291 * @tc.desc: int32_t OpenDevice(const UsbDev &dev);
297 int32_t ret = g_usbInterface->OpenDevice(dev_); in HWTEST_F()
303 * @tc.desc: Test functions to OpenDevice
304 * @tc.desc: int32_t OpenDevice(const UsbDev &dev);
311 auto ret = g_usbInterface->OpenDevice(dev); in HWTEST_F()
312 HDF_LOGI("UsbdDeviceTest:: Line:%{public}d OpenDevice result=%{public}d", __LINE__, ret); in HWTEST_F()
318 * @tc.desc: Test functions to OpenDevice
319 * @tc.desc: int32_t OpenDevice(const UsbDev &dev);
326 auto ret = g_usbInterface->OpenDevice(de in HWTEST_F()
[all...]
/drivers/peripheral/display/hal/default_standard/include/
H A Ddisplay_adapter_interface.h36 int32_t (*OpenDevice)(const char *path, int flags, mode_t mode); member
/drivers/peripheral/usb/test/fuzztest/usbcommonfunction_fuzzer/
H A Dusbcommonfunction_fuzzer.cpp43 ret = usbInterface->OpenDevice(dev); in UsbFuzzTestHostModeInit()
/drivers/peripheral/distributed_audio/interface/audio_ext/v1_0/
H A Di_daudio_hdf_callback.h26 virtual int32_t OpenDevice(int32_t devId, int32_t dhId) = 0;
/drivers/peripheral/usb/test/fuzztest/usbopendevice_fuzzer/
H A Dusbopendevice_fuzzer.cpp43 ret = usbInterface->OpenDevice(dev); in UsbOpenDeviceFuzzTest()
/drivers/peripheral/display/hal/default_standard/src/display_device/fbdev/
H A Dfb_device.cpp36 int fd = adapter->OpenDevice(FBDEV_PATH, O_RDWR, 0); in Create()
/drivers/peripheral/usb/test/fuzztest/usbhost_fuzzer/
H A Dusbhost_fuzzer.cpp91 ret = usbInterface->OpenDevice(dev); in DoSomethingInterestingWithMyAPI()
/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/usb/
H A Dusb_dev_subscriber.cpp126 ret = this->iusb_->OpenDevice(usbDev); in OnDeviceConnect()
128 EDM_LOGE(MODULE_BUS_USB, "OpenDevice failed, ret = %{public}d", ret); in OnDeviceConnect()
/drivers/external_device_manager/test/unittest/bus_extension_usb_test/include/
H A Dusb_impl_mock.h61 MOCK_METHOD1(OpenDevice, int32_t(const UsbDev &dev));
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
H A Dframebuffer_allocator.cpp96 deviceFd_ = DisplayAdapter::GetInstance()->OpenDevice(FBDEV_PATH, O_RDWR, 0); in Init()
/drivers/peripheral/input/udriver/include/
H A Dinput_device_manager.h92 RetStatus OpenDevice(uint32_t deviceIndex);
/drivers/peripheral/usb/sample/host/liteos_test/src/
H A Dusbhost_nosdk_speed.c68 static int32_t OpenDevice(void) in OpenDevice() function
397 OpenDevice(); in UsbSerialSpeed()
/drivers/peripheral/usb/sample/host/src/
H A Dusbhost_nosdk_speed.c75 static int32_t OpenDevice(void) in OpenDevice() function
357 g_fd = OpenDevice(); in main()
/drivers/peripheral/input/udriver/src/
H A Dinput_manager.cpp48 return gInputDeviceManager_->OpenDevice(devIndex); in OpenInputDevice()
H A Dinput_device_manager.cpp593 RetStatus InputDeviceManager::OpenDevice(uint32_t deviceIndex) in OpenDevice() function in OHOS::Input::InputDeviceManager
/drivers/peripheral/usb/hdi_service/include/
H A Dusb_impl.h46 int32_t OpenDevice(const UsbDev &dev) override;

Completed in 14 milliseconds

12