Home
last modified time | relevance | path

Searched refs:get_protection (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/src/rust/
H A Dashmem.rs131 pub fn get_protection(&self) -> i32 { in get_protection() method
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc_utils_guide_rust_ashmem.md24 | int | **get_protection**(self: &Ashmem)<br>获取内核中的ashmem区域的保护权限值。 |
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_ashmem_test.rs301 …assert_eq!(ashmem.get_protection(), ashmem::PROT_READ | ashmem::PROT_WRITE | ashmem::PROT_EXEC); /… in test_ashmem_write_read_001()