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.py72 retrieved_policy = policy.get_policy(sm)
73 if retrieved_policy is None: raise error.TestFail('Policy not found')
75 retrieved_policy,
84 retrieved_policy,
/external/autotest/client/site_tests/login_GuestAndActualSession/
Dlogin_GuestAndActualSession.py51 retrieved_policy = policy.get_policy(self._session_manager)
52 if retrieved_policy is None: raise error.TestFail('Policy not found')
53 policy.compare_policy_response(self.srcdir, retrieved_policy,
/external/autotest/client/site_tests/login_OwnershipRetaken/
Dlogin_OwnershipRetaken.py76 retrieved_policy = self._sm.RetrievePolicy(byte_arrays=True)
77 if retrieved_policy is None:
80 retrieved_policy,
/external/autotest/client/common_lib/cros/
Dpolicy.py166 retrieved_policy = sm.RetrievePolicy(byte_arrays=True)
167 if retrieved_policy != policy_string:
168 raise error.TestFail('Policy should not be %s' % retrieved_policy)
/external/autotest/client/site_tests/login_UserPolicyKeys/
Dlogin_UserPolicyKeys.py90 retrieved_policy = sm.RetrievePolicyForUser(ownership.TESTUSER,
92 if retrieved_policy: