/drivers/peripheral/intelligent_voice/hdi_service/trigger/ |
D | intell_voice_trigger_adapter_impl.cpp | 113 int32_t IntellVoiceTriggerAdapterImpl::GetModelDataFromAshmem(sptr<Ashmem> ashmem, std::vector<uint… in GetModelDataFromAshmem() argument 115 if (ashmem == nullptr) { in GetModelDataFromAshmem() 120 uint32_t size = static_cast<uint32_t>(ashmem->GetAshmemSize()); in GetModelDataFromAshmem() 126 if (!ashmem->MapReadOnlyAshmem()) { in GetModelDataFromAshmem() 131 const uint8_t *buffer = static_cast<const uint8_t *>(ashmem->ReadFromAshmem(size, 0)); in GetModelDataFromAshmem()
|
D | intell_voice_trigger_adapter_impl.h | 56 int32_t GetModelDataFromAshmem(sptr<Ashmem> ashmem, std::vector<uint8_t> &modelData);
|
/drivers/peripheral/usb/test/fuzztest/usbbulkread_fuzzer/ |
D | usbbulkread_fuzzer.cpp | 44 sptr<Ashmem> ashmem; in UsbBulkReadFuzzTest() local 45 ret = usbInterface->BulkRead(dev, pipe, ashmem); in UsbBulkReadFuzzTest()
|
/drivers/peripheral/usb/test/fuzztest/usbbulkwrite_fuzzer/ |
D | usbbulkwrite_fuzzer.cpp | 44 sptr<Ashmem> ashmem; in UsbBulkWriteFuzzTest() local 45 ret = usbInterface->BulkWrite(dev, pipe, ashmem); in UsbBulkWriteFuzzTest()
|
/drivers/peripheral/usb/test/unittest/mock/src/ |
D | usbd_transfer_auto_test.cpp | 1477 sptr<Ashmem> ashmem; variable 1487 (void)InitAshmemOne(ashmem, asmSize, rflg); 1488 ret = g_usbInterface->BulkWrite(dev, pipe, ashmem); 1501 sptr<Ashmem> ashmem; variable 1512 (void)InitAshmemOne(ashmem, asmSize, rflg); 1513 ret = g_usbInterface->BulkWrite(dev, pipe, ashmem); 1526 sptr<Ashmem> ashmem; variable 1537 (void)InitAshmemOne(ashmem, asmSize, rflg); 1538 ret = g_usbInterface->BulkWrite(dev, pipe, ashmem); 1551 sptr<Ashmem> ashmem; variable [all …]
|
/drivers/peripheral/usb/test/unittest/hal/src/ |
D | usbd_transfer_test.cpp | 1858 sptr<Ashmem> ashmem; variable 1868 (void)InitAshmemOne(ashmem, asmSize, rflg); 1869 ret = g_usbInterface->BulkWrite(dev, pipe, ashmem); 1882 sptr<Ashmem> ashmem; variable 1893 (void)InitAshmemOne(ashmem, asmSize, rflg); 1894 ret = g_usbInterface->BulkWrite(dev, pipe, ashmem); 1907 sptr<Ashmem> ashmem; variable 1918 (void)InitAshmemOne(ashmem, asmSize, rflg); 1919 ret = g_usbInterface->BulkWrite(dev, pipe, ashmem); 1932 sptr<Ashmem> ashmem; variable [all …]
|
/drivers/peripheral/usb/test/benchmarktest/ |
D | usb_benchmark_transfer_test.cpp | 381 sptr<Ashmem> ashmem; in BENCHMARK_F() local 389 (void)InitAshmemOne(ashmem, asmSize, rflg); in BENCHMARK_F() 391 ret = g_usbInterface->BulkRead(g_dev, pipe, ashmem); in BENCHMARK_F() 413 sptr<Ashmem> ashmem; in BENCHMARK_F() local 421 (void)InitAshmemOne(ashmem, asmSize, rflg); in BENCHMARK_F() 423 ret = g_usbInterface->BulkWrite(g_dev, pipe, ashmem); in BENCHMARK_F()
|
/drivers/external_device_manager/test/unittest/bus_extension_usb_test/include/ |
D | usb_impl_mock.h | 95 …OCK_METHOD3(BulkRead, int32_t(const UsbDev &dev, const UsbPipe &pipe, const sptr<Ashmem> &ashmem)); 96 …CK_METHOD3(BulkWrite, int32_t(const UsbDev &dev, const UsbPipe &pipe, const sptr<Ashmem> &ashmem));
|
/drivers/peripheral/usb/hdi_service/include/ |
D | usb_impl.h | 86 int32_t BulkRead(const UsbDev &dev, const UsbPipe &pipe, const sptr<Ashmem> &ashmem) override; 87 int32_t BulkWrite(const UsbDev &dev, const UsbPipe &pipe, const sptr<Ashmem> &ashmem) override;
|
/drivers/peripheral/usb/hdi_service/src/ |
D | usb_impl.cpp | 1829 int32_t UsbImpl::BulkRead(const UsbDev &dev, const UsbPipe &pipe, const sptr<Ashmem> &ashmem) in BulkRead() argument 1843 …int32_t ret = InitAsmBufferHandle(&list->asmHandle, ashmem->GetAshmemFd(), ashmem->GetAshmemSize()… in BulkRead() 1846 ret, ashmem->GetAshmemFd(), ashmem->GetAshmemSize()); in BulkRead() 1862 int32_t UsbImpl::BulkWrite(const UsbDev &dev, const UsbPipe &pipe, const sptr<Ashmem> &ashmem) in BulkWrite() argument 1876 …int32_t ret = InitAsmBufferHandle(&list->asmHandle, ashmem->GetAshmemFd(), ashmem->GetAshmemSize()… in BulkWrite() 1879 ret, ashmem->GetAshmemFd(), ashmem->GetAshmemSize()); in BulkWrite()
|
/drivers/interface/usb/v1_0/ |
D | IUsbInterface.idl | 437 * @param ashmem Indicates the shared memory, which is used to store the read data. 442 BulkRead([in] struct UsbDev dev, [in] struct UsbPipe pipe, [in] Ashmem ashmem); 449 * @param ashmem Indicates the shared memory, which is used to store the written data. 454 BulkWrite([in] struct UsbDev dev, [in] struct UsbPipe pipe, [in] Ashmem ashmem);
|