Lines Matching refs:ASSERT_EQ
54 ASSERT_EQ(0, close(m_deviceFd));
60 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_SET_FD, fd));
68 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_DMA_MAPPING, &ion_test_rw_data));
69 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_SET_FD, -1));
74 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_SET_FD, fd));
82 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_DMA_MAPPING, &ion_test_rw_data));
83 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_SET_FD, -1));
88 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_SET_FD, fd));
96 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_KERNEL_MAPPING, &ion_test_rw_data));
97 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_SET_FD, -1));
102 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_SET_FD, fd));
110 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_KERNEL_MAPPING, &ion_test_rw_data));
111 ASSERT_EQ(0, ioctl(m_deviceFd, ION_IOC_TEST_SET_FD, -1));
144 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
156 ASSERT_EQ(((char*)buf)[4096], 0x12);
159 ASSERT_EQ((char)i, ((char *)buf)[i]);
161 ASSERT_EQ(0, munmap(ptr, 4096));
162 ASSERT_EQ(0, close(map_fd));
181 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
193 ASSERT_EQ((char)i, ((char *)ptr)[i]) << i;
195 ASSERT_EQ(0, munmap(ptr, 4096));
196 ASSERT_EQ(0, close(map_fd));
212 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
225 ASSERT_EQ((char)i, ((char *)buf)[i]);
227 ASSERT_EQ(0, munmap(ptr, 4096));
228 ASSERT_EQ(0, close(map_fd));
247 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
259 ASSERT_EQ((char)i, ((char *)ptr)[i]) << i;
261 ASSERT_EQ(0, munmap(ptr, 4096));
262 ASSERT_EQ(0, close(map_fd));
278 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
290 ASSERT_EQ(((char*)buf)[4096], 0x12);
293 ASSERT_EQ((char)i, ((char *)buf)[i]);
295 ASSERT_EQ(0, munmap(ptr, 4096));
296 ASSERT_EQ(0, close(map_fd));
315 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
327 ASSERT_EQ((char)i, ((char *)ptr)[i]) << i;
329 ASSERT_EQ(0, munmap(ptr, 4096));
330 ASSERT_EQ(0, close(map_fd));
346 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
361 ASSERT_EQ((char)i, ((char *)buf)[i]);
363 ASSERT_EQ(0, munmap(ptr, 4096));
364 ASSERT_EQ(0, close(map_fd));
383 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
397 ASSERT_EQ((char)i, ((char *)ptr)[i]) << i;
399 ASSERT_EQ(0, munmap(ptr, 4096));
400 ASSERT_EQ(0, close(map_fd));
415 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
427 ASSERT_EQ(((char*)buf)[4096], 0x12);
430 ASSERT_EQ((char)i, ((char *)buf)[i]);
432 ASSERT_EQ(0, munmap(ptr, 4096));
433 ASSERT_EQ(0, close(map_fd));
452 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
464 ASSERT_EQ((char)i, ((char *)ptr)[i]) << i;
466 ASSERT_EQ(0, munmap(ptr, 4096));
467 ASSERT_EQ(0, close(map_fd));
483 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
496 ASSERT_EQ((char)i, ((char *)buf)[i]);
498 ASSERT_EQ(0, munmap(ptr, 4096));
499 ASSERT_EQ(0, close(map_fd));
518 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
530 ASSERT_EQ((char)i, ((char *)ptr)[i]) << i;
532 ASSERT_EQ(0, munmap(ptr, 4096));
533 ASSERT_EQ(0, close(map_fd));
548 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd));
565 ASSERT_EQ(0, munmap(ptr, 4096));
566 ASSERT_EQ(0, close(map_fd));