Searched refs:mem (Results 1 – 11 of 11) sorted by relevance
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2014-9803/ |
D | poc.c | 28 volatile char *mem = 0; variable 45 mprotect((void *)mem, 4096, PROT_READ | PROT_WRITE); in do_child() 48 mem[0] = val; in do_child() 62 status = ptrace(PTRACE_PEEKDATA, child, mem, 0); in do_trace() 74 mem = (volatile char *)mmap(0, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in main() 75 mprotect((void *)mem, 4096, PROT_NONE); in main() 89 munmap((void *)mem, 4096); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3818/ |
D | poc.c | 43 char *mem = (char *)malloc(to_alloc); in main() local 45 printf("%p\n", mem); in main() 46 if (mem) { in main() 48 mem[i] = 0; in main() 53 free(mem); in main()
|
/cts/tests/sensor/jni/ |
D | SensorTest.cpp | 57 int TestSensorManager::createDirectChannel(const TestSharedMemory &mem) { in createDirectChannel() argument 61 switch (mem.getType()) { in createDirectChannel() 64 mem.getSharedMemoryFd(), mem.getSize()); in createDirectChannel() 67 mem.getHardwareBuffer(), mem.getSize()); in createDirectChannel()
|
D | SensorTestCases.cpp | 158 std::unique_ptr<TestSharedMemory> mem(TestSharedMemory::create(channelType, kMemSize)); in testDirectReport() local 159 ASSERT_NE(mem, nullptr); in testDirectReport() 160 ASSERT_NE(mem->getBuffer(), nullptr); in testDirectReport() 163 ASSERT_GT(mem->getSharedMemoryFd(), 0); in testDirectReport() 166 ASSERT_NOT_NULL(mem->getHardwareBuffer()); in testDirectReport() 170 char* buffer = mem->getBuffer(); in testDirectReport() 177 channel = mManager->createDirectChannel(*mem); in testDirectReport() 188 auto events = mem->parseEvents(); in testDirectReport()
|
D | SensorTest.h | 59 int createDirectChannel(const TestSharedMemory &mem);
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_MMapExecutableTest.cpp | 59 void * mem = in mmap_executable() local 62 if (mem == MAP_FAILED) { in mmap_executable() 67 if (munmap(mem, stat_buf.st_size - kOffset) == -1) { in mmap_executable()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/ |
D | poc.cpp | 111 sp<IMemory> mem = memoryDealer->allocate(4096 * 4); in decrypt() local 112 data.writeStrongBinder(IInterface::asBinder(mem)); in decrypt() 133 data.writeStrongBinder(IInterface::asBinder(mem)); in decrypt()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8430/ |
D | poc.c | 44 __u32 mem; member 150 g_error_notifier.mem = g_nvmap_hdl.handle; in prepare_data()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/ |
D | poc.c | 55 __u32 mem; member 179 err1.mem = dma1; in main()
|
/cts/tests/tests/media/assets/unmuxed_1500k/ |
D | 01.ts | 5420 …�:�~Z��*�g�l�Sz�f�r�����nn����ս���m�rv���ye��m靡�?A�r>��'"`�@��mem��������)��y'Vc�%…
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 304 …tttv|��~ebedl}����yhadces}}|xwxz}wicdccddchsxxz{{wrtvwz�������������������mem}������qeeky��~z{|{�…
|