Home
last modified time | relevance | path

Searched refs:acls (Results 1 – 22 of 22) sorted by relevance

/external/autotest/scheduler/
Drdb_integration_tests.py41 and set(host['acls']).intersection(request.acls))
154 def local_find_hosts(host_query_manger, deps, acls): argument
222 acls = set(['a', 'b'])
223 self.db_helper.create_host('h1', deps=deps, acls=acls)
224 job = self.create_job(user='autotest_system', deps=deps, acls=acls)
246 acls = set(['a', 'b'])
252 self.db_helper.create_host('lumpy1', deps=lumpy_deps, acls=acls)
253 self.db_helper.create_host('lumpy2', deps=lumpy_deps, acls=acls)
254 self.db_helper.create_host('stumpy1', deps=stumpy_deps, acls=acls)
256 'stumpy2', deps=stumpy_deps_with_crosversion , acls=acls)
[all …]
Drdb_cache_manager.py114 cache_key = self.cache.get_key(request.deps, request.acls)
250 def get_key(cls, deps, acls): argument
259 return cls.key(deps=frozenset(deps), acls=frozenset(acls))
303 h_keys = set([self.get_key(host.labels, host.acls) for host in line])
306 not key.acls.intersection(h_key.acls)):
Drdb_cache_unittests.py44 acls=test_utils.DEFAULT_ACLS, priority=0, parent_job_id=0, **kwargs): argument
51 deps, acls, priority, parent_job_id)]
185 key = self.cache.get_key(deps=request.deps, acls=request.acls)
248 deps=test_utils.DEFAULT_DEPS, acls=test_utils.DEFAULT_ACLS)
264 acls=test_utils.DEFAULT_ACLS, leased=1)
272 cache.set_line(cache.get_key(host.labels, host.acls), [host])
274 cache.get_line(cache.get_key(host.labels, host.acls)) == [host])
279 acls=test_utils.DEFAULT_ACLS, leased=0)
288 acls=[test_utils.DEFAULT_ACLS[1]], leased=0)
Drdb_hosts_unittest.py47 acls = set(['d', 'e'])
49 self.db_helper.create_host('h1', deps=labels, acls=acls))
51 self.db_helper.get_acls(name__in=acls)])
59 set(server_host.acls) == acl_ids)
64 set(client_host.acls) == acl_ids)
Drdb_unittest.py213 acls = set(['a'])
215 name='h1', deps=deps, acls=acls, leased=1)
218 acls=[aclgroup.id for aclgroup in db_host.aclgroup_set.all()])
222 acls=[aclgroup.id for aclgroup in db_host.aclgroup_set.all()])
235 acls = set(['a'])
237 name='h1', deps=deps, acls=acls, leased=1)
Drdb_testing_utils.py203 def create_host(cls, name, deps=set([]), acls=set([]), status='Ready', argument
230 cls.add_host_to_aclgroup(host, aclgroup_names=acls)
340 acls = [acl.id for acl in DBHelper.get_acls(name__in=acl_names)]
342 deps=deps, acls=acls, host_id=None, priority=priority,
381 deps=set([]), acls=set([]), hostless_job=False, argument
409 self.db_helper.add_user_to_aclgroups(user, aclgroup_names=acls)
447 board='z', build='x', acls=set()): argument
462 acls=acls,
Drdb.py62 def find_hosts(self, deps, acls): argument
72 hosts_available = hosts_available.filter(Q(aclgroup__id__in=acls))
297 acl_match = (request.acls.intersection(host.acls) or host.invalid)
348 request.deps, request.acls)
Drdb_hosts.py110 self.acls = [aclgroup.id for aclgroup in host.aclgroup_set.all()]
170 host_info['acls'] = self.acls
Dhost_scheduler_unittests.py67 acls=rdb_testing_utils.DEFAULT_ACLS)
/external/skqp/infra/project-config/
Dcr-buildbucket.cfg11 acls {
15 acls {
19 acls {
23 acls {
31 acls {
35 acls {
39 acls {
43 acls {
51 acls {
55 acls {
[all …]
/external/skia/infra/project-config/
Dcr-buildbucket.cfg11 acls {
15 acls {
19 acls {
23 acls {
31 acls {
35 acls {
39 acls {
43 acls {
51 acls {
55 acls {
[all …]
/external/autotest/cli/
Dacl_unittest.py22 acl_list.acls)
141 acls = acl.acl_create()
144 acls.parse()
145 self.assertEqual('my_favorite_acl', acls.data['description'])
150 acls = acl.acl_create()
153 self.assertRaises(cli_mock.ExitException, acls.parse)
160 acls = acl.acl_create()
164 self.assertRaises(cli_mock.ExitException, acls.parse)
171 acls = acl.acl_create()
174 self.assertRaises(cli_mock.ExitException, acls.parse)
[all …]
Dacl.py48 return self.acls
84 acls = getattr(self, 'acls')
85 if ((users and (hosts or acls)) or
86 (hosts and acls)):
110 if self.acls:
111 filters['name__in'] = self.acls
130 if self.acls or self.verbose:
159 if len(self.acls) > 1:
Dhost.py245 acls = self.execute_rpc('get_acl_groups', hosts__hostname=host)
248 results.append([[stat], acls, labels, stat['attributes']])
257 for stats, acls, labels, attributes in results:
263 self.print_by_ids(acls, 'ACLs', line_before=True)
418 def _set_acls(self, hosts, acls): argument
431 if a['name'] not in self.acls and a['id'] != 1:
437 self.acls)
438 for a in acls:
563 if self.acls or self.remove_acls:
564 self._set_acls(self.hosts, self.acls)
[all …]
Dhost_unittest.py1255 def _gen_acls_rpcs(self, hosts, acls, host_ids=[]): argument
1265 for acl in acls:
1268 for acl in acls:
1372 acls = ['acl0', 'acl1']
1373 rpcs, out = self._gen_expectations(acls=acls)
1374 self.run_cmd(argv=self._command_single + ['--acls', ','.join(acls)],
1380 acls = ['acl0', 'acl1']
1381 rpcs, out = self._gen_expectations(acls=acls)
1382 aclsf = cli_mock.create_file(','.join(acls))
1412 acls = ['acl0', 'acl1']
[all …]
Dtopic_common_unittest.py689 self.assertEqualNoOrder(self.atest.acls,
743 self.assertEqualNoOrder(self.atest.acls, [])
/external/autotest/frontend/afe/
Dadmin.py223 acls = []
228 locked, lock_reason, labels, acls,
/external/protobuf/src/google/protobuf/
Dapi.proto184 // root: acls
191 // option (google.api.http).get = "/v2/acls/{resource=**}:getAcl";
/external/autotest/server/
Dfrontend.py583 acls = self.run('get_acl_groups', **dargs)
584 return [Acl(self, a) for a in acls]
/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt115 ... 'acls': ['Everyone'],
/external/ltp/android/
DAndroid.ltp.mk2309 module_src_files := testcases/kernel/fs/acls/acl_test01
/external/ltp/
Dgen.bp1595 srcs: ["testcases/kernel/fs/acls/acl_link_test.c"],
4402 srcs: ["testcases/kernel/fs/acls/acl_file_test.c"],