/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothPairingRequest.java | 30 import android.os.PowerManager; 65 PowerManager powerManager = 66 (PowerManager)context.getSystemService(Context.POWER_SERVICE); 68 if (powerManager.isScreenOn() &&
|
BluetoothPermissionRequest.java | 26 import android.os.PowerManager; 80 PowerManager powerManager = 81 (PowerManager) context.getSystemService(Context.POWER_SERVICE); 83 if (powerManager.isScreenOn() &&
|
/frameworks/base/core/java/android/net/ |
DhcpStateMachine.java | 32 import android.os.PowerManager; 63 private PowerManager.WakeLock mDhcpRenewWakeLock; 121 PowerManager powerManager = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); 122 mDhcpRenewWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG);
|
/frameworks/base/services/java/com/android/server/ |
UiModeManagerService.java | 44 import android.os.PowerManager; 108 private final PowerManager.WakeLock mWakeLock; 329 PowerManager powerManager = (PowerManager)context.getSystemService(Context.POWER_SERVICE); 330 mWakeLock = powerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG); [all...] |
ConnectivityService.java | 63 import android.os.PowerManager; 271 private PowerManager.WakeLock mNetTransitionWakeLock; 356 final PowerManager powerManager = (PowerManager) context.getSystemService( 358 mNetTransitionWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); [all...] |
LocationManagerService.java | 52 import android.os.PowerManager; 137 private PowerManager.WakeLock mWakeLock = null; 529 PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); 530 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); [all...] |
/packages/apps/Contacts/src/com/android/contacts/voicemail/ |
VoicemailPlaybackFragment.java | 40 import android.os.PowerManager; 96 PowerManager powerManager = 97 (PowerManager) getActivity().getSystemService(Context.POWER_SERVICE); 98 PowerManager.WakeLock wakeLock = 99 powerManager.newWakeLock( 100 PowerManager.SCREEN_DIM_WAKE_LOCK, getClass().getSimpleName());
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAlarmManager.java | 31 import android.os.PowerManager; 32 import android.os.PowerManager.WakeLock; 171 PowerManager.WakeLock getScheduleNextAlarmWakeLock() { 173 PowerManager powerManager = (PowerManager) mContext.getSystemService( 177 mScheduleNextAlarmWakeLock = powerManager.newWakeLock( 178 PowerManager.PARTIAL_WAKE_LOCK, SCHEDULE_NEXT_ALARM_WAKE_LOCK);
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
ImportVCardActivity.java | 54 import android.os.PowerManager; 222 private PowerManager.WakeLock mWakeLock; 232 final PowerManager powerManager = 233 (PowerManager)context.getSystemService(Context.POWER_SERVICE); 234 mWakeLock = powerManager.newWakeLock( 235 PowerManager.SCREEN_DIM_WAKE_LOCK | 236 PowerManager.ON_AFTER_RELEASE, LOG_TAG); 615 private PowerManager.WakeLock mWakeLock; 625 PowerManager powerManager = (PowerManager)ImportVCardActivity.this.getSystemService [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 84 import android.os.PowerManager; 160 private final PowerManager.WakeLock mWakeLock; 248 final PowerManager powerManager = (PowerManager) context.getSystemService( 250 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaServiceStateTracker.java | 38 import android.os.PowerManager; 126 private PowerManager.WakeLock mWakeLock; 176 PowerManager powerManager = 177 (PowerManager)phone.getContext().getSystemService(Context.POWER_SERVICE); 178 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
GsmServiceStateTracker.java | 46 import android.os.PowerManager; 137 private PowerManager.WakeLock mWakeLock; 197 PowerManager powerManager = 198 (PowerManager)phone.getContext().getSystemService(Context.POWER_SERVICE); 199 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); [all...] |
/frameworks/base/services/java/com/android/server/location/ |
GpsLocationProvider.java | 43 import android.os.PowerManager; 268 private final PowerManager.WakeLock mWakeLock; 388 PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); 389 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiStateMachine.java | 67 import android.os.PowerManager; 162 private PowerManager.WakeLock mWakeLock; 560 PowerManager powerManager = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); 561 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); [all...] |