Home | History | Annotate | Download | only in libhwbinder

Lines Matching refs:IPCThreadState

17 #define LOG_TAG "hw-IPCThreadState"
19 #include <hwbinder/IPCThreadState.h>
279 IPCThreadState* IPCThreadState::self()
284 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k);
286 return new IPCThreadState;
290 ALOGW("Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.\n");
299 ALOGW("IPCThreadState::self() unable to create TLS key, expect a crash: %s\n",
309 IPCThreadState* IPCThreadState::selfOrNull()
313 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k);
319 void IPCThreadState::shutdown()
325 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(gTLS);
335 void IPCThreadState::disableBackgroundScheduling(bool disable)
340 sp<ProcessState> IPCThreadState::process()
345 status_t IPCThreadState::clearLastError()
352 pid_t IPCThreadState::getCallingPid() const
357 uid_t IPCThreadState::getCallingUid() const
362 int64_t IPCThreadState::clearCallingIdentity()
369 void IPCThreadState::setStrictModePolicy(int32_t policy)
374 int32_t IPCThreadState::getStrictModePolicy() const
379 void IPCThreadState::setLastTransactionBinderFlags(int32_t flags)
384 int32_t IPCThreadState::getLastTransactionBinderFlags() const
389 void IPCThreadState::restoreCallingIdentity(int64_t token)
395 void IPCThreadState::clearCaller()
401 void IPCThreadState::flushCommands()
408 void IPCThreadState::blockUntilThreadAvailable()
420 status_t IPCThreadState::getAndExecuteCommand()
464 void IPCThreadState::processPendingDerefs()
487 void IPCThreadState::joinThreadPool(bool isMain)
519 int IPCThreadState::setupPolling(int* fd)
530 status_t IPCThreadState::handlePolledCommands()
543 void IPCThreadState::stopProcess(bool /*immediate*/)
553 status_t IPCThreadState::transact(int32_t handle,
613 void IPCThreadState::incStrongHandle(int32_t handle)
615 LOG_REMOTEREFS("IPCThreadState::incStrongHandle(%d)\n", handle);
620 void IPCThreadState::decStrongHandle(int32_t handle)
622 LOG_REMOTEREFS("IPCThreadState::decStrongHandle(%d)\n", handle);
627 void IPCThreadState::incWeakHandle(int32_t handle)
629 LOG_REMOTEREFS("IPCThreadState::incWeakHandle(%d)\n", handle);
634 void IPCThreadState::decWeakHandle(int32_t handle)
636 LOG_REMOTEREFS("IPCThreadState::decWeakHandle(%d)\n", handle);
641 status_t IPCThreadState::attemptIncStrongHandle(int32_t handle)
644 LOG_REMOTEREFS("IPCThreadState::attemptIncStrongHandle(%d)\n", handle);
653 printf("IPCThreadState::attemptIncStrongHandle(%ld) = %s\n",
665 void IPCThreadState::expungeHandle(int32_t handle, IBinder* binder)
668 printf("IPCThreadState::expungeHandle(%ld)\n", handle);
673 status_t IPCThreadState::requestDeathNotification(int32_t handle, BpHwBinder* proxy)
681 status_t IPCThreadState::clearDeathNotification(int32_t handle, BpHwBinder* proxy)
689 IPCThreadState::IPCThreadState()
701 IPCThreadState::~IPCThreadState()
705 status_t IPCThreadState::sendReply(const Parcel& reply, uint32_t flags)
715 status_t IPCThreadState::waitForResponse(Parcel *reply, status_t *acquireResult)
806 status_t IPCThreadState::talkWithDriver(bool doReceive)
905 status_t IPCThreadState::writeTransactionData(int32_t cmd, uint32_t binderFlags,
942 void IPCThreadState::setTheContextObject(sp<BHwBinder> obj)
947 status_t IPCThreadState::executeCommand(int32_t cmd)
1168 void IPCThreadState::threadDestructor(void *st)
1170 IPCThreadState* const self = static_cast<IPCThreadState*>(st);
1183 void IPCThreadState::freeBuffer(Parcel* parcel, const uint8_t* data,
1194 IPCThreadState* state = self();