/cts/tests/tests/os/src/android/os/cts/ |
PowerManager_WakeLockTest.java | 35 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); local 36 assertNotNull(wl.toString()); 38 wl.acquire(); 39 assertTrue(wl.isHeld()); 40 wl.release(); 41 assertFalse(wl.isHeld()); 44 wl.setReferenceCounted(true); 45 wl.acquire(); 46 assertTrue(wl.isHeld()); 47 wl.acquire() [all...] |
PowerManagerTest.java | 39 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); local 40 wl.acquire(TIME); 41 assertTrue(wl.isHeld()); 43 assertFalse(wl.isHeld());
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManager_WifiLockTest.java | 34 WifiLock wl = wm.createWifiLock(WIFI_TAG); local 36 wl.setReferenceCounted(true); 37 assertFalse(wl.isHeld()); 38 wl.acquire(); 39 assertTrue(wl.isHeld()); 40 wl.release(); 41 assertFalse(wl.isHeld()); 42 wl.acquire(); 43 wl.acquire(); 44 assertTrue(wl.isHeld()) [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
PowerManagerTest.java | 53 PowerManager.WakeLock wl = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK"); local 54 doTestWakeLock(wl); 56 wl = mPm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "SCREEN_BRIGHT_WAKE_LOCK"); 57 doTestWakeLock(wl); 59 wl = mPm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "SCREEN_DIM_WAKE_LOCK"); 60 doTestWakeLock(wl); 62 wl = mPm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "PARTIAL_WAKE_LOCK"); 63 doTestWakeLock(wl); 83 PowerManager.WakeLock wl = mPm.newWakeLock(badFlags, "foo"); local 93 * @param wl The wakelock to be tested [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmInitReceiver.java | 36 final WakeLock wl = AlarmAlertWakeLock.createPartialWakeLock(context); local 37 wl.acquire(); 49 wl.release();
|
AlarmReceiver.java | 44 final WakeLock wl = AlarmAlertWakeLock.createPartialWakeLock(context); local 45 wl.acquire(); 50 wl.release();
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
ConnectivityManagerMobileTest.java | 41 private WakeLock wl; field in class:ConnectivityManagerMobileTest 59 wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "CMWakeLock"); 60 wl.acquire(); 84 wl.release();
|
/external/clang/test/CodeGenCXX/ |
cxx0x-initializer-stdinitializerlist.cpp | 150 wantslist1 wl = { destroyme1(), destroyme1() }; local
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
PushReceiver.java | 162 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, local 164 wl.acquire(5000);
|
/external/srec/srec/crec/ |
word_lattice.c | 56 srec_word_lattice *wl; local 58 wl = (srec_word_lattice*) CALLOC_CLR(1, sizeof(srec_word_lattice), "search.word_lattice.base"); 59 wl->max_frames = max_frames; 60 wl->words_for_frame = (wtokenID*) CALLOC_CLR(max_frames, sizeof(wtokenID), "search.word_lattice.words"); 62 wl->whether_sorted = (asr_int16_t*)CALLOC_CLR(max_frames, sizeof(asr_int16_t), "search.word_lattice.sflag"); 64 return wl; 67 void destroy_word_lattice(srec_word_lattice* wl) 69 FREE(wl->words_for_frame); 70 FREE(wl->whether_sorted); 71 FREE(wl); 354 srec_word_lattice *wl; local 413 srec_word_lattice* wl; local 449 srec_word_lattice* wl; local 490 srec_word_lattice* wl; local 536 srec_word_lattice* wl = rec->word_lattice; local [all...] |
srec.c | 1787 srec_word_lattice* wl = rec->word_lattice; local [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraGLTest.java | 315 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "CameraGLTest"); local 316 wl.acquire(); 325 wl.release(); [all...] |
/external/icu4c/test/cintltst/ |
custrtrn.c | 1383 int32_t wl; local [all...] |
/external/icu4c/test/perf/ustrperf/ |
stringperf.h | 246 int32_t wl; local 252 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len, &err); 253 memcpy(wlines_[i].name, wcs, wl * sizeof(wchar_t)); 254 wlines_[i].len = wl; 257 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len-1, &err); 258 memcpy(wlines_[i].name, wcs, wl*sizeof(wchar_t)); 259 wlines_[i].len = wl;
|
/frameworks/base/services/java/com/android/server/ |
PowerManagerService.java | 862 WakeLock wl; local 995 WakeLock wl = mLocks.get(index); local 1015 WakeLock wl = mLocks.removeLock(lock); local 1247 WakeLock wl = mLocks.get(i); local 2842 WakeLock wl = mLocks.get(i); local 3023 WakeLock wl = this.get(i); local 3038 WakeLock wl = this.get(i); local [all...] |
WifiService.java | 1406 WifiLock wl = mLocks.mList.get(index); local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 2731 Wakelock wl = wakelockEntry.getValue(); local 3909 Wakelock wl = mWakelockStats.get(name); local 5353 Uid.Wakelock wl = ent.getValue(); local [all...] |
/frameworks/base/core/java/android/os/ |
BatteryStats.java | 132 private static final String WAKELOCK_DATA = "wl"; 1236 Uid.Wakelock wl = ent.getValue(); local 1357 Uid.Wakelock wl = ent.getValue(); local 1548 Uid.Wakelock wl = ent.getValue(); local 1750 Uid.Wakelock wl = ent.getValue(); local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.mortbay.jetty.util_6.1.23.v201004211559.jar | |