Lines Matching refs:threadState
609 const IPCThreadState* threadState = IPCThreadState::self(); in writeInterfaceToken() local
610 writeInt32(threadState->getStrictModePolicy() | STRICT_MODE_PENALTY_GATHER); in writeInterfaceToken()
612 writeInt32(threadState->shouldPropagateWorkSource() ? threadState->getCallingWorkSourceUid() in writeInterfaceToken()
653 IPCThreadState* threadState) const in enforceInterface()
655 return enforceInterface(interface.string(), interface.size(), threadState); in enforceInterface()
660 IPCThreadState* threadState) const in enforceInterface()
665 if (threadState == nullptr) { in enforceInterface()
666 threadState = IPCThreadState::self(); in enforceInterface()
668 if ((threadState->getLastTransactionBinderFlags() & IBinder::FLAG_ONEWAY) != 0) { in enforceInterface()
673 threadState->setStrictModePolicy(0); in enforceInterface()
675 threadState->setStrictModePolicy(strictPolicy); in enforceInterface()
680 threadState->setCallingWorkSourceUidWithoutPropagation(workSource); in enforceInterface()