Searched refs:wake (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_os_MessageQueue.cpp42 void wake();
106 void NativeMessageQueue::wake() { function in class:android::NativeMessageQueue
107 mLooper->wake();
141 return nativeMessageQueue->wake();
/frameworks/native/libs/gui/
H A DSensorEventQueue.cpp102 status_t SensorEventQueue::wake() const function in class:android::SensorEventQueue
105 looper->wake();
/frameworks/base/native/android/
H A Dlooper.cpp67 static_cast<Looper*>(looper)->wake();
/frameworks/native/include/gui/
H A DSensorEventQueue.h64 status_t wake() const;
/frameworks/native/include/utils/
H A DLooper.h155 * Returns ALOOPER_POLL_WAKE if the poll was awoken using wake() before
195 void wake();
204 * "events" are the poll events to wake up on. Typically this is ALOOPER_EVENT_INPUT.
221 * This method may block briefly if it needs to wake the poll.
249 * This method may block briefly if it needs to wake the poll.
/frameworks/base/services/input/
H A DEventHub.h203 * After returning, the EventHub holds onto a wake lock until the next call to getEvent.
208 * The timeout is advisory only. If the device is asleep, it will not wake just to
248 virtual void wake() = 0;
308 virtual void wake();
H A DInputDispatcher.cpp234 // If any commands were run then force the next poll to wake up immediately.
240 // Wait for callback or timeout or wake. (make sure we round up, not down)
394 *nextWakeupTime = LONG_LONG_MIN; // force next poll to wake up immediately
981 // Force poll loop to wake up immediately on next iteration once we get the
986 // Force poll loop to wake up when timeout is due.
2344 mLooper->wake();
2422 mLooper->wake();
2499 mLooper->wake();
2536 mLooper->wake();
2656 mLooper->wake();
[all...]
H A DEventHub.cpp222 LOG_ALWAYS_FATAL_IF(result != 0, "Could not create wake pipe. errno=%d", errno);
228 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake read pipe non-blocking. errno=%d",
232 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake write pipe non-blocking. errno=%d",
237 LOG_ALWAYS_FATAL_IF(result != 0, "Could not add wake read pipe to epoll instance. errno=%d",
727 ALOGV("awoken after wake()");
735 ALOGW("Received unexpected epoll event 0x%08x for wake read pipe.",
897 // Poll for events. Mind the wake lock dance!
898 // We hold a wake lock at all times except during epoll_wait(). This works due to some
900 // a kernel wake lock. However, once the last pending event has been read, the device
901 // driver will release the kernel wake loc
[all...]
H A DInputReader.cpp553 mEventHub->wake();
670 mEventHub->wake();
764 mEventHub->wake();
2147 // Key down on external an keyboard should wake the device.
2150 // each wake key individually.
2485 // Moving an external trackball or mouse should wake the device.
3733 // Initial downs on external touch devices should wake the device.
6437 // Moving a joystick axis should not wake the device because joysticks can
6439 // button will likely wake the device.
/frameworks/native/libs/utils/
H A DLooper.cpp10 // Debugs poll and wake interactions.
74 LOG_ALWAYS_FATAL_IF(result != 0, "Could not create wake pipe. errno=%d", errno);
80 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake read pipe non-blocking. errno=%d",
84 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake write pipe non-blocking. errno=%d",
87 // Allocate the epoll instance and register the wake pipe.
96 LOG_ALWAYS_FATAL_IF(result != 0, "Could not add wake read pipe to epoll instance. errno=%d",
254 ALOGW("Ignoring unexpected epoll events 0x%x on wake read pipe.", epollEvents);
360 void Looper::wake() { function in class:Looper
362 ALOGD("%p ~ wake", this);
372 ALOGW("Could not write wake signa
[all...]
/frameworks/native/libs/utils/tests/
H A DLooper_test.cpp36 mLooper->wake();
127 mLooper->wake();
134 << "elapsed time should approx. zero because wake() was called before waiting";
148 << "elapsed time should approx. equal wake delay";
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp696 virtual void wake() { function in class:android::FakeEventHub

Completed in 222 milliseconds