Home
last modified time | relevance | path

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

/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverTest.java93 final PowerManager powerManager = getPowerManager(); in testActivateBatterySaver() local
131 final PowerManager powerManager = getPowerManager(); in testActivateBatterySaver_notSupported() local
178 final PowerManager powerManager = BatteryUtils.getPowerManager(); in testAutomotiveProjectionExceptions() local
248 final PowerManager powerManager = BatteryUtils.getPowerManager(); in testGlobalSettings() local
274 final PowerManager powerManager = BatteryUtils.getPowerManager(); in testDeviceConfig() local
301 final PowerManager powerManager = BatteryUtils.getPowerManager(); in testGlobalSettingsOverridesDeviceConfig() local
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DPowerManagerTests.java32 PowerManager powerManager = context.getSystemService(PowerManager.class); in testGetCurrentThermalStatus() local
40 PowerManager powerManager = context.getSystemService(PowerManager.class); in testGetThermalHeadroom() local
48 PowerManager powerManager = context.getSystemService(PowerManager.class); in testGetThermalHeadroomThresholds() 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.java86 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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBatteryUtils.java179 final PowerManager powerManager = getPowerManager(); in isBatterySaverSupported() 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/tests/framework/base/windowmanager/util/src/android/server/wm/
DUiDeviceUtils.java61 final PowerManager powerManager = context.getSystemService(PowerManager.class); in wakeUpAndUnlock() 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.java346 final PowerManager powerManager = in setDozeState() local
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java244 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/tests/JobScheduler/src/android/jobscheduler/cts/
DJobThrottlingTest.java1446 PowerManager powerManager = in setScreenState() 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/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerZenTest.java2854 PowerManager powerManager = checkNotNull(mContext.getSystemService(PowerManager.class)); in isPowerManagerAmbientDisplaySuppressed() local