Searched refs:acl (Results 1 - 25 of 79) sorted by relevance

1234

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/acl/
H A DAclNotFoundExceptionTest.java22 package org.apache.harmony.security.tests.java.security.acl;
24 import java.security.acl.AclNotFoundException;
35 * @tests java.security.acl.AclNotFoundException#AclNotFoundException()
H A DLastOwnerExceptionTest.java18 package org.apache.harmony.security.tests.java.security.acl;
20 import java.security.acl.LastOwnerException;
31 * @tests java.security.acl.LastOwnerException#LastOwnerException()
H A DNotOwnerExceptionTest.java18 package org.apache.harmony.security.tests.java.security.acl;
20 import java.security.acl.NotOwnerException;
31 * @tests java.security.acl.NotOwnerException#NotOwnerException()
/external/autotest/cli/
H A Datest_migrate_host43 for acl in old_host_acls:
45 new_acls = new.get_acls(name=acl.name)
49 new_acl = new.create_acl(name=acl.name, description=acl.description)
51 for user in acl.users:
57 if not [a for a in new_host.get_acls() if a.name == acl.name]:
58 new_host.add_acl(acl.name)
H A Duser.py57 [--acl <ACL>|--access_level <n>]"""
61 self.parser.add_option('-a', '--acl',
70 self.acl = options.acl
78 if self.acl:
79 filters['aclgroup__name__in'] = [self.acl]
H A Dacl.py5 The acl module contains the objects and methods used to
9 add: adds acl(s), or users or hosts to an ACL
10 remove: deletes acl(s), or users or hosts from an ACL
11 list: lists acl(s)
23 class acl(topic_common.atest): class in inherits:topic_common.atest
25 atest acl [create|delete|list|add|remove] <options>"""
33 super(acl, self).__init__()
51 class acl_help(acl):
57 class acl_list(action_common.atest_list, acl):
58 """atest acl lis
[all...]
H A Dacl_unittest.py6 """Test for acl."""
11 from autotest_lib.cli import acl, cli_mock namespace
16 acl_list = acl.acl_list()
21 self.assertEqualNoOrder(['acl%s' % x for x in range(8)],
27 acl_list = acl.acl_list()
34 acl_list = acl.acl_list()
41 acl_list = acl.acl_list()
81 self.run_cmd(argv=['atest', 'acl', 'list', '-v'],
92 self.run_cmd(argv=['atest', 'acl', 'list', 'acl0'],
103 self.run_cmd(argv=['atest', 'acl', 'lis
[all...]
H A Dhost.py100 [--status <status1,status2>] [--acl <ACL>] [--user <user>]"""
113 self.parser.add_option('-a', '--acl',
141 self.acl = options.acl
177 if self.acl:
178 filters['aclgroup__name'] = self.acl
497 for acl in self.acls:
499 id=acl,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/
H A Dtest_basic.py39 from boto.gs.acl import ACL
225 # try some acl stuff
227 acl = bucket.get_acl()
228 self.assertEqual(len(acl.entries.entry_list), 2)
230 acl = bucket.get_acl()
231 self.assertEqual(len(acl.entries.entry_list), 1)
234 acl = k.get_acl()
235 self.assertEqual(len(acl.entries.entry_list), 2)
237 acl = k.get_acl()
238 self.assertEqual(len(acl
[all...]
H A Dtest_generation_conditionals.py33 from boto.gs.acl import ACL
235 acl = ACL()
236 h = handler.XmlHandler(acl, b)
238 acl = acl.to_xml()
240 b.set_xml_acl(acl, key_name="foo")
252 b.set_xml_acl(acl, key_name="foo", if_metageneration=123)
255 b.set_xml_acl(acl, key_name="foo", if_generation=int(g2) + 1)
258 b.set_xml_acl(acl, key_name="foo", if_generation=g2,
261 b.set_xml_acl(acl, key_nam
[all...]
H A Dtest_versioning.py29 from boto.gs import acl namespace
147 and e.scope.type == acl.ALL_USERS]
149 and e.scope.type == acl.ALL_USERS]
180 aclo = acl.ACL()
192 and e.scope.type == acl.ALL_USERS]
194 and e.scope.type == acl.ALL_USERS]
229 and e.scope.type == acl.ALL_USERS]
231 and e.scope.type == acl.ALL_USERS]
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
H A Dtest_acl.py15 """Integration tests for the acl command."""
37 """Integration test case base class for acl command."""
39 _set_acl_prefix = ['acl', 'set']
40 _get_acl_prefix = ['acl', 'get']
42 _ch_acl_prefix = ['acl', 'ch']
50 """Integration tests for acl command."""
56 self.logger = CreateGsutilLogger('acl')
139 self._set_acl_prefix + ['not-a-canned-acl', obj_uri],
188 acl = self.RunGsUtil(self._get_acl_prefix + [uri_str],
191 self._strip_json_whitespace(acl))
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/util/mac/
H A Ddetermine_if_keychain_entry_is_decryptable.c59 SecACLRef acl = (SecACLRef)CFArrayGetValueAtIndex(acl_list, i); local
64 status = SecACLCopyContents(acl, &application_list, &description,
75 // Check whether this acl gives decryption access to all applications.
89 // No acl was found that gave decryption access to all applications.
/external/e2fsprogs/misc/
H A Dmke2fs-hurd.conf3 default_mntopts = acl,user_xattr
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
H A Dacl.py36 self.acl = None
40 for g in self.acl.grants:
61 self.acl = ACL(self)
62 return self.acl
80 s += self.acl.to_xml()
/external/chromium-trace/catapult/third_party/gsutil/gslib/
H A Dtranslation_helper.py27 from boto.gs.acl import ACL
28 from boto.gs.acl import ALL_AUTHENTICATED_USERS
29 from boto.gs.acl import ALL_USERS
30 from boto.gs.acl import Entries
31 from boto.gs.acl import Entry
32 from boto.gs.acl import GROUP_BY_DOMAIN
33 from boto.gs.acl import GROUP_BY_EMAIL
34 from boto.gs.acl import GROUP_BY_ID
35 from boto.gs.acl import USER_BY_EMAIL
36 from boto.gs.acl impor
[all...]
H A Dtab_complete.py24 from boto.gs.acl import CannedACLStrings
76 canned_acls = [acl for acl in CannedACLStrings if acl.startswith(prefix)]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/gs/
H A Dkey.py337 acl = self.get_acl()
338 acl.add_email_grant(permission, email_address)
339 self.set_acl(acl)
358 acl = self.get_acl()
359 acl.add_user_grant(permission, user_id)
360 self.set_acl(acl)
379 acl = self.get_acl(headers=headers)
380 acl.add_group_email_grant(permission, email_address)
381 self.set_acl(acl, headers=headers)
400 acl
[all...]
H A Dbucket.py31 from boto.gs.acl import ACL, CannedACLStrings
32 from boto.gs.acl import SupportedPermissions as GSPermissions
37 from boto.s3.acl import Policy
44 STANDARD_ACL = 'acl'
269 :type acl_or_str: string or :class:`boto.gs.acl.ACL`
271 :data:`~.gs.acl.CannedACLStrings`) or an ACL object.
289 :param if_generation: (optional) If set to a generation number, the acl
294 the acl will only be updated if its current metageneration number is
313 :type acl_or_str: string or :class:`boto.gs.acl.ACL`
315 :data:`~.gs.acl
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/pyami/
H A Dcopybot.py51 acl = self.src.get_xml_acl()
52 self.dst.set_xml_acl(acl)
56 acl = src.get_xml_acl()
57 dst.set_xml_acl(acl)
/external/skia/platform_tools/android/apps/visualbench/src/main/jni/
H A Dmain.cpp81 jclass acl = env->GetObjectClass(me); //class pointer of NativeActivity local
82 jmethodID giid = env->GetMethodID(acl, "getIntent", "()Landroid/content/Intent;");
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
H A Dacl.py15 """Implementation of acl command for cloud storage providers."""
38 gsutil acl set [-f] [-r] [-a] file-or-canned_acl_name url...
42 gsutil acl get url
46 gsutil acl ch [-f] [-r] -u|-g|-d|-p <grant>... url...
58 The "acl get" command gets the ACL text for a bucket or object, which you can
59 save and edit for the acl set command.
64 The "acl set" command allows you to set an Access Control List on one or
68 gsutil acl set private gs://bucket
71 recommended to use "acl ch", to avoid accidentally removing OWNER permissions.
72 See "gsutil help acl c
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/devpay/
H A Dtest_s3.py148 # try some acl stuff
151 assert len(policy.acl.grants) == 2
154 assert len(policy.acl.grants) == 1
158 assert len(policy.acl.grants) == 2
161 assert len(policy.acl.grants) == 1
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
H A Dtest_connection.py168 # try some acl stuff
171 assert len(policy.acl.grants) == 2
174 assert len(policy.acl.grants) == 1
178 assert len(policy.acl.grants) == 2
181 assert len(policy.acl.grants) == 1
/external/autotest/client/common_lib/
H A Dsite_utils.py192 def gs_upload(local_file, remote_file, acl, result_dir=None,
198 @param acl: name or file used for controlling access to the uploaded
203 @param acl_timeout: Timeout for the acl call needed to confirm that
216 if acl in CANNED_ACLS:
217 cmd = '%s cp -a %s %s %s' % (_GSUTIL_BIN, acl, local_file, remote_file)
223 if not os.path.exists(acl):
224 logging.error('Unable to find ACL File %s.', acl)
226 acl_cmd = '%s setacl %s %s' % (_GSUTIL_BIN, acl, remote_file)

Completed in 890 milliseconds

1234