/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | ashmem.h | 146 bool MapReadOnlyAshmem() const; 186 bool MapReadOnlyAshmem();
|
/ohos5.0/commonlibrary/c_utils/base/src/rust/ |
H A D | ashmem.rs | 72 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 D | codec_share_buffer.cpp | 54 mapd = sharedMem->MapReadOnlyAshmem(); in Create() 81 mapd = sharedMemory->MapReadOnlyAshmem(); in Allocate()
|
/ohos5.0/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/ |
H A D | codec_share_buffer.cpp | 59 mapd = sharedMem->MapReadOnlyAshmem(); in Create() 89 mapd = sharedMemory->MapReadOnlyAshmem(); in Allocate()
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | ashmem.cpp | 233 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 D | ashmem.h | 116 bool MapReadOnlyAshmem();
|
/ohos5.0/foundation/multimedia/media_foundation/src/common/ |
H A D | share_memory.cpp | 100 if (!sharedMem_->MapReadOnlyAshmem()) { in InitShareMemory()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/common/ |
H A D | share_memory.cpp | 94 if (!sharedMem_->MapReadOnlyAshmem()) { in InitShareMemory()
|
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/ |
H A D | c-utils-guide-ashmem.md | 38 | bool | **MapReadOnlyAshmem**()<br>以只读模式映射ashmem内存区域。 |
|
H A D | c_utils_guide_rust_ashmem.md | 52 | bool | **MapReadOnlyAshmem**(self: &Ashmem)<br>以只读模式映射ashmem内存区域。 |
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_ashmem_test.cpp | 131 ret = ashmem->MapReadOnlyAshmem(); 171 ret = ashmem->MapReadOnlyAshmem();
|
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/base/ |
H A D | data_operation_callback.cpp | 97 if (!ashmem->MapReadOnlyAshmem()) { in CreateArrayBufferFromAshmem()
|
H A D | engine_util.cpp | 140 if (!ashmem->MapReadOnlyAshmem()) { in WriteBufferFromAshmem()
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/include/ |
H A D | napi_ashmem.h | 57 static napi_value MapReadOnlyAshmem(napi_env env, napi_callback_info info);
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/ |
H A D | rust_utils_ashmem_test.rs | 89 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 D | datashare_template.cpp | 106 node.ashmem->MapReadOnlyAshmem(); in GetData()
|
/ohos5.0/drivers/peripheral/codec/test/unittest/idl_omx/ |
H A D | codec_function_utils.cpp | 72 sharedMem->MapReadOnlyAshmem(); in InitCodecBufferWithAshMem() 260 sharedMem->MapReadOnlyAshmem(); in AllocateBufferOnPort()
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/ |
H A D | ashemem_benchmark_test.cpp | 150 ret = ashmem->MapReadOnlyAshmem(); in BENCHMARK_F() 195 ret = ashmem->MapReadOnlyAshmem(); in BENCHMARK_F()
|
/ohos5.0/foundation/ai/intelligent_voice_framework/frameworks/native/ |
H A D | intell_voice_manager.cpp | 196 if (!ashmem->MapReadOnlyAshmem()) { in GetFileDataFromAshmem()
|
/ohos5.0/drivers/peripheral/intelligent_voice/hdi_service/trigger/ |
H A D | intell_voice_trigger_adapter_impl.cpp | 156 if (!ashmem->MapReadOnlyAshmem()) { in GetModelDataFromAshmem()
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_ashmem.cpp | 365 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 D | bundle_manager_adapter_proxy.cpp | 505 bool ret = ashmem->MapReadOnlyAshmem(); in GetParcelableFromAshmem() 699 if (!ashmem->MapReadOnlyAshmem()) { in GetParcelableInfosFromAshmem()
|
/ohos5.0/drivers/peripheral/intelligent_voice/hdi_service/engine/ |
H A D | intell_voice_engine_manager_impl.cpp | 278 if (!ashmem->MapReadOnlyAshmem()) { in FillOprDataFromAshmem()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundle_resource/ |
H A D | bundle_resource_proxy.cpp | 365 if (!ashMem->MapReadOnlyAshmem()) { in GetParcelInfoFromAshMem()
|
/ohos5.0/foundation/ability/form_fwk/services/src/ |
H A D | form_cache_mgr.cpp | 307 bool ret = ashmem->MapReadOnlyAshmem(); in GetImageDataFromAshmem()
|