/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmAlertWakeLock.kt | 33 val pm = context.getSystemService(Context.POWER_SERVICE) as PowerManager in createPartialWakeLock() 52 val pm = context.getSystemService(Context.POWER_SERVICE) as PowerManager in acquireScreenCpuWakeLock()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 19 import static android.content.Context.POWER_SERVICE; 94 ShadowApplication.getInstance().setSystemService(POWER_SERVICE, in setUp()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | WakeLockHoldingProgressListener.java | 37 (PowerManager) ((Activity) mActivity).getSystemService(Context.POWER_SERVICE); in WakeLockHoldingProgressListener()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothPairingRequest.java | 44 (PowerManager) context.getSystemService(Context.POWER_SERVICE); in onReceive()
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | JobPreconditions.java | 52 PowerManager powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in isIdle()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/ |
D | PowerManagerHelper.java | 54 mCarPowerManager = (CarPowerManager) car.getCarManager(Car.POWER_SERVICE); in PowerManagerHelper()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | TestUtil.java | 64 final PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in haltIfTestsAreNotAbleToRun()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/power/ |
D | PowerTestFragment.java | 142 PowerManager pm = (PowerManager) getActivity().getSystemService(Context.POWER_SERVICE); in shutdownBtn() 153 PowerManager pm = (PowerManager) getActivity().getSystemService(Context.POWER_SERVICE); in sleepBtn()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | NoWakeLockPermissionTest.java | 43 mPowerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in setUp()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | UserCallActivity.java | 58 PowerManager powerManager = (PowerManager) getSystemService(POWER_SERVICE); in onCreate()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarReceiver.java | 60 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in onReceive()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PowerPolicyListener.java | 73 mCarPowerManager = (CarPowerManager) mCar.getCarManager(Car.POWER_SERVICE); in PowerPolicyListener()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomWakeLock.java | 78 PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in getWakeLockFromPowerManager()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | WakeLockHelper.java | 58 context.getSystemService(Context.POWER_SERVICE); in acquire()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceControllerTest.java | 59 doReturn(mPowerManager).when(mContext).getSystemService(Context.POWER_SERVICE); in setUp()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceController.java | 53 mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in BatterySaverButtonPreferenceController()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | ImportTask.java | 63 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in ImportTask()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipLoaderTest.java | 75 doReturn(mPowerManager).when(mContext).getSystemService(Context.POWER_SERVICE); in setUp()
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceControllerComponentTest.java | 57 Context.POWER_SERVICE);
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | IperfClient.java | 83 PowerManager pm = (PowerManager) mPMCMainActivity.getSystemService(Context.POWER_SERVICE); in startClient()
|
D | WifiConnScanReceiver.java | 49 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in onReceive()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | AndroidServices.java | 119 return (PowerManager) getSystemService(Context.POWER_SERVICE); in providePowerManager()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | RebootConfirmFragment.java | 126 (PowerManager) getActivity().getSystemService(Context.POWER_SERVICE);
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | WakeLockStateMachine.java | 79 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in WakeLockStateMachine()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/ |
D | IntegrationTestUtils.java | 109 mWakeLock = ((PowerManager) context.getSystemService(Context.POWER_SERVICE))
|