Home
last modified time | relevance | path

Searched refs:monitor (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/external/chromium_org/third_party/webrtc/base/
Ddbus_unittest.cc54 rtc::scoped_ptr<rtc::DBusMonitor> monitor; in TEST() local
55 monitor.reset(rtc::DBusMonitor::Create(DBUS_BUS_SYSTEM)); in TEST()
56 if (monitor) { in TEST()
57 EXPECT_TRUE(monitor->AddFilter(&filter)); in TEST()
59 EXPECT_TRUE(monitor->StopMonitoring()); in TEST()
60 EXPECT_EQ(monitor->GetStatus(), DBusMonitor::DMS_NOT_INITIALIZED); in TEST()
62 EXPECT_TRUE(monitor->StartMonitoring()); in TEST()
63 EXPECT_EQ_WAIT(DBusMonitor::DMS_RUNNING, monitor->GetStatus(), kTimeoutMs); in TEST()
64 EXPECT_TRUE(monitor->StopMonitoring()); in TEST()
65 EXPECT_EQ(monitor->GetStatus(), DBusMonitor::DMS_STOPPED); in TEST()
[all …]
Dhttpserver_unittest.cc59 HttpServerMonitor& monitor, in CreateClientConnection() argument
64 EXPECT_FALSE(monitor.server_closed); in CreateClientConnection()
65 EXPECT_FALSE(monitor.transaction); in CreateClientConnection()
70 EXPECT_FALSE(monitor.server_closed); in CreateClientConnection()
77 HttpServerMonitor monitor(&server); in TEST() local
79 CreateClientConnection(server, monitor, true); in TEST()
81 ASSERT_TRUE(NULL != monitor.transaction); in TEST()
82 server.Respond(monitor.transaction); in TEST()
83 EXPECT_FALSE(monitor.transaction); in TEST()
85 EXPECT_FALSE(monitor.server_closed); in TEST()
[all …]
/external/valgrind/main/gdbserver_tests/
Dmcvabits.stdinB.gdb4 monitor v.set vgdb-error 999999
23 eval "monitor check_memory addressable 0x%lx 10", $0xundefined
24 eval "monitor check_memory defined 0x%lx 10", $0xundefined
25 eval "monitor get_vbits 0x%lx 10", $0xundefined
31 eval "monitor check_memory addressable 0x%lx 10", $0xundefined
32 eval "monitor check_memory defined 0x%lx 10", $0xundefined
33 eval "monitor get_vbits 0x%lx 10", $0xundefined
37 eval "monitor make_memory defined 0x%lx 3", $0xundefined_2
39 eval "monitor check_memory addressable 0x%lx 10", $0xundefined
40 eval "monitor check_memory defined 0x%lx 10", $0xundefined
[all …]
Dmcleak.stdinB.gdb4 monitor v.set vgdb-error 999999
16 monitor leak_check full reachable any
22 monitor leak_check full reachable increased
30 monitor leak_check full reachable increased
38 monitor leak_check full reachable increased
44 monitor leak_check full reachable increased
51 monitor leak_check full reachable increased
58 monitor leak_check full reachable changed
65 monitor leak_check full reachable changed
72 monitor leak_check full reachable changed
[all …]
Dmcbreak.stdinB.gdb4 monitor v.set vgdb-error 999999
28 monitor v.set vgdb-error 0
60 monitor v.info n_errs_found
61 monitor v.info n_errs_found a
62 monitor v.info n_errs_found b
63 monitor v.info n_errs_found c d
64 monitor v.info n_errs_found eeeeeee fffffff ggggggg
69 monitor v.set vgdb-error 0
72 monitor v.kill
Dhginfo.stdinB.gdb4 monitor v.set vgdb-error 999999
10 # continue till each break and execute via gdb the monitor commands
13 monitor info locks
14 eval "monitor v.info location %p", ptr
17 monitor info locks
18 eval "monitor v.info location %p", ptr
Dmssnapshot.stdinB.gdb4 monitor v.set vgdb-error 999999
14 monitor help
17 monitor snapshot
18 monitor detailed_snapshot
21 monitor v.kill
Dmcblocklistsearch.stdinB.gdb4 monitor v.set vgdb-error 999999
21 eval "monitor who_points_at 0x%x 1", $0xA
24 monitor leak_check full reachable any
27 monitor block_list 6
29 monitor block_list 7
30 monitor v.kill
/external/chromium_org/components/storage_monitor/
Dstorage_monitor_unittest.cc25 TestStorageMonitor monitor; in TEST() local
26 EXPECT_FALSE(monitor.init_called()); in TEST()
29 monitor.EnsureInitialized(base::Bind(&SetLatch, &initialized)); in TEST()
30 EXPECT_TRUE(monitor.init_called()); in TEST()
32 monitor.MarkInitialized(); in TEST()
43 TestStorageMonitor monitor; in TEST() local
44 monitor.AddObserver(&observer1); in TEST()
45 monitor.AddObserver(&observer2); in TEST()
49 monitor.receiver()->ProcessAttach(info); in TEST()
59 monitor.receiver()->ProcessDetach(kDeviceId1); in TEST()
[all …]
Dtest_storage_monitor.cc31 TestStorageMonitor* monitor = new TestStorageMonitor(); in CreateAndInstall() local
32 scoped_ptr<StorageMonitor> pass_monitor(monitor); in CreateAndInstall()
33 monitor->Init(); in CreateAndInstall()
34 monitor->MarkInitialized(); in CreateAndInstall()
38 return monitor; in CreateAndInstall()
46 TestStorageMonitor* monitor = new TestStorageMonitor(); in CreateForBrowserTests() local
47 monitor->Init(); in CreateForBrowserTests()
48 monitor->MarkInitialized(); in CreateForBrowserTests()
50 scoped_ptr<StorageMonitor> pass_monitor(monitor); in CreateForBrowserTests()
53 return monitor; in CreateForBrowserTests()
[all …]
Dmedia_transfer_protocol_device_observer_linux_unittest.cc104 TestStorageMonitor* monitor = TestStorageMonitor::CreateAndInstall(); in SetUp() local
107 monitor->receiver(), monitor->media_transfer_protocol_manager())); in SetUp()
108 monitor->AddObserver(mock_storage_observer_.get()); in SetUp()
112 StorageMonitor* monitor = StorageMonitor::GetInstance(); in TearDown() local
113 monitor->RemoveObserver(mock_storage_observer_.get()); in TearDown()
/external/lldb/source/Plugins/Process/FreeBSD/
DProcessMonitor.cpp211 virtual void Execute(ProcessMonitor *monitor) = 0;
226 void Execute(ProcessMonitor *monitor);
237 ReadOperation::Execute(ProcessMonitor *monitor) in Execute() argument
239 lldb::pid_t pid = monitor->GetPID(); in Execute()
256 void Execute(ProcessMonitor *monitor);
267 WriteOperation::Execute(ProcessMonitor *monitor) in Execute() argument
269 lldb::pid_t pid = monitor->GetPID(); in Execute()
286 void Execute(ProcessMonitor *monitor);
297 ReadRegOperation::Execute(ProcessMonitor *monitor) in Execute() argument
325 void Execute(ProcessMonitor *monitor);
[all …]
/external/srec/portable/include/
Dptrd.h103 PORTABLE_API ESR_ReturnCode PtrdMonitorCreate(PtrdMonitor **monitor);
113 PORTABLE_API ESR_ReturnCode PtrdMonitorDestroy(PtrdMonitor *monitor);
124 PORTABLE_API ESR_ReturnCode PtrdMonitorLockWithLine(PtrdMonitor *monitor, const LCHAR *fname, int l…
133 #define PtrdMonitorLock(monitor) PtrdMonitorLockWithLine(monitor, L(__FILE__), __LINE__) argument
144 PORTABLE_API ESR_ReturnCode PtrdMonitorUnlock(PtrdMonitor *monitor);
166 PORTABLE_API ESR_ReturnCode PtrdMonitorWait(PtrdMonitor *monitor);
185 PORTABLE_API ESR_ReturnCode PtrdMonitorWaitTimeout(PtrdMonitor *monitor,
213 PORTABLE_API ESR_ReturnCode PtrdMonitorNotify(PtrdMonitor *monitor);
240 PORTABLE_API ESR_ReturnCode PtrdMonitorNotifyAll(PtrdMonitor *monitor);
/external/chromium_org/media/base/
Duser_input_monitor_unittest.cc56 scoped_ptr<UserInputMonitor> monitor = UserInputMonitor::Create( in TEST() local
59 if (!monitor) in TEST()
67 monitor->AddMouseListener(&listener); in TEST()
68 monitor->RemoveMouseListener(&listener); in TEST()
71 monitor->EnableKeyPressMonitoring(); in TEST()
72 monitor->DisableKeyPressMonitoring(); in TEST()
74 monitor.reset(); in TEST()
/external/chromium_org/chrome/browser/ui/views/
Dchrome_views_delegate.cc88 bool MonitorHasTopmostAutohideTaskbarForEdge(UINT edge, HMONITOR monitor) { in MonitorHasTopmostAutohideTaskbarForEdge() argument
102 (MonitorFromWindow(taskbar, MONITOR_DEFAULTTONULL) == monitor) && in MonitorHasTopmostAutohideTaskbarForEdge()
106 int GetAppbarAutohideEdgesOnWorkerThread(HMONITOR monitor) { in GetAppbarAutohideEdgesOnWorkerThread() argument
107 DCHECK(monitor); in GetAppbarAutohideEdgesOnWorkerThread()
110 if (MonitorHasTopmostAutohideTaskbarForEdge(ABE_LEFT, monitor)) in GetAppbarAutohideEdgesOnWorkerThread()
112 if (MonitorHasTopmostAutohideTaskbarForEdge(ABE_TOP, monitor)) in GetAppbarAutohideEdgesOnWorkerThread()
114 if (MonitorHasTopmostAutohideTaskbarForEdge(ABE_RIGHT, monitor)) in GetAppbarAutohideEdgesOnWorkerThread()
116 if (MonitorHasTopmostAutohideTaskbarForEdge(ABE_BOTTOM, monitor)) in GetAppbarAutohideEdgesOnWorkerThread()
393 int ChromeViewsDelegate::GetAppbarAutohideEdges(HMONITOR monitor, argument
401 if (!appbar_autohide_edge_map_.count(monitor))
[all …]
/external/chromium_org/base/power_monitor/
Dpower_monitor_source.cc25 PowerMonitor* monitor = PowerMonitor::Get(); in ProcessPowerEvent() local
26 if (!monitor) in ProcessPowerEvent()
29 PowerMonitorSource* source = monitor->Source(); in ProcessPowerEvent()
48 monitor->NotifyPowerStateChange(new_on_battery_power); in ProcessPowerEvent()
54 monitor->NotifyResume(); in ProcessPowerEvent()
60 monitor->NotifySuspend(); in ProcessPowerEvent()
/external/guava/guava/src/com/google/common/util/concurrent/
DMonitor.java221 final Monitor monitor; field in Monitor.Guard
227 protected Guard(Monitor monitor) { in Guard() argument
228 this.monitor = checkNotNull(monitor, "monitor"); in Guard()
229 this.condition = monitor.lock.newCondition(); in Guard()
358 if (guard.monitor != this) { in enterWhen()
379 if (guard.monitor != this) { in enterWhenUninterruptibly()
404 if (guard.monitor != this) { in enterWhen()
437 if (guard.monitor != this) { in enterWhenUninterruptibly()
488 if (guard.monitor != this) { in enterIf()
511 if (guard.monitor != this) { in enterIfInterruptibly()
[all …]
/external/lldb/source/Plugins/Process/Linux/
DProcessMonitor.cpp388 virtual void Execute(ProcessMonitor *monitor) = 0;
403 void Execute(ProcessMonitor *monitor);
414 ReadOperation::Execute(ProcessMonitor *monitor) in Execute() argument
416 lldb::pid_t pid = monitor->GetPID(); in Execute()
433 void Execute(ProcessMonitor *monitor);
444 WriteOperation::Execute(ProcessMonitor *monitor) in Execute() argument
446 lldb::pid_t pid = monitor->GetPID(); in Execute()
464 void Execute(ProcessMonitor *monitor);
475 ReadRegOperation::Execute(ProcessMonitor *monitor) in Execute() argument
506 void Execute(ProcessMonitor *monitor);
[all …]
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DVSyncMonitorTest.java42 public void onVSync(VSyncMonitor monitor, long vsyncTimeMicros) { in onVSync() argument
57 monitor.requestUpdate(); in onVSync()
92 VSyncMonitor monitor = createVSyncMonitor(collector, enableJBVSync);
94 long reportedFramePeriod = monitor.getVSyncPeriodInMicroseconds();
98 monitor.requestUpdate();
128 VSyncMonitor monitor = createVSyncMonitor(collector, enableJBVSync);
130 monitor.requestUpdate();
134 long period = monitor.getVSyncPeriodInMicroseconds() / 1000;
/external/chromium_org/components/domain_reliability/
Dservice.cc20 base::WeakPtr<DomainReliabilityMonitor> monitor) { in GetWebUIDataOnNetworkTaskRunner() argument
21 if (!monitor) { in GetWebUIDataOnNetworkTaskRunner()
27 return monitor->GetWebUIData(); in GetWebUIDataOnNetworkTaskRunner()
47 scoped_ptr<DomainReliabilityMonitor> monitor( in CreateMonitor() local
52 monitor_ = monitor->MakeWeakPtr(); in CreateMonitor()
55 return monitor.Pass(); in CreateMonitor()
/external/chromium_org/device/hid/
Dhid_report_descriptor_unittest.cc383 HidCollectionInfo monitor; in TEST_F() local
384 monitor.usage = HidUsageAndPage(0x01, HidUsageAndPage::kPageMonitor0); in TEST_F()
385 monitor.report_ids.insert(1); in TEST_F()
386 monitor.report_ids.insert(2); in TEST_F()
387 monitor.report_ids.insert(3); in TEST_F()
388 monitor.report_ids.insert(4); in TEST_F()
389 monitor.report_ids.insert(5); in TEST_F()
390 HidCollectionInfo expected[] = {monitor}; in TEST_F()
/external/bluetooth/bluedroid/osi/src/
Dalarm.c57 static pthread_mutex_t monitor; variable
119 pthread_mutex_lock(&monitor); in alarm_set()
147 pthread_mutex_unlock(&monitor); in alarm_set()
154 pthread_mutex_lock(&monitor); in alarm_cancel()
166 pthread_mutex_unlock(&monitor); in alarm_cancel()
176 pthread_mutex_init(&monitor, NULL); in lazy_initialize()
206 pthread_mutex_lock(&monitor); in timer_callback()
221 pthread_mutex_unlock(&monitor); in timer_callback()
227 pthread_mutex_unlock(&monitor); in timer_callback()
/external/chromium_org/content/browser/media/
Daudio_stream_monitor.cc81 AudioStreamMonitor* const monitor = in StartMonitoringHelper() local
83 if (monitor) { in StartMonitoringHelper()
84 monitor->StartMonitoringStreamOnUIThread( in StartMonitoringHelper()
94 AudioStreamMonitor* const monitor = in StopMonitoringHelper() local
96 if (monitor) in StopMonitoringHelper()
97 monitor->StopMonitoringStreamOnUIThread(render_process_id, stream_id); in StopMonitoringHelper()
/external/chromium_org/win8/metro_driver/ime/
Dinput_source.cc89 InputSourceMonitor* monitor) in InputSourceImpl() argument
91 monitor_(monitor) { in InputSourceImpl()
154 CComObject<InputSourceMonitor>* monitor = NULL; in Create() local
155 hr = CComObject<InputSourceMonitor>::CreateInstance(&monitor); in Create()
161 if (!monitor->Initialize(profiles_source)) { in Create()
167 return scoped_ptr<InputSource>(new InputSourceImpl(profile_manager, monitor)); in Create()
/external/chromium_org/ui/gfx/
Dcolor_profile_win.cc74 MONITORINFOEX monitor; in GetDisplayColorProfile() local
75 monitor.cbSize = sizeof(MONITORINFOEX); in GetDisplayColorProfile()
76 CHECK(::GetMonitorInfo(handle, &monitor)); in GetDisplayColorProfile()
77 if (GetColorProfileCache().Find(monitor.szDevice, profile)) in GetDisplayColorProfile()
80 HDC hdc = ::CreateDC(monitor.szDevice, NULL, NULL, NULL); in GetDisplayColorProfile()
98 GetColorProfileCache().Insert(monitor.szDevice, *profile); in GetDisplayColorProfile()

12345678910>>...13