Lines Matching refs:mDriverFD
182 status_t result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR_EXT, &obj); in becomeContextManager()
189 result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &dummy); in becomeContextManager()
216 status_t result = ioctl(mDriverFD, BINDER_GET_NODE_DEBUG_INFO, &info); in getKernelReferences()
241 status_t result = ioctl(mDriverFD, BINDER_GET_NODE_INFO_FOR_REF, &info); in getStrongRefCountForNodeByHandle()
396 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &kernelMaxThreads) == -1) { in setThreadPoolConfiguration()
443 : mDriverFD(open_driver()) in ProcessState()
459 if (mDriverFD >= 0) { in ProcessState()
461 mVMStart = mmap(nullptr, mMmapSize, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, mDriverFD, 0); in ProcessState()
465 close(mDriverFD); in ProcessState()
466 mDriverFD = -1; in ProcessState()
471 LOG_ALWAYS_FATAL_IF(mDriverFD < 0, "Binder driver could not be opened. Terminating."); in ProcessState()
477 if (mDriverFD >= 0) { in ~ProcessState()
481 close(mDriverFD); in ~ProcessState()
483 mDriverFD = -1; in ~ProcessState()