Searched refs:retrieved_policy (Results 1 – 7 of 7) sorted by relevance
/external/autotest/client/site_tests/login_MultipleSessions/ |
D | login_MultipleSessions.py | 47 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/ |
D | login_OwnershipTaken.py | 32 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/ |
D | login_OwnershipApi.py | 74 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/ |
D | login_GuestAndActualSession.py | 55 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/ |
D | login_OwnershipRetaken.py | 78 retrieved_policy = self._sm.RetrievePolicy(byte_arrays=True) 79 if retrieved_policy is None: 82 retrieved_policy,
|
/external/autotest/client/common_lib/cros/ |
D | policy.py | 174 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/ |
D | login_UserPolicyKeys.py | 91 retrieved_policy = sm.RetrievePolicyForUser(ownership.TESTUSER, 93 if retrieved_policy:
|