Home
last modified time | relevance | path

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

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_elf_relro.h24 SharedRelro() : start_(0), size_(0), ashmem_() {} in SharedRelro()
31 int fd() const { return ashmem_.fd(); } in fd()
35 int DetachFd() { return ashmem_.Release(); } in DetachFd()
78 AshmemRegion ashmem_; variable
Dcrazy_linker_elf_relro.cpp76 if (!ashmem_.Allocate(relro_size, name.c_str())) { in Allocate()
93 if (!map.Allocate(NULL, relro_size, MemoryMapping::CAN_WRITE, ashmem_.fd())) { in CopyFrom()
125 NULL, relro_size, MemoryMapping::CAN_READ_WRITE, ashmem_.fd())) { in CopyFromRelocated()
144 if (!ashmem_.SetProtectionFlags(PROT_READ)) { in ForceReadOnly()