HomeSort by relevance Sort by last modified time
    Searched defs:wl (Results 1 - 17 of 17) sorted by null

  /cts/tests/tests/os/src/android/os/cts/
PowerManager_WakeLockTest.java 78 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); local
79 assertNotNull(wl.toString());
81 wl.acquire();
82 assertTrue(wl.isHeld());
83 wl.release();
84 assertFalse(wl.isHeld());
87 wl.setReferenceCounted(true);
88 wl.acquire();
89 assertTrue(wl.isHeld());
90 wl.acquire()
    [all...]
PowerManagerTest.java 70 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); local
71 wl.acquire(TIME);
72 assertTrue(wl.isHeld());
74 assertFalse(wl.isHeld());
  /cts/tests/tests/net/src/android/net/wifi/cts/
WifiManager_WifiLockTest.java 71 WifiLock wl = wm.createWifiLock(WIFI_TAG); local
73 wl.setReferenceCounted(true);
74 assertFalse(wl.isHeld());
75 wl.acquire();
76 assertTrue(wl.isHeld());
77 wl.release();
78 assertFalse(wl.isHeld());
79 wl.acquire();
80 wl.acquire();
81 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 49 private WakeLock wl; field in class:ConnectivityManagerMobileTest
64 wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "CMWakeLock");
65 wl.acquire();
88 wl.release();
  /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 318 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "CameraGLTest"); local
319 wl.acquire();
328 wl.release();
    [all...]
  /external/icu4c/test/cintltst/
custrtrn.c 1383 int32_t wl; local
    [all...]
  /external/icu4c/test/perf/ustrperf/
stringperf.h 244 int32_t wl; local
250 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len, &err);
251 memcpy(wlines_[i].name, wcs, wl * sizeof(wchar_t));
252 wlines_[i].len = wl;
255 wcs = u_strToWCS(ws, wcap, &wl, lines_[i].name, lines_[i].len-1, &err);
256 memcpy(wlines_[i].name, wcs, wl*sizeof(wchar_t));
257 wlines_[i].len = wl;
  /frameworks/base/services/java/com/android/server/
PowerManagerService.java 752 void noteStartWakeLocked(WakeLock wl, WorkSource ws) {
753 if (wl.monitorType >= 0) {
757 mBatteryStats.noteStartWakelockFromSource(ws, wl.pid, wl.tag,
758 wl.monitorType);
760 mBatteryStats.noteStartWakelock(wl.uid, wl.pid, wl.tag, wl.monitorType);
770 void noteStopWakeLocked(WakeLock wl, WorkSource ws)
799 WakeLock wl; local
932 WakeLock wl = mLocks.get(index); local
952 WakeLock wl = mLocks.removeLock(lock); local
1182 WakeLock wl = mLocks.get(i); local
2641 WakeLock wl = mLocks.get(i); local
2822 WakeLock wl = this.get(i); local
2837 WakeLock wl = this.get(i); local
    [all...]
WifiService.java 1365 WifiLock wl = mLocks.mList.get(index); local
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java 2729 Wakelock wl = wakelockEntry.getValue(); local
3907 Wakelock wl = mWakelockStats.get(name); local
5351 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...]

Completed in 373 milliseconds