Home
last modified time | relevance | path

Searched refs:wl (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiLockTest.java53 WifiLock wl = wm.createWifiLock(lockType, WIFI_TAG); in testWifiLock() local
57 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 …]
/cts/tests/tests/os/src/android/os/cts/
DPowerManager_WakeLockTest.java48 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); in testPowerManagerWakeLock() local
49 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 …]
DPowerManagerTest.java68 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); in testPowerManager() local
69 wl.acquire(TIME); in testPowerManager()
70 assertTrue(wl.isHeld()); in testPowerManager()
72 assertFalse(wl.isHeld()); in testPowerManager()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DWakelockLoadTestRunnable.java36 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, tag); in run() local
40 wl.acquire(); in run()
43 wl.release(); in run()
DAtomTests.java546 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK | in testScreenBrightness() local
548 wl.acquire(); in testScreenBrightness()
557 wl.release(); in testScreenBrightness()
664 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in testWakelockState() local
666 wl.acquire(); in testWakelockState()
668 wl.release(); in testWakelockState()
680 PowerManager.WakeLock wl = pm.newWakeLock(wakelockType, tag); in testSliceByWakelockState() local
682 wl.acquire(); in testSliceByWakelockState()
686 wl.acquire(); in testSliceByWakelockState()
691 wl.release(); in testSliceByWakelockState()
[all …]
/cts/hostsidetests/os/test-apps/PowerManagerTestApp/src/android/os/powermanagertests/
DWakeLockTest.java33 WakeLock wl = pm.newWakeLock(PARTIAL_WAKE_LOCK, TAG); in onCreate() local
34 wl.acquire(300000 /* 5 mins */); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java177 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, in activitySetUp() local
180 wl.acquire(); in activitySetUp()
182 wl.release(); in activitySetUp()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java340 … PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "CameraGLTest"); in runForAllCameras() local
341 wl.acquire(); in runForAllCameras()
349 wl.release(); in runForAllCameras()
/cts/tests/tests/security/res/raw/
Dcve_2018_13925.ts6237 …�z�+T΍��Ѫ� `]��.-���E$� ��$����b� �p|C�T��{�uРg"��꾢Md�J�6�HB��X�:H����wl#�2�=�U!݄��w��ם�{6}…
Dcve_2019_2244.ts6240 …�z�+T΍��Ѫ� `]��.-���E$� ��$����b� �p|C�T��{�uРg"��꾢Md�J�6�HB��X�:H����wl#�2�=�U!݄��w��ם�{6}…