OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mPartialWakeLock
(Results
1 - 13
of
13
) 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/services/Telephony/src/com/android/phone/
EmergencyCallHelper.java
74
private PowerManager.WakeLock
mPartialWakeLock
;
143
// First of all, clean up any state (including
mPartialWakeLock
!)
158
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
163
mPartialWakeLock
.acquire(WAKE_LOCK_TIMEOUT);
457
if (
mPartialWakeLock
!= null) {
458
if (
mPartialWakeLock
.isHeld()) {
460
mPartialWakeLock
.release();
462
mPartialWakeLock
= null;
PhoneGlobals.java
156
private PowerManager.WakeLock
mPartialWakeLock
;
306
mPartialWakeLock
= mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK
527
mPartialWakeLock
.acquire();
536
if (
mPartialWakeLock
.isHeld()) {
537
mPartialWakeLock
.release();
546
if (
mPartialWakeLock
.isHeld()) {
547
mPartialWakeLock
.release();
[
all
...]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
FrameworkPerfActivity.java
61
PowerManager.WakeLock
mPartialWakeLock
;
206
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Scheduler");
207
mPartialWakeLock
.setReferenceCounted(false);
246
if (
mPartialWakeLock
.isHeld()) {
247
mPartialWakeLock
.release();
453
if (!
mPartialWakeLock
.isHeld()) {
454
mPartialWakeLock
.acquire();
458
if (
mPartialWakeLock
.isHeld()) {
459
mPartialWakeLock
.release();
/packages/services/Car/service/src/com/android/car/
CarPowerManagementService.java
620
private final WakeLock
mPartialWakeLock
;
629
mPartialWakeLock
= mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
687
if (!
mPartialWakeLock
.isHeld()) {
688
mPartialWakeLock
.acquire();
700
if (
mPartialWakeLock
.isHeld()) {
701
mPartialWakeLock
.release();
707
if (
mPartialWakeLock
.isHeld()) {
708
mPartialWakeLock
.release();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/
IdleConstraintTestActivity.java
157
private PowerManager.WakeLock
mPartialWakeLock
;
161
mPartialWakeLock
= wakeLocks[0];
184
mPartialWakeLock
.release();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
GsmCdmaConnection.java
72
private PowerManager.WakeLock
mPartialWakeLock
;
812
if (
mPartialWakeLock
.isHeld()) {
813
Rlog.e(LOG_TAG, "[GsmCdmaConn] UNEXPECTED;
mPartialWakeLock
is held when finalizing.");
921
synchronized (
mPartialWakeLock
) {
922
if (
mPartialWakeLock
.isHeld()) {
941
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
ImsPhoneConnection.java
84
private PowerManager.WakeLock
mPartialWakeLock
;
563
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOG_TAG);
569
mPartialWakeLock
.acquire();
574
synchronized(
mPartialWakeLock
) {
575
if (
mPartialWakeLock
.isHeld()) {
577
mPartialWakeLock
.release();
[
all
...]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppObexServerSession.java
96
private WakeLock
mPartialWakeLock
;
104
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG);
295
mPartialWakeLock
.acquire();
579
if (
mPartialWakeLock
.isHeld()) {
580
mPartialWakeLock
.release();
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoramaActivity.java
157
private PowerManager.WakeLock
mPartialWakeLock
;
284
mPartialWakeLock
= pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Panorama");
[
all
...]
/external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
Completed in 1888 milliseconds