Lines Matching defs:ret
34 int ret;
41 ret = ioctl(m_binderFd, BINDER_SET_MAX_THREADS, &max_threads);
42 EXPECT_EQ(0, ret);
56 int ret;
63 ret = ioctl(m_binderFd, BINDER_WRITE_READ, &bwr);
64 EXPECT_EQ(0, ret);
65 if (ret < 0) {
82 int ret;
84 ret = ioctl(m_binderFd, cmd, arg);
85 if (ret != 0) {
91 int ret;
93 ret = ioctl(m_binderFd, cmd, arg);
94 EXPECT_EQ(expect_ret, ret);
95 if (ret < 0) {
110 int ret;
112 ret = ioctl(m_binderFd, cmd, arg);
113 if (ret < 0) {
114 /* Not currently implmented. Allow ret == -1, errno == EINVAL */
115 EXPECT_EQ(-1, ret);
134 int ret;
139 ret = poll(&pfd, 1, timeout_ms);
140 EXPECT_EQ(1, ret);