/external/autotest/client/cros/power/ |
power_strip.py | 5 import telnetlib, threading, time 9 # avoid threading and address space conflicts 30 threading.Timer(delay, self._do_command, (command, outlet)).start()
|
/external/autotest/server/site_tests/platform_InternalDisplay/ |
platform_InternalDisplay.py | 5 import logging, threading 25 thread = threading.Thread(target = self.host.suspend)
|
/external/autotest/site_utils/stats/ |
tail_until_writer_finished_unittest.py | 14 import threading 60 thread = threading.Thread(target=Tail)
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
device_blacklist.py | 8 import threading 15 self._blacklist_lock = threading.RLock()
|
device_temp_file.py | 11 import threading 48 threading.Thread(
|
/external/python/cpython2/Demo/tkinter/guido/ |
brownian.py | 5 import threading 43 t = threading.Thread(target=particle, args=(canvas,))
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/ |
queues.py | 26 import threading 36 _queue_runner_lock = threading.Lock()
|
/external/python/cpython2/Lib/test/ |
test_smtplib.py | 15 import threading 17 threading = None variable 43 @unittest.skipUnless(threading, 'Threading required for this test.') 48 self.evt = threading.Event() 53 self.thread = threading.Thread(target=server, args=servargs) 146 @unittest.skipUnless(threading, 'Threading required for this test.') 156 self.serv_evt = threading.Event() 157 self.client_evt = threading.Event( [all...] |
/external/python/cpython2/Doc/includes/ |
mp_benchmarks.py | 8 import time, sys, multiprocessing, threading, Queue, gc 188 test_queuespeed(threading.Thread, Queue.Queue(), 189 threading.Condition()) 212 print '\n\t######## testing threading.Lock\n' 213 test_lockspeed(threading.Lock()) 214 print '\n\t######## testing threading.RLock\n' 215 test_lockspeed(threading.RLock()) 227 print '\n\t######## testing threading.Condition\n' 228 test_conditionspeed(threading.Thread, threading.Condition() [all...] |
/external/python/cpython3/Lib/test/ |
test_threaded_import.py | 18 threading = import_module('threading') variable 35 done_tasks.append(threading.get_ident()) 67 self.lock = threading.Lock() 105 done = threading.Event() 119 with start_threads(threading.Thread(target=task, 209 t1 = threading.Thread(target=import_ab) 210 t2 = threading.Thread(target=import_ba) 219 import threading 222 t = threading.Thread(target=target [all...] |
test_fork1.py | 15 threading = import_module('threading') variable 36 import_started = threading.Event() 47 t = threading.Thread(target=importer)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_asynchat.py | 8 import threading
10 threading = None
variable 15 if threading:
16 class echo_server(threading.Thread):
22 threading.Thread.__init__(self)
90 event = threading.Event()
99 @unittest.skipUnless(threading, 'Threading required for this test.')
110 event = threading.Event()
214 s.start_resend_event = threading.Event() [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_asynchat.py | 8 import threading 10 threading = None variable 15 if threading: 16 class echo_server(threading.Thread): 22 threading.Thread.__init__(self) 90 event = threading.Event() 99 @unittest.skipUnless(threading, 'Threading required for this test.') 110 event = threading.Event() 214 s.start_resend_event = threading.Event( [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_asynchat.py | 8 import threading 10 threading = None variable 15 if threading: 16 class echo_server(threading.Thread): 22 threading.Thread.__init__(self) 90 event = threading.Event() 99 @unittest.skipUnless(threading, 'Threading required for this test.') 110 event = threading.Event() 214 s.start_resend_event = threading.Event( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_asynchat.py | 8 import threading 10 threading = None variable 15 if threading: 16 class echo_server(threading.Thread): 22 threading.Thread.__init__(self) 90 event = threading.Event() 99 @unittest.skipUnless(threading, 'Threading required for this test.') 110 event = threading.Event() 214 s.start_resend_event = threading.Event( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_asynchat.py | 8 import threading 10 threading = None variable 15 if threading: 16 class echo_server(threading.Thread): 22 threading.Thread.__init__(self) 90 event = threading.Event() 99 @unittest.skipUnless(threading, 'Threading required for this test.') 110 event = threading.Event() 214 s.start_resend_event = threading.Event( [all...] |
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/ |
mock_lorgnette.py | 12 import threading 92 class MockLorgnette(threading.Thread): 97 threading.Thread.__init__(self)
|
/external/autotest/client/site_tests/network_ShillInitScripts/ |
mock_flimflam.py | 7 import threading 116 class MockFlimflam(threading.Thread): 121 threading.Thread.__init__(self)
|
/external/chromium-trace/catapult/devil/devil/android/ |
device_temp_file.py | 12 import threading 70 threading.Thread( 110 threading.Thread(
|
/external/python/cpython2/Lib/ |
_threading_local.py | 3 (Note that this module provides a Python version of the threading.local 6 `threading`.) 37 >>> import threading 38 >>> thread = threading.Thread(target=f) 97 >>> thread = threading.Thread(target=f) 124 >>> thread = threading.Thread(target=f) 138 # We need to use objects from the threading module, but the threading 141 # with circular imports. For that reason, we don't import `threading` 224 import threading [all...] |
/external/toolchain-utils/crosperf/ |
image_checksummer.py | 7 import threading 20 self._lock = threading.Lock() 45 _lock = threading.Lock()
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
_threading_local.py | 3 (Note that this module provides a Python version of the threading.local 6 `threading`.) 37 >>> import threading 38 >>> thread = threading.Thread(target=f) 97 >>> thread = threading.Thread(target=f) 124 >>> thread = threading.Thread(target=f) 138 # We need to use objects from the threading module, but the threading 141 # with circular imports. For that reason, we don't import `threading` 224 import threading [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
_threading_local.py | 3 (Note that this module provides a Python version of the threading.local 6 `threading`.) 37 >>> import threading 38 >>> thread = threading.Thread(target=f) 97 >>> thread = threading.Thread(target=f) 124 >>> thread = threading.Thread(target=f) 138 # We need to use objects from the threading module, but the threading 141 # with circular imports. For that reason, we don't import `threading` 224 import threading [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_threading_local.py | 3 (Note that this module provides a Python version of the threading.local 6 `threading`.) 37 >>> import threading 38 >>> thread = threading.Thread(target=f) 97 >>> thread = threading.Thread(target=f) 124 >>> thread = threading.Thread(target=f) 138 # We need to use objects from the threading module, but the threading 141 # with circular imports. For that reason, we don't import `threading` 224 import threading [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_threading_local.py | 3 (Note that this module provides a Python version of the threading.local 6 `threading`.) 37 >>> import threading 38 >>> thread = threading.Thread(target=f) 97 >>> thread = threading.Thread(target=f) 124 >>> thread = threading.Thread(target=f) 138 # We need to use objects from the threading module, but the threading 141 # with circular imports. For that reason, we don't import `threading` 224 import threading [all...] |