Searched refs:AshmemRegion (Results 1 – 6 of 6) sorted by relevance
13 class AshmemRegion {15 AshmemRegion() : fd_(-1) {} in AshmemRegion() function17 ~AshmemRegion() { Reset(-1); } in ~AshmemRegion()56 AshmemRegion(const AshmemRegion& other);57 AshmemRegion& operator=(const AshmemRegion& other);
13 TEST(AshmemRegion, Construction) { in TEST() argument14 AshmemRegion region; in TEST()18 TEST(AshmemRegion, Allocate) { in TEST() argument19 AshmemRegion region; in TEST()
21 bool AshmemRegion::Allocate(size_t region_size, const char* region_name) { in Allocate()44 bool AshmemRegion::SetProtectionFlags(int prot) { in SetProtectionFlags()49 bool AshmemRegion::CheckFileDescriptorIsReadOnly(int fd) { in CheckFileDescriptorIsReadOnly()
78 AshmemRegion ashmem_;
247 crazy::AshmemRegion region; in crazy_system_can_share_relro()250 !crazy::AshmemRegion::CheckFileDescriptorIsReadOnly(region.fd())) in crazy_system_can_share_relro()
166 if (!AshmemRegion::CheckFileDescriptorIsReadOnly(ashmem_fd)) { in InitFrom()