Home
last modified time | relevance | path

Searched refs:retrieved_policy (Results 1 – 7 of 7) sorted by relevance

/external/autotest/client/site_tests/login_MultipleSessions/
Dlogin_MultipleSessions.py47 retrieved_policy = policy.get_policy(self._session_manager)
48 if retrieved_policy is None: raise error.TestFail('Policy not found')
49 policy.compare_policy_response(self.srcdir, retrieved_policy,
64 retrieved_policy = policy.get_policy(self._session_manager)
65 if retrieved_policy is None: raise error.TestFail('Policy not found')
66 policy.compare_policy_response(self.srcdir, retrieved_policy,
/external/autotest/client/site_tests/login_OwnershipTaken/
Dlogin_OwnershipTaken.py32 def _validate_policy(self, retrieved_policy, username): argument
41 response_proto.ParseFromString(retrieved_policy)
63 retrieved_policy = sm.RetrievePolicy(byte_arrays=True)
64 if retrieved_policy is None:
66 self._validate_policy(retrieved_policy, cr.username)
/external/autotest/client/site_tests/login_OwnershipApi/
Dlogin_OwnershipApi.py74 retrieved_policy = policy.get_policy(sm)
75 if retrieved_policy is None: raise error.TestFail('Policy not found')
77 retrieved_policy,
87 retrieved_policy,
/external/autotest/client/site_tests/login_GuestAndActualSession/
Dlogin_GuestAndActualSession.py55 retrieved_policy = policy.get_policy(self._session_manager)
56 if retrieved_policy is None: raise error.TestFail('Policy not found')
57 policy.compare_policy_response(self.srcdir, retrieved_policy,
/external/autotest/client/site_tests/login_OwnershipRetaken/
Dlogin_OwnershipRetaken.py78 retrieved_policy = self._sm.RetrievePolicy(byte_arrays=True)
79 if retrieved_policy is None:
82 retrieved_policy,
/external/autotest/client/common_lib/cros/
Dpolicy.py174 retrieved_policy = sm.RetrievePolicy(byte_arrays=True)
175 if retrieved_policy != policy_string:
176 raise error.TestFail('Policy should not be %s' % retrieved_policy)
/external/autotest/client/site_tests/login_UserPolicyKeys/
Dlogin_UserPolicyKeys.py91 retrieved_policy = sm.RetrievePolicyForUser(ownership.TESTUSER,
93 if retrieved_policy: