Home
last modified time | relevance | path

Searched refs:asmptr (Results 1 - 5 of 5) sorted by relevance

/base/usb/usb_manager/test/fuzztest/usbmgrbulkcancel_fuzzer/
H A Dusbmgrbulkcancel_fuzzer.cpp37 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 Dusb_bulkcallback_mock_test.h29 static int32_t InitAshmemOne(sptr<Ashmem> &asmptr, int32_t asmSize, uint8_t rflg);
/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_dfx_test.cpp62 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 Dusb_bulkcallback_test.cpp49 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 Dusb_bulkcallback_mock_test.cpp54 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 5 milliseconds