| /cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ | 
| D | BatterySaverTest.java | 134         final PowerManager powerManager = BatteryUtils.getPowerManager();  in testAutomotiveProjectionExceptions()  local 197         final PowerManager powerManager = BatteryUtils.getPowerManager();  in testGlobalSettings()  local 219         final PowerManager powerManager = BatteryUtils.getPowerManager();  in testDeviceConfig()  local 243         final PowerManager powerManager = BatteryUtils.getPowerManager();  in testGlobalSettingsOverridesDeviceConfig()  local
  | 
| /cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ | 
| D | AlwaysOnHotwordDetectorTest.java | 400         final PowerManager powerManager = sContext.getSystemService(PowerManager.class);  in testStartRecognitionNoFlagBatterySaverAllEnabled_noRecognitionPaused()  local 441         final PowerManager powerManager = sContext.getSystemService(PowerManager.class);  in testStartRecognitionNoFlagBatterySaverCriticalOnly_recognitionPaused()  local 488         final PowerManager powerManager = sContext.getSystemService(PowerManager.class);  in testStartRecognitionNoFlagBatterySaverAllDisabled_recognitionPaused()  local 534         final PowerManager powerManager = sContext.getSystemService(PowerManager.class);  in testStartRecognitionWithFlagBatterySaverAllEnabled_noRecognitionPaused()  local 575         final PowerManager powerManager = sContext.getSystemService(PowerManager.class);  in testStartRecognitionWithFlagBatterySaverCriticalOnly_noRecognitionPaused()  local 618         final PowerManager powerManager = sContext.getSystemService(PowerManager.class);  in testStartRecognitionWithFlagBatterySaverAllDisabled_recognitionPaused()  local 773         final PowerManager powerManager = sContext.getSystemService(PowerManager.class);  in testStartRecognitionDuringBatterySaver_succeedsPausesThenResumes()  local 1059     private static void setSoundTriggerPowerSaveMode(PowerManager powerManager, int mode) {  in setSoundTriggerPowerSaveMode()
  | 
| /cts/hostsidetests/securitybulletin/test-apps/TestBluetoothDiscoverable/src/android/security/cts/TestBluetoothDiscoverable/ | 
| D | DeviceTest.java | 142             PowerManager powerManager = sContext.getSystemService(PowerManager.class);  in testConnectedDeviceDashboardFragment()  local 183             PowerManager powerManager = sContext.getSystemService(PowerManager.class);  in testBluetoothDashboardFragment()  local
  | 
| /cts/tests/tests/voicesettings/src/android/voicesettings/cts/ | 
| D | BatterySaverModeTest.java | 90         PowerManager powerManager = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE);  in isModeOn()  local
  | 
| /cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/ | 
| D | HdmiCecWakeLock.java | 87         PowerManager powerManager = getSystemService(PowerManager.class);  in initializeWakeLock()  local
  | 
| /cts/tests/tests/car_builtin/src/android/car/cts/builtin/power/ | 
| D | PowerManagerHelperTest.java | 62         PowerManager powerManager = mContext.getSystemService(PowerManager.class);  in testSetDisplayState()  local
  | 
| /cts/hostsidetests/os/test-apps/InattentiveSleepTestApp/src/android/os/inattentivesleeptests/ | 
| D | PartialWakeLockService.java | 52             PowerManager powerManager = getSystemService(PowerManager.class);  in onStartCommand()  local
  | 
| /cts/tests/tests/os/src/android/os/cts/ | 
| D | LowPowerStandbyForegroundService.java | 56         PowerManager powerManager = getApplicationContext().getSystemService(PowerManager.class);  in onStartCommand()  local
  | 
| /cts/tests/tests/batterysaving/src/android/os/cts/deviceidle/ | 
| D | DeviceIdleTest.java | 76         PowerManager powerManager = InstrumentationRegistry.getInstrumentation().getContext()  in testLightIdleMode()  local
  | 
| /cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20360/src/android/security/cts/CVE_2022_20360/ | 
| D | DeviceTest.java | 108         PowerManager powerManager = context.getSystemService(PowerManager.class);  in withSecureNfcDisabled()  local
  | 
| /cts/tests/app/shared/src/android/app/cts/ | 
| D | CtsAppTestUtils.java | 39         final PowerManager powerManager =  in isScreenInteractive()  local
  | 
| /cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20913/src/android/security/cts/CVE_2023_20913/ | 
| D | DeviceTest.java | 150             PowerManager powerManager = mContext.getSystemService(PowerManager.class);  in testOverlayButtonPresence()  local
  | 
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ | 
| D | SensorTestScreenManipulator.java | 81         PowerManager powerManager = (PowerManager) activity.getSystemService(Context.POWER_SERVICE);  in SensorTestScreenManipulator()  local
  | 
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ | 
| D | SensorCtsTestActivity.java | 70         PowerManager powerManager = (PowerManager) getSystemService(Context.POWER_SERVICE);  in activitySetUp()  local
  | 
| /cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ | 
| D | CtsSyncManagerTest.java | 345         final PowerManager powerManager =  in setDozeState()  local
  | 
| /cts/tests/location/location_fine/src/android/location/cts/fine/ | 
| D | LocationManagerFineTest.java | 777         PowerManager powerManager = Objects.requireNonNull(  in testRequestLocationUpdates_BatterySaver_GpsDisabledScreenOff()  local 841         PowerManager powerManager = Objects.requireNonNull(  in testRequestLocationUpdates_BatterySaver_AllDisabledScreenOff()  local 886         PowerManager powerManager = Objects.requireNonNull(  in testRequestLocationUpdates_BatterySaver_ThrottleScreenOff()  local
  | 
| /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ | 
| D | ActivityLaunchUtils.java | 213         final PowerManager powerManager = context.getSystemService(PowerManager.class);  in wakeUpOrBust()  local
  | 
| /cts/tests/ServiceKillTest/app/src/com/android/cts/servicekilltestapp/ | 
| D | ServiceKillTestService.java | 139         PowerManager powerManager = getSystemService(PowerManager.class);  in onCreate()  local
  | 
| /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ | 
| D | ClientTest.java | 1372             final PowerManager powerManager = (PowerManager) InstrumentationRegistry.getContext()  in testWakeLockPermission()  local
  | 
| /cts/tests/framework/base/windowmanager/util/src/android/server/wm/ | 
| D | ActivityManagerTestBase.java | 690         final PowerManager powerManager = context.getSystemService(PowerManager.class);  in wakeUpAndUnlock()  local
  |