Home
last modified time | relevance | path

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

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