Home
last modified time | relevance | path

Searched refs:MapReadOnlyAshmem (Results 1 – 25 of 39) sorted by relevance

12

/ohos5.0/commonlibrary/c_utils/base/include/
H A Dashmem.h146 bool MapReadOnlyAshmem() const;
186 bool MapReadOnlyAshmem();
/ohos5.0/commonlibrary/c_utils/base/src/rust/
H A Dashmem.rs72 pub fn MapReadOnlyAshmem(self: &Ashmem) -> bool; in MapReadOnlyAshmem() function
152 self.c_ashmem.MapReadOnlyAshmem() in map_read_only_ashmem()
/ohos5.0/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_share_buffer.cpp54 mapd = sharedMem->MapReadOnlyAshmem(); in Create()
81 mapd = sharedMemory->MapReadOnlyAshmem(); in Allocate()
/ohos5.0/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/
H A Dcodec_share_buffer.cpp59 mapd = sharedMem->MapReadOnlyAshmem(); in Create()
89 mapd = sharedMemory->MapReadOnlyAshmem(); in Allocate()
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dashmem.cpp233 bool Ashmem::MapReadOnlyAshmem() const in MapReadOnlyAshmem() function in OHOS::Ashmem
235 bool Ashmem::MapReadOnlyAshmem() in MapReadOnlyAshmem()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Dashmem.h116 bool MapReadOnlyAshmem();
/ohos5.0/foundation/multimedia/media_foundation/src/common/
H A Dshare_memory.cpp100 if (!sharedMem_->MapReadOnlyAshmem()) { in InitShareMemory()
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/common/
H A Dshare_memory.cpp94 if (!sharedMem_->MapReadOnlyAshmem()) { in InitShareMemory()
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-ashmem.md38 | bool | **MapReadOnlyAshmem**()<br>以只读模式映射ashmem内存区域。 |
H A Dc_utils_guide_rust_ashmem.md52 | bool | **MapReadOnlyAshmem**(self: &Ashmem)<br>以只读模式映射ashmem内存区域。 |
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_ashmem_test.cpp131 ret = ashmem->MapReadOnlyAshmem();
171 ret = ashmem->MapReadOnlyAshmem();
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/
H A Ddata_operation_callback.cpp97 if (!ashmem->MapReadOnlyAshmem()) { in CreateArrayBufferFromAshmem()
H A Dengine_util.cpp140 if (!ashmem->MapReadOnlyAshmem()) { in WriteBufferFromAshmem()
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/
H A Dnapi_ashmem.h57 static napi_value MapReadOnlyAshmem(napi_env env, napi_callback_info info);
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_ashmem_test.rs89 assert!(ashmem.MapReadOnlyAshmem()); in test_ashmem_ffi_write_read_003()
129 assert!(ashmem.MapReadOnlyAshmem()); in test_ashmem_ffi_write_read_004()
161 assert!(ashmem.MapReadOnlyAshmem()); in test_ashmem_ffi_write_read_005()
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/common/src/
H A Ddatashare_template.cpp106 node.ashmem->MapReadOnlyAshmem(); in GetData()
/ohos5.0/drivers/peripheral/codec/test/unittest/idl_omx/
H A Dcodec_function_utils.cpp72 sharedMem->MapReadOnlyAshmem(); in InitCodecBufferWithAshMem()
260 sharedMem->MapReadOnlyAshmem(); in AllocateBufferOnPort()
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/
H A Dashemem_benchmark_test.cpp150 ret = ashmem->MapReadOnlyAshmem(); in BENCHMARK_F()
195 ret = ashmem->MapReadOnlyAshmem(); in BENCHMARK_F()
/ohos5.0/foundation/ai/intelligent_voice_framework/frameworks/native/
H A Dintell_voice_manager.cpp196 if (!ashmem->MapReadOnlyAshmem()) { in GetFileDataFromAshmem()
/ohos5.0/drivers/peripheral/intelligent_voice/hdi_service/trigger/
H A Dintell_voice_trigger_adapter_impl.cpp156 if (!ashmem->MapReadOnlyAshmem()) { in GetModelDataFromAshmem()
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_ashmem.cpp365 napi_value NAPIAshmem::MapReadOnlyAshmem(napi_env env, napi_callback_info info) in MapReadOnlyAshmem() function in OHOS::NAPIAshmem
372 bool result = napiAshmem->GetAshmem()->MapReadOnlyAshmem(); in MapReadOnlyAshmem()
388 napiAshmem->GetAshmem()->MapReadOnlyAshmem(); in MapReadonlyAshmem()
893 DECLARE_NAPI_FUNCTION("mapReadOnlyAshmem", NAPIAshmem::MapReadOnlyAshmem), in AshmemExport()
/ohos5.0/base/account/os_account/services/accountmgr/src/bundle_manager_adapter/
H A Dbundle_manager_adapter_proxy.cpp505 bool ret = ashmem->MapReadOnlyAshmem(); in GetParcelableFromAshmem()
699 if (!ashmem->MapReadOnlyAshmem()) { in GetParcelableInfosFromAshmem()
/ohos5.0/drivers/peripheral/intelligent_voice/hdi_service/engine/
H A Dintell_voice_engine_manager_impl.cpp278 if (!ashmem->MapReadOnlyAshmem()) { in FillOprDataFromAshmem()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundle_resource/
H A Dbundle_resource_proxy.cpp365 if (!ashMem->MapReadOnlyAshmem()) { in GetParcelInfoFromAshMem()
/ohos5.0/foundation/ability/form_fwk/services/src/
H A Dform_cache_mgr.cpp307 bool ret = ashmem->MapReadOnlyAshmem(); in GetImageDataFromAshmem()

12