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 | 72 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/ |
D | login_GuestAndActualSession.py | 51 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/ |
D | login_OwnershipRetaken.py | 76 retrieved_policy = self._sm.RetrievePolicy(byte_arrays=True) 77 if retrieved_policy is None: 80 retrieved_policy,
|
/external/autotest/client/common_lib/cros/ |
D | policy.py | 166 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/ |
D | login_UserPolicyKeys.py | 90 retrieved_policy = sm.RetrievePolicyForUser(ownership.TESTUSER, 92 if retrieved_policy:
|