/frameworks/av/include/media/stagefright/foundation/ |
AWakeLock.h | 33 // returns true if wakelock was acquired 46 PMDeathRecipient(AWakeLock *wakeLock) : mWakeLock(wakeLock) {}
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
TelecomWakeLock.java | 23 * Container for PowerManager / PowerManager.WakeLock access in telecom to facilitate unit testing. 29 private PowerManager.WakeLock mWakeLock; 31 public WakeLockAdapter(PowerManager.WakeLock wakeLock) { 32 mWakeLock = wakeLock; 80 PowerManager.WakeLock wakeLock = powerManager.newWakeLock(mWakeLockLevel, mWakeLockTag); 81 adapter = new WakeLockAdapter(wakeLock); 92 Log.i(TAG, "Can not acquire WakeLock (not supported) with level: " + mWakeLockLevel); 98 Log.i(TAG, "Acquiring WakeLock with id: " + mWakeLockLevel) [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/ |
WakeLockOperation.java | 22 import android.os.PowerManager.WakeLock; 65 WakeLock wakeLock = pm.newWakeLock(mWakeLockFlags, TAG); 66 wakeLock.acquire(); 70 wakeLock.release();
|
TestSensorOperation.java | 46 import android.os.PowerManager.WakeLock; 253 * After the execution of this type of test operation, the wakelock passed in will be acquired. 261 final WakeLock wakeLock, 286 if (wakeLock.isHeld()) { 287 wakeLock.release(); 297 if (!wakeLock.isHeld()) { 298 wakeLock.acquire(); 330 if(!wakeLock.isHeld()) { 331 wakeLock.acquire() [all...] |
/frameworks/base/services/core/java/com/android/server/power/ |
PowerManagerService.java | 223 private final ArrayList<WakeLock> mWakeLocks = new ArrayList<WakeLock>(); [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
NotificationController.java | 34 import android.os.PowerManager.WakeLock; 388 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, 390 wakeLock.acquire(); 410 wakeLock.release(); 427 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, 429 wakeLock.acquire(); 447 wakeLock.release();
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
DreamController.java | 122 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { 134 mCurrentDream = new DreamRecord(token, name, isTest, canDoze, userId, wakeLock); 288 public PowerManager.WakeLock mWakeLock; 297 boolean isTest, boolean canDoze, int userId, PowerManager.WakeLock wakeLock) { 303 mWakeLock = wakeLock;
|
DreamManagerService.java | 80 private final PowerManager.WakeLock mDozeWakeLock; 370 PowerManager.WakeLock wakeLock = mPowerManager 372 mHandler.post(wakeLock.wrap( 373 () -> mController.startDream(newToken, name, isTest, canDoze, userId, wakeLock)));
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothPermissionRequest.java | 121 // Acquire wakelock so that LCD comes up since screen is off 122 PowerManager.WakeLock wakeLock = powerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK | 125 wakeLock.setReferenceCounted(false); 126 wakeLock.acquire(); 184 wakeLock.release();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppObexClientSession.java | 47 import android.os.PowerManager.WakeLock; 137 private WakeLock wakeLock; 153 wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); 166 if (V) Log.v(TAG, "acquire partial WakeLock"); 167 wakeLock.acquire(); 194 if (wakeLock.isHeld()) { 195 if (V) Log.v(TAG, "release partial WakeLock"); 196 wakeLock.release();
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
WearPackageInstallerService.java | 121 private static volatile PowerManager.WakeLock lockStatic = null; 165 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); 211 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); 358 PowerManager.WakeLock lock = getLock(this.getApplicationContext()); 475 private void finishService(PowerManager.WakeLock lock, int startId) { 482 private synchronized PowerManager.WakeLock getLock(Context context) { 575 private PowerManager.WakeLock mWakeLock; 578 private PackageInstallListener(Context context, PowerManager.WakeLock wakeLock, 581 mWakeLock = wakeLock; [all...] |
/frameworks/base/core/java/android/hardware/fingerprint/ |
FingerprintManager.java | 761 final PowerManager.WakeLock wakeLock = powerManager.newWakeLock( 763 wakeLock.acquire(); 770 wakeLock.release(); [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkStatsService.java | 166 private final PowerManager.WakeLock mWakeLock; 270 PowerManager.WakeLock wakeLock = 274 wakeLock, NtpTrustedTime.getInstance(context), TelephonyManager.getDefault(), 288 AlarmManager alarmManager, PowerManager.WakeLock wakeLock, TrustedTime time, 297 mWakeLock = checkNotNull(wakeLock, "missing WakeLock"); [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncManager.java | 215 volatile private PowerManager.WakeLock mHandleAlarmWakeLock; 216 volatile private PowerManager.WakeLock mSyncManagerWakeLock; 595 // This WakeLock is used to ensure that we stay awake between the time that we receive 603 // This WakeLock is used to ensure that we stay awake while running the sync loop [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsServiceTest.java | 172 PowerManager.WakeLock wakeLock = 176 mServiceContext, mNetManager, alarmManager, wakeLock, mTime, [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipSessionGroup.java | 132 SipWakeupTimer timer, SipWakeLock wakeLock) throws SipException { 136 mWakeLock = wakeLock; [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |