/drivers/hdf_core/adapter/platform/watchdog/ |
D | watchdog_stm32f4xx.c | 28 int timeout; // Maximum interval between watchdog feeding, unit: ms member 67 device->timeout = HCS_PROP(node, timeout); \ 109 if (dri->GetUint32(resourceNode, "timeout", &device->timeout, 0) != HDF_SUCCESS) { in GetWatchdogDeviceInfoResource() 115 HDF_LOGI("timeout = %dms\n", device->timeout); in GetWatchdogDeviceInfoResource() 253 int32_t timeout = 0; local 263 timeout = watchdogdeviceinfo->timeout; 265 if (timeout < WATCHDOG_MIN_TIMEOUT) { 267 timeout = WATCHDOG_MIN_TIMEOUT; 269 if (timeout > WATCHDOG_MAX_TIMEOUT) { 271 timeout = WATCHDOG_MAX_TIMEOUT; [all …]
|
/drivers/peripheral/bluetooth/hci/hdi_service/implement/ |
D | hci_watcher.cpp | 52 bool HciWatcher::SetTimeout(std::chrono::milliseconds timeout, TimeoutCallback callback) in SetTimeout() argument 54 std::chrono::seconds seconds = std::chrono::duration_cast<std::chrono::seconds>(timeout); in SetTimeout() 57 timeoutTimer_.tv_usec = (timeout - seconds).count(); in SetTimeout() 110 timeval *timeout = nullptr; in WatcherThread() local 127 timeout = nullptr; in WatcherThread() 129 timeout = &timeoutTimer_; in WatcherThread() 133 int ret = select(nfds + 1, &readFds, nullptr, nullptr, timeout); in WatcherThread()
|
/drivers/hdf_core/framework/core/manager/test/unittest/common/ |
D | devmgr_uevent_test.cpp | 29 static const uint32_t timeout = 200; member in DevmgrUeventTest 79 while (sampleService != nullptr && cnt < timeout) { 92 while (sampleService == nullptr && cnt < timeout) { 125 while (sampleService == nullptr && cnt < timeout) { 138 while (sampleService != nullptr && cnt < timeout) { 171 while (sampleService != nullptr && cnt < timeout) { 185 while (sampleService == nullptr && cnt < timeout) { 198 while (sampleService != nullptr && cnt < timeout) {
|
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/ |
D | devmgr_test.cpp | 37 static const uint32_t timeout = 200; member in OHOS::DevMgrTest 79 while (sampleService == nullptr && cnt < timeout) { 103 while (sampleService != nullptr && cnt < timeout) { 124 while (sampleService == nullptr && cnt < timeout) { 135 while (sampleService != nullptr && cnt < timeout) {
|
/drivers/peripheral/usb/hdi_service/include/ |
D | usb_impl.h | 59 … const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint8_t> &data) override; 61 …const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data) overrid… 66 … const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint8_t> &data) override; 68 …const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data) overrid… 70 … const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint8_t> &data) override; 72 …const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data) overrid… 76 …ev &dev, std::vector<uint8_t> &clientData, std::vector<uint8_t> &buffer, int32_t timeout) override; 105 int32_t UsbControlTransferEx(HostDevice *dev, UsbControlParams *ctrParams, int32_t timeout); 112 …int32_t timeout, uint8_t *buffer, uint32_t size, uint32_t *actlength, UsbdRequestSync *requestSync… 114 …vice *port, UsbdRequestSync *requestSync, const uint8_t *buffer, uint32_t length, int32_t timeout); [all …]
|
D | usbd_type.h | 111 uint32_t timeout; member 121 uint32_t timeout; member 131 uint32_t timeout; member
|
/drivers/external_device_manager/test/unittest/bus_extension_usb_test/include/ |
D | usb_impl_mock.h | 70 …BulkTransferRead, int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uin… 72 …int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data)… 78 … int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint8_t> &data)); 80 …int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data)… 82 …IsoTransferRead, int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, std::vector<uint… 84 …int32_t(const UsbDev &dev, const UsbPipe &pipe, int32_t timeout, const std::vector<uint8_t> &data)… 89 …nst UsbDev &dev, std::vector<uint8_t> &clientData, std::vector<uint8_t> &buffer, int32_t timeout));
|
/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
D | hdi_smq_syncer.cpp | 101 void SharedMemQueueSyncer::TimeoutToRealtime(int64_t timeout, struct timespec &realtime) in TimeoutToRealtime() argument 106 int64_t timeoutNanoSec = timeout % nano; in TimeoutToRealtime() 107 int64_t timeoutSec = timeout / nano; in TimeoutToRealtime()
|
/drivers/peripheral/usb/test/fuzztest/usbbulktransferread_fuzzer/ |
D | usbbulktransferread_fuzzer.cpp | 43 int32_t timeout = *(reinterpret_cast<int32_t *>(*data)); in UsbBulkTransferReadFuzzTest() local 44 …ret = usbInterface->BulkTransferRead(dev, pipe, timeout, reinterpret_cast<std::vector<uint8_t> &>(… in UsbBulkTransferReadFuzzTest()
|
/drivers/peripheral/usb/test/fuzztest/usbisotransferwrite_fuzzer/ |
D | usbisotransferwrite_fuzzer.cpp | 44 int32_t timeout = *(reinterpret_cast<int32_t *>(*data)); in UsbIsoTransferWriteFuzzTest() local 45 …ret = usbInterface->IsoTransferWrite(dev, pipe, timeout, reinterpret_cast<std::vector<uint8_t> &>(… in UsbIsoTransferWriteFuzzTest()
|
/drivers/peripheral/usb/test/fuzztest/usbinterrupttransferwrite_fuzzer/ |
D | usbinterrupttransferwrite_fuzzer.cpp | 44 int32_t timeout = *(reinterpret_cast<int32_t *>(*data)); in UsbInterruptTransferWriteFuzzTest() local 45 …ret = usbInterface->InterruptTransferWrite(dev, pipe, timeout, reinterpret_cast<std::vector<uint8_… in UsbInterruptTransferWriteFuzzTest()
|
/drivers/peripheral/usb/test/fuzztest/usbinterrupttransferread_fuzzer/ |
D | usbinterrupttransferread_fuzzer.cpp | 44 int32_t timeout = *(reinterpret_cast<int32_t *>(*data)); in UsbInterruptTransferReadFuzzTest() local 45 …ret = usbInterface->InterruptTransferRead(dev, pipe, timeout, reinterpret_cast<std::vector<uint8_t… in UsbInterruptTransferReadFuzzTest()
|
/drivers/peripheral/usb/test/fuzztest/usbisotransferread_fuzzer/ |
D | usbisotransferread_fuzzer.cpp | 44 int32_t timeout = *(reinterpret_cast<int32_t *>(*data)); in UsbIsoTransferReadFuzzTest() local 45 …ret = usbInterface->IsoTransferRead(dev, pipe, timeout, reinterpret_cast<std::vector<uint8_t> &>(d… in UsbIsoTransferReadFuzzTest()
|
/drivers/peripheral/usb/test/fuzztest/usbbulktransferwrite_fuzzer/ |
D | usbbulktransferwrite_fuzzer.cpp | 43 int32_t timeout = *(reinterpret_cast<int32_t *>(*data)); in UsbBulkTransferWriteFuzzTest() local 44 …ret = usbInterface->BulkTransferWrite(dev, pipe, timeout, reinterpret_cast<const std::vector<uint8… in UsbBulkTransferWriteFuzzTest()
|
/drivers/external_device_manager/interfaces/ddk/usb/ |
D | usb_ddk_api.h | 170 uint32_t timeout, uint8_t *data, uint32_t *dataLen); 186 uint32_t timeout, const uint8_t *data, uint32_t dataLen);
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/ |
D | buffer_pool.cpp | 163 std::shared_ptr<IBuffer> BufferPool::AcquireBuffer(int timeout) in AcquireBuffer() argument 177 if (timeout < 0) { in AcquireBuffer() 191 if (timeout > 0) { in AcquireBuffer() 192 if (cv_.wait_for(l, std::chrono::seconds(timeout), [this] { in AcquireBuffer() 202 … CAMERA_LOGV("acquire buffer wait %{public}ds, index = %{public}d", timeout, buffer->GetIndex()); in AcquireBuffer()
|
/drivers/peripheral/battery/interfaces/hdi_service/src/ |
D | battery_thread.cpp | 222 int32_t timeout = epollInterval_; in LoopingThreadEntry() local 224 if ((timeout < 0) || (waitTimeout > 0 && waitTimeout < timeout)) { in LoopingThreadEntry() 225 timeout = waitTimeout; in LoopingThreadEntry() 228 nevents = epoll_wait(epFd_, events, static_cast<int32_t>(size), timeout); in LoopingThreadEntry()
|
/drivers/peripheral/usb/ddk_service/src/ |
D | usb_ddk_service.cpp | 236 …uint64_t interfaceHandle, const UsbControlRequestSetup &setup, uint32_t timeout, std::vector<uint8… in SendControlReadRequest() argument 256 params.timeout = timeout; in SendControlReadRequest() 284 …uint64_t interfaceHandle, const UsbControlRequestSetup &setup, uint32_t timeout, const std::vector… in SendControlWriteRequest() argument 306 params.timeout = timeout; in SendControlWriteRequest() 355 params.timeout = pipe.timeout; in SendPipeRequest()
|
/drivers/peripheral/usb/ddk_service/include/ |
D | usb_ddk_service.h | 47 …ControlReadRequest(uint64_t interfaceHandle, const UsbControlRequestSetup &setup, uint32_t timeout, 50 …ontrolWriteRequest(uint64_t interfaceHandle, const UsbControlRequestSetup &setup, uint32_t timeout,
|
/drivers/peripheral/usb/test/unittest/host_sdk/ |
D | usb_raw_sdk_if_test_io.cpp | 368 reqData.timeout = USB_CTRL_SET_TIMEOUT; in AcmRawFillWriteReq() 389 reqData.timeout = USB_CTRL_SET_TIMEOUT; in AcmRawFillReadReq() 409 fillRequestData.timeout = USB_CTRL_SET_TIMEOUT; in AcmRawFillIntReq() 433 ctrlReq.timeout = USB_CTRL_SET_TIMEOUT; in AcmRawFillCtrlReq() 502 ctrlReq.timeout = USB_CTRL_SET_TIMEOUT; 530 ctrlReq.timeout = USB_CTRL_SET_TIMEOUT; 572 ctrlReq.timeout = USB_CTRL_SET_TIMEOUT; 600 ctrlReq.timeout = USB_CTRL_SET_TIMEOUT; 660 reqData.timeout = USB_CTRL_SET_TIMEOUT; 689 reqData.timeout = USB_CTRL_SET_TIMEOUT; [all …]
|
/drivers/peripheral/usb/ddk/host/include/ |
D | usb_ddk_request.h | 96 unsigned int timeout; member 124 unsigned int timeout; member
|
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/ |
D | usb_raw_test.c | 318 reqData.timeout = USB_CTRL_SET_TIMEOUT; in CheckRawSdkIfFillIsoRequest001() 341 reqData.timeout = USB_CTRL_SET_TIMEOUT; in CheckRawSdkIfFillIsoRequest002() 379 reqData.timeout = USB_CTRL_SET_TIMEOUT; in CheckRawSdkIfFillIsoRequest004() 402 reqData.timeout = USB_CTRL_SET_TIMEOUT; in CheckRawSdkIfFillIsoRequest005() 908 reqData.timeout = USB_CTRL_SET_TIMEOUT; in CheckRawSdkIfFillBulkRequest001() 930 reqData.timeout = USB_CTRL_SET_TIMEOUT; in CheckRawSdkIfFillBulkRequest002() 953 fillRequestData.timeout = USB_RAW_REQUEST_TIME_ZERO_MS; in CheckRawSdkIfFillInterruptRequest001() 976 fillRequestData.timeout = USB_RAW_REQUEST_TIME_ZERO_MS; in CheckRawSdkIfFillInterruptRequest002() 999 fillRequestData.timeout = USB_RAW_REQUEST_TIME_ZERO_MS; in CheckRawSdkIfFillInterruptRequest003() 1030 fillRequestData.timeout = USB_CTRL_SET_TIMEOUT; in CheckRawSdkIfFillControlRequest001() [all …]
|
/drivers/interface/usb/v1_0/ |
D | IUsbInterface.idl | 194 * direction. You can specify a timeout duration if needed. 198 * @param timeout Indicates the timeout duration. 204 …BulkTransferRead([in] struct UsbDev dev, [in] struct UsbPipe pipe, [in] int timeout, [out] unsigne… 212 * @param timeout Indicates the timeout duration. 218 …BulkTransferWrite([in] struct UsbDev dev, [in] struct UsbPipe pipe, [in] int timeout, [in] unsigne… 256 * @param timeout Indicates the timeout duration. 262 …InterruptTransferRead([in] struct UsbDev dev, [in] struct UsbPipe pipe, [in] int timeout, [out] un… 270 * @param timeout Indicates the timeout duration. 276 …InterruptTransferWrite([in] struct UsbDev dev, [in] struct UsbPipe pipe, [in] int timeout, [in] un… 284 * @param timeout Indicates the timeout duration. [all …]
|
/drivers/peripheral/usb/interfaces/ddk/host/ |
D | usb_raw_api.h | 82 unsigned int timeout; member 102 unsigned int timeout; member 150 unsigned int timeout; member
|
/drivers/peripheral/usb/sample/device/liteos/lib/include/ |
D | lib_acm_test.h | 23 void AcmRead(char *str, int32_t timeout = 5);
|