/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmAlertWakeLock.java | 32 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in createPartialWakeLock() 49 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in acquireScreenCpuWakeLock()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertWakeLock.java | 47 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in acquirePartialWakeLock() 73 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in acquireScreenBrightWakeLock()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/power/ |
D | PowerTestFragment.java | 95 PowerManager pm = (PowerManager) getActivity().getSystemService(Context.POWER_SERVICE); in shutdownBtn() 106 PowerManager pm = (PowerManager) getActivity().getSystemService(Context.POWER_SERVICE); in sleepBtn()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 19 import static android.content.Context.POWER_SERVICE; 74 ShadowApplication.getInstance().setSystemService(POWER_SERVICE, in setUp()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 125 .getSystemService(Context.POWER_SERVICE); in setUp() 134 when(mMockContext.getSystemService(Context.POWER_SERVICE)).thenReturn(mPowerManager); in setUp() 300 when(mockContext.getSystemService(Context.POWER_SERVICE)).thenReturn(mPowerManager); in testEnableDisableOnlyGatt()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ScreenStateHelper.java | 29 mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in ScreenStateHelper()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | WakeLockHoldingProgressListener.java | 37 (PowerManager) ((Activity) mActivity).getSystemService(Context.POWER_SERVICE); in WakeLockHoldingProgressListener()
|
/packages/services/Car/service/src/com/android/car/systeminterface/ |
D | WakeLockInterface.java | 38 (PowerManager) context.getSystemService(Context.POWER_SERVICE); in DefaultImpl()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothPairingRequest.java | 44 (PowerManager)context.getSystemService(Context.POWER_SERVICE); in onReceive()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothPairingRequest.java | 44 (PowerManager) context.getSystemService(Context.POWER_SERVICE); in onReceive()
|
/packages/apps/Settings/src/com/android/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/services/Car/car-lib/src/android/car/ |
D | Car.java | 131 public static final String POWER_SERVICE = "power"; field in Car 894 case POWER_SERVICE: in createCarManager()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | TestUtil.java | 64 final PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in haltIfTestsAreNotAbleToRun()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | LowBatteryDetector.java | 41 mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in LowBatteryDetector()
|
D | EarlyWarningDetector.java | 42 mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in EarlyWarningDetector()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | UserCallActivity.java | 56 PowerManager powerManager = (PowerManager) getSystemService(POWER_SERVICE); in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/ |
D | EarlyWarningDetector.java | 42 mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in EarlyWarningDetector()
|
D | LowBatteryDetector.java | 41 mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in LowBatteryDetector()
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | BrightnessTile.java | 46 PowerManager powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in BrightnessTile()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarReceiver.java | 60 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in onReceive()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceController.java | 47 mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in BatterySaverButtonPreferenceController()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomWakeLock.java | 78 PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in getWakeLockFromPowerManager()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceController.java | 47 mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in BatterySaverButtonPreferenceController()
|
/packages/apps/Car/Settings/src/com/android/car/settings/display/ |
D | BrightnessLevelPreferenceController.java | 46 PowerManager powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in BrightnessLevelPreferenceController()
|