/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/ |
D | InstrumentationUiAutomatorBridge.java | 53 mContext.getSystemService(Service.POWER_SERVICE); in isScreenOn()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ShutdownActivity.java | 53 ServiceManager.getService(Context.POWER_SERVICE)); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConsumerIrService.java | 44 Context.POWER_SERVICE); in ConsumerIrService()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderProxyTest.java | 54 mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in setUp()
|
D | PowerManagerVrTest.java | 51 Context.POWER_SERVICE); in setUp()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 65 ServiceManager.getService(Context.POWER_SERVICE)); in run()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 264 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in turnScreenOff() 272 (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in turnScreenOn()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsStorageMonitor.java | 138 PowerManager pm = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); in createWakelock()
|
D | WakeLockStateMachine.java | 80 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in WakeLockStateMachine()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | ShellUiAutomatorBridge.java | 119 IPowerManager.Stub.asInterface(ServiceManager.getService(Context.POWER_SERVICE)); in isScreenOn()
|
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
D | DozeTestDream.java | 75 mPowerManager = (PowerManager)getSystemService(Context.POWER_SERVICE); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | NtpTimeHelper.java | 99 PowerManager powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in NtpTimeHelper()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaFrameworkTest.java | 96 PowerManager pm = (PowerManager) this.getSystemService(Context.POWER_SERVICE); in onCreate()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 369 context.getSystemService(Context.POWER_SERVICE); in handleCancelPrintJob() 408 context.getSystemService(Context.POWER_SERVICE); in handleRestartPrintJob()
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
D | BatteryWaster.java | 67 PowerManager pm = (PowerManager)getSystemService(POWER_SERVICE); in onCreate()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactory.java | 123 (PowerManager) context.getSystemService(Context.POWER_SERVICE); in createBogusElapsedRealtimeCheck()
|
/frameworks/base/media/java/android/media/ |
D | AsyncPlayer.java | 259 PowerManager pm = (PowerManager)context.getSystemService(Context.POWER_SERVICE); in setUsesWakeLock()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 68 case Context.POWER_SERVICE: in setUp()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 167 (PowerManager) application.getSystemService(Context.POWER_SERVICE); in createBackupWakeLock()
|
/frameworks/base/startop/apps/test/src/ |
D | SystemServerBenchmarks.java | 159 PowerManager pwr = (PowerManager) parent.getSystemService(Context.POWER_SERVICE); in initializeBenchmarks()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | ArcTerminationActionFromAvrTest.java | 74 when(mContextSpy.getSystemService(Context.POWER_SERVICE)).thenAnswer(i -> in setUp()
|
D | ActiveSourceActionTest.java | 71 when(mContextSpy.getSystemService(Context.POWER_SERVICE)).thenAnswer(i -> in setUp()
|
D | ArcInitiationActionFromAvrTest.java | 73 when(mContextSpy.getSystemService(Context.POWER_SERVICE)).thenAnswer(i -> in setUp()
|
D | HdmiCecAtomLoggingTest.java | 101 when(mContextSpy.getSystemService(Context.POWER_SERVICE)).thenAnswer(i -> in setUp()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | DynamicSystemInstallationService.java | 346 PowerManager powerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in executeRebootToDynSystemCommand() 382 PowerManager powerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in executeRebootToNormalCommand()
|