HomeSort by relevance Sort by last modified time
    Searched refs:PowerManager (Results 51 - 75 of 172) sorted by null

1 23 4 5 6 7

  /frameworks/base/core/java/com/android/internal/os/storage/
ExternalStorageFormatter.java 11 import android.os.PowerManager;
47 private PowerManager.WakeLock mWakeLock;
73 mWakeLock = ((PowerManager)getSystemService(Context.POWER_SERVICE))
74 .newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "ExternalStorageFormatter");
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
TestActivity.java 34 import android.os.PowerManager;
  /frameworks/base/services/java/com/android/server/power/
ShutdownThread.java 35 import android.os.PowerManager;
83 private PowerManager mPowerManager;
84 private PowerManager.WakeLock mCpuWakeLock;
85 private PowerManager.WakeLock mScreenWakeLock;
225 sInstance.mPowerManager = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
231 PowerManager.PARTIAL_WAKE_LOCK, TAG + "-cpu");
244 PowerManager.FULL_WAKE_LOCK, TAG + "-screen");
  /packages/apps/Settings/src/com/android/settings/
CryptKeeper.java 31 import android.os.PowerManager;
114 PowerManager.WakeLock mWakeLock;
123 final PowerManager.WakeLock wakelock;
125 NonConfigurationInstanceState(PowerManager.WakeLock _wakelock) {
408 PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
409 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG);
543 final PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
545 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG)
    [all...]
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 30 import android.os.PowerManager;
31 import android.os.PowerManager.WakeLock;
54 private PowerManager mPowerManager;
67 // Get an instance of the PowerManager
68 mPowerManager = (PowerManager) getSystemService(POWER_SERVICE);
75 mWakeLock = mPowerManager.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, getClass()
  /frameworks/base/core/java/android/net/
DhcpStateMachine.java 32 import android.os.PowerManager;
63 private PowerManager.WakeLock mDhcpRenewWakeLock;
123 PowerManager powerManager = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE);
124 mDhcpRenewWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG);
  /frameworks/base/services/java/com/android/server/location/
GeofenceManager.java 36 import android.os.PowerManager;
73 private final PowerManager.WakeLock mWakeLock;
113 PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
114 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/
CameraAnalyzerActivity.java 48 import android.os.PowerManager;
49 import android.os.PowerManager.WakeLock;
79 private PowerManager mPowerManager;
80 private PowerManager.WakeLock mWakeLock;
250 mPowerManager = (PowerManager) getSystemService(Context.POWER_SERVICE);
252 PowerManager.SCREEN_DIM_WAKE_LOCK, "CameraQualityTest");
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarAlarmManager.java 31 import android.os.PowerManager;
32 import android.os.PowerManager.WakeLock;
131 PowerManager powerManager = (PowerManager) mContext.getSystemService(
135 mScheduleNextAlarmWakeLock = powerManager.newWakeLock(
136 PowerManager.PARTIAL_WAKE_LOCK, SCHEDULE_NEXT_ALARM_WAKE_LOCK);
178 PowerManager.WakeLock getScheduleNextAlarmWakeLock() {
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapService.java 42 import android.os.PowerManager;
116 private PowerManager.WakeLock mWakeLock = null;
291 PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE);
292 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
478 PowerManager pm = (PowerManager)getSystemService(
480 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexServerSession.java 47 import android.os.PowerManager;
48 import android.os.PowerManager.WakeLock;
103 PowerManager pm = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE);
104 mWakeLock = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK | PowerManager.ACQUIRE_CAUSES_WAKEUP
105 | PowerManager.ON_AFTER_RELEASE, TAG);
106 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java 53 import android.os.PowerManager;
148 private PowerManager.WakeLock mWakeLock = null;
454 PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE);
455 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
677 PowerManager pm = (PowerManager)getSystemService(
679 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
  /frameworks/native/services/powermanager/
IPowerManager.cpp 26 #include <powermanager/IPowerManager.h>
94 IMPLEMENT_META_INTERFACE(PowerManager, "android.os.IPowerManager");
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmInitReceiver.java 24 import android.os.PowerManager.WakeLock;
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
WifiStressTest.java 29 import android.os.PowerManager;
258 PowerManager pm =
259 (PowerManager)mRunner.getContext().getSystemService(Context.POWER_SERVICE);
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
FaceUnlock.java 32 import android.os.PowerManager;
346 PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
347 if (powerManager.isScreenOn()) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
BrightnessController.java 26 import android.os.PowerManager;
124 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
  /packages/apps/Browser/src/com/android/browser/
BrowserActivity.java 25 import android.os.PowerManager;
118 private PowerManager mPowerManager;
126 mPowerManager = (PowerManager) getSystemService(Context.POWER_SERVICE);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPermissionRequest.java 26 import android.os.PowerManager;
92 PowerManager powerManager =
93 (PowerManager) context.getSystemService(Context.POWER_SERVICE);
95 if (powerManager.isScreenOn() &&
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
ConnectivityManagerTestBase.java 32 import android.os.PowerManager;
492 PowerManager pm =
493 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
500 PowerManager pm =
501 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
ConnectivityManagerMobileTest.java 24 import android.os.PowerManager;
25 import android.os.PowerManager.WakeLock;
50 PowerManager pm = (PowerManager)getInstrumentation().
52 wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "CMWakeLock");
  /frameworks/base/services/java/com/android/server/
VibratorService.java 30 import android.os.PowerManager;
62 private final PowerManager.WakeLock mWakeLock;
141 PowerManager pm = (PowerManager)context.getSystemService(
143 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*vibrator*");
WiredAccessoryManager.java 26 import android.os.PowerManager;
27 import android.os.PowerManager.WakeLock;
89 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
90 mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "WiredAccessoryManager");
  /frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
FrameworkPerfActivity.java 29 import android.os.PowerManager;
60 PowerManager.WakeLock mPartialWakeLock;
203 PowerManager pm = (PowerManager)getSystemService(POWER_SERVICE);
204 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Scheduler");
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GsmConnection.java 23 import android.os.PowerManager;
84 private PowerManager.WakeLock mPartialWakeLock;
728 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE);
729 mPartialWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);

Completed in 1210 milliseconds

1 23 4 5 6 7