Home
last modified time | relevance | path

Searched refs:MapAshmem (Results 1 - 6 of 6) sorted by relevance

/commonlibrary/c_utils/base/src/
H A Dashmem.cpp206 bool Ashmem::MapAshmem(int mapType) const in MapAshmem() function in OHOS::Ashmem
208 bool Ashmem::MapAshmem(int mapType) in MapAshmem()
229 return MapAshmem(PROT_READ | PROT_WRITE); in MapReadAndWriteAshmem()
238 return MapAshmem(PROT_READ); in MapReadOnlyAshmem()
/commonlibrary/c_utils/base/include/
H A Dashmem.h95 * @note Before writing/reading data in the region, use `MapAshmem()`.
144 bool MapAshmem(int mapType) const;
168 bool MapAshmem(int mapType);
173 * It calls `MapAshmem(PROT_READ | PROT_WRITE)`.
182 * It calls `MapAshmem(PROT_READ)`.
/commonlibrary/c_utils/base/src/rust/
H A Dashmem.rs66 pub fn MapAshmem(self: &Ashmem, mapType: i32) -> bool; in MapAshmem() functions
142 self.c_ashmem.MapAshmem(prot_type) in map_ashmem()
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_ashmem_test.cpp71 bool ret = ashmem->MapAshmem(PROT_READ | PROT_WRITE); in HWTEST_F()
/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/
H A Dashemem_benchmark_test.cpp80 bool ret = ashmem->MapAshmem(PROT_READ | PROT_WRITE); in BENCHMARK_F()
/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_ashmem_test.rs31 assert!(ashmem.MapAshmem(ashmem::PROT_READ | ashmem::PROT_WRITE)); in test_ashmem_ffi_write_read_001()

Completed in 4 milliseconds