Lines Matching defs:IPCThreadState

17 #define LOG_TAG "IPCThreadState"
19 #include <binder/IPCThreadState.h>
280 IPCThreadState* IPCThreadState::self()
285 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k);
287 return new IPCThreadState;
291 ALOGW("Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.\n");
300 ALOGW("IPCThreadState::self() unable to create TLS key, expect a crash: %s\n",
310 IPCThreadState* IPCThreadState::selfOrNull()
314 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k);
320 void IPCThreadState::shutdown()
326 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(gTLS);
336 void IPCThreadState::disableBackgroundScheduling(bool disable)
341 bool IPCThreadState::backgroundSchedulingDisabled()
346 sp<ProcessState> IPCThreadState::process()
351 status_t IPCThreadState::clearLastError()
358 pid_t IPCThreadState::getCallingPid() const
363 uid_t IPCThreadState::getCallingUid() const
368 int64_t IPCThreadState::clearCallingIdentity()
375 void IPCThreadState::setStrictModePolicy(int32_t policy)
380 int32_t IPCThreadState::getStrictModePolicy() const
385 void IPCThreadState::setLastTransactionBinderFlags(int32_t flags)
390 int32_t IPCThreadState::getLastTransactionBinderFlags() const
395 void IPCThreadState::restoreCallingIdentity(int64_t token)
401 void IPCThreadState::clearCaller()
407 void IPCThreadState::flushCommands()
414 void IPCThreadState::blockUntilThreadAvailable()
426 status_t IPCThreadState::getAndExecuteCommand()
470 void IPCThreadState::processPendingDerefs()
493 void IPCThreadState::joinThreadPool(bool isMain)
525 int IPCThreadState::setupPolling(int* fd)
536 status_t IPCThreadState::handlePolledCommands()
549 void IPCThreadState::stopProcess(bool /*immediate*/)
559 status_t IPCThreadState::transact(int32_t handle,
621 void IPCThreadState::incStrongHandle(int32_t handle)
623 LOG_REMOTEREFS("IPCThreadState::incStrongHandle(%d)\n", handle);
628 void IPCThreadState::decStrongHandle(int32_t handle)
630 LOG_REMOTEREFS("IPCThreadState::decStrongHandle(%d)\n", handle);
635 void IPCThreadState::incWeakHandle(int32_t handle)
637 LOG_REMOTEREFS("IPCThreadState::incWeakHandle(%d)\n", handle);
642 void IPCThreadState::decWeakHandle(int32_t handle)
644 LOG_REMOTEREFS("IPCThreadState::decWeakHandle(%d)\n", handle);
649 status_t IPCThreadState::attemptIncStrongHandle(int32_t handle)
652 LOG_REMOTEREFS("IPCThreadState::attemptIncStrongHandle(%d)\n", handle);
661 ALOGV("IPCThreadState::attemptIncStrongHandle(%ld) = %s\n",
673 void IPCThreadState::expungeHandle(int32_t handle, IBinder* binder)
676 ALOGV("IPCThreadState::expungeHandle(%ld)\n", handle);
681 status_t IPCThreadState::requestDeathNotification(int32_t handle, BpBinder* proxy)
689 status_t IPCThreadState::clearDeathNotification(int32_t handle, BpBinder* proxy)
697 IPCThreadState::IPCThreadState()
708 IPCThreadState::~IPCThreadState()
712 status_t IPCThreadState::sendReply(const Parcel& reply, uint32_t flags)
722 status_t IPCThreadState::waitForResponse(Parcel *reply, status_t *acquireResult)
813 status_t IPCThreadState::talkWithDriver(bool doReceive)
914 status_t IPCThreadState::writeTransactionData(int32_t cmd, uint32_t binderFlags,
957 status_t IPCThreadState::executeCommand(int32_t cmd)
1154 void IPCThreadState::threadDestructor(void *st)
1156 IPCThreadState* const self = static_cast<IPCThreadState*>(st);
1169 void IPCThreadState::freeBuffer(Parcel* parcel, const uint8_t* data,
1180 IPCThreadState* state = self();