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

12

/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DALooper.h33 void wake();
H A DALooper.cpp37 void ALooper::wake() { function in class:ALooper
H A DASensorManager.cpp446 looper->wake();
/frameworks/base/core/jni/
H A Dandroid_os_MessageQueue.cpp49 void wake();
121 void NativeMessageQueue::wake() { function in class:android::NativeMessageQueue
122 mLooper->wake();
196 nativeMessageQueue->wake();
/frameworks/av/media/libaaudio/examples/utils/
H A DAAudioExampleUtils.h157 * Note that this code uses a futex, which is subject to spurious wake-ups.
172 * Increment value and wake up any threads that need to be woken.
176 android::status_t wake() { function in class:WakeUp
182 * Set value and wake up any threads that need to be woken.
186 android::status_t wake(int32_t value) { function in class:WakeUp
H A DAAudioSimplePlayer.h344 android::status_t ret = sineData->waker.wake(error);
345 printf("Error Callback, error: %d, futex wake returns %d\n", error, ret);
/frameworks/native/libs/sensor/
H A DSensorEventQueue.cpp117 status_t SensorEventQueue::wake() const function in class:android::SensorEventQueue
120 looper->wake();
178 // Send mNumAcksToSend to acknowledge for the wake up sensor events received.
/frameworks/base/native/android/
H A Dlooper.cpp75 ALooper_to_Looper(looper)->wake();
/frameworks/native/libs/sensor/include/sensor/
H A DSensorEventQueue.h79 status_t wake() const;
/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.cpp414 mLooper->wake();
436 mLooper->wake();
/frameworks/native/services/inputflinger/
H A DEventHub.h215 * After returning, the EventHub holds onto a wake lock until the next call to getEvent.
220 * The timeout is advisory only. If the device is asleep, it will not wake just to
262 virtual void wake() = 0;
334 virtual void wake();
H A DInputDispatcher.cpp243 // If any commands were run then force the next poll to wake up immediately.
249 // Wait for callback or timeout or wake. (make sure we round up, not down)
404 *nextWakeupTime = LONG_LONG_MIN; // force next poll to wake up immediately
1001 // Force poll loop to wake up immediately on next iteration once we get the
1006 // Force poll loop to wake up when timeout is due.
2384 mLooper->wake();
2475 mLooper->wake();
2554 mLooper->wake();
2591 mLooper->wake();
2710 mLooper->wake();
[all...]
H A DInputReader.cpp706 mEventHub->wake();
838 mEventHub->wake();
947 mEventHub->wake();
2473 // Key down on external an keyboard should wake the device.
2476 // each wake key individually.
2860 // Moving an external trackball or mouse should wake the device.
3054 // Moving the rotary encoder should wake the device (if specified).
3395 // Initial downs on external touch devices should wake the device.
3398 mParameters.wake = getDevice()->isExternal();
3399 getDevice()->getConfiguration().tryGetProperty(String8("touch.wake"),
[all...]
H A DEventHub.cpp229 LOG_ALWAYS_FATAL_IF(result != 0, "Could not create wake pipe. errno=%d", errno);
235 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake read pipe non-blocking. errno=%d",
239 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake write pipe non-blocking. errno=%d",
244 LOG_ALWAYS_FATAL_IF(result != 0, "Could not add wake read pipe to epoll instance. errno=%d",
828 ALOGV("awoken after wake()");
836 ALOGW("Received unexpected epoll event 0x%08x for wake read pipe.",
996 // Poll for events. Mind the wake lock dance!
997 // We hold a wake lock at all times except during epoll_wait(). This works due to some
999 // a kernel wake lock. However, once the last pending event has been read, the device
1000 // driver will release the kernel wake loc
1043 void EventHub::wake() { function in class:android::EventHub
[all...]
H A DInputReader.h1315 bool wake; member in struct:android::TouchInputMapper::Parameters
/frameworks/av/include/media/
H A DAudioRecord.h536 void wake(); // wake to handle changed notification conditions.
H A DAudioTrack.h914 void wake(); // wake to handle changed notification conditions.
/frameworks/av/media/libaudioclient/include/media/
H A DAudioRecord.h536 void wake(); // wake to handle changed notification conditions.
H A DAudioTrack.h914 void wake(); // wake to handle changed notification conditions.
/frameworks/native/services/sensorservice/hidl/
H A DSensorManager.cpp58 mLooper->wake();
175 LOG(INFO) << POLL_THREAD_NAME << ": spurious wake up, back to work";
/frameworks/av/media/libaudioclient/
H A DAudioRecord.cpp394 t->wake();
424 t->wake();
1368 // Event driven: call wake() when callback notifications conditions change.
1402 void AudioRecord::AudioRecordThread::wake()
1406 // wake() might be called while servicing a callback - ignore the next
H A DAudioTrack.cpp1046 t->wake();
1079 t->wake();
3110 // Event driven: call wake() when callback notifications conditions change.
3144 void AudioTrack::AudioTrackThread::wake()
3148 // wake() might be called while servicing a callback - ignore the next
/frameworks/av/media/libaudiohal/
H A DEffectHalHidl.cpp190 // The data is already in the buffers, just need to flush it and wake up the server side.
192 mEfGroup->wake(mqFlag);
H A DStreamHalHidl.cpp382 mEfGroup->wake(static_cast<uint32_t>(MessageQueueFlagBits::NOT_EMPTY));
644 mEfGroup->wake(static_cast<uint32_t>(MessageQueueFlagBits::NOT_FULL));
/frameworks/native/services/sensorservice/
H A DSensorService.cpp549 // Poll has returned. Hold a wakelock if one of the events is from a wake up sensor. The
682 // Send our events to clients. Check the state of wake lock for each client and release the
734 mLooper->wake();

Completed in 417 milliseconds

12