Home
last modified time | relevance | path

Searched refs:generate_random_string (Results 1 – 15 of 15) sorted by relevance

/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_security_test.py11 self.assertRaises(ValueError, security.generate_random_string, None)
12 self.assertRaises(ValueError, security.generate_random_string, 0)
13 self.assertRaises(ValueError, security.generate_random_string, -1)
14 self.assertRaises(ValueError, security.generate_random_string, 1, 1)
16 token = security.generate_random_string(16)
19 token = security.generate_random_string(32)
22 token = security.generate_random_string(64)
25 token = security.generate_random_string(128)
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Dsecurity.py39 def generate_random_string(length=None, entropy=None, pool=ALPHANUMERIC): function
123 salt = method != 'plain' and generate_random_string(length) or ''
217 create_token = generate_random_string
Dsessions.py234 return security.generate_random_string(entropy=128)
/external/autotest/client/virt/tests/
Dfile_transfer.py38 virt_utils.generate_random_string(8))
42 virt_utils.generate_random_string(8))
Dwhql_client_install.py84 client_name = "autotest_%s" % virt_utils.generate_random_string(4)
/external/autotest/client/tools/
Dcrash_handler.py11 def generate_random_string(length): function
206 core_dir_name = 'core.%s' % generate_random_string(4)
/external/chromium-trace/catapult/third_party/webapp2/docs/api/webapp2_extras/
Dsecurity.rst10 .. autofunction:: generate_random_string
/external/autotest/client/virt/
Dvirt_vm.py400 virt_utils.generate_random_string(4))
497 (self.name, virt_utils.generate_random_string(4)))
556 virt_utils.generate_random_string(4)))
583 virt_utils.generate_random_string(4)))
Dkvm_monitor.py576 id = virt_utils.generate_random_string(8)
Dvirt_env_process.py414 virt_utils.generate_random_string(6))
Dvirt_utils.py1100 def generate_random_string(length): function
1118 return "id" + generate_random_string(6)
1127 generate_random_string(4))
Daexpect.py388 self.id = id or virt_utils.generate_random_string(8)
/external/autotest/client/tests/kvm/tests/
Dmigration_with_file_transfer.py32 host_path = "/tmp/file-%s" % virt_utils.generate_random_string(6)
/external/autotest/client/common_lib/
Dsoftware_manager.py29 def generate_random_string(length): function
439 section_name = 'software_manager' + '_' + generate_random_string(4)
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/appengine/auth/
Dmodels.py174 token = token or security.generate_random_string(entropy=128)