HomeSort by relevance Sort by last modified time
    Searched full:wakelock (Results 1 - 25 of 140) sorted by null

1 2 3 4 5 6

  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmAlertWakeLock.java 23 * Hold a wakelock that can be acquired in the AlarmReceiver and
28 private static PowerManager.WakeLock sCpuWakeLock;
30 static PowerManager.WakeLock createPartialWakeLock(Context context) {
AlarmInitReceiver.java 22 import android.os.PowerManager.WakeLock;
36 final WakeLock wl = AlarmAlertWakeLock.createPartialWakeLock(context);
  /frameworks/base/core/java/android/os/
PowerManager.java 32 * create a {@link PowerManager.WakeLock} object. You can then use methods on this object to
37 * PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "My Tag");
71 * <p>*<i>If you hold a partial wakelock, the CPU will continue to run, irrespective of any timers
87 * will force the screen and/or keyboard to turn on immediately, when the WakeLock is
93 * <td>If this flag is set, the user activity timer will be reset when the WakeLock is
100 * Any application using a WakeLock must request the {@code android.permission.WAKE_LOCK}
172 * Flag for {@link WakeLock#release release(int)} to defer releasing a
173 * {@link #WAKE_BIT_PROXIMITY_SCREEN_OFF} wakelock until the proximity sensor returns
230 * Any application using a WakeLock must request the {@code android.permission.WAKE_LOCK}
233 public class WakeLock
    [all...]
BatteryStats.java 205 * Returns a mapping containing wakelock statistics.
207 * @return a Map from Strings to Uid.Wakelock objects.
209 public abstract Map<String, ? extends Wakelock> getWakelockStats();
214 public static abstract class Wakelock {
    [all...]
  /frameworks/base/core/tests/coretests/src/android/os/
PowerManagerTest.java 53 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK");
83 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo");
87 fail("Bad WakeLock flag was not caught.");
91 * Apply a few tests to a wakelock to make sure it's healthy.
93 * @param wl The wakelock to be tested.
95 private void doTestWakeLock(PowerManager.WakeLock wl) {
  /cts/tests/tests/os/src/android/os/cts/
PowerManager_WakeLockTest.java 21 import android.os.PowerManager.WakeLock;
31 * 3 Sets whether this WakeLock is ref counted
35 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG);
PowerManagerTest.java 22 import android.os.PowerManager.WakeLock;
39 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG);
  /frameworks/base/policy/src/com/android/internal/policy/impl/
KeyguardViewCallback.java 26 * Request the wakelock to be poked for the default amount of time.
31 * Request the wakelock to be poked for a specific amount of time.
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
MediaFrameworkTest.java 38 private PowerManager.WakeLock mWakeLock = null;
60 Log.v(TAG, "onResume, acquire wakelock");
67 Log.v(TAG, "onPause, release wakelock");
  /cts/tests/tests/permission/src/android/permission/cts/
NoWakeLockPermissionTest.java 34 private PowerManager.WakeLock mWakeLock;
81 * Verify that PowerManager.WakeLock.acquire() requires permissions.
96 * Verify that PowerManager.WakeLock.acquire(long) requires permissions.
112 * Verify that PowerManager.WakeLock.release() requires permissions.
  /hardware/ti/wlan/wl1271/platforms/os/linux/inc/
WlanDrvIf.h 49 #include <linux/wakelock.h>
119 int wl_count; /* Wifi wakelock counter */
121 struct wake_lock wl_wifi; /* Wifi wakelock */
122 struct wake_lock wl_rxwake; /* Wifi rx wakelock */
  /frameworks/base/voip/java/com/android/server/sip/
SipWakeLock.java 28 private PowerManager.WakeLock mWakeLock;
29 private PowerManager.WakeLock mTimerWakeLock;
  /frameworks/base/docs/html/sdk/api_diff/9/changes/
android.os.PowerManager.WakeLock.html 10 android.os.PowerManager.WakeLock
74 Class android.os.<A HREF="../../../../reference/android/os/PowerManager.WakeLock.html" target="_top"><font size="+2"><code>PowerManager.WakeLock</code></font></A>
86 <A NAME="android.os.PowerManager.WakeLock.setWorkSource_added(android.os.WorkSource)"></A>
87 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/os/PowerManager.WakeLock.html#setWorkSource(android.os.WorkSource)" target="_top"><code>setWorkSource</code></A>(<code>WorkSource</code>)</nobr>
pkg_android.os.html 169 <A NAME="PowerManager.WakeLock"></A>
170 <nobr><A HREF="android.os.PowerManager.WakeLock.html">PowerManager.WakeLock</A></nobr>
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2ForTesting.java 73 PowerManager.WakeLock getScheduleNextAlarmWakeLock() {
  /packages/apps/Settings/src/com/android/settings/
CryptKeeper.java 110 PowerManager.WakeLock mWakeLock;
119 final PowerManager.WakeLock wakelock; field in class:CryptKeeper.NonConfigurationInstanceState
121 NonConfigurationInstanceState(PowerManager.WakeLock _wakelock) {
122 wakelock = _wakelock;
316 mWakeLock = retained.wakelock;
317 Log.d(TAG, "Restoring wakelock from NonConfigurationInstanceState");
324 * especially important if we were to lose the wakelock for any reason.
366 * Reconfiguring, so propagate the wakelock to the next instance. This runs between onStop()
373 Log.d(TAG, "Handing wakelock off to NonConfigurationInstanceState")
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexClientSession.java 47 import android.os.PowerManager.WakeLock;
137 private WakeLock wakeLock;
151 wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
164 if (V) Log.v(TAG, "acquire partial WakeLock");
165 wakeLock.acquire();
192 if (wakeLock.isHeld()) {
193 if (V) Log.v(TAG, "release partial WakeLock");
194 wakeLock.release();
BluetoothOppObexServerSession.java 48 import android.os.PowerManager.WakeLock;
94 private WakeLock mWakeLock;
96 private WakeLock mPartialWakeLock;
118 if (D) Log.d(TAG, "acquire full WakeLock");
303 if (V) Log.v(TAG, "acquire partial WakeLock");
573 if (V) Log.v(TAG, "release WakeLock");
  /device/ti/panda/
init.omap4pandaboard.rc 34 # take a wakelock on boot until PM is working
  /frameworks/base/core/java/android/server/
BluetoothEventLoop.java 59 // The WakeLock is used for bringing up the LCD during a pairing request
61 private PowerManager.WakeLock mWakeLock;
115 //WakeLock instantiation in BluetoothEventLoop class
582 // Acquire wakelock during PIN code request to bring up LCD display
589 // Release wakelock to allow the LCD to go off after the PIN popup notification.
605 // Acquire wakelock during PIN code request to bring up LCD display
613 // Release wakelock to allow the LCD to go off after the PIN popup notification.
628 // Acquire wakelock during PIN code request to bring up LCD display
635 // Release wakelock to allow the LCD to go off after the PIN popup notification.
693 // Acquire wakelock during PIN code request to bring up LCD displa
    [all...]
  /device/samsung/crespo/overlay/frameworks/base/core/res/res/xml/
power_profile.xml 25 <!-- CPU wakelock held for 830ms on bluetooth headset at command. 43mA * 830 -->
  /frameworks/base/core/java/android/app/
IntentService.java 102 // TODO: It would be nice to have an option to hold a partial wakelock
104 // method that would launch the service & hand off a wakelock.
  /frameworks/base/core/java/android/bluetooth/
HeadsetBase.java 21 import android.os.PowerManager.WakeLock;
59 private WakeLock mWakeLock; // held while processing an AT command
  /packages/apps/Email/src/com/android/email/
EmailConnectivityManager.java 29 import android.os.PowerManager.WakeLock;
59 private final WakeLock mWakeLock;
  /frameworks/base/services/java/com/android/server/
VibratorService.java 55 private final PowerManager.WakeLock mWakeLock;
198 // so wakelock calls will succeed
248 // so wakelock calls will succeed

Completed in 594 milliseconds

1 2 3 4 5 6