Lines Matching refs:self
742 Thread* const self = static_cast<Thread*>(user); in _threadLoop() local
744 sp<Thread> strong(self->mHoldSelf); in _threadLoop()
746 self->mHoldSelf.clear(); in _threadLoop()
750 self->mTid = gettid(); in _threadLoop()
759 self->mStatus = self->readyToRun(); in _threadLoop()
760 result = (self->mStatus == NO_ERROR); in _threadLoop()
762 if (result && !self->exitPending()) { in _threadLoop()
773 result = self->threadLoop(); in _threadLoop()
776 result = self->threadLoop(); in _threadLoop()
781 Mutex::Autolock _l(self->mLock); in _threadLoop()
782 if (result == false || self->mExitPending) { in _threadLoop()
783 self->mExitPending = true; in _threadLoop()
784 self->mRunning = false; in _threadLoop()
787 self->mThread = thread_id_t(-1); in _threadLoop()
790 self->mThreadExitedCondition.broadcast(); in _threadLoop()