Home
last modified time | relevance | path

Searched full:wakeup (Results 1 – 25 of 431) sorted by relevance

12345678910>>...18

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DRescheduler.java40 private ScheduledFuture<?> wakeUp; field in Rescheduler
59 if (newRunAtNanos - runAtNanos < 0 || wakeUp == null) { in reschedule()
60 if (wakeUp != null) { in reschedule()
61 wakeUp.cancel(false); in reschedule()
63 wakeUp = scheduler.schedule(new FutureRunnable(), delayNanos, TimeUnit.NANOSECONDS); in reschedule()
71 if (permanent && wakeUp != null) { in cancel()
72 wakeUp.cancel(false); in cancel()
73 wakeUp = null; in cancel()
93 wakeUp = null; in run()
98 wakeUp = scheduler.schedule( in run()
[all …]
/external/u-boot/drivers/ddr/marvell/a38x/
Dmv_ddr_sys_env_lib.c32 * read gpio input for suspend-wakeup indication
33 * return indicating suspend wakeup status:
35 * 1 - supported: read magic word detect wakeup,
36 * 2 - detected wakeup from gpio
46 printf("\n_failed loading Suspend-Wakeup information (invalid board ID)\n"); in mv_ddr_sys_env_suspend_wakeup_check()
51 * - Detect if Suspend-Wakeup is supported on current board in mv_ddr_sys_env_suspend_wakeup_check()
52 * - Fetch the GPIO number for wakeup status input indication in mv_ddr_sys_env_suspend_wakeup_check()
80 * 1 - suspend wakeup in mv_ddr_sys_env_suspend_wakeup_check()
84 /* if GPIO is ON: wakeup from S2RAM indication detected */ in mv_ddr_sys_env_suspend_wakeup_check()
/external/ltp/testcases/realtime/func/prio-wake/
Dprio-wake.c23 * Test priority ordered wakeup with pthread_cond_*
31 * - Once all the threads finish execution, the start and wakeup times
33 * - The output must indicate that the thread wakeup happened in a
102 struct array wakeup = { NULL, 0 }; variable
158 wakeup.arr[wakeup.counter++] = mypri; in worker_thread()
182 wakeup.arr = malloc(rt_threads * sizeof(int)); in main()
183 wakeup.counter = 0; in main()
185 printf("Priority Ordered Wakeup\n"); in main()
222 for (i = 0; i < (wakeup.counter - 1); i++) { in main()
223 if (wakeup.arr[i] < wakeup.arr[i + 1]) { in main()
[all …]
/external/autotest/client/site_tests/power_WakeupRTC/
Dpower_WakeupRTC.py15 Read the wakeup setting for for the RTC device.
17 sysfs_path = '/sys/class/rtc/%s/device/power/wakeup' % rtc_device
23 Read the current wakeup active count for the RTC device.
43 """Tests that RTC devices generate wakeup events."""
48 """Tests that a RTC device generate wakeup events.
54 # Test that RTC wakeup is enabled
57 raise error.TestError('RTC wakeup is not enabled: %s' % rtc_device)
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/tracer/
Dwakeup.tc3 # description: Test wakeup tracer
10 if ! grep -wq "wakeup" available_tracers ; then
11 echo "wakeup tracer is not supported"
15 echo wakeup > current_tracer
19 : "Wakeup higher priority task"
/external/u-boot/arch/arm/mach-mvebu/serdes/a38x/
Dsys_env_lib.c83 * DESCRIPTION: Reads GPIO input for suspend-wakeup indication.
86 * RETURNS: u32 indicating suspend wakeup status:
88 * 1 - supported: read magic word detect wakeup,
89 * 2 - detected wakeup from GPIO.
99 printf("\n_failed loading Suspend-Wakeup information (invalid board ID)\n"); in sys_env_suspend_wakeup_check()
104 * - Detect if Suspend-Wakeup is supported on current board in sys_env_suspend_wakeup_check()
105 * - Fetch the GPIO number for wakeup status input indication in sys_env_suspend_wakeup_check()
133 * 1 - suspend wakeup in sys_env_suspend_wakeup_check()
137 /* if GPIO is ON: wakeup from S2RAM indication detected */ in sys_env_suspend_wakeup_check()
/external/autotest/client/cros/power/
Dsys_power.py31 """Suspend took too long, got wakeup event (RTC tick) before it was done."""
74 """Received spurious wakeup while suspending or woke before schedule."""
123 """Verify that the device did not wakeup early.
174 alarm and does not pass an external wakeup count. It is meant to be used for
200 logging.debug('Saving wakeup count: %d', wakeup_count)
210 # another wakeup fires before we've reached suspend.
211 raise SpuriousWakeupError('Received spurious wakeup in kernel.')
218 logging.debug('New wakeup count: %d', read_wakeup_count())
229 @param seconds: The number of seconds before wakeup.
287 @param wakeup_count: The wakeup count value to write.
/external/autotest/client/site_tests/touch_WakeupSource/
Dtouch_WakeupSource.py34 """Return path to wakeup file or None.
36 If the file does not exist, check the parent bus for wakeup rules
49 filename = os.path.join(device_dir, 'power', 'wakeup')
53 # Look for wakeup file on parent bus instead.
71 filename = os.path.join(parent, 'power', 'wakeup')
100 raise error.TestError('Wakeup file for %s said "%s".' %
/external/python/cpython3/Modules/
Dsignalmodule.c105 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1, .use_send = 0}; variable
111 } wakeup = {.fd = INVALID_FD, .warn_on_full_buffer = 1}; variable
199 "signal wakeup fd:\n"); in report_wakeup_write_error()
214 "signal wakeup fd:\n"); in report_wakeup_send_error()
236 /* And then write to the wakeup fd *after* setting all the globals and in trip_signal()
237 doing the _PyEval_SignalReceived. We used to write to the wakeup fd in trip_signal()
241 - main thread blocks on select([wakeup.fd], ...) in trip_signal()
243 - trip_signal writes to the wakeup fd in trip_signal()
246 - the main thread empties the wakeup fd in trip_signal()
256 fd = Py_SAFE_DOWNCAST(wakeup.fd, SOCKET_T, int); in trip_signal()
[all …]
/external/webrtc/webrtc/base/
Dthread.cc354 ss_->WakeUp(); in Send()
369 // Our Wait loop above may have consumed some WakeUp events for this in Send()
375 // message, thread B Posts a message to A. We consume the wakeup for that in Send()
377 // this loop, we need to issue another WakeUp, or else the Posted message in Send()
381 current_thread->socketserver()->WakeUp(); in Send()
393 // - thread receiving exits: Wakeup/set ready in Thread::Clear() in ReceiveSendsFromThread()
394 // - object target cleared: Wakeup/set ready in Thread::Clear() in ReceiveSendsFromThread()
405 smsg.thread->socketserver()->WakeUp(); in ReceiveSendsFromThread()
436 // Object target cleared: remove from send list, wakeup/set ready in Clear()
450 smsg.thread->socketserver()->WakeUp(); in Clear()
Dmaccocoasocketserver.mm37 socketServer_->WakeUp();
98 // Install a timer that fires wakeup after cms has elapsed.
108 // Run until WakeUp is called, which will call stop and exit this loop.
124 void MacCocoaSocketServer::WakeUp() {
/external/u-boot/arch/arm/dts/
Dr8a7792-blanche.dts118 wakeup-source;
125 wakeup-source;
132 wakeup-source;
139 wakeup-source;
146 wakeup-source;
153 wakeup-source;
Dr8a7793-gose.dts71 wakeup-source;
78 wakeup-source;
85 wakeup-source;
92 wakeup-source;
99 wakeup-source;
106 wakeup-source;
113 wakeup-source;
120 wakeup-source;
127 wakeup-source;
134 wakeup-source;
[all …]
Dat91sam9261ek.dts143 wakeup-source;
187 wakeup-source;
194 wakeup-source;
201 wakeup-source;
208 wakeup-source;
Dr8a7791-koelsch.dts85 wakeup-source;
92 wakeup-source;
99 wakeup-source;
106 wakeup-source;
113 wakeup-source;
120 wakeup-source;
127 wakeup-source;
134 wakeup-source;
141 wakeup-source;
148 wakeup-source;
[all …]
Dr8a7794-silk.dts53 wakeup-source;
60 wakeup-source;
67 wakeup-source;
74 wakeup-source;
81 wakeup-source;
88 wakeup-source;
95 wakeup-source;
Dat91sam9g20ek_common.dtsi108 atmel,wakeup-counter = <10>;
109 atmel,wakeup-rtt-timer;
202 wakeup-source;
209 wakeup-source;
Dat91sam9260ek.dts141 atmel,wakeup-counter = <10>;
142 atmel,wakeup-rtt-timer;
179 wakeup-source;
186 wakeup-source;
/external/jemalloc_new/include/jemalloc/internal/
Dbackground_thread_structs.h28 /* When true, it means no wakeup scheduled. */
30 /* Next scheduled wakeup time (absolute time in ns). */
34 * that need to be purged by the next wakeup. This is adjusted on
/external/python/cpython3/Python/
Dcondvar.h23 * the wakeup of a subsequent thread to try a PyCOND_WAIT(),
29 * specific other thread will get the wakeup signal
157 * is only needed to catch those "lost wakeup" events and in PyCOND_INIT()
182 /* "lost wakeup bug" would occur if the caller were interrupted here, in _PyCOND_WAIT_MS()
194 * just means an extra spurious wakeup for a waiting thread. in _PyCOND_WAIT_MS()
229 * a delay between notify and actual wakeup of the target thread in PyCOND_SIGNAL()
/external/grpc-grpc/src/core/lib/iomgr/
Dwakeup_fd_cv.h20 * wakeup_fd_cv uses condition variables to implement wakeup fds.
26 * A global table of cv wakeup fds is mantained. A cv wakeup fd is a negative
/external/perfetto/src/base/
Dunix_task_runner.cc39 void UnixTaskRunner::WakeUp() { in WakeUp() function in perfetto::base::UnixTaskRunner
70 WakeUp(); in Quit()
188 WakeUp(); in PostTask()
198 WakeUp(); in PostDelayedTask()
210 WakeUp(); in AddFileDescriptorWatch()
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
DWaitingThread.java42 * waiting thread experiences a spurious wakeup and continues to wait.
126 * if a timeout occurrs, or if there is a spurious wakeup.
134 * Typically, a call to {@link #wakeup} is used to indicate
140 * @see #wakeup
182 public void wakeup() { in wakeup() method in WaitingThread
/external/grpc-grpc/src/core/lib/debug/
Dstats_data.yaml48 doc: How many times was a polling wakeup requested without an active poller
55 doc: How many times was an eventfd used as the wakeup vector for a polling
56 wakeup
59 doc: How many times was a condition variable used as the wakeup vector for a
60 polling wakeup
63 doc: How many times could a polling wakeup be satisfied by keeping the waking
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/
D17-15.c28 volatile sig_atomic_t wakeup = 1; variable
33 wakeup++; in handler()
50 while (wakeup == 1) { in main()

12345678910>>...18