Home
last modified time | relevance | path

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

/system/core/libcutils/
Dashmem_test.cpp222 int protFlags[] = { PROT_READ, PROT_WRITE }; in TEST() local
223 for (size_t i = 0; i < arraysize(protFlags); i++) { in TEST()
229 } else if (ashmem_set_prot_region(fd, protFlags[i]) >= 0) { in TEST()
236 ASSERT_NO_FATAL_FAILURE(TestProtDenied(fd, size, protFlags[1-i])); in TEST()