Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp37 m_binderFd = open(BINDER_DEV_NAME, O_RDWR | O_NONBLOCK | O_CLOEXEC); in SetUp()
38 ASSERT_GE(m_binderFd, 0); in SetUp()
39 m_buffer = mmap(nullptr, 64*1024, PROT_READ, MAP_SHARED, m_binderFd, 0); in SetUp()
41 ret = ioctl(m_binderFd, BINDER_SET_MAX_THREADS, &max_threads); in SetUp()
46 close(m_binderFd); in TearDown()
49 int m_binderFd; member in BinderDriverInterfaceTestEnv
53 return m_binderFd; in getBinderFd()
63 ret = ioctl(m_binderFd, BINDER_WRITE_READ, &bwr); in EnterLooper()
75 m_binderFd = static_cast<BinderDriverInterfaceTestEnv *>(binder_env)->getBinderFd(); in SetUp()
84 ret = ioctl(m_binderFd, cmd, arg); in binderTestIoctlSuccessOrError()
[all …]