Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 35) sorted by relevance

12

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DParamsTest.java54 SyncParams q = p.allowDefaults(); in testSyncParamsDefaults() local
55 assertSame(p, q); in testSyncParamsDefaults()
70 SyncParams q = p.setAudioAdjustMode(i); // verify both initial set and update
71 assertSame(p, q);
86 SyncParams q = p.setSyncSource(i); // verify both initial set and update
87 assertSame(p, q);
102 SyncParams q = p.setTolerance(f); // verify both initial set and update
103 assertSame(p, q);
139 SyncParams q = p.setFrameRate(f);
140 assertSame(p, q);
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java1311 private static double [] quat2rpy( double [] q) { in quat2rpy() argument
1312 double [] rpy = {Math.atan2(2*(q[0]*q[1]+q[2]*q[3]), 1-2*(q[1]*q[1]+q[2]*q[2])), in quat2rpy()
1313 Math.asin(2*(q[0]*q[2] - q[3]*q[1])), in quat2rpy()
1314 Math.atan2(2*(q[0]*q[3]+q[1]*q[2]), 1-2*(q[2]*q[2]+q[3]*q[3]))}; in quat2rpy()
1318 private static void quat2rpy( double [] q, double[] rpy) { in quat2rpy() argument
1319 rpy[0] = Math.atan2(2*(q[0]*q[1]+q[2]*q[3]), 1-2*(q[1]*q[1]+q[2]*q[2])); in quat2rpy()
1320 rpy[1] = Math.asin(2*(q[0]*q[2] - q[3]*q[1])); in quat2rpy()
1321 rpy[2] = Math.atan2(2*(q[0]*q[3]+q[1]*q[2]), 1-2*(q[2]*q[2]+q[3]*q[3])); in quat2rpy()
1325 double [] q = new double[4]; in quat2rpy() local
1326 quat.get(0,0,q); in quat2rpy()
[all …]
/cts/hostsidetests/shortcuts/deviceside/multiuser/src/android/content/pm/cts/shortcut/multiuser/
DShortcutManagerManagedUserTest.java39 final ShortcutQuery q = new ShortcutQuery(); in test01_managedProfileNotStarted() local
42 getLauncherApps().getShortcuts(q, userManaged); in test01_managedProfileNotStarted()
71 final ShortcutQuery q = new ShortcutQuery() in test04_getAndLaunch_primary() local
75 assertWith(getLauncherApps().getShortcuts(q, userCurrent)) in test04_getAndLaunch_primary()
82 assertWith(getLauncherApps().getShortcuts(q, userOther)) in test04_getAndLaunch_primary()
106 final ShortcutQuery q = new ShortcutQuery() in test05_getAndLaunch_managed() local
111 assertWith(getLauncherApps().getShortcuts(q, userCurrent)) in test05_getAndLaunch_managed()
121 assertWith(getLauncherApps().getShortcuts(q, userOther)).isEmpty(); in test05_getAndLaunch_managed()
DShortcutManagerSecondaryUserTest.java48 final ShortcutQuery q = new ShortcutQuery() in testCreateAndStart() local
52 final List<ShortcutInfo> list = getLauncherApps().getShortcuts(q, user); in testCreateAndStart()
80 final ShortcutQuery q = new ShortcutQuery(); in testDifferentUserNotAccessible() local
83 getLauncherApps().getShortcuts(q, user0); in testDifferentUserNotAccessible()
/cts/tests/tests/text/src/android/text/style/cts/
DQuoteSpanTest.java136 QuoteSpan q = new QuoteSpan(p); in testWriteToParcel() local
137 assertEquals(Color.RED, q.getColor()); in testWriteToParcel()
138 assertTrue(q.getGapWidth() > 0); in testWriteToParcel()
139 assertTrue(q.getStripeWidth() > 0); in testWriteToParcel()
148 QuoteSpan q = new QuoteSpan(p); in testWriteToParcel() local
149 assertEquals(Color.MAGENTA, q.getColor()); in testWriteToParcel()
150 assertTrue(q.getGapWidth() > 0); in testWriteToParcel()
151 assertTrue(q.getStripeWidth() > 0); in testWriteToParcel()
/cts/tests/tests/security/res/raw/
Ddrm_uaf.dm10 ���%*�CNm.�!{�m�<��@�x�ᅊ�� �e��f�&�Q��Ol�~�<�#)��h~� Z��:�#�+�isL��9��,P<��܍^��+�[q̋��%9�2+…
11 …����<�%�^�,?�*Ȣ���'�0%��~��)���Y�<�>�.�_�_ Y]���f���8p�]�h�P<�"��\��[� �4��T���/�:f�!@�|�<q
12 !��(����F ��h���ꥆ��@.�<��l��6��h�k�υ��fx���H ����<��9�_/*_�?����bQ�ձ�~��oI�a��f�<�y�\�a���Z…
13 &�&���y�P��߂r�<�#$�
14 U޴�Z>�9]��թV�r*Q1q�l�<q���:�
20 �<���W]fi��2��\C�`��E`<������� r���W����ܘ�7P<R�$��q�y �`��0�D�/}ɏR&���P<���P���…
23q�z����%7 �8���<�%�~~<�^�Kv��v_ա�8:��v�|p<����y?-��f�C�r�ٗo)[� R�R�� <����Nn�i�J�w�-!TB…
30 …����:?����RFul��`37������<�3���~��>�H���"�3N@@�c�/ ��<}!/�5,�D�0�A�1��k���S�k�~5`<�-5�q.
35 …e��sp��W�����`<�q!��y��)G�0ܦ~�[̑�>��h��Hp<�$����,�>Mf�ε��zm *a��|<�(��#���>�‹篊�M��…
39 q�<>�*��޸tǶ"G����b�^���<� Z���,~�&�i�6�)l���G�12�`<� m�
[all …]
Dcve_2019_2245.ts39 � be+��Y�+@��� ��6�L�H������SytI�E}��)�%�m�K�F�ib�e�"���J1T� �H-dk�*q*��
81 …���Kڲk�CB(IwD� �"�WD���ٶ�����ڔ��|��G��e+�VԖ]�%�c �}���Щ�m �Й^t4&�P):��q�jd��2��jZ���F��JM!T�…
125 �g릋B��{�$.n뤛�6٭��k&��q��F�D�b�4t����-t4"�Ue�Q���r��a��r�U�g�̥��WB-�势���ʪG�1%�œ>UQB�M&���…
136 4^�6[�t�B].�I���WfXkb[ P(�q��= �c�u?3P
190 +��n���3q�n�l�@ӮS]("&�� �x��Q,۶��s��葉Uɒj@�S���~tuК���G�&�� fK���o��R�\>����
191 …�1�Z|^tz-u�áG�1�q����9���]4�k�k�JOD�I�8t�>�ƣ���I��Lm ��5���TIe�еS��̨�bmH�ʚk���+��dSj…
244 …������������������������������������ j��MCCډ.A K]�}��Ж���6�e]Hɝ����}�$�tfz�5 w�&p/(]�^�q\��
271 …�P���/ouDPc>���S���3T �x�]��g�� �[t���DT( \v���ۢ2Vu��"���D���zօ�`��q��˴l%v��w����_��…
288 …>V�TK�����l�6��G�1Y2R��>���K���S�ڶL9&]���AHI��j$l����-ΐ�*\l�u��z�M,q-�K��A*���uJ��'2b��2…
342 �3dGQ"�9���@���E�aH]>v�!�.D�!<� ����D�(!q�F.���ݮ�Gn>����*��S|6G�1��I�㮈�f$o��O�@;�ƒ �)�S�…
[all …]
Dcve_2018_13925.ts40 � be+��Y�+@��� ��6�L�H������SytI�E}��)�%�m�K�F�ib�e�"���J1T� �H-dk�*q*��
82 …���Kڲk�CB(IwD� �"�WD���ٶ�����ڔ��|��G��e+�VԖ]�%�c �}���Щ�m �Й^t4&�P):��q�jd��2��jZ���F��JM!T�…
126 �g릋B��{�$.n뤛�6٭��k&��q��F�D�b�4t����-t4"�Ue�Q���r��a��r�U�g�̥��WB-�势���ʪG�1%�œ>UQB�M&���…
137 4^�6[�t�B].�I���WfXkb[ P(�q��= �c�u?3P
191 +��n���3q�n�l�@ӮS]("&�� �x��Q,۶��s��葉Uɒj@�S���~tuК���G�&�� fK���o��R�\>����
192 …�1�Z|^tz-u�áG�1�q����9���]4�k�k�JOD�I�8t�>�ƣ���I��Lm ��5���TIe�еS��̨�bmH�ʚk���+��dSj…
245 …������������������������������������ j��MCCډ.A K]�}��Ж���6�e]Hɝ����}�$�tfz�5 w�&p/(]�^�q\��
272 …�P���/ouDPc>���S���3T �x�]��g�� �[t���DT( \v���ۢ2Vu��"���D���zօ�`��q��˴l%v��w����_��…
289 …>V�TK�����l�6��G�1Y2R��>���K���S�ڶL9&]���AHI��j$l����-ΐ�*\l�u��z�M,q-�K��A*���uJ��'2b��2…
343 �3dGQ"�9���@���E�aH]>v�!�.D�!<� ����D�(!q�F.���ݮ�Gn>����*��S|6G�1��I�㮈�f$o��O�@;�ƒ �)�S�…
[all …]
Dcve_2019_2244.ts39 � be+��Y�+@��� ��6�L�H������SytI�E}��)�%�m�K�F�ib�e�"���J1T� �H-dk�*q*��
81 …���Kڲk�CB(IwD� �"�WD���ٶ�����ڔ��|��G��e+�VԖ]�%�c �}���Щ�m �Й^t4&�P):��q�jd��2��jZ���F��JM!T�…
125 �g릋B��{�$.n뤛�6٭��k&��q��F�D�b�4t����-t4"�Ue�Q���r��a��r�U�g�̥��WB-�势���ʪG�1%�œ>UQB�M&���…
136 4^�6[�t�B].�I���WfXkb[ P(�q��= �c�u?3P
190 +��n���3q�n�l�@ӮS]("&�� �x��Q,۶��s��葉Uɒj@�S���~tuК���G�&�� fK���o��R�\>����
191 …�1�Z|^tz-u�áG�1�q����9���]4�k�k�JOD�I�8t�>�ƣ���I��Lm ��5���TIe�еS��̨�bmH�ʚk���+��dSj…
244 …������������������������������������ j��MCCډ.A K]�}��Ж���6�e]Hɝ����}�$�tfz�5 w�&p/(]�^�q\��
271 …�P���/ouDPc>���S���3T �x�]��g�� �[t���DT( \v���ۢ2Vu��"���D���zօ�`��q��˴l%v��w����_��…
288 …>V�TK�����l�6��G�1Y2R��>���K���S�ڶL9&]���AHI��j$l����-ΐ�*\l�u��z�M,q-�K��A*���uJ��'2b��2…
342 �3dGQ"�9���@���E�aH]>v�!�.D�!<� ����D�(!q�F.���ݮ�Gn>����*��S|6G�1��I�㮈�f$o��O�@;�ƒ �)�S�…
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsRoleManagerAdapter.java109 LinkedBlockingQueue<String> q = new LinkedBlockingQueue<>(1); in addRoleHolder() local
115 q.add(roleName + packageName); in addRoleHolder()
121 String res = q.poll(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in addRoleHolder()
129 LinkedBlockingQueue<String> q = new LinkedBlockingQueue<>(1); in removeRoleHolderInternal() local
134 q.add(roleName + packageName); in removeRoleHolderInternal()
140 String res = q.poll(WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, TimeUnit.MILLISECONDS); in removeRoleHolderInternal()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java513 ArrayBlockingQueue<MockVrListenerService.Event> q = in test() local
515 MockVrListenerService.Event e = q.poll(POLL_DELAY_MS, TimeUnit.MILLISECONDS); in test()
524 e = q.poll(POLL_DELAY_MS, TimeUnit.MILLISECONDS); in test()
533 e = q.poll(POLL_DELAY_MS, TimeUnit.MILLISECONDS); in test()
544 e = q.poll(POLL_DELAY_MS, TimeUnit.MILLISECONDS); in test()
552 e = q.poll(POLL_DELAY_MS, TimeUnit.MILLISECONDS); in test()
560 e = q.poll(POLL_DELAY_MS, TimeUnit.MILLISECONDS); in test()
585 ArrayBlockingQueue<MockVrListenerService.Event> q = in test() local
587 MockVrListenerService.Event e = q.poll(POLL_DELAY_MS, TimeUnit.MILLISECONDS); in test()
595 e = q.poll(POLL_DELAY_MS, TimeUnit.MILLISECONDS); in test()
[all …]
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/
DShortcutManagerDeviceTestBase.java95 final ShortcutQuery q = new ShortcutQuery() in getIconAsLauncher() local
102 final List<ShortcutInfo> found = getLauncherApps().getShortcuts(q, getUserHandle()); in getIconAsLauncher()
125 final ShortcutQuery q = new ShortcutQuery() in getPackageShortcuts() local
130 return getLauncherApps().getShortcuts(q, getUserHandle()); in getPackageShortcuts()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dcamera_response_fast.rsh17 // f(q) = ((e^b + 1) * q^a / (e^b * q^a + 1))^c
18 // f^-1(q) = (x^(1/c) / (e^b - e^b * x^(1/c) + 1))^(1/a)
Dcamera_response.rsh17 // f(q) = ((e^b + 1) * q^a / (e^b * q^a + 1))^c
18 // f^-1(q) = (x^(1/c) / (e^b - e^b * x^(1/c) + 1))^(1/a)
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DAssistScreenCaptureDisabledTest.java69 final LinkedBlockingQueue<Boolean> q = new LinkedBlockingQueue<>(); in assertScreenCapturePossible() local
73 q.offer(getResultCode() == Activity.RESULT_OK); in assertScreenCapturePossible()
76 Boolean result = q.poll(WAIT_IN_SECOND, TimeUnit.SECONDS); in assertScreenCapturePossible()
/cts/hostsidetests/theme/
Dgenerate_images.py65 def __init__(self, tasks, setup, q): argument
67 self._q = q
97 def execute_parallel(tasks, setup, q, num_threads): argument
101 t = ParallelExecutor(tasks, setup, q)
/cts/tests/sensor/src/android/hardware/cts/
DSensorManagerStaticTest.java54 float r, q; in testGetAltitude() local
78 for (q = 1.1f * r; q > 0.5f * r; q -= 0.1f * r) { in testGetAltitude()
80 float p = q * SensorManager.PRESSURE_STANDARD_ATMOSPHERE; in testGetAltitude()
208 float [] q = new float[4]; in testGetQuaternionFromVector() local
245 SensorManager.getQuaternionFromVector(q, v); in testGetQuaternionFromVector()
249 i, q2[0], q2[1], q2[2], q2[3], q[0], q[1], q[2], q[3]), in testGetQuaternionFromVector()
250 q, q2, 1e-4f); in testGetQuaternionFromVector()
354 float [] q = new float[4]; in testGetRotationMatrixFromVector() local
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerCtsTestsBase.java560 final ShortcutQuery q = new ShortcutQuery() in getIconAsLauncher()
567 final List<ShortcutInfo> found = getLauncherApps().getShortcuts(q, getUserHandle()); in getIconAsLauncher()
630 final ShortcutQuery q = new ShortcutQuery(); in getShortcutsAsLauncher() local
631 q.setQueryFlags(flags); in getShortcutsAsLauncher()
633 q.setPackage(packageName); in getShortcutsAsLauncher()
635 q.setActivity(new ComponentName(packageName, in getShortcutsAsLauncher()
639 q.setChangedSince(changedSince); in getShortcutsAsLauncher()
641 q.setShortcutIds(ids); in getShortcutsAsLauncher()
644 q.setLocusIds(locusIds); in getShortcutsAsLauncher()
646 return getLauncherApps().getShortcuts(q, getUserHandle()); in getShortcutsAsLauncher()
DShortcutManagerSpoofDetectionTest.java95 ShortcutQuery q = new ShortcutQuery(); in testLauncherSpoofing()
96 getLauncherApps().getShortcuts(q, getUserHandle()); in testLauncherSpoofing()
/cts/hostsidetests/securitybulletin/res/
Dcve_2017_0859.mp42 $��3�̣�Ѫ@���� �01������ ���!���$@D ���a9�ۂ��$�P @q��'Pp0�UdT��WʜR$������W�e�`�z0�� ��C…
/cts/tests/tests/graphics/src/android/graphics/cts/utils/
DCam.java112 Cam(float hue, float chroma, float j, float q, float m, float s, float jstar, float astar, in Cam() argument
117 mQ = q; in Cam()
193 float q = in fromIntInFrame() local
219 return new Cam(hue, c, j, q, m, s, jstar, astar, bstar); in fromIntInFrame()
235 float q = in fromJchInFrame() local
250 return new Cam(h, c, j, q, m, s, jstar, astar, bstar); in fromJchInFrame()
/cts/tests/media/common/src/android/mediav2/common/cts/
DVideoErrorManager.java101 for (int q = 0; q < bSize; q++) { in computeFrameVariance()
104 sample = ((byte[]) luma)[offset + p * width + q]; in computeFrameVariance()
106 sample = ((short[]) luma)[offset + p * width + q]; in computeFrameVariance()
/cts/hostsidetests/appsecurity/certs/keysets/
Dcts-keyset-test-b.x509.pem13 lRz5yaYpswtWDVPWKnJ5btyXsLIQtWeFkxGxRXSrsFLvCMq7CxjO9VF1l+q+6UmK
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DSetQueryHelper.java155 for (Query q : mContainsByQuery) { in isEmptyQuery()
156 if (!Queryable.isEmptyQuery(q)) { in isEmptyQuery()
161 for (Query q : mDoesNotContainByQuery) { in isEmptyQuery()
162 if (!Queryable.isEmptyQuery(q)) { in isEmptyQuery()
DListQueryHelper.java143 for (Query q : mContainsByQuery) { in isEmptyQuery()
144 if (!Queryable.isEmptyQuery(q)) { in isEmptyQuery()
149 for (Query q : mDoesNotContainByQuery) { in isEmptyQuery()
150 if (!Queryable.isEmptyQuery(q)) { in isEmptyQuery()

12