Home
last modified time | relevance | path

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

/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_BasicLoaderTest.cpp53 uintptr_t page_start = reinterpret_cast<uintptr_t>(taxicab_number) & ~(PAGE_SIZE - 1); in run_test()
54 if (mprotect(reinterpret_cast<void*>(page_start), PAGE_SIZE, PROT_NONE) == 0) { in run_test()
/cts/tests/tests/security/jni/
Dandroid_security_cts_NativeCodeTest.cpp228 munmap(overflow_addr, PAGE_SIZE); in func_map()
229 overflow_addr = mmap(overflow_addr, PAGE_SIZE, PROT_READ | PROT_WRITE, in func_map()
266 bufs[OVERFLOW_BUF] = mmap((void*)(FIXED_ADDR), PAGE_SIZE, PROT_READ | PROT_WRITE, in android_security_cts_NativeCodeTest_doPipeReadVTest()
279 bufs[i] = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0); in android_security_cts_NativeCodeTest_doPipeReadVTest()
292 write(fd[1], bufs[0], PAGE_SIZE); in android_security_cts_NativeCodeTest_doPipeReadVTest()
316 munmap(bufs[i], PAGE_SIZE); in android_security_cts_NativeCodeTest_doPipeReadVTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
DMifareUltralightTagTester.java54 final byte[] fourPages = new byte[NUM_PAGES * MifareUltralight.PAGE_SIZE]; in writeTag()
55 byte[] onePage = new byte[MifareUltralight.PAGE_SIZE]; in writeTag()
/cts/hostsidetests/security/securityPatch/CVE-2016-8431/
Dpoc.c50 gem_create.size = PAGE_SIZE; in prepare()
/cts/hostsidetests/security/securityPatch/CVE-2016-8432/
Dpoc.c85 gem_create.size = PAGE_SIZE; in prepare()
/cts/hostsidetests/security/securityPatch/CVE-2016-8482/
Dpoc.c138 .size = PAGE_SIZE in main()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java346 final BigInteger PAGE_SIZE = new BigInteger("4096"); in mappedPageRanges() local
358 long start = new BigInteger(m.group(1), 16).divide(PAGE_SIZE).longValue(); in mappedPageRanges()
359 long end = new BigInteger(m.group(2), 16).divide(PAGE_SIZE).longValue(); in mappedPageRanges()