/frameworks/base/docs/html/training/scheduling/ |
D | wakelock.jd | 30 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 …]
|
D | alarms.jd | 115 <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/ |
D | Chronograph.java | 27 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()
|
D | AlarmHandler.java | 4 public void wake(Object token); in wake() method
|
/frameworks/base/core/jni/ |
D | android_os_MessageQueue.cpp | 49 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/ |
D | SensorEventQueue.cpp | 120 status_t SensorEventQueue::wake() const in wake() function in android::SensorEventQueue 123 looper->wake(); in wake()
|
/frameworks/av/media/libmedia/docs/ |
D | paused.dot | 38 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/ |
D | SensorEventQueue.h | 68 status_t wake() const;
|
/frameworks/base/native/android/ |
D | looper.cpp | 75 ALooper_to_Looper(looper)->wake(); in ALooper_wake()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderThread.cpp | 311 mLooper->wake(); in queue() 318 mLooper->wake(); in queueAtFront()
|
/frameworks/native/services/inputflinger/ |
D | EventHub.h | 259 virtual void wake() = 0; 321 virtual void wake();
|
D | InputDispatcher.cpp | 2355 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/ |
D | charts.jd | 70 <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/ |
D | manifest-receivers.jd | 35 <p>A side-effect of this approach is that your app will wake the device each time any of these
|
/frameworks/av/media/libmedia/ |
D | AudioRecord.cpp | 382 t->wake(); in setMarkerPosition() 412 t->wake(); in setPositionUpdatePeriod() 1235 void AudioRecord::AudioRecordThread::wake() in wake() function in android::AudioRecord::AudioRecordThread
|
D | AudioTrack.cpp | 899 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/ |
D | AudioRecord.h | 497 void wake(); // wake to handle changed notification conditions.
|
D | AudioTrack.h | 744 void wake(); // wake to handle changed notification conditions.
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadCommands.java.broken | 118 notifyAll(); // wake up assertExpectedMethodsCalled() 134 notifyAll(); // wake up assertExpectedMethodsCalled() 157 notifyAll(); // wake up assertExpectedMethodsCalled()
|
/frameworks/base/docs/html/ndk/reference/ |
D | group___looper.jd | 134 <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…
|
D | group___sensor.jd | 375 … 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/ |
D | mediaplayer.jd | 23 <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/ |
D | EventLogTags.logtags | 29 # This is logged when the partial wake lock (keeping the device awake
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.0.jd | 320 …wake 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/ |
D | guide.jd | 130 suspended background tasks, suspended Notifications, ignored wake requests, and alarms. To ensure
|