Home
last modified time | relevance | path

Searched defs:Ashmem (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/src/rust/
H A Dashmem.rs59 pub type Ashmem; typedef
63 pub fn CloseAshmem(self: &Ashmem) -> (); in CloseAshmem()
66 pub fn MapAshmem(self: &Ashmem, mapType: i32) -> bool; in MapAshmem()
75 pub fn UnmapAshmem(self: &Ashmem) -> (); in UnmapAshmem()
78 pub fn SetProtection(self: &Ashmem, protType: i32) -> bool; in SetProtection()
91 self: &Ashmem, in WriteToAshmem()
109 pub struct Ashmem { struct
110 c_ashmem: SharedPtr<ffi::Ashmem>, argument
114 impl Ashmem { impl
116 pub fn new(c_ashmem: SharedPtr<ffi::Ashmem>) -> Ashmem { in new()
[all …]
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dashmem.h35 class Ashmem; variable
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/hdi_adapter/
H A Dheadset_adapter_host_manager.cpp96 sptr<Ashmem> & /* buffer */) in Read()
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dashmem.cpp148 Ashmem::Ashmem(int fd, int32_t size) : memoryFd_(fd), memorySize_(size), flag_(0), startAddr_(nullp… in Ashmem() function in OHOS::Ashmem