Searched defs:self (Results 1 - 2 of 2) sorted by relevance

/system/core/healthd/
H A DBatteryPropertiesRegistrar.cpp80 IPCThreadState* self = IPCThreadState::self(); local
81 const int pid = self->getCallingPid();
82 const int uid = self->getCallingUid();
/system/core/libutils/
H A DThreads.cpp144 // prctl(PR_SET_NAME) only works for self; prctl(PR_SET_THREAD_NAME) was
742 Thread* const self = static_cast<Thread*>(user); local
744 sp<Thread> strong(self->mHoldSelf);
746 self->mHoldSelf.clear();
750 self->mTid = gettid();
759 self->mStatus = self->readyToRun();
760 result = (self->mStatus == NO_ERROR);
762 if (result && !self->exitPending()) {
773 result = self
[all...]

Completed in 79 milliseconds