Searched refs:region (Results 1 – 3 of 3) sorted by relevance
14 AshmemRegion region; in TEST() local15 EXPECT_EQ(-1, region.fd()); in TEST()19 AshmemRegion region; in TEST() local21 EXPECT_TRUE(region.Allocate(kSize, __FUNCTION__)); in TEST()26 region.fd(), in TEST()
247 crazy::AshmemRegion region; in crazy_system_can_share_relro() local248 if (!region.Allocate(PAGE_SIZE, NULL) || in crazy_system_can_share_relro()249 !region.SetProtectionFlags(PROT_READ) || in crazy_system_can_share_relro()250 !crazy::AshmemRegion::CheckFileDescriptorIsReadOnly(region.fd())) in crazy_system_can_share_relro()
40 it, but it is possible to use a single ashmem region to share the same