Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/
DBufferHubMetadata.cpp29 static const int kAshmemProt = PROT_READ | PROT_WRITE; variable
57 if (ashmem_set_prot_region(ashmemFd.get(), kAshmemProt) != 0) { in create()
78 auto metadataHeader = static_cast<MetadataHeader*>(mmap(nullptr, metadataSize, kAshmemProt, in import()