Searched refs:wl (Results 1 – 10 of 10) sorted by relevance
53 WifiLock wl = wm.createWifiLock(lockType, WIFI_TAG); in testWifiLock() local57 wl.setReferenceCounted(true); in testWifiLock()58 wl.setWorkSource(new WorkSource()); in testWifiLock()59 assertFalse(wl.isHeld()); in testWifiLock()60 wl.acquire(); in testWifiLock()61 assertTrue(wl.isHeld()); in testWifiLock()62 wl.release(); in testWifiLock()63 assertFalse(wl.isHeld()); in testWifiLock()64 wl.acquire(); in testWifiLock()65 wl.acquire(); in testWifiLock()[all …]
48 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); in testPowerManagerWakeLock() local49 assertNotNull(wl.toString()); in testPowerManagerWakeLock()51 wl.acquire(); in testPowerManagerWakeLock()52 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()53 wl.release(); in testPowerManagerWakeLock()54 assertFalse(wl.isHeld()); in testPowerManagerWakeLock()57 wl.setReferenceCounted(true); in testPowerManagerWakeLock()58 wl.acquire(); in testPowerManagerWakeLock()59 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()60 wl.acquire(); in testPowerManagerWakeLock()[all …]
68 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); in testPowerManager() local69 wl.acquire(TIME); in testPowerManager()70 assertTrue(wl.isHeld()); in testPowerManager()72 assertFalse(wl.isHeld()); in testPowerManager()
36 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, tag); in run() local40 wl.acquire(); in run()43 wl.release(); in run()
546 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK | in testScreenBrightness() local548 wl.acquire(); in testScreenBrightness()557 wl.release(); in testScreenBrightness()664 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in testWakelockState() local666 wl.acquire(); in testWakelockState()668 wl.release(); in testWakelockState()680 PowerManager.WakeLock wl = pm.newWakeLock(wakelockType, tag); in testSliceByWakelockState() local682 wl.acquire(); in testSliceByWakelockState()686 wl.acquire(); in testSliceByWakelockState()691 wl.release(); in testSliceByWakelockState()[all …]
33 WakeLock wl = pm.newWakeLock(PARTIAL_WAKE_LOCK, TAG); in onCreate() local34 wl.acquire(300000 /* 5 mins */); in onCreate()
177 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, in activitySetUp() local180 wl.acquire(); in activitySetUp()182 wl.release(); in activitySetUp()
340 … PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "CameraGLTest"); in runForAllCameras() local341 wl.acquire(); in runForAllCameras()349 wl.release(); in runForAllCameras()
6237 …�z�+T��Ѫ� `]��.-���E$� ��$���b� �p|C�T��{�uРg"��꾢Md�J�6�HB��X�:H����wl#�2�=�U!݄��w��ם�{6}…
6240 …�z�+T��Ѫ� `]��.-���E$� ��$���b� �p|C�T��{�uРg"��꾢Md�J�6�HB��X�:H����wl#�2�=�U!݄��w��ם�{6}…