/external/chromium_org/tools/telemetry/telemetry/core/ |
util_unittest.py | 17 util.WaitFor(test, 0.1) 22 self.assertRaises(util.TimeoutException, lambda: util.WaitFor(test, 0.1)) 29 util.WaitFor(Test().Method, 0.1) 31 util.WaitFor(lambda: 1, 0.1) 34 self.assertRaises(TypeError, lambda: util.WaitFor('test', 0.1)) 37 self.assertEquals('test', util.WaitFor(lambda: 'test', 0.1))
|
/external/chromium_org/v8/src/base/platform/ |
semaphore-unittest.cc | 81 ASSERT_FALSE(semaphore_->WaitFor(TimeDelta::FromMicroseconds(1))); 123 EXPECT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1))); 127 TEST(Semaphore, WaitFor) { 131 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0))); 132 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100))); 133 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000))); 137 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0))); 139 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100))); 141 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000)));
|
condition-variable.h | 27 // on a Mutex first. The |Wait()| and |WaitFor()| operations atomically release 57 // is reacquired and |WaitFor()| exits. Returns true if the condition variable 59 bool WaitFor(Mutex* mutex, const TimeDelta& rel_time) WARN_UNUSED_RESULT;
|
condition-variable.cc | 71 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { 125 bool WaitFor(DWORD timeout_ms) { 273 while (!event->WaitFor(INFINITE)) 285 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { 299 result = event->WaitFor(INFINITE - 1); 305 result = event->WaitFor((msec < 0) ? 0 : static_cast<DWORD>(msec));
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
IconLoaderTest.java | 77 public synchronized Object waitFor() { 87 IconLoaderTest.assertNull(waitFor()); 90 IconLoaderTest.assertNotNull(waitFor());
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/process/ |
SystemProcessTest.java | 39 process.waitFor(); 50 process.waitFor();
|
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/ |
UnixNetworkInterfaceTest.java | 47 proc.waitFor(); 52 proc.waitFor(); 71 proc.waitFor(); 78 proc.waitFor(); 101 proc.waitFor(); 108 proc.waitFor(); 128 proc.waitFor(); 133 proc.waitFor();
|
/external/llvm/examples/ParallelJIT/ |
ParallelJIT.cpp | 130 waitFor = 0; 156 //~ std::cout << "block() n " << n << " waitFor " << waitFor << std::endl; 158 assert( waitFor == 0 || n <= waitFor ); 159 if ( waitFor > 0 && n == waitFor ) 192 waitFor = num; 209 // Reset waitFor to zero: this way, if waitFor threads ente [all...] |
/external/chromium_org/chrome/browser/extensions/api/downloads/ |
downloads_api_browsertest.cc | 202 bool WaitFor(Profile* profile, 216 // Print the events that were caught since the last WaitFor() call to help 345 bool WaitFor(const std::string& event_name, const std::string& json_args) { 346 return events_listener_->WaitFor( 354 if (!WaitFor(downloads::OnCreated::kEventName, on_created_event)) 357 return WaitFor( 827 ASSERT_TRUE(WaitFor(downloads::OnCreated::kEventName, [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
inspector_console_unittest.py | 23 util.WaitFor(GotLog, 5)
|
cros_unittest.py | 65 util.WaitFor(lambda: not self._IsCryptohomeMounted(), 20) 78 self.assertTrue(util.WaitFor(self._IsCryptohomeMounted, 10)) 100 util.WaitFor(ScreenLocked, 10) 113 util.WaitFor(ErrorBubbleVisible, 10) 121 util.WaitFor(lambda: not browser.oobe_exists, 10)
|
inspector_runtime_unittest.py | 47 util.WaitFor(lambda: self._tab.EnableAllContexts() == expected_contexts, 64 util.WaitFor(lambda: TestVarReady(context_id), timeout=10)
|
inspector_timeline_unittest.py | 17 util.WaitFor(_IsDone, 5)
|
oobe.py | 52 gaia_context = util.WaitFor(self._GaiaLoginContext, timeout=30)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
ProcessTest.java | 75 p.waitFor(); 91 p.waitFor(); 111 process.waitFor(); 117 process.waitFor(); // destroy is asynchronous.
|
/art/test/063-process-manager/src/ |
Main.java | 21 proc.waitFor();
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyCommandEvent.java | 42 int status = p.waitFor();
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/browser_dynamic_library/ |
browser_dlopen_test.html | 37 tester.waitFor($('naclDSOModule'));
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
repaint_continuously.py | 35 util.WaitFor(HasMinRafs, max(60 - self._seconds, 0))
|
media_action.py | 38 util.WaitFor(lambda:
|
/external/chromium_org/tools/perf/measurements/ |
tab_switching.py | 65 util.WaitFor(tab.HasReachedQuiescence, 60) 89 util.WaitFor(_IsDone, 30)
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
PowerMeasurement.java | 73 int exitVal = runsum.waitFor(); 76 exitVal = removal.waitFor();
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/fault_injection/ |
fault_pm_nameservice_test.html | 47 tester.waitFor($('naclModule'));
|
/external/chromium_org/tools/ |
bisect_test.py | 27 self.monkey_patch(bisect_builds.DownloadJob, 'WaitFor', lambda *args: None)
|
/external/chromium_org/tools/telemetry/telemetry/core/forwarders/ |
cros_forwarder.py | 52 util.WaitFor(
|