Home
last modified time | relevance | path

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

/commonlibrary/c_utils/base/test/unittest/rust/
Drust_utils_ashmem_test.rs27 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), MEMORY_SIZE) }; in test_ashmem_ffi_write_read_001() localVariable
41 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), MEMORY_SIZE) }; in test_ashmem_ffi_write_read_002() localVariable
47 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_002() constant
76 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), MEMORY_SIZE) }; in test_ashmem_ffi_write_read_003() localVariable
82 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_003() constant
116 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), MEMORY_SIZE) }; in test_ashmem_ffi_write_read_004() localVariable
121 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_004() constant
150 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), MEMORY_SIZE) }; in test_ashmem_ffi_write_read_005() localVariable
156 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_005() constant
182 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), -1) }; in test_ashmem_ffi_invalid_001() localVariable
[all …]
/commonlibrary/c_utils/base/test/unittest/common/
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 …]
/commonlibrary/c_utils/base/src/rust/
Dlib.rs20 pub mod ashmem; module
/commonlibrary/c_utils/docs/zh-cn/
Dc_utils_guide_rust_ashmem.md16 #### Public Functions