Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 100) sorted by relevance

1234

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DGetElementAt.java85 for (int k = 0; k < INPUTSIZE; ++k) { in testX()
86 assertEquals("idx = " + k, in[k], out[k]); in testX()
106 for (int k = 0; k < INPUTSIZE*INPUTSIZE; ++k) { in testXY()
107 assertEquals("idx = " + k, in[k], out[k]); in testXY()
/cts/tests/app/src/android/app/cts/
DExpandableListActivitySelectTest.java74 for (int k = 0; k < NUMBER_OF_CHILDREN; k++) { in testSelect()
75 mActivity.setSelectedChild(i, k, false); in testSelect()
76 assertThat(ExpandableListView.getPackedPositionForChild(i, k)).isEqualTo( in testSelect()
79 for (int k = 0; k < NUMBER_OF_CHILDREN; k++) { in testSelect()
80 mActivity.setSelectedChild(i, k, true); in testSelect()
81 assertThat(ExpandableListView.getPackedPositionForChild(i, k)).isEqualTo( in testSelect()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellBroadcastIdRangeTest.java64 for (int k = 0; k < ENABLED_VALUES.length; k++) { in testCreateCellBroadcastIdRange()
66 CHANNEL_VALUES[i][1], TYPE_VALUES[j], ENABLED_VALUES[k]); in testCreateCellBroadcastIdRange()
70 assertEquals(range.isEnabled(), ENABLED_VALUES[k]); in testCreateCellBroadcastIdRange()
112 for (int k = 0; k < ENABLED_VALUES.length; k++) { in testDescribeContents()
114 CHANNEL_VALUES[i][1], TYPE_VALUES[j], ENABLED_VALUES[k]); in testDescribeContents()
129 for (int k = 0; k < ENABLED_VALUES.length; k++) { in testParcelUnparcel()
131 CHANNEL_VALUES[i][1], TYPE_VALUES[j], ENABLED_VALUES[k]); in testParcelUnparcel()
DVopsSupportInfoTest.java91 for (int k = 0; k < NR_EMF_VALUE.length; k++) { in testNrVopsSupportInfoApi()
93 NR_EMC_VALUE[j], NR_EMF_VALUE[k]); in testNrVopsSupportInfoApi()
97 assertEquals(NR_EMF_VALUE[k], ((NrVopsSupportInfo) vops).getEmfSupport()); in testNrVopsSupportInfoApi()
102 assertEquals(isEmfSupportedByNrVopsInfo(NR_EMF_VALUE[k]), in testNrVopsSupportInfoApi()
/cts/tests/simplecpu/jni/
DCpuNativeJni.cpp218 for (int k = 0; k < M; k++) { in doMatrixMultiplication() local
219 sum[k] = 0; in doMatrixMultiplication()
224 for (int k = 0; k < n; k++) { in doMatrixMultiplication() local
225 float a = A[i * n + k]; in doMatrixMultiplication()
226 sum[0] += a * B[k * n + j]; in doMatrixMultiplication()
227 sum[1] += a * B[k * n + j + 1]; in doMatrixMultiplication()
228 sum[2] += a * B[k * n + j + 2]; in doMatrixMultiplication()
229 sum[3] += a * B[k * n + j + 3]; in doMatrixMultiplication()
230 sum[4] += a * B[k * n + j + 4]; in doMatrixMultiplication()
231 sum[5] += a * B[k * n + j + 5]; in doMatrixMultiplication()
[all …]
/cts/apps/CameraITS/tests/scene3/
Dtest_lens_movement_reporting.py141 for k in sorted(frame_data):
145 frame_data[k]['frame_num'], frame_data[k]['fd'],
146 frame_data[k]['loc'], frame_data[k]['sharpness'],
147 frame_data[k]['lens_moving'], frame_data[k]['timestamp'],
148 np.around(frame_data[k]['lens_intrinsic_calibration'], 2))
159 for k in sorted(frame_data_non_moving):
160 if frame_data_non_moving[k]['lens_moving']:
161 del frame_data_non_moving[k]
166 for k in sorted(frame_data_non_moving):
167 if frame_data_non_moving[k]['fd'] == props[
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DNormalizeScreenStateRule.java101 k -> initialValues.put(k, getSecureSetting(k))); in apply()
103 Arrays.stream(DOZE_SETTINGS).forEach(k -> putSecureSetting(k, "0")); in apply()
107 k -> putSecureSetting(k, initialValues.get(k))); in apply()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DBNNMTest.java129 private byte[] runBNNM(int m, int n, int k, byte[] a_byte, int a_offset, byte[] b_byte, in runBNNM() argument
133 Type a_type = builder.setX(k).setY(m).create(); in runBNNM()
134 Type b_type = builder.setX(k).setY(n).create(); in runBNNM()
206 final int k = a_rows; in testSmallMatrices() local
208 byte[] c_byte_output = runBNNM(m, n, k, a_data, a_offset, b_data, b_offset, in testSmallMatrices()
251 final int k = a_rows; in testMediumMatrices1() local
253 byte[] c_byte_output = runBNNM(m, n, k, a_data, a_offset, b_data, b_offset, in testMediumMatrices1()
303 final int k = a_rows; in testMediumMatrices2() local
305 byte[] c_byte_output = runBNNM(m, n, k, a_data, a_offset, b_data, b_offset, in testMediumMatrices2()
319 int k = 1152; in testRealData() local
[all …]
/cts/tools/utils/
Dmonsoon.py164 for k in status.keys():
165 if k.endswith("VoltageSetting"):
166 status[k] = 2.0 + status[k] * 0.01
167 elif k.endswith("FineCurrent"):
169 elif k.endswith("CoarseCurrent"):
171 elif k.startswith("voltage") or k.endswith("Voltage"):
172 status[k] = status[k] * 0.000125
173 elif k.endswith("Resistor"):
174 status[k] = 0.05 + status[k] * 0.0001
175 if k.startswith("aux") or k.startswith("defAux"): status[k] += 0.05
[all …]
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py270 for k in status.keys():
271 if k.endswith("VoltageSetting"):
272 status[k] = 2.0 + status[k] * 0.01
273 elif k.endswith("FineCurrent"):
275 elif k.endswith("CoarseCurrent"):
277 elif k.startswith("voltage") or k.endswith("Voltage"):
278 status[k] = status[k] * 0.000125
279 elif k.endswith("Resistor"):
280 status[k] = 0.05 + status[k] * 0.0001
281 if k.startswith("aux") or k.startswith("defAux"): status[k] += 0.05
[all …]
/cts/apps/CameraITS/utils/
Dimage_fov_utils.py221 k = camera_properties_utils.get_intrinsic_calibration(
225 isinstance(k, np.ndarray)):
229 k, opencv_dist, (img.shape[1], img.shape[0]), 0)[0]
230 scale = max(k_new[0][0] / k[0][0], k_new[1][1] / k[1][1])
232 k_new[0][0] = k[0][0] * scale
233 k_new[1][1] = k[1][1] * scale
234 img = cv2.undistort(img, k, opencv_dist, None, k_new)
236 img = cv2.undistort(img, k, opencv_dist)
/cts/tests/tests/rsblas/assets/
Dblas_gen.py254 def writeFloatSymmBandedMatrix(a, k, name, fo): argument
256 b = sMatGen(n, k+1, 1);
259 for j in range(i, min(i+k+1, n)):
264 for j in range(i, min(i+k+1, n)):
268 def writeDoubleSymmBandedMatrix(a, k, name, fo): argument
270 b = dMatGen(n, k+1, 1);
273 for j in range(i, min(i+k+1, n)):
278 for j in range(i, min(i+k+1, n)):
282 def writeFloatComplexSymmBandedMatrix(a, k, name, fo): argument
284 b = cMatGen(n, k+1, 1);
[all …]
/cts/apps/CameraITS/tests/scene4/
Dtest_multi_camera_alignment.py254 def convert_to_world_coordinates(x, y, r, t, k, z_w): argument
278 k_x1 = np.dot(k[0, :], r[:, 0])
279 k_x2 = np.dot(k[0, :], r[:, 1])
280 k_x3 = z_w * np.dot(k[0, :], r[:, 2]) + np.dot(k[0, :], t)
281 k_y1 = np.dot(k[1, :], r[:, 0])
282 k_y2 = np.dot(k[1, :], r[:, 1])
283 k_y3 = z_w * np.dot(k[1, :], r[:, 2]) + np.dot(k[1, :], t)
291 def convert_to_image_coordinates(p_w, r, t, k): argument
293 p_h = np.dot(k, p_c)
315 i_refs = [k for (k, v) in cam_reference.items() if v]
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java213 for (int k = 0; k < COLOR_CONFIGS.length; ++k) { in testDecodeRegionInputStream()
215 opts.inPreferredConfig = COLOR_CONFIGS[k]; in testDecodeRegionInputStream()
222 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStream()
240 for (int k = 0; k < COLOR_CONFIGS.length; ++k) { in testDecodeRegionInputStreamInBitmap()
242 opts.inPreferredConfig = COLOR_CONFIGS[k]; in testDecodeRegionInputStreamInBitmap()
254 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionInputStreamInBitmap()
272 for (int k = 0; k < COLOR_CONFIGS.length; ++k) { in testDecodeRegionByteArray()
274 opts.inPreferredConfig = COLOR_CONFIGS[k]; in testDecodeRegionByteArray()
282 if (RES_IDS[i] == R.drawable.webp_test && COLOR_CONFIGS[k] == Config.RGB_565) { in testDecodeRegionByteArray()
301 for (int k = 0; k < COLOR_CONFIGS.length; ++k) { in testDecodeRegionStringAndFileDescriptor()
[all …]
/cts/tests/tests/rsblas/libbnnmdata/
Dtest_data.cpp24 const int k = 1152; variable
30 const int a_count = (m * k);
31 const int b_count = (n * k);
/cts/tests/tests/graphics/src/android/graphics/cts/utils/
DFrame.java160 float k = 1.0f / (5.0f * adaptingLuminance + 1.0f); in make() local
161 float k4 = k * k * k * k; in make()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/
DT_invoke_direct_range_21.java25 int k = 777; in test() local
32 int k = 333; in run() local
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/
DT_invoke_direct_21.java25 int k = 777; in test() local
32 int k = 333; in run() local
/cts/tests/tests/security/res/raw/
Ddrm_uaf.dm12 !��(����F ��h���ꥆ��@.�<��l��6��h�k�υ��fx���H ����<��9�_/*_�?����bQ�ձ�~��oI�a��f�<�y�\�a���Z…
25 �4��-?�k��w�K�4��+��b�%���<@<�%�Հ��,�Ʊ����)���)�<_��<����v ~�<�r#O�d�!����6z�<�,����…
30 �g)�)��<����:?����RFul��`37������<�3���~��>�H���"�3N@@�c�/ ��<}!/�5,�D�0�A�1��k���S�k�~5…
35 … @,8?��t[<���S#�̊>����<� �^~��+����ǁ����'`��!��[�@<�/:>�?���B���k=Ro����F��a��<�g�*…
40 U ��fj�w��$#��1�f�o*i<��Z�O^y�$k'�Z:�s���I��F�P<�# �i�jP��ʸ�ٖgZ�bvȿ��<� l��Z?h��…
42 …�+�P�A'�� �0�խO��FsB@<����x�K���4���֩��l&�t�aF��<{,�1L]8�+�`S ���m|��k����#� <�����{!…
44 …p<�����4�[��|��H��4�?s�]�9�n�<�)�*��ח��C�ȫ'<�|~�� 0�<�����-�Ć�$kȱ������<{�!��� �Ӂ…
46 …@<���5[:<oW�UU��Y��=���G{�T\��<Y%��"�[�dTUS����˳�>����vd�<Fd��!>=�+k��PfE�)���Sr���0`�<S…
54 I <�,���L��Ғ����39k)_�f����.�GP<���x�-���^J"�J�Z�A'�{!ʒ��<{�z��"���w'�oHP�Ϙ~���|�`�@<����…
56 �����J��������@�p�Yh��@<�3N��4_h��v8<�&B�� i֟|�)�<����h�4/��y���t�k��C�<�,����…
[all …]
Dcve_2019_2245.ts1 G�1����&l0���} 6"}�7��Two\|�wF�/ل߆��Wt�La��E5Q��uQ.b(�Q"����f��������h��KJ�Bb4Os�wJ�.2�k�-ޫ^�…
17 …�lG�1S�΢`בG��o% �+�V���� S�e8��&h6��._����Q.�բ������t�rf�기�l���P��S��Mk�S#PD�-&�5�m��6�R…
83 …��0�0���}?>-�n��X�>�j�����Ӷ�t%�'ɹTIe�ćG˕C]�tMs]vu]C&s�U�TKQ�k� 5;Б�˖�_���&���E8��…
125 �g릋B��{�$.n뤛�6٭��k&��q��F�D�b�4t����-t4"�Ue�Q���r��a��r�U�g�̥��WB-�势���ʪG�1%�œ>UQB�M&���…
128 …PeoB[�:t�v6�蚋4����wD�Y��G�1ʒJsk��I��tKE �iR��s�p�e�/j P���V�6s�}C^ڍ�����UD�vz>k�f����k
141 …�D)sNuoCFEq{>���5�I|��$����ю:I�M�J�h�%{�N�e�*�K�B["�̫�2�r����,�����dm�k�Q�>{m �bP����l��…
170 ��"GH�0k�5�� �Z�
171 …D�[J��� ����̰���G�1U�.NV������\�l�K �b���t;"n���L��V�4�������ߢJ$ ��2K�k~��x�>�h �z3GFК̼����J…
172 …�`B���E��A�.��z4;�+���Zh !�V1����g�2X�'P���#f�1�%3e���(�oD�#�=�% k����6�II�� .��6�:h�…
178 …{h�IC�s��4�6 ���x����m����q}�|?�x����j��Qi��턇�D{�LA�ԏ��`( B��k`c��!<�g�^��0"�`�b…
[all …]
Dcve_2018_13925.ts1 G�1����&l0���} 6"}�7��Two\|�wF�/ل߆��Wt�La��E5Q��uQ.b(�Q"����f��������h��KJ�Bb4Os�wJ�.2�k�-ޫ^�…
18 …�lG�1S�΢`בG��o% �+�V���� S�e8��&h6��._����Q.�բ������t�rf�기�l���P��S��Mk�S#PD�-&�5�m��6�R…
84 …��0�0���}?>-�n��X�>�j�����Ӷ�t%�'ɹTIe�ćG˕C]�tMs]vu]C&s�U�TKQ�k� 5;Б�˖�_���&���E8��…
126 �g릋B��{�$.n뤛�6٭��k&��q��F�D�b�4t����-t4"�Ue�Q���r��a��r�U�g�̥��WB-�势���ʪG�1%�œ>UQB�M&���…
129 …PeoB[�:t�v6�蚋4����wD�Y��G�1ʒJsk��I��tKE �iR��s�p�e�/j P���V�6s�}C^ڍ�����UD�vz>k�f����k
142 …�D)sNuoCFEq{>���5�I|��$����ю:I�M�J�h�%{�N�e�*�K�B["�̫�2�r����,�����dm�k�Q�>{m �bP����l��…
171 ��"GH�0k�5�� �Z�
172 …D�[J��� ����̰���G�1U�.NV������\�l�K �b���t;"n���L��V�4�������ߢJ$ ��2K�k~��x�>�h �z3GFК̼����J…
173 …�`B���E��A�.��z4;�+���Zh !�V1����g�2X�'P���#f�1�%3e���(�oD�#�=�% k����6�II�� .��6�:h�…
179 …{h�IC�s��4�6 ���x����m����q}�|?�x����j��Qi��턇�D{�LA�ԏ��`( B��k`c��!<�g�^��0"�`�b…
[all …]
Dcve_2019_2244.ts1 G�1����&l0���} 6"}�7��Two\|�wF�/ل߆��Wt�La��E5Q��uQ.b(�Q"����f��������h��KJ�Bb4Os�wJ�.2�k�-ޫ^�…
17 …�lG�1S�΢`בG��o% �+�V���� S�e8��&h6��._����Q.�բ������t�rf�기�l���P��S��Mk�S#PD�-&�5�m��6�R…
83 …��0�0���}?>-�n��X�>�j�����Ӷ�t%�'ɹTIe�ćG˕C]�tMs]vu]C&s�U�TKQ�k� 5;Б�˖�_���&���E8��…
125 �g릋B��{�$.n뤛�6٭��k&��q��F�D�b�4t����-t4"�Ue�Q���r��a��r�U�g�̥��WB-�势���ʪG�1%�œ>UQB�M&���…
128 …PeoB[�:t�v6�蚋4����wD�Y��G�1ʒJsk��I��tKE �iR��s�p�e�/j P���V�6s�}C^ڍ�����UD�vz>k�f����k
141 …�D)sNuoCFEq{>���5�I|��$����ю:I�M�J�h�%{�N�e�*�K�B["�̫�2�r����,�����dm�k�Q�>{m �bP����l��…
170 ��"GH�0k�5�� �Z�
171 …D�[J��� ����̰���G�1U�.NV������\�l�K �b���t;"n���L��V�4�������ߢJ$ ��2K�k~��x�>�h �z3GFК̼����J…
172 …�`B���E��A�.��z4;�+���Zh !�V1����g�2X�'P���#f�1�%3e���(�oD�#�=�% k����6�II�� .��6�:h�…
178 …{h�IC�s��4�6 ���x����m����q}�|?�x����j��Qi��턇�D{�LA�ԏ��`( B��k`c��!<�g�^��0"�`�b…
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspWindow.java157 int k; in fillHamming() local
160 k = i - (size - 2 * overlap); in fillHamming()
161 value = 0.54 - 0.46 * Math.cos(TWOPI * k / (twoOverlap - 1)); in fillHamming()
194 int k = i - (size - 2 * overlap); in fillHanning() local
195 value = 0.5 * (1.0 - Math.cos(TWOPI * k / (twoOverlap - 1))); in fillHanning()
/cts/tests/tests/view/src/android/view/cts/
DView_DefaultFocusHighlightTest.java162 for (int k = 0; k < drawables.length; k++) { in testIsDefaultFocusHighlightNeeded()
163 imageView.setImageDrawable(drawables[k]); in testIsDefaultFocusHighlightNeeded()
169 expected = lackFocusState[i] && lackFocusState[j] && lackFocusState[k]; in testIsDefaultFocusHighlightNeeded()
/cts/tests/tests/companion/
DREADME.md2 `CtsCompanionDeviceManagerCoreTestCases` (a.k.a. "Core Tests") and
3 `CtsCompanionDeviceManagerUiAutomationTestCases` (a.k.a. "UiAutomation Tests").

1234