Home
last modified time | relevance | path

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

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_ashmem_unittest.cpp14 AshmemRegion region; in TEST() local
15 EXPECT_EQ(-1, region.fd()); in TEST()
19 AshmemRegion region; in TEST() local
21 EXPECT_TRUE(region.Allocate(kSize, __FUNCTION__)); in TEST()
26 region.fd(), in TEST()
Dcrazy_linker_api.cpp247 crazy::AshmemRegion region; in crazy_system_can_share_relro() local
248 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()
/ndk/sources/android/crazy_linker/
DREADME.TXT40 it, but it is possible to use a single ashmem region to share the same