Lines Matching refs:c_ashmem
110 c_ashmem: SharedPtr<ffi::Ashmem>, field
116 pub fn new(c_ashmem: SharedPtr<ffi::Ashmem>) -> Ashmem { in new()
117 Ashmem { c_ashmem } in new()
122 self.c_ashmem.GetAshmemFd() in get_ashmem_fd()
127 self.c_ashmem.GetAshmemSize() in get_ashmem_size()
132 self.c_ashmem.GetProtection() in get_protection()
137 self.c_ashmem.SetProtection(prot_type) in set_protection()
142 self.c_ashmem.MapAshmem(prot_type) in map_ashmem()
147 self.c_ashmem.MapReadAndWriteAshmem() in map_read_write_ashmem()
152 self.c_ashmem.MapReadOnlyAshmem() in map_read_only_ashmem()
157 self.c_ashmem.UnmapAshmem() in unmap_ashmem()
162 self.c_ashmem.CloseAshmem() in close_ashmem()
170 self.c_ashmem.WriteToAshmem(c_void_ptr, size, offset) in write_to_ashmem()
177 pub unsafe fn c_ashmem(&self) -> &SharedPtr<ffi::Ashmem> { in c_ashmem() method
178 &self.c_ashmem in c_ashmem()
185 let c_void_ptr = self.c_ashmem.ReadFromAshmem(size, offset); in read_from_ashmem()