Home
last modified time | relevance | path

Searched defs:powerManager (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverTest.java134 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/
DAlwaysOnHotwordDetectorTest.java400 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/
DDeviceTest.java142 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/
DBatterySaverModeTest.java90 PowerManager powerManager = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); in isModeOn() local
/cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/
DHdmiCecWakeLock.java87 PowerManager powerManager = getSystemService(PowerManager.class); in initializeWakeLock() local
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/power/
DPowerManagerHelperTest.java62 PowerManager powerManager = mContext.getSystemService(PowerManager.class); in testSetDisplayState() local
/cts/hostsidetests/os/test-apps/InattentiveSleepTestApp/src/android/os/inattentivesleeptests/
DPartialWakeLockService.java52 PowerManager powerManager = getSystemService(PowerManager.class); in onStartCommand() local
/cts/tests/tests/os/src/android/os/cts/
DLowPowerStandbyForegroundService.java56 PowerManager powerManager = getApplicationContext().getSystemService(PowerManager.class); in onStartCommand() local
/cts/tests/tests/batterysaving/src/android/os/cts/deviceidle/
DDeviceIdleTest.java76 PowerManager powerManager = InstrumentationRegistry.getInstrumentation().getContext() in testLightIdleMode() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20360/src/android/security/cts/CVE_2022_20360/
DDeviceTest.java108 PowerManager powerManager = context.getSystemService(PowerManager.class); in withSecureNfcDisabled() local
/cts/tests/app/shared/src/android/app/cts/
DCtsAppTestUtils.java39 final PowerManager powerManager = in isScreenInteractive() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20913/src/android/security/cts/CVE_2023_20913/
DDeviceTest.java150 PowerManager powerManager = mContext.getSystemService(PowerManager.class); in testOverlayButtonPresence() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorTestScreenManipulator.java81 PowerManager powerManager = (PowerManager) activity.getSystemService(Context.POWER_SERVICE); in SensorTestScreenManipulator() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestActivity.java70 PowerManager powerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in activitySetUp() local
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java345 final PowerManager powerManager = in setDozeState() local
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java777 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/
DActivityLaunchUtils.java213 final PowerManager powerManager = context.getSystemService(PowerManager.class); in wakeUpOrBust() local
/cts/tests/ServiceKillTest/app/src/com/android/cts/servicekilltestapp/
DServiceKillTestService.java139 PowerManager powerManager = getSystemService(PowerManager.class); in onCreate() local
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1372 final PowerManager powerManager = (PowerManager) InstrumentationRegistry.getContext() in testWakeLockPermission() local
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java690 final PowerManager powerManager = context.getSystemService(PowerManager.class); in wakeUpAndUnlock() local