Home
last modified time | relevance | path

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

1234

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiLockTest.java50 WifiLock wl = wm.createWifiLock(lockType, WIFI_TAG); in testWifiLock() local
52 wl.setReferenceCounted(true); in testWifiLock()
53 assertFalse(wl.isHeld()); in testWifiLock()
54 wl.acquire(); in testWifiLock()
55 assertTrue(wl.isHeld()); in testWifiLock()
56 wl.release(); in testWifiLock()
57 assertFalse(wl.isHeld()); in testWifiLock()
58 wl.acquire(); in testWifiLock()
59 wl.acquire(); in testWifiLock()
60 assertTrue(wl.isHeld()); in testWifiLock()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DPowerManager_WakeLockTest.java36 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); in testPowerManagerWakeLock() local
37 assertNotNull(wl.toString()); in testPowerManagerWakeLock()
39 wl.acquire(); in testPowerManagerWakeLock()
40 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()
41 wl.release(); in testPowerManagerWakeLock()
42 assertFalse(wl.isHeld()); in testPowerManagerWakeLock()
45 wl.setReferenceCounted(true); in testPowerManagerWakeLock()
46 wl.acquire(); in testPowerManagerWakeLock()
47 assertTrue(wl.isHeld()); in testPowerManagerWakeLock()
48 wl.acquire(); in testPowerManagerWakeLock()
[all …]
DPowerManagerTest.java51 WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, TAG); in testPowerManager() local
52 wl.acquire(TIME); in testPowerManager()
53 assertTrue(wl.isHeld()); in testPowerManager()
55 assertFalse(wl.isHeld()); in testPowerManager()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsWakeLockTests.java34 PowerManager.WakeLock wl = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in testHoldShortWakeLock() local
36 wl.acquire(); in testHoldShortWakeLock()
38 wl.release(); in testHoldShortWakeLock()
43 PowerManager.WakeLock wl = mPowerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in testHoldLongWakeLock() local
45 wl.acquire(); in testHoldLongWakeLock()
47 wl.release(); in testHoldLongWakeLock()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
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.java276 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK | in testScreenBrightness() local
278 wl.acquire(); in testScreenBrightness()
289 wl.release(); in testScreenBrightness()
354 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in testWakelockState() local
356 wl.acquire(); in testWakelockState()
358 wl.release(); in testWakelockState()
/cts/hostsidetests/incident/src/com/android/server/cts/
DPowerIncidentTest.java112 for (WakeLockProto wl : dump.getWakeLocksList()) { in verifyPowerManagerServiceDumpProto()
113 assertTrue(0 <= wl.getAcqMs()); in verifyPowerManagerServiceDumpProto()
114 assertTrue(0 <= wl.getUid()); in verifyPowerManagerServiceDumpProto()
115 assertTrue(0 <= wl.getPid()); in verifyPowerManagerServiceDumpProto()
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DValidationTests.java129 android.os.TimerProto wl = in testPartialWakelock() local
132 assertNotNull(wl); in testPartialWakelock()
133 assertTrue(wl.getDurationMs() > 0); in testPartialWakelock()
134 assertTrue(wl.getMaxDurationMs() >= 400); in testPartialWakelock()
135 assertTrue(wl.getMaxDurationMs() < 700); in testPartialWakelock()
136 assertTrue(wl.getTotalDurationMs() >= 400); in testPartialWakelock()
137 assertTrue(wl.getTotalDurationMs() < 700); in testPartialWakelock()
357 for (Wakelock wl : uidProto.getWakelocksList()) { in getBatteryStatsPartialWakelock()
358 if (tag.equals(wl.getName())) { in getBatteryStatsPartialWakelock()
359 if (wl.hasPartial()) { in getBatteryStatsPartialWakelock()
[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.java170 PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, in activitySetUp() local
173 wl.acquire(); in activitySetUp()
175 wl.release(); in activitySetUp()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java323 … PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "CameraGLTest"); in runForAllCameras() local
324 wl.acquire(); in runForAllCameras()
333 wl.release(); in runForAllCameras()
/cts/tests/tests/media/assets/hls_variant/165340/
D16.ts43 …���������������������������������������GA����S��!����� ���A�@?���wl���pn��87D������a�…
D09.ts35 � G�7X�����<"PԦ�.R0c�Jyx�!�qs��O�7�<�(*�u�=wl���&���8\���`��q�ȿ,$����C��n�WbXx�D|]���p��…
D02.ts49 …��`�q6���-�KV��S�i�\;������f�b�F�GA����@��!�7���� ���A�@?���wl�€pn��87D����Xe�…
97 …��,͍@o�����?��RV-]�K��N7}?�'�!eΔ��]K�;� r0S.���������o��M����' œ0�wl)�����ъY��~���� �j(…
D11.ts468 T����@QM��< ���V�Q_7�"��u��[��i�wl�4o��G�;�����������������������������������������������������…
D18.ts32 …����������������������������������������GA����S��!���� ���A�@?���wl���pn��87D������a�…
D10.ts44 …���������������������������������������GA����E��!���� ���A�@?���wl�€pn��87D��������i�…
D14.ts39 …���������������������������������������GA�������!������ ���A�@?���wl�€pn��87D��������i�…
D15.ts299 …��Ϗ�4�& � :�<ɦ�+A����+�.��TJ���Ea��� ̀�&"�� �Ae�y���G�C�����*�*ó�wl|^o� B��ˠ����È��.…
D06.ts42 …�������� #D4������<Z�M�B�i�~� X(р��GA�������!��Á��� ���A�@?���wl�€pn��87D��������i�…
D04.ts48 ��!�oLA��� ���A�@?���wl�€pn��87D��������i�40(���2��\?C)�<����Q�_,4����|\�d8�~�x�\|�5���…
/cts/tests/tests/media/assets/hls_variant/387360/
D21.ts164 …�ZX�?�g@Ȭ�RK��m�a/C�G��b38eN��e�)̢|���!�<#װC�S{:�Q���}�A���BK� ��鵨n\x�}����h����M�wl����
222 \X͸}ƚHc�I��%DZ�����{k����?�L����=f�گG��`�Nݜ�%�i�i]�E�&{�(��R�/�&��[�e�/&a^w��7 �wl��)…
236wl*5�i�o�g[�|˭�~�)ʻҥ����|�;ٲ:�ّ5��8�#=$���9 4!b��ݤ��$��]nH~>*:G�2��������������������������…
D06.ts936 …�)�q�;�&��w�`p.2����Dv�K�Di��L&��H�Z��"ؒj"q� Y��Nm�FX;�1�lk��o��?�;��wl�v�Z�4�/��l��<p}�…
D09.ts439 …�M���yݐ� ��3��2b��G��)�U�&��%�·���ds�Ma��U��]±�[�� t�V�.�P���)�a��O�9U�wl��B+��EȔ�ҩ��
/cts/tests/tests/media/assets/hls_variant/765178/
D10.ts294 �p�Y���<�o>�ʅ�ŃwYA���X����Yawl����ͬ>s�U$����x��5�eu�Ie��S ��Áq�y�<�"���z�2�L��d��� H…
399 fM�X*0� ;���4�x�X�<+Ҥ��d�,�G�J'�x��a��U�;���sڏ��t� T�ց���O׆ۖ���a����s7��wl��QKs}E�a!S��l…

1234