Home
last modified time | relevance | path

Searched defs:ashmem (Results 1 – 25 of 76) sorted by relevance

1234

/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_ashmem_test.rs299 let ashmem = ashmem.unwrap(); in test_ashmem_write_read_001() localVariable
316 let ashmem = ashmem.unwrap(); in test_ashmem_write_read_002() localVariable
349 let ashmem = ashmem.unwrap(); in test_ashmem_write_read_003() localVariable
387 let ashmem = ashmem.unwrap(); in test_ashmem_write_read_004() localVariable
421 let ashmem = ashmem.unwrap(); in test_ashmem_write_read_005() localVariable
455 let ashmem = ashmem.unwrap(); in test_ashmem_invalid_001() localVariable
468 let ashmem = ashmem.unwrap(); in test_ashmem_invalid_002() localVariable
481 let ashmem = ashmem.unwrap(); in test_ashmem_invalid_003() localVariable
504 let ashmem = ashmem.unwrap(); in test_ashmem_invalid_004() localVariable
529 let ashmem = ashmem.unwrap(); in test_ashmem_invalid_005() localVariable
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_ashmem_test.cpp67 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
85 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
120 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
154 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
191 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
223 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), -1); variable
242 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
258 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
280 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
304 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
[all …]
/ohos5.0/drivers/external_device_manager/test/unittest/ddk_base_test/
H A Dddk_base_test.cpp47 DDK_Ashmem *ashmem = nullptr; variable
56 DDK_Ashmem *ashmem = nullptr; variable
65 DDK_Ashmem *ashmem = nullptr; variable
74 DDK_Ashmem *ashmem = nullptr; variable
93 DDK_Ashmem *ashmem = nullptr; variable
106 DDK_Ashmem *ashmem = nullptr; variable
118 DDK_Ashmem *ashmem = nullptr; variable
132 DDK_Ashmem *ashmem = nullptr; variable
147 DDK_Ashmem *ashmem = nullptr; variable
161 DDK_Ashmem *ashmem = nullptr; variable
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/
H A Dashemem_benchmark_test.cpp75 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
98 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
139 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
178 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
220 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
258 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), -1); in BENCHMARK_F() local
281 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
301 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
327 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
355 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
[all …]
/ohos5.0/drivers/external_device_manager/frameworks/ddk/base/
H A Dddk_api.cpp32 DDK_RetCode OH_DDK_CreateAshmem(const uint8_t *name, uint32_t size, DDK_Ashmem **ashmem) in OH_DDK_CreateAshmem()
68 static DDK_RetCode AshmemValidityCheck(DDK_Ashmem *ashmem) in AshmemValidityCheck()
88 DDK_RetCode OH_DDK_MapAshmem(DDK_Ashmem *ashmem, const uint8_t ashmemMapType) in OH_DDK_MapAshmem()
113 DDK_RetCode OH_DDK_UnmapAshmem(DDK_Ashmem *ashmem) in OH_DDK_UnmapAshmem()
127 DDK_RetCode OH_DDK_DestroyAshmem(DDK_Ashmem *ashmem) in OH_DDK_DestroyAshmem()
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/flowbuffer_adapter_impl_test/
H A Dflowbuffer_adapter_impl_test.cpp76 auto ashmem = flowbufferAdapter->CreateAshmem(scriptLength, PROT_READ | PROT_WRITE, fd); variable
93 auto ashmem = flowbufferAdapter->CreateAshmemWithFd(fd, scriptLength, PROT_READ); variable
144 auto ashmem = flowbufferAdapter->CreateAshmem(scriptLength, PROT_READ | PROT_WRITE, fd); variable
163 auto ashmem = flowbufferAdapter->CreateAshmemWithFd(fd, scriptLength, PROT_READ); variable
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Dash_mem_utils.cpp45 auto ashmem = Ashmem::CreateAshmem(ASH_MEM_NAME, ASH_MEM_SIZE); in GetAshmem() local
58 void AshMemUtils::CloseAshmem(sptr<Ashmem> ashmem) in CloseAshmem()
76 auto ashmem = GetAshmem(); in WriteBulkData() local
105 auto ashmem = parcel.ReadAshmem(); in ReadBulkData() local
/ohos5.0/base/hiviewdfx/hisysevent/adapter/native/idl/src/
H A Dash_mem_utils.cpp48 auto ashmem = Ashmem::CreateAshmem(ASH_MEM_NAME, ASH_MEM_SIZE); in GetAshmem() local
61 void AshMemUtils::CloseAshmem(sptr<Ashmem> ashmem) in CloseAshmem()
79 auto ashmem = GetAshmem(); in WriteBulkData() local
108 auto ashmem = parcel.ReadAshmem(); in ReadBulkData() local
/ohos5.0/base/usb/usb_manager/test/native/mock/src/
H A Dusb_bulkcallback_mock_test.cpp270 sptr<Ashmem> ashmem; variable
304 sptr<Ashmem> ashmem; variable
338 sptr<Ashmem> ashmem; variable
374 sptr<Ashmem> ashmem; variable
410 sptr<Ashmem> ashmem; variable
444 sptr<Ashmem> ashmem; variable
478 sptr<Ashmem> ashmem; variable
514 sptr<Ashmem> ashmem; variable
550 sptr<Ashmem> ashmem; variable
589 sptr<Ashmem> ashmem; variable
[all …]
/ohos5.0/drivers/external_device_manager/test/unittest/ndk_stage_js_test/entry/src/main/cpp/
H A Dbase_ddk_ndk_test.cpp34 DDK_Ashmem *ashmem = nullptr; in DdkCreateAshmemOne() local
46 DDK_Ashmem *ashmem = nullptr; in DdkCreateAshmemTwo() local
57 DDK_Ashmem *ashmem = nullptr; in DdkCreateAshmemThree() local
68 DDK_Ashmem *ashmem = nullptr; in DdkMapAshmemOne() local
91 DDK_Ashmem *ashmem = nullptr; in DdkMapAshmemThree() local
106 DDK_Ashmem *ashmem = nullptr; in DdkMapAshmemFour() local
120 DDK_Ashmem *ashmem = nullptr; in DdkUnmapAshmemOne() local
144 DDK_Ashmem *ashmem = nullptr; in DdkDestroyAshmemOne() local
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dash_memory_utils.h27 static bool WriteBulkData(const std::vector<T>& src, sptr<Ashmem> ashmem, size_t ashSize, in WriteBulkData()
53 …static bool ReadBulkData(sptr<Ashmem> ashmem, const std::vector<uint32_t>& allSize, std::vector<T>… in ReadBulkData()
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/
H A Ddata_operation_callback.cpp84 const sptr<Ashmem> &ashmem) in CreateArrayBufferFromAshmem()
124 …sptr<Ashmem> ashmem = OHOS::Ashmem::CreateAshmem(name.c_str(), buffer->GetSize() * sizeof(uint8_t)… in CreateAshmemFromArrayBuffer() local
H A Dengine_util.cpp138 void EngineUtil::WriteBufferFromAshmem(uint8_t *&buffer, uint32_t size, sptr<OHOS::Ashmem> ashmem) in WriteBufferFromAshmem()
168 sptr<Ashmem> ashmem; in ProcDspModel() local
/ohos5.0/commonlibrary/c_utils/base/src/rust/
H A Dlib.rs19 pub mod ashmem; module
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dash_memory_utils.cpp37 auto ashmem = Ashmem::CreateAshmem(ashName.c_str(), ashSize); in GetAshmem() local
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_bulkcallback_test.cpp414 sptr<Ashmem> ashmem; variable
468 sptr<Ashmem> ashmem; variable
522 sptr<Ashmem> ashmem; variable
578 sptr<Ashmem> ashmem; variable
634 sptr<Ashmem> ashmem; variable
688 sptr<Ashmem> ashmem; variable
744 sptr<Ashmem> ashmem; variable
800 sptr<Ashmem> ashmem; variable
855 sptr<Ashmem> ashmem; variable
H A Dusb_dfx_test.cpp237 sptr<Ashmem> ashmem; variable
285 sptr<Ashmem> ashmem; variable
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/ashmemcreate_fuzzer/
H A Dashmemcreate_fuzzer.cpp33 AshmemAdapter ashmem; in AshmemCreateFuzzTest() local
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/
H A Dnapi_ashmem.h41 void SetAshmem(sptr<Ashmem> &ashmem) in SetAshmem()
/ohos5.0/drivers/peripheral/usb/test/fuzztest/usbbulkread_fuzzer/
H A Dusbbulkread_fuzzer.cpp44 sptr<Ashmem> ashmem; in UsbBulkReadFuzzTest() local
/ohos5.0/drivers/peripheral/usb/test/fuzztest/usbbulkwrite_fuzzer/
H A Dusbbulkwrite_fuzzer.cpp44 sptr<Ashmem> ashmem; in UsbBulkWriteFuzzTest() local
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Dshared_block.cpp31 SharedBlock::SharedBlock(const std::string &name, sptr<Ashmem> ashmem, size_t size, bool readOnly) in SharedBlock()
66 int SharedBlock::CreateSharedBlock(const std::string &name, size_t size, sptr<Ashmem> ashmem, in CreateSharedBlock()
88 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(ashmemName.c_str(), size); in Create() local
119 sptr<Ashmem> ashmem = parcel.ReadAshmem(); in ReadMessageParcel() local
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/ashmem_fuzzer/
H A Dashmem_fuzzer.cpp30 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(name.c_str(), memorySize); in AshmemTestFunc() local
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_ashmem_test/
H A Dmock_message_parcel.cpp145 bool MessageParcel::WriteAshmem(sptr<Ashmem> ashmem) in WriteAshmem()
155 sptr<Ashmem> ashmem = new (std::nothrow) Ashmem(fd, size); in ReadAshmem() local
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/
H A Dshared_block.cpp37 SharedBlock::SharedBlock(const std::string &name, sptr<Ashmem> ashmem, size_t size, bool readOnly) in SharedBlock()
61 int SharedBlock::CreateSharedBlock(const std::string &name, size_t size, sptr<Ashmem> ashmem, in CreateSharedBlock()
85 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(ashmemName.c_str(), size); in Create() local
116 sptr<Ashmem> ashmem = parcel.ReadAshmem(); in ReadMessageParcel() local

1234