Home
last modified time | relevance | path

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

/system/libhwbinder/
DProcessState.cpp174 status_t result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR_EXT, &obj); in becomeContextManager()
181 result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &dummy); in becomeContextManager()
208 status_t result = ioctl(mDriverFD, BINDER_GET_NODE_DEBUG_INFO, &info); in getKernelReferences()
233 status_t result = ioctl(mDriverFD, BINDER_GET_NODE_INFO_FOR_REF, &info); in getStrongRefCountForNodeByHandle()
379 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &kernelMaxThreads) == -1) { in setThreadPoolConfiguration()
426 : mDriverFD(open_driver()) in ProcessState()
442 if (mDriverFD >= 0) { in ProcessState()
444 mVMStart = mmap(nullptr, mMmapSize, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, mDriverFD, 0); in ProcessState()
448 close(mDriverFD); in ProcessState()
449 mDriverFD = -1; in ProcessState()
[all …]
DIPCThreadState.cpp412 if (mProcess->mDriverFD <= 0) in flushCommands()
565 mProcess->mDriverFD, result); in joinThreadPool()
586 if (mProcess->mDriverFD <= 0) { in setupPolling()
597 *fd = mProcess->mDriverFD; in setupPolling()
618 int fd = mProcess->mDriverFD; in stopProcess()
619 mProcess->mDriverFD = -1; in stopProcess()
896 if (mProcess->mDriverFD <= 0) { in talkWithDriver()
946 if (ioctl(mProcess->mDriverFD, BINDER_WRITE_READ, &bwr) >= 0) in talkWithDriver()
953 if (mProcess->mDriverFD <= 0) { in talkWithDriver()
1299 if (self->mProcess->mDriverFD > 0) { in threadDestructor()
[all …]
/system/libhwbinder/include/hwbinder/
DProcessState.h109 int mDriverFD; variable