Home
last modified time | relevance | path

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

/system/libhwbinder/
DProcessState.cpp128 status_t result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR_EXT, &obj); in becomeContextManager()
135 result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &unused); in becomeContextManager()
156 status_t result = ioctl(mDriverFD, BINDER_GET_NODE_DEBUG_INFO, &info); in getKernelReferences()
181 status_t result = ioctl(mDriverFD, BINDER_GET_NODE_INFO_FOR_REF, &info); in getStrongRefCountForNodeByHandle()
336 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &kernelMaxThreads) == -1) { in setThreadPoolConfiguration()
349 if (ioctl(mDriverFD, BINDER_ENABLE_ONEWAY_SPAM_DETECTION, &enableDetection) == -1) { in enableOnewaySpamDetection()
397 : mDriverFD(open_driver()) in ProcessState()
409 if (mDriverFD >= 0) { in ProcessState()
411 mVMStart = mmap(nullptr, mMmapSize, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, mDriverFD, 0); in ProcessState()
415 close(mDriverFD); in ProcessState()
[all …]
DIPCThreadState.cpp412 if (mProcess->mDriverFD < 0) in flushCommands()
552 mProcess->mDriverFD, result); in joinThreadPool()
572 if (mProcess->mDriverFD < 0) { in setupPolling()
583 *fd = mProcess->mDriverFD; in setupPolling()
604 int fd = mProcess->mDriverFD; in stopProcess()
605 mProcess->mDriverFD = -1; in stopProcess()
886 if (mProcess->mDriverFD < 0) { in talkWithDriver()
936 if (ioctl(mProcess->mDriverFD, BINDER_WRITE_READ, &bwr) >= 0) in talkWithDriver()
943 if (mProcess->mDriverFD < 0) { in talkWithDriver()
1296 if (self->mProcess->mDriverFD >= 0) { in threadDestructor()
[all …]
/system/libhwbinder/include/hwbinder/
DProcessState.h104 int mDriverFD; variable