Home
last modified time | relevance | path

Searched refs:PolicySession (Results 1 – 12 of 12) sorted by relevance

/system/tpm/trunks/
Dpolicy_session.h33 class PolicySession {
35 PolicySession() {} in PolicySession() function
36 virtual ~PolicySession() {} in ~PolicySession()
83 DISALLOW_COPY_AND_ASSIGN(PolicySession);
Dtrunks_factory_for_test.h42 class PolicySession; variable
71 scoped_ptr<PolicySession> GetPolicySession() const override;
72 scoped_ptr<PolicySession> GetTrialSession() const override;
100 void set_policy_session(PolicySession* policy_session) { in set_policy_session()
122 PolicySession* policy_session_;
Dtrunks_factory_impl.cc87 scoped_ptr<PolicySession> TrunksFactoryImpl::GetPolicySession() const { in GetPolicySession()
88 return scoped_ptr<PolicySession>(new PolicySessionImpl(*this, TPM_SE_POLICY)); in GetPolicySession()
91 scoped_ptr<PolicySession> TrunksFactoryImpl::GetTrialSession() const { in GetTrialSession()
92 return scoped_ptr<PolicySession>(new PolicySessionImpl(*this, TPM_SE_TRIAL)); in GetTrialSession()
Dtrunks_factory.h33 class PolicySession; variable
68 virtual scoped_ptr<PolicySession> GetPolicySession() const = 0;
71 virtual scoped_ptr<PolicySession> GetTrialSession() const = 0;
Dtrunks_factory_impl.h54 scoped_ptr<PolicySession> GetPolicySession() const override;
55 scoped_ptr<PolicySession> GetTrialSession() const override;
Dtrunks_factory_for_test.cc451 class PolicySessionForwarder : public PolicySession {
453 explicit PolicySessionForwarder(PolicySession* target): target_(target) {} in PolicySessionForwarder()
497 PolicySession* target_;
587 scoped_ptr<PolicySession> TrunksFactoryForTest::GetPolicySession() const { in GetPolicySession()
588 return scoped_ptr<PolicySession>(new PolicySessionForwarder(policy_session_)); in GetPolicySession()
591 scoped_ptr<PolicySession> TrunksFactoryForTest::GetTrialSession() const { in GetTrialSession()
592 return scoped_ptr<PolicySession>(new PolicySessionForwarder(policy_session_)); in GetTrialSession()
Dmock_policy_session.h29 class MockPolicySession : public PolicySession {
Dpolicy_session_impl.h43 class TRUNKS_EXPORT PolicySessionImpl: public PolicySession {
Dtrunks_client_test.cc320 scoped_ptr<PolicySession> policy_session = factory_->GetPolicySession(); in SealedDataTest()
402 scoped_ptr<PolicySession> trial_session = factory_->GetTrialSession(); in PolicyAuthValueTest()
452 scoped_ptr<PolicySession> policy_session = factory_->GetPolicySession(); in PolicyAuthValueTest()
513 scoped_ptr<PolicySession> trial_session = factory_->GetTrialSession(); in PolicyAndTest()
580 scoped_ptr<PolicySession> policy_session = factory_->GetPolicySession(); in PolicyAndTest()
677 scoped_ptr<PolicySession> trial_session = factory_->GetTrialSession(); in PolicyOrTest()
760 scoped_ptr<PolicySession> policy_session = factory_->GetPolicySession(); in PolicyOrTest()
Dtpm_utility_impl.cc1147 scoped_ptr<PolicySession> session = factory_.GetTrialSession(); in GetPolicyDigestForPcrValue()
/system/tpm/trunks/generator/
Draw_commands_fixed.txt18784 PolicySession→policyDigest is the size of the digest produced by the hash algorithm used to
20377 PolicySession→policyDigest is compared against the list of provided values. If the current
23519 PolicySession→CpHash receives the digest of both Names so that the check performed in
Draw_commands.txt18773 PolicySession→policyDigest is the size of the digest produced by the hash algorithm used to
20366 PolicySession→policyDigest is compared against the list of provided values. If the current
23508 PolicySession→CpHash receives the digest of both Names so that the check performed in