OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mPartialWakeLock
(Results
1 - 7
of
7
) sorted by null
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
BatteryWaster.java
42
PowerManager.WakeLock
mPartialWakeLock
;
68
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "BatteryWaster");
69
mPartialWakeLock
.setReferenceCounted(false);
88
if (
mPartialWakeLock
.isHeld()) {
89
mPartialWakeLock
.release();
150
if (!
mPartialWakeLock
.isHeld()) {
151
mPartialWakeLock
.acquire();
154
if (
mPartialWakeLock
.isHeld()) {
155
mPartialWakeLock
.release();
/packages/apps/Phone/src/com/android/phone/
EmergencyCallHelper.java
74
private PowerManager.WakeLock
mPartialWakeLock
;
143
// First of all, clean up any state (including
mPartialWakeLock
!)
161
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
166
mPartialWakeLock
.acquire(WAKE_LOCK_TIMEOUT);
485
if (
mPartialWakeLock
!= null) {
486
if (
mPartialWakeLock
.isHeld()) {
488
mPartialWakeLock
.release();
490
mPartialWakeLock
= null;
PhoneApp.java
197
private PowerManager.WakeLock
mPartialWakeLock
;
469
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK
[
all
...]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
FrameworkPerfActivity.java
60
PowerManager.WakeLock
mPartialWakeLock
;
204
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Scheduler");
205
mPartialWakeLock
.setReferenceCounted(false);
244
if (
mPartialWakeLock
.isHeld()) {
245
mPartialWakeLock
.release();
449
if (!
mPartialWakeLock
.isHeld()) {
450
mPartialWakeLock
.acquire();
454
if (
mPartialWakeLock
.isHeld()) {
455
mPartialWakeLock
.release();
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
GsmConnection.java
79
private PowerManager.WakeLock
mPartialWakeLock
;
591
if (
mPartialWakeLock
.isHeld()) {
592
Log.e(LOG_TAG, "[GSMConn] UNEXPECTED;
mPartialWakeLock
is held when finalizing.");
708
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);
714
mPartialWakeLock
.acquire();
719
synchronized(
mPartialWakeLock
) {
720
if (
mPartialWakeLock
.isHeld()) {
722
mPartialWakeLock
.release();
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
CdmaConnection.java
84
private PowerManager.WakeLock
mPartialWakeLock
;
682
if (
mPartialWakeLock
.isHeld()) {
683
Log.e(LOG_TAG, "[CdmaConn] UNEXPECTED;
mPartialWakeLock
is held when finalizing.");
787
synchronized (
mPartialWakeLock
) {
788
if (
mPartialWakeLock
.isHeld()) {
805
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);
810
mPartialWakeLock
.acquire();
814
synchronized (
mPartialWakeLock
) {
815
if (
mPartialWakeLock
.isHeld()) {
817
mPartialWakeLock
.release()
[
all
...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexServerSession.java
96
private WakeLock
mPartialWakeLock
;
106
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
296
mPartialWakeLock
.acquire();
553
if (
mPartialWakeLock
.isHeld()) {
554
mPartialWakeLock
.release();
Completed in 216 milliseconds