Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/login_MultipleSessions/
Dlogin_MultipleSessions.py45 retrieved_policy = policy.get_policy(self._session_manager)
46 if retrieved_policy is None: raise error.TestFail('Policy not found')
47 policy.compare_policy_response(retrieved_policy, owner=expected_owner)
61 retrieved_policy = policy.get_policy(self._session_manager)
62 if retrieved_policy is None: raise error.TestFail('Policy not found')
63 policy.compare_policy_response(retrieved_policy, owner=expected_owner)
/external/autotest/client/site_tests/login_OwnershipTaken/
Dlogin_OwnershipTaken.py28 def _validate_policy(self, retrieved_policy, username): argument
33 response_proto.ParseFromString(retrieved_policy)
54 retrieved_policy = sm.RetrievePolicyEx(
57 if retrieved_policy is None:
59 self._validate_policy(retrieved_policy, cr.username)
/external/autotest/client/site_tests/login_OwnershipApi/
Dlogin_OwnershipApi.py64 retrieved_policy = policy.get_policy(sm)
65 if retrieved_policy is None: raise error.TestFail('Policy not found')
66 policy.compare_policy_response(retrieved_policy,
74 policy.compare_policy_response(retrieved_policy,
/external/autotest/client/site_tests/login_GuestAndActualSession/
Dlogin_GuestAndActualSession.py45 retrieved_policy = policy.get_policy(self._session_manager)
46 if retrieved_policy is None: raise error.TestFail('Policy not found')
47 policy.compare_policy_response(retrieved_policy, owner=owner)
/external/autotest/client/common_lib/cros/
Dpolicy.py162 retrieved_policy = sm.RetrievePolicyEx(descriptor, byte_arrays=True)
163 if retrieved_policy != policy_string:
164 raise error.TestFail('Policy should not be %s' % retrieved_policy)
/external/autotest/client/site_tests/login_UserPolicyKeys/
Dlogin_UserPolicyKeys.py87 retrieved_policy = sm.RetrievePolicyEx(
90 if retrieved_policy: