Searched defs:ioctl (Results 1 - 1 of 1) sorted by relevance
/system/libhwbinder/ |
H A D | ProcessState.cpp | 37 #include <sys/ioctl.h> 171 status_t result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &dummy); 177 ALOGE("Binder ioctl to become context manager failed: %s\n", strerror(errno)); 196 status_t result = ioctl(mDriverFD, BINDER_GET_NODE_DEBUG_INFO, &info); 322 // the BINDER_SET_MAX_THREADS ioctl really tells the kernel how many threads 329 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &kernelMaxThreads) != -1) { 335 ALOGE("Binder ioctl to set max threads failed: %s", strerror(-result)); 353 status_t result = ioctl(fd, BINDER_VERSION, &vers); 355 ALOGE("Binder ioctl to obtain version failed: %s", strerror(errno)); 365 result = ioctl(f 320 LOG_ALWAYS_FATAL_IF(maxThreads < 1, �); status_t result = NO_ERROR; size_t kernelMaxThreads = maxThreads - 1; if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &kernelMaxThreads) != -1) { AutoMutex _l(mLock); mMaxThreads = maxThreads; mSpawnThreadOnStart = !callerJoinsPool; } else { result = -errno; ALOGE(�, strerror(-result)); } return result; } size_t ProcessState::getMaxThreads() { return mMaxThreads; } void ProcessState::giveThreadPoolName() { androidSetThreadName( makeBinderThreadName().string() ); } static int open_driver() { int fd = open(�, O_RDWR | O_CLOEXEC); if (fd >= 0) argument [all...] |
Completed in 86 milliseconds