Lines Matching refs:threadState
531 const IPCThreadState* threadState = IPCThreadState::self(); in writeInterfaceToken() local
532 writeInt32(threadState->getStrictModePolicy() | STRICT_MODE_PENALTY_GATHER); in writeInterfaceToken()
534 writeInt32(threadState->shouldPropagateWorkSource() ? in writeInterfaceToken()
535 threadState->getCallingWorkSourceUid() : IPCThreadState::kUnsetWorkSource); in writeInterfaceToken()
573 IPCThreadState* threadState) const in enforceInterface()
575 return enforceInterface(interface.string(), interface.size(), threadState); in enforceInterface()
580 IPCThreadState* threadState) const in enforceInterface()
584 if (threadState == nullptr) { in enforceInterface()
585 threadState = IPCThreadState::self(); in enforceInterface()
587 if ((threadState->getLastTransactionBinderFlags() & in enforceInterface()
593 threadState->setStrictModePolicy(0); in enforceInterface()
595 threadState->setStrictModePolicy(strictPolicy); in enforceInterface()
600 threadState->setCallingWorkSourceUidWithoutPropagation(workSource); in enforceInterface()