Home
last modified time | relevance | path

Searched refs:Monitor (Results 1 – 25 of 126) sorted by relevance

123456

/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DSupplementalMonitorTest.java40 Monitor monitor = new Monitor(); in testLeaveWithoutEnterThrowsIMSE()
49 Monitor monitor1 = new Monitor(); in testGetWaitQueueLengthWithWrongMonitorThrowsIMSE()
50 Monitor monitor2 = new Monitor(); in testGetWaitQueueLengthWithWrongMonitorThrowsIMSE()
60 Monitor monitor1 = new Monitor(); in testHasWaitersWithWrongMonitorThrowsIMSE()
61 Monitor monitor2 = new Monitor(); in testHasWaitersWithWrongMonitorThrowsIMSE()
79 assertTrue(new Monitor(true).isFair()); in testIsFair()
80 assertFalse(new Monitor(false).isFair()); in testIsFair()
84 Monitor monitor = new Monitor(); in testOccupiedMethods()
108 Monitor monitor, in verifyOccupiedMethodsInCurrentThread()
118 final Monitor monitor, in verifyOccupiedMethodsInAnotherThread()
DMonitorTestCase.java32 public class TestGuard extends Monitor.Guard {
51 private Monitor monitor;
53 private TestThread<Monitor> thread1;
54 private TestThread<Monitor> thread2;
63 monitor = new Monitor(fair); in setUp()
225 .setDefault(Monitor.Guard.class, new TestGuard(true)) in testNulls()
DGeneratedMonitorTest.java52 Method[] methods = Monitor.class.getMethods(); in suite()
186 return parameterTypes.length >= 1 && parameterTypes[0] == Monitor.Guard.class; in isGuarded()
410 static class FlagGuard extends Monitor.Guard {
414 protected FlagGuard(Monitor monitor) { in FlagGuard()
432 private final Monitor monitor;
445 this.monitor = new Monitor(fair); in GeneratedMonitorTest()
718 Monitor monitor1 = new Monitor(fair1); in generateGuardWithWrongMonitorTestCase()
719 Monitor monitor2 = new Monitor(fair2); in generateGuardWithWrongMonitorTestCase()
758 Monitor monitor = new Monitor(fair);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DSupplementalMonitorTest.java40 Monitor monitor = new Monitor(); in testLeaveWithoutEnterThrowsIMSE()
49 Monitor monitor1 = new Monitor(); in testGetWaitQueueLengthWithWrongMonitorThrowsIMSE()
50 Monitor monitor2 = new Monitor(); in testGetWaitQueueLengthWithWrongMonitorThrowsIMSE()
60 Monitor monitor1 = new Monitor(); in testHasWaitersWithWrongMonitorThrowsIMSE()
61 Monitor monitor2 = new Monitor(); in testHasWaitersWithWrongMonitorThrowsIMSE()
79 assertTrue(new Monitor(true).isFair()); in testIsFair()
80 assertFalse(new Monitor(false).isFair()); in testIsFair()
84 Monitor monitor = new Monitor(); in testOccupiedMethods()
108 Monitor monitor, in verifyOccupiedMethodsInCurrentThread()
118 final Monitor monitor, in verifyOccupiedMethodsInAnotherThread()
DMonitorTestCase.java32 public class TestGuard extends Monitor.Guard {
51 private Monitor monitor;
53 private TestThread<Monitor> thread1;
54 private TestThread<Monitor> thread2;
63 monitor = new Monitor(fair); in setUp()
227 .setDefault(Monitor.Guard.class, new TestGuard(true)) in testNulls()
DGeneratedMonitorTest.java55 Method[] methods = Monitor.class.getMethods(); in suite()
189 return parameterTypes.length >= 1 && parameterTypes[0] == Monitor.Guard.class; in isGuarded()
435 static class FlagGuard extends Monitor.Guard {
439 protected FlagGuard(Monitor monitor) { in FlagGuard()
457 private final Monitor monitor;
470 this.monitor = new Monitor(fair); in GeneratedMonitorTest()
744 Monitor monitor1 = new Monitor(fair1); in generateGuardWithWrongMonitorTestCase()
745 Monitor monitor2 = new Monitor(fair2); in generateGuardWithWrongMonitorTestCase()
791 Monitor monitor = new Monitor(fair);
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedArrayBlockingQueue.java76 final Monitor monitor;
79 private final Monitor.Guard notEmpty;
82 private final Monitor.Guard notFull;
164 monitor = new Monitor(fair); in MonitorBasedArrayBlockingQueue()
166 new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue()
173 new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue()
232 final Monitor monitor = this.monitor; in offer()
256 final Monitor monitor = this.monitor; in offer()
279 final Monitor monitor = this.monitor; in put()
290 final Monitor monitor = this.monitor; in poll()
[all …]
DMonitorBasedPriorityBlockingQueue.java89 final Monitor monitor = new Monitor(true);
90 private final Monitor.Guard notEmpty =
91 new Monitor.Guard(monitor) {
171 final Monitor monitor = this.monitor; in offer()
218 final Monitor monitor = this.monitor; in poll()
229 final Monitor monitor = this.monitor; in poll()
243 final Monitor monitor = this.monitor; in take()
254 final Monitor monitor = this.monitor; in peek()
276 final Monitor monitor = this.monitor; in size()
307 final Monitor monitor = this.monitor; in remove()
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedArrayBlockingQueue.java76 final Monitor monitor;
79 private final Monitor.Guard notEmpty;
82 private final Monitor.Guard notFull;
164 monitor = new Monitor(fair); in MonitorBasedArrayBlockingQueue()
166 new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue()
173 new Monitor.Guard(monitor) { in MonitorBasedArrayBlockingQueue()
232 final Monitor monitor = this.monitor; in offer()
256 final Monitor monitor = this.monitor; in offer()
279 final Monitor monitor = this.monitor; in put()
290 final Monitor monitor = this.monitor; in poll()
[all …]
DMonitorBasedPriorityBlockingQueue.java89 final Monitor monitor = new Monitor(true);
90 private final Monitor.Guard notEmpty =
91 new Monitor.Guard(monitor) {
171 final Monitor monitor = this.monitor; in offer()
218 final Monitor monitor = this.monitor; in poll()
229 final Monitor monitor = this.monitor; in poll()
243 final Monitor monitor = this.monitor; in take()
254 final Monitor monitor = this.monitor; in peek()
276 final Monitor monitor = this.monitor; in size()
307 final Monitor monitor = this.monitor; in remove()
[all …]
/external/webrtc/rtc_base/
Dsocket_unittest.cc238 sink.Monitor(client.get()); in ConnectInternal()
245 sink.Monitor(server.get()); in ConnectInternal()
293 sink.Monitor(client.get()); in ConnectWithDnsLookupInternal()
298 sink.Monitor(server.get()); in ConnectWithDnsLookupInternal()
341 sink.Monitor(client.get()); in ConnectFailInternal()
346 sink.Monitor(server.get()); in ConnectFailInternal()
374 sink.Monitor(client.get()); in ConnectWithDnsLookupFailInternal()
379 sink.Monitor(server.get()); in ConnectWithDnsLookupFailInternal()
431 sink.Monitor(server.get()); in ConnectWhileNotClosedInternal()
474 sink.Monitor(client.get()); in ServerCloseDuringConnectInternal()
[all …]
Dvirtual_socket_unittest.cc282 sink.Monitor(client.get()); in ConnectTest()
289 sink.Monitor(server.get()); in ConnectTest()
351 sink.Monitor(client.get()); in ConnectToNonListenerTest()
356 sink.Monitor(server.get()); in ConnectToNonListenerTest()
385 sink.Monitor(client.get()); in CloseDuringConnectTest()
388 sink.Monitor(server.get()); in CloseDuringConnectTest()
408 sink.Monitor(server.get()); in CloseDuringConnectTest()
431 sink.Monitor(server.get()); in CloseDuringConnectTest()
446 sink.Monitor(accepted.get()); in CloseDuringConnectTest()
470 sink.Monitor(a.get()); in CloseTest()
[all …]
Dtest_utils.h47 void Monitor(rtc::StreamInterface* stream) { in Monitor() function
65 void Monitor(rtc::AsyncSocket* socket) { in Monitor() function
/external/lzma/CS/7zip/Compress/LzmaAlone/Properties/
DSettings.cs25 System.Threading.Monitor.Enter(Settings.m_SyncObject);
34 System.Threading.Monitor.Exit(Settings.m_SyncObject);
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.h306 ErrorMonitor *Monitor();
488 for (const auto &error : errors) test.Monitor()->SetDesiredFailureMsg(flags, error);
492 test.Monitor()->VerifyNotFound();
494 test.Monitor()->VerifyFound();
544 for (const auto &error : errors) test.Monitor()->SetDesiredFailureMsg(flags, error);
548 test.Monitor()->VerifyNotFound();
550 test.Monitor()->VerifyFound();
609 for (const auto &error : errors) test.Monitor()->SetDesiredFailureMsg(flags, error);
611 test.Monitor()->VerifyFound();
628 test.Monitor()->ExpectSuccess(message_flag_mask);
[all …]
Dlayer_validation_tests.cpp446 …test.Monitor()->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_E… in CreateSamplerTest()
448 test.Monitor()->ExpectSuccess(); in CreateSamplerTest()
452 test.Monitor()->VerifyFound(); in CreateSamplerTest()
454 test.Monitor()->VerifyNotFound(); in CreateSamplerTest()
465 test.Monitor()->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, code); in CreateBufferTest()
467 test.Monitor()->ExpectSuccess(); in CreateBufferTest()
471 test.Monitor()->VerifyFound(); in CreateBufferTest()
473 test.Monitor()->VerifyNotFound(); in CreateBufferTest()
484 test.Monitor()->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, code); in CreateImageTest()
486 test.Monitor()->ExpectSuccess(); in CreateImageTest()
[all …]
/external/guava/android/guava/src/com/google/common/util/concurrent/
DMonitor.java203 public final class Monitor { class
306 @Weak final Monitor monitor;
317 protected Guard(Monitor monitor) { in Guard()
347 public Monitor() { in Monitor() method in Monitor
357 public Monitor(boolean fair) { in Monitor() method in Monitor
DServiceManager.java398 final Monitor monitor = new Monitor();
435 final Monitor.Guard awaitHealthGuard = new AwaitHealthGuard();
438 final class AwaitHealthGuard extends Monitor.Guard {
455 final Monitor.Guard stoppedGuard = new StoppedGuard();
458 final class StoppedGuard extends Monitor.Guard {
/external/autotest/server/site_tests/bluetooth_AdapterAdvMonitor/
Dcontrol9 PURPOSE = ('batch of Bluetooth Advertisement Monitor tests')
19 A Batch of Bluetooth Advertisement Monitor API tests. This test is written
/external/vulkan-validation-layers/
DGOVERNANCE.md16 - Google: Monitor for Android
17 - LunarG: Monitor for desktop (Windows and Linux)
32 - Monitor github issues and drive timely resolution
/external/guava/guava/src/com/google/common/util/concurrent/
DServiceManager.java428 final Monitor monitor = new Monitor();
465 final Monitor.Guard awaitHealthGuard = new AwaitHealthGuard();
468 final class AwaitHealthGuard extends Monitor.Guard {
485 final Monitor.Guard stoppedGuard = new StoppedGuard();
488 final class StoppedGuard extends Monitor.Guard {
DMonitor.java206 public final class Monitor { class
309 @Weak final Monitor monitor;
320 protected Guard(Monitor monitor) { in Guard()
350 public Monitor() { in Monitor() method in Monitor
360 public Monitor(boolean fair) { in Monitor() method in Monitor
/external/angle/infra/
DANGLEWrangling.md7 1. Monitor the
14 …1. Monitor and respond to ANGLE's [Perf alerts](https://groups.google.com/u/0/a/chromium.org/g/ang…
24 ## Task 1: Monitor ANGLE CI and Try Testers
50 ## Task 2: Monitor Chromium FYI Testers and Respond to Bugs
57 waterfall includes a number of these one-off specialized configurations. Monitor this console for
128 ## Task 5: Monitor SwANGLE CI and Try Testers
156 ## Task 6: Monitor and respond to ANGLE's perf alerts
/external/libbrillo/brillo/glib/
Ddbus.h274 MonitorConnection<void(A1)>* Monitor(const Proxy& proxy, in Monitor() function
290 MonitorConnection<void(A1, A2)>* Monitor(const Proxy& proxy, in Monitor() function
309 MonitorConnection<void(A1, A2, A3)>* Monitor(const Proxy& proxy, in Monitor() function
329 MonitorConnection<void(A1, A2, A3, A4)>* Monitor( in Monitor() function
/external/python/cpython3/Tools/clinic/
Dcpp.py12 class Monitor: class
182 cpp = Monitor(filename, verbose=True)

123456