Home
last modified time | relevance | path

Searched refs:POWER_SERVICE (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
DInstrumentationUiAutomatorBridge.java53 mContext.getSystemService(Service.POWER_SERVICE); in isScreenOn()
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DWakeUpController.java49 (PowerManager) AlarmService.sContext.getSystemService(Context.POWER_SERVICE); in getWakeLock()
/frameworks/base/core/java/com/android/internal/app/
DShutdownActivity.java47 ServiceManager.getService(Context.POWER_SERVICE)); in onCreate()
/frameworks/support/v4/java/android/support/v4/content/
DWakefulBroadcastReceiver.java94 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in startWakefulService()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java50 ServiceManager.getService(Context.POWER_SERVICE)); in run()
/frameworks/base/services/core/java/com/android/server/
DConsumerIrService.java44 Context.POWER_SERVICE); in ConsumerIrService()
DDockObserver.java73 mPowerManager = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in DockObserver()
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java33 mPm = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in setUp()
/frameworks/base/core/java/android/service/dreams/
DSandman.java94 (PowerManager)context.getSystemService(Context.POWER_SERVICE); in startDream()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsStorageMonitor.java134 PowerManager pm = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); in createWakelock()
DWakeLockStateMachine.java70 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in WakeLockStateMachine()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java112 IPowerManager.Stub.asInterface(ServiceManager.getService(Context.POWER_SERVICE)); in isScreenOn()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java267 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in turnScreenOff()
275 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in turnScreenOn()
/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
DWakeUpCall.java106 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in screenOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java45 mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in BatteryController()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java75 mPowerManager = (PowerManager)getSystemService(Context.POWER_SERVICE); in onCreate()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java96 PowerManager pm = (PowerManager) this.getSystemService(Context.POWER_SERVICE); in onCreate()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DEmergencyButton.java101 mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in onFinishInflate()
DNumPadKey.java92 mPM = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in NumPadKey()
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
DBatteryWaster.java67 PowerManager pm = (PowerManager)getSystemService(POWER_SERVICE); in onCreate()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java327 context.getSystemService(Context.POWER_SERVICE); in handleCancelPrintJob()
366 context.getSystemService(Context.POWER_SERVICE); in handleRestartPrintJob()
/frameworks/base/media/java/android/media/
DAsyncPlayer.java256 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in setUsesWakeLock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java148 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in BrightnessController()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java62 Context.POWER_SERVICE); in PackageDexOptimizer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java377 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in setUsesWakeLock()

1234