Searched refs:get_protection (Results 1 – 3 of 3) sorted by relevance
131 pub fn get_protection(&self) -> i32 { in get_protection() method
24 | int | **get_protection**(self: &Ashmem)<br>获取内核中的ashmem区域的保护权限值。 |
301 …assert_eq!(ashmem.get_protection(), ashmem::PROT_READ | ashmem::PROT_WRITE | ashmem::PROT_EXEC); /… in test_ashmem_write_read_001()