Searched refs:asmptr (Results 1 - 5 of 5) sorted by relevance
/base/usb/usb_manager/test/fuzztest/usbmgrbulkcancel_fuzzer/ |
H A D | usbmgrbulkcancel_fuzzer.cpp | 37 sptr<Ashmem> asmptr = Ashmem::CreateAshmem("ttashmem001", MEM_DATA); in GetSharedMem() local 38 if (asmptr == nullptr) { in GetSharedMem() 43 asmptr->MapReadAndWriteAshmem(); in GetSharedMem() 50 asmptr->WriteToAshmem(tdata.data(), tlen, offset); in GetSharedMem() 53 return asmptr; in GetSharedMem()
|
/base/usb/usb_manager/test/native/mock/include/ |
H A D | usb_bulkcallback_mock_test.h | 29 static int32_t InitAshmemOne(sptr<Ashmem> &asmptr, int32_t asmSize, uint8_t rflg);
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
H A D | usb_dfx_test.cpp | 62 static int32_t InitAshmemOne(sptr<Ashmem> &asmptr, int32_t asmSize, uint8_t rflg)
in InitAshmemOne() argument 64 asmptr = Ashmem::CreateAshmem("ttashmem000", asmSize);
in InitAshmemOne() 65 if (asmptr == nullptr) {
in InitAshmemOne() 70 asmptr->MapReadAndWriteAshmem();
in InitAshmemOne() 83 asmptr->WriteToAshmem(tdata, tlen, offset);
in InitAshmemOne()
|
H A D | usb_bulkcallback_test.cpp | 49 static int32_t InitAshmemOne(sptr<Ashmem> &asmptr, int32_t asmSize, uint8_t rflg)
in InitAshmemOne() argument 51 asmptr = Ashmem::CreateAshmem("ttashmem000", asmSize);
in InitAshmemOne() 52 if (asmptr == nullptr) {
in InitAshmemOne() 57 asmptr->MapReadAndWriteAshmem();
in InitAshmemOne() 71 asmptr->WriteToAshmem(tdata, tlen, offset);
in InitAshmemOne()
|
/base/usb/usb_manager/test/native/mock/src/ |
H A D | usb_bulkcallback_mock_test.cpp | 54 int32_t UsbBulkcallbackMockTest::InitAshmemOne(sptr<Ashmem> &asmptr, int32_t asmSize, uint8_t flg)
in InitAshmemOne() argument 56 asmptr = Ashmem::CreateAshmem("ttashmem000", asmSize);
in InitAshmemOne() 57 if (asmptr == nullptr) {
in InitAshmemOne() 62 asmptr->MapReadAndWriteAshmem();
in InitAshmemOne() 76 asmptr->WriteToAshmem(tData, tLen, offset);
in InitAshmemOne()
|
Completed in 4 milliseconds