Home
last modified time | relevance | path

Searched refs:wakeLock (Results 1 – 5 of 5) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java183 PowerManager.WakeLock wakeLock = null; in runInternal() local
192 wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, Constants.TAG); in runInternal()
193 wakeLock.setWorkSource(new WorkSource(mInfo.mUid)); in runInternal()
194 wakeLock.acquire(); in runInternal()
284 if (wakeLock != null) { in runInternal()
285 wakeLock.release(); in runInternal()
286 wakeLock = null; in runInternal()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java137 private WakeLock wakeLock; field in BluetoothOppObexClientSession.ClientThread
153 wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in ClientThread()
167 wakeLock.acquire(); in run()
194 if (wakeLock.isHeld()) { in run()
196 wakeLock.release(); in run()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryChart.java606 final boolean wakeLock = in onSizeChanged()
608 if (wakeLock != lastWakeLock) { in onSizeChanged()
609 if (wakeLock) { in onSizeChanged()
614 lastWakeLock = wakeLock; in onSizeChanged()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackFragment.java99 PowerManager.WakeLock wakeLock = in onActivityCreated() local
105 AsyncTaskExecutors.createAsyncTaskExecutor(), wakeLock); in onActivityCreated()
DVoicemailPlaybackPresenter.java176 PowerManager.WakeLock wakeLock) { in VoicemailPlaybackPresenter() argument
183 mWakeLock = wakeLock; in VoicemailPlaybackPresenter()