Home
last modified time | relevance | path

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

12345

/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.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/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/webrtc/base/
Dsocket_unittest.cc199 sink.Monitor(client.get()); in ConnectInternal()
206 sink.Monitor(server.get()); in ConnectInternal()
254 sink.Monitor(client.get()); in ConnectWithDnsLookupInternal()
259 sink.Monitor(server.get()); in ConnectWithDnsLookupInternal()
302 sink.Monitor(client.get()); in ConnectFailInternal()
307 sink.Monitor(server.get()); in ConnectFailInternal()
335 sink.Monitor(client.get()); in ConnectWithDnsLookupFailInternal()
340 sink.Monitor(server.get()); in ConnectWithDnsLookupFailInternal()
392 sink.Monitor(server.get()); in ConnectWhileNotClosedInternal()
436 sink.Monitor(client.get()); in ServerCloseDuringConnectInternal()
[all …]
Dvirtualsocket_unittest.cc248 sink.Monitor(client); in ConnectTest()
255 sink.Monitor(server); in ConnectTest()
316 sink.Monitor(client); in ConnectToNonListenerTest()
321 sink.Monitor(server); in ConnectToNonListenerTest()
350 sink.Monitor(client.get()); in CloseDuringConnectTest()
353 sink.Monitor(server.get()); in CloseDuringConnectTest()
373 sink.Monitor(server.get()); in CloseDuringConnectTest()
396 sink.Monitor(server.get()); in CloseDuringConnectTest()
411 sink.Monitor(accepted.get()); in CloseDuringConnectTest()
434 sink.Monitor(a); in CloseTest()
[all …]
/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/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.java418 final Monitor monitor = new Monitor();
455 final Monitor.Guard awaitHealthGuard = new AwaitHealthGuard();
458 final class AwaitHealthGuard extends Monitor.Guard {
475 final Monitor.Guard stoppedGuard = new StoppedGuard();
478 final class StoppedGuard extends Monitor.Guard {
/external/guava/android/guava/src/com/google/common/util/concurrent/
DMonitor.java202 public final class Monitor { class
305 @Weak final Monitor monitor;
316 protected Guard(Monitor monitor) { in Guard()
346 public Monitor() { in Monitor() method in Monitor
356 public Monitor(boolean fair) { in Monitor() method in Monitor
DServiceManager.java418 final Monitor monitor = new Monitor();
455 final Monitor.Guard awaitHealthGuard = new AwaitHealthGuard();
458 final class AwaitHealthGuard extends Monitor.Guard {
475 final Monitor.Guard stoppedGuard = new StoppedGuard();
478 final class StoppedGuard extends Monitor.Guard {
/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/libbrillo/brillo/glib/
Ddbus.h273 MonitorConnection<void(A1)>* Monitor(const Proxy& proxy, in Monitor() function
289 MonitorConnection<void(A1, A2)>* Monitor(const Proxy& proxy, in Monitor() function
308 MonitorConnection<void(A1, A2, A3)>* Monitor(const Proxy& proxy, in Monitor() function
328 MonitorConnection<void(A1, A2, A3, A4)>* Monitor( in Monitor() function
/external/python/cpython3/Tools/clinic/
Dcpp.py12 class Monitor: class
187 cpp = Monitor(filename, verbose=True)
/external/tensorflow/tensorflow/core/profiler/rpc/client/
Dcapture_profile.h30 Status Monitor(const string& service_addr, int duration_ms,
/external/libkmsxx/py/tests/
Dhpd.py14 monitor = pyudev.Monitor.from_netlink(context)
/external/arm-trusted-firmware/
Dreadme.rst6 Level 3 (EL3) `Secure Monitor`_. It provides a suitable starting point for
39 .. _Secure Monitor: http://www.arm.com/products/processors/technologies/trustzone/tee-smc.php

12345