Searched refs:mDriverFD (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/binder/ |
D | ProcessState.cpp | 153 status_t result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &dummy); in becomeContextManager() 297 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) == -1) { in setThreadPoolMaxThreadCount() 337 : mDriverFD(open_driver()) in ProcessState() 345 if (mDriverFD >= 0) { in ProcessState() 351 mVMStart = mmap(0, BINDER_VM_SIZE, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, mDriverFD, 0); in ProcessState() 355 close(mDriverFD); in ProcessState() 356 mDriverFD = -1; in ProcessState() 359 mDriverFD = -1; in ProcessState() 363 LOG_ALWAYS_FATAL_IF(mDriverFD < 0, "Binder driver could not be opened. Terminating."); in ProcessState()
|
D | IPCThreadState.cpp | 415 if (mProcess->mDriverFD <= 0) in flushCommands() 493 mProcess->mDriverFD, result); in joinThreadPool() 513 if (mProcess->mDriverFD <= 0) { in setupPolling() 518 *fd = mProcess->mDriverFD; in setupPolling() 539 int fd = mProcess->mDriverFD; in stopProcess() 540 mProcess->mDriverFD = -1; in stopProcess() 802 if (mProcess->mDriverFD <= 0) { in talkWithDriver() 853 if (ioctl(mProcess->mDriverFD, BINDER_WRITE_READ, &bwr) >= 0) in talkWithDriver() 860 if (mProcess->mDriverFD <= 0) { in talkWithDriver() 1159 if (self->mProcess->mDriverFD > 0) { in threadDestructor() [all …]
|
/frameworks/native/include/binder/ |
D | ProcessState.h | 82 int mDriverFD; variable
|