Home
last modified time | relevance | path

Searched refs:wake (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/docs/html/training/scheduling/
Dwakelock.jd30 However, there are times when an application needs to wake up the screen or the CPU
54 <p>The advantage of this approach is that unlike wake locks (discussed in <a href="#cpu">
89 <h2>Alternatives to using wake locks</h2>
112 wake locks. Wake locks allow your application to control the power state of the host device.</p>
114 <p>Creating and holding wake locks can have a dramatic impact on the host device's battery
115 life. Thus you should use wake locks only when strictly necessary
117 wake lock in an activity. As described above, if you want
122 <p>One legitimate case for using a wake lock might be a background service
123 that needs to grab a wake lock to keep the CPU running to do work while the screen is off.
126 <p>To use a wake lock, the first step is to add the {@link android.Manifest.permission#WAKE_LOCK}
[all …]
Dalarms.jd115 <li>Don't wake up the device unnecessarily (this behavior is determined by the alarm type,
124 them at the same time. This reduces the total number of times the system must wake the
173 <p>Both types have a "wakeup" version, which says to wake up the device's CPU if the
194 on the amount of time since the device was booted, but doesn't wake up the device. The
202 at the specified time but does not wake up the device.</li>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DChronograph.java27 mAlarmHandler.wake(mToken); in callout()
131 public void wake(Object token) { in main()
138 public void wake(Object token) { in main()
145 public void wake(Object token) { in main()
DAlarmHandler.java4 public void wake(Object token); in wake() method
/frameworks/base/core/jni/
Dandroid_os_MessageQueue.cpp49 void wake();
121 void NativeMessageQueue::wake() { in wake() function in android::NativeMessageQueue
122 mLooper->wake(); in wake()
196 nativeMessageQueue->wake(); in android_os_MessageQueue_nativeWake()
/frameworks/native/libs/gui/
DSensorEventQueue.cpp120 status_t SensorEventQueue::wake() const in wake() function in android::SensorEventQueue
123 looper->wake(); in wake()
/frameworks/av/media/libmedia/docs/
Dpaused.dot38 ATTwake [label="AudioTrackThread::wake()\nif (!mPaused && mPausedInt && mPausedNs > 0)"];
78 threadLoop_6_default_false [label="pauseInternal(ns) [wake()-able]\nmPausedInternal = true\nmPaused…
/frameworks/native/include/gui/
DSensorEventQueue.h68 status_t wake() const;
/frameworks/base/native/android/
Dlooper.cpp75 ALooper_to_Looper(looper)->wake(); in ALooper_wake()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp311 mLooper->wake(); in queue()
318 mLooper->wake(); in queueAtFront()
/frameworks/native/services/inputflinger/
DEventHub.h259 virtual void wake() = 0;
321 virtual void wake();
DInputDispatcher.cpp2355 mLooper->wake(); in notifyConfigurationChanged()
2446 mLooper->wake(); in notifyKey()
2525 mLooper->wake(); in notifyMotion()
2562 mLooper->wake(); in notifyDeviceReset()
2680 mLooper->wake(); in injectInputEvent()
2913 mLooper->wake(); in setInputWindows()
2944 mLooper->wake(); in setFocusedApplication()
2979 mLooper->wake(); in setInputDispatchMode()
3000 mLooper->wake(); in setInputFilterEnabled()
3081 mLooper->wake(); in transferTouchFocus()
[all …]
/frameworks/base/docs/html/tools/performance/batterystats-battery-historian/
Dcharts.jd70 <li><b>wake_reason</b>: The last thing that caused the kernel to wake up. If
122 <li><b><code>All partial wake locks</code></b>: All app-held wakelocks, by aggregate
/frameworks/base/docs/html/training/monitoring-device-state/
Dmanifest-receivers.jd35 <p>A side-effect of this approach is that your app will wake the device each time any of these
/frameworks/av/media/libmedia/
DAudioRecord.cpp382 t->wake(); in setMarkerPosition()
412 t->wake(); in setPositionUpdatePeriod()
1235 void AudioRecord::AudioRecordThread::wake() in wake() function in android::AudioRecord::AudioRecordThread
DAudioTrack.cpp899 t->wake(); in setMarkerPosition()
932 t->wake(); in setPositionUpdatePeriod()
2551 void AudioTrack::AudioTrackThread::wake() in wake() function in android::AudioTrack::AudioTrackThread
/frameworks/av/include/media/
DAudioRecord.h497 void wake(); // wake to handle changed notification conditions.
DAudioTrack.h744 void wake(); // wake to handle changed notification conditions.
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadCommands.java.broken118 notifyAll(); // wake up assertExpectedMethodsCalled()
134 notifyAll(); // wake up assertExpectedMethodsCalled()
157 notifyAll(); // wake up assertExpectedMethodsCalled()
/frameworks/base/docs/html/ndk/reference/
Dgroup___looper.jd134 <p>The poll was awoken using wake() before the timeout expired and no callbacks were executed and n…
249 …ALLBACK if providing a non-NULL callback. "events" are the poll events to wake up on. Typically th…
254 <p>This method can be called on any thread. This method may block briefly if it needs to wake the p…
350 <p>Returns ALOOPER_POLL_WAKE if the poll was awoken using wake() before the timeout expired and no …
420 <p>This method can be called on any thread. This method may block briefly if it needs to wake the p…
Dgroup___sensor.jd375 … calls is the wake-up proximity sensor. Implement wake-up proximity sensor before implementing a n…
605 <p>Returns true if this is a wake up sensor, false otherwise. </p>
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd23 <li><a href="#wakelocks">Using wake locks</a></li>
344 <h3 id="wakelocks">Using wake locks</h3>
356 those conditions, you have to use "wake locks." A wake lock is a way to signal to
360 <p class="caution"><strong>Notice:</strong> You should always use wake locks sparingly and hold them
376 <p>However, the wake lock acquired in this example guarantees only that the CPU remains awake. If
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags29 # This is logged when the partial wake lock (keeping the device awake
/frameworks/base/docs/html/about/versions/
Dandroid-2.0.jd320wake up the screen when it is displayed and show the window even if the screen is locked. This all…
/frameworks/base/docs/html/preview/testing/
Dguide.jd130 suspended background tasks, suspended Notifications, ignored wake requests, and alarms. To ensure

12