Home
last modified time | relevance | path

Searched refs:N (Results 1 – 25 of 32) sorted by relevance

12

/cts/apps/CameraITS/tests/scene0/
Dtest_gyro_bias.py33 N = 20
49 nevents = (len(gyro_events) / N) * N
59 times = times[N/2::N]
60 xs = xs.reshape(nevents/N, N).mean(1)
61 ys = ys.reshape(nevents/N, N).mean(1)
62 zs = zs.reshape(nevents/N, N).mean(1)
68 pylab.ylabel("Gyro readings (mean of %d samples)"%(N))
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DCorrelation.java50 int N = data.length; //all samples available in computeCorrelation() local
51 double groupSize = (double) N / mBlockSize; //samples per downsample point. in computeCorrelation()
108 int N = data.length; //all samples available in downsampleData() local
109 double groupSize = (double) N / mBlockSize; in downsampleData()
115 for (int i = 0; i<N && currentIndex<mBlockSize; i++) { in downsampleData()
134 log(String.format(" Threshold: %.3f, ignored:%d/%d (%.2f)", threshold, ignored, N, in downsampleData()
135 (double) ignored/(double)N)); in downsampleData()
145 int N = data.length; in autocorrelation() local
146 for (int i=0; i<N; i++) { in autocorrelation()
152 for (int i = 0; i < N; i++) { in autocorrelation()
[all …]
/cts/suite/audio_quality/test_description/processing/
Dcheck_spectrum.py41 N = 512 if (len(hostData) > 512) else len(hostData)
42 iLow = N * fLow / samplingRate + 1 # 1 for DC
43 if iLow > (N / 2 - 1):
44 iLow = (N / 2 - 1)
45 iHigh = N * fHigh / samplingRate + 1 # 1 for DC
46 if iHigh > (N / 2 + 1):
47 iHigh = N / 2 + 1
50 Phh, freqs = plt.psd(hostData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\
53 Pdd, freqs = plt.psd(DUTData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\
119 N = 0
[all …]
Dcheck_spectrum_playback.py40 N = 512 if (len(hostData) > 512) else len(hostData)
41 iLow = N * fLow / samplingRate + 1 # 1 for DC
42 if iLow > (N / 2 - 1):
43 iLow = (N / 2 - 1)
44 iHigh = N * fHigh / samplingRate + 1 # 1 for DC
45 if iHigh > (N / 2 + 1):
46 iHigh = N / 2 + 1
49 Phh, freqs = plt.psd(hostData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\
Drecording_thd.py63 N = len(deviceRecording)
64 print "delay ", delay, "deviceRecording samples ", N
65 thdHost = calc_thd(hostRecording[delay:delay+N], signalFrequency, samplingRate, 0.02) * 100
Dcalc_delay.py28 N = len(data1reversed)
29 return np.dot(data0[n:N+n], data1reversed)
/cts/hostsidetests/incident/src/com/android/server/cts/
DProcStatsProtoTest.java66 int N = dump.getProcstatsNow().getProcessStatsCount(); in testDump() local
68 for (int i = 0; i < N; i++) { in testDump()
75 assertTrue(N > 0); in testDump()
/cts/apps/CameraITS/build/
Denvsetup.sh40 for N in 'PIL Image' 'matplotlib pylab'
42 IFS=' ' read module submodule <<< "$N"
/cts/tests/tests/media/assets/
Dsegment000000.ts46 ���%hTc�W��8��6��A�t`����Ms�a\�ɤ�/�"aa'u�PqI��W�d����N�W�fx7�1���x�?���؃
86 �KY���W��D� F���1$'YM�s�N�<��9g��3�l��[3 I��6 ���W���_:�+�H�k���{W�#c:�8f}v��\���1����…
97 …����D����_���7{!%���XO�>̔�a<f3�惃���z�Σ�ܽP��� x���?���/y: m�M�YFv���N��{+��>��M���I��[…
109 I�<�$*n����ӝ�K��YOUG�m�G��}�i�&{i���N��D33�`��.�B�7�ӊ�λ_-��>�;d5�&�n�n�J��>��OE�4�U�m…
129 �.H���z(S�N�����G8�������M�ףE������ ;�뵨L��]@W:�H j;!յ�EzA6?r�[�v3v�|K�UK"i�F�R�a\!
144 …�n��)kG� �Em�}�y ��{j�Y���hg2��U��� �".Q`o��Ꮾ��AT�aU���,���醸�zd����N0������D�w��$�P���…
148 ��f���i��!���ȿ-a\ �#�Ԙ��}F%����'�@���3�|#`�ۮ�W<�N@.�L���U�a0��$R��-�Ҧf�z�EDEl�Jl�p��G…
157 fI��S���7j�������N ���H� �2(Trr�����ox�q��W$l�?j��#N��šB�W%E8�늷����E�i>���a\��…
159 ���ҙ�o~7���N������|�Ƒ!����MN>�
175 …�OaDD'�05qh�q��1���%0 E\'Ǎ���H� F�"�1��\��f�\� ��7�M��ٌ��H�������<N?����G��O��Ɵ�����…
[all …]
Dsegment000001.ts17 …�������d"o���x"�Մ�����ߝ.~5���x����&�� �q���>�-@]�XK��ƄqTQ�Q�}h߼0t�2N����^ݧ��N�v%%���_G�
28 …�-�F�D���S��=H����م?y��SR����L�0c����iy��h���a*�DƝ�L�l&�JMV�k&N��N�?Y�e��}�}�s��#��&Խ…
37 4���N��0��?�%��X���G�;?���4��_}�����i��y�"ؕΙP{X[�W��f���<��U���}�����lY�9U�[K���LDw_��…
58 ���\�g������3�8L��cܟߵ%��VE��:�ױ�N��@?~���_�H����,b��Qޙo�?���4��C�����D�f�C�~J��n���#w��U� ��…
66 …?�����پd�xּ�fxl���_��]�JD���q.�.��R�/=vԮN����m�5�Y�ĝ͔��?�T"G��޵��iI�4�d��N���zav����~D
67 ����fm������TC$m5v�x��u���s��$�bȈݾ��N�῁�h6����Kz[Q���X��Ii�������]x���<8�����VH�"�Ħ…
91 …C�A��S{� \����ns\ t��_/m�M�7{�/�Z[�/�G�ރO����W��"N�����4I��›��2j�\f��&Q�]Ԇ�6!���|N:,�…
141 �E=�-�B�m�Er�!iC�뺸���U�����-d\��:�%37N~�aWv���_ʭh�ߥ���n�M6����r�y4U�ߛ�����G���/F��>րBJ…
247 �}��L������x]�JQ���-�B>o3�?��}?�_���,�*{/� פ7����@�q�����p_�֤�N�`����J�C��] ���!�?�7kG�…
275 …F+i�����4jb ���^v*���(M�0U�2T�� $�1�N�#�(C�A� �[I~�0G��tM�[z�R$���&oB6f�A���sk������…
DfileSequence1.ts16 …���;"��s���C���!D"�!C C@����&��ѵ_ل�)���&"uS #V��*s���e���9^Ǎ�mm��6��k�m�N���z$+v��� ���8��\@…
21 N���X ��C�-��<����ᚊ�f���?,�q��X�q��;0��������seXGF�3�auuI���5�u'�k��8A �W� �Ֆ|��wӐ�…
69 …7�P� G�Q8�B �D!��X�$EDJ%Z�L��{|t"C�q�WZ��aO�g��D��1Z��n(�E�T;�tߙ�9N.E�`�Cq �3T���i�…
72 …W\u�:r�[��n!_�f�|4��G�b�;dz��ĝ�$����^�w��2�S}�N���V�fF�q�sE��vG�&�$S3Ds�$�ؾ�@� ���x�ؒ�…
94 �P҉���kVNd�ʇ�;z>�|��X�?�c����eu�l_��4_(�H���Hz��2a%N�F2��J�M�J^��(�I��,)��� Ӊ �C]*D7�A�…
97 0�"R�w�=��~��ݟ�D+�5u�8��N�����ƈpZH@"'8�,�ܮ�l �Z1��C�1�!�Z�|(G��[@�QB�r��Eޝ�IRv��8�S|…
122 …#� >5����հ��z�qJ�.ʟ �L��"G�����m�xJ��*����\��J8��1�W��|�R^���;���b�N��\@ �47�pj��Adh�"…
129 …-�"a�XP����: �9�i�$ۊ�]>�j��M ���5�~>AἽJ\�b�5��=9�˹�lq�D_+�zD9N��Gp�2�KU~έ�2k���…
166 �Wm#c��W2@8�4C�C���L��V����e�c1i��H8]��V�:��U5�O n��F�P&e�K��)J3�x?7z9�O����@D��^�N�u�q…
169 …���������N�^u�������|��:65 �!���V{�~��P�ɫ "����A�6�l��n�����[��,�PZ�@8�ބ b� d��{=;�W�…
[all …]
/cts/tools/cts-media/
Dget_achievable_rates.py141 N = len(data)
144 if N < 20 and not A.ignore:
146 (comp.name, size, N))
165 if N < 2 * RG:
166 comment += ' N=%d' % N
176 for i in range(N / 2):
177 …pub_lo_, pub_hi_ = min(int(data[N / 2 - i - 1] * T), round(geo), int(med)), max(math.ceil(data[N /…
203 if N >= 2 * RG:
204 c2 += ' N=%d' % N
222 if N < 2 * RG or quality >= 4:
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DFeatureGroupInfoTest.java85 final int N = expectedGroups.length; in assertFeatureGroupsMatch() local
86 for (int i = 0; i < N; i++) { in assertFeatureGroupsMatch()
132 final int N = Math.min(aCount, bCount); in compareFeatureInfoArrays() local
133 for (int i = 0; i < N; i++) { in compareFeatureInfoArrays()
/cts/tests/tests/security/res/raw/
Ddrm_uaf.dm29 ٕ�2-N�
30 �g)�)��<����:?����RFul��`37������<�3���~��>�H���"�3N@@�c�/ ��<}!/�5,�D�0�A�1��k���S�k�~5…
40N�F�<�)'�l��xI�����%��n�"*b`� <��i�xZ��g�x���>��Gu^o�$�5�z�<�-,���hmy��<X��5��ʄI��>�…
42 …�K���4���֩��l&�t�aF��<{,�1L]8�+�`S ���m|��k����#� <�����{!��]8�\N���7{����<�)4��3�y…
53 …0 �~[��+��-a,H�mz-Ik'�I��<�$�����~�]����?� ܇qn����H <y����� �0b��76N닼 v��_����<�A����…
56 �����J��������@�p�Yh��@<�3N��4_h��v8<�&B�� i֟|�)�<����h�4/��y���t�k��C�<�,����…
61 �c l��O�<�6�!Nz>��*�Q�� ��B�m�}�N�R� �<��z��w��:��ОK�P�y��ĿbJ���p<�0y+nl�������� 6��q�y&�\�…
65 …Aj8 <�W��> ~��XH�U5af�|�-x�����0<��c0�h?��l!���-��9r�)R�T�}�<��vH�>��N�\1K��f<ꬾ���И`�V#/<�…
67 …_�O�����P<�'W@D��h�^�CI56ۋ���HUD����<��>��Z`1����"ȏ���8�b�U�<�(9N���+�K�:@F�L쟐�y��%.…
68 $nWӵ6l<y�N%ʅ�����<�s�~��*��Gviszl���h�8��^. <�ek�Nq��-��v���I�R��w��#A�-�?�<�s�
/cts/tests/tests/widget/src/android/widget/cts/
DGridLayoutTest.java200 int N = VERTICAL_ALIGNMENTS.length; in populate() local
203 View[][] table = new View[N + 1][M + 1]; in populate()
212 for (int i = 0; i < N; i++) { in populate()
234 for (int i = 0; i < N; i++) { in populate()
265 int N = VERTICAL_ALIGNMENTS.length; in verifyGridAlignment() local
273 for (int i = 0; i < N; i++) { in verifyGridAlignment()
280 for (int i = 0; i < N; i++) { in verifyGridAlignment()
/cts/tests/tests/rsblas/src/android/renderscript/cts/
DIntrinsicBLAS.java210 int N = A.getType().getX(); in validateGEMV() local
225 expectedXDim = 1 + (N - 1) * incX; in validateGEMV()
229 expectedYDim = 1 + (N - 1) * incY; in validateGEMV()
1160 int N = mBLASData.dN; in test_L2_CHPMV_Correctness() local
1161 …n matrixAC = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), N * (N+1) / 2, 1)); in test_L2_CHPMV_Correctness()
1162 … Allocation vectorXC = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), N, 1)); in test_L2_CHPMV_Correctness()
1163 … Allocation vectorYC = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), N, 1)); in test_L2_CHPMV_Correctness()
1170 … Allocation vectorYRef = Allocation.createTyped(mRS, Type.createXY(mRS, Element.F32_2(mRS), N, 1)); in test_L2_CHPMV_Correctness()
1177 int dimX = 1 + (N - 1) * incX; in test_L2_CHPMV_Correctness()
1178 int dimY = 1 + (N - 1) * incY; in test_L2_CHPMV_Correctness()
[all …]
/cts/suite/audio_quality/lib/src/task/
DTaskProcess.cpp61 size_t N = list.size(); in prepareParams() local
63 LOGD("TaskProcess::prepareParams N = %d", N); in prepareParams()
64 ptrs.reset(new void_ptr[N]); in prepareParams()
70 bzero(ptrs.get(), N * sizeof(void_ptr)); in prepareParams()
71 values.reset(new UniqueValue[N]); in prepareParams()
76 buffers.reset(new UniqueBuffer[N]); in prepareParams()
85 for (size_t i = 0; i < N; i++) { in prepareParams()
/cts/hostsidetests/security/res/
Dcve_2017_0859.mp44 �$Kp�����C@2j1Ի�'ç�j8 N��5H��y3���E�X$CԮ����ܿ�4d@n���S�߶��?����{��̃�$Kp�����o��W�Ť�n��;*�…
/cts/tests/tests/widget/src/android/widget/cts/util/
DXmlUtils.java304 int N = val.size(); in writeListXml() local
306 while (i < N) { in writeListXml()
361 final int N = val.length; in writeByteArrayXml() local
362 out.attribute(null, "num", Integer.toString(N)); in writeByteArrayXml()
365 for (int i=0; i<N; i++) { in writeByteArrayXml()
406 final int N = val.length; in writeIntArrayXml() local
407 out.attribute(null, "num", Integer.toString(N)); in writeIntArrayXml()
409 for (int i=0; i<N; i++) { in writeIntArrayXml()
445 final int N = val.length; in writeLongArrayXml() local
446 out.attribute(null, "num", Integer.toString(N)); in writeLongArrayXml()
[all …]
/cts/tests/tests/view/src/android/view/cts/util/
DXmlUtils.java303 int N = val.size(); in writeListXml() local
305 while (i < N) { in writeListXml()
360 final int N = val.length; in writeByteArrayXml() local
361 out.attribute(null, "num", Integer.toString(N)); in writeByteArrayXml()
364 for (int i=0; i<N; i++) { in writeByteArrayXml()
405 final int N = val.length; in writeIntArrayXml() local
406 out.attribute(null, "num", Integer.toString(N)); in writeIntArrayXml()
408 for (int i=0; i<N; i++) { in writeIntArrayXml()
444 final int N = val.length; in writeLongArrayXml() local
445 out.attribute(null, "num", Integer.toString(N)); in writeLongArrayXml()
[all …]
/cts/tests/tests/content/src/android/content/cts/util/
DXmlUtils.java331 int N = val.size(); in writeListXml() local
333 while (i < N) { in writeListXml()
388 final int N = val.length; in writeByteArrayXml() local
389 out.attribute(null, "num", Integer.toString(N)); in writeByteArrayXml()
392 for (int i=0; i<N; i++) { in writeByteArrayXml()
433 final int N = val.length; in writeIntArrayXml() local
434 out.attribute(null, "num", Integer.toString(N)); in writeIntArrayXml()
436 for (int i=0; i<N; i++) { in writeIntArrayXml()
472 final int N = val.length; in writeLongArrayXml() local
473 out.attribute(null, "num", Integer.toString(N)); in writeLongArrayXml()
[all …]
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DFeatureDeviceInfo.java56 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in collectDeviceInfo()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DReadElf.java444 final int N = byteCount - 1; in readX() local
445 for (int i = 0; i <= N; ++i) { in readX()
/cts/tests/signature/src/android/signature/cts/
DApiComplianceChecker.java349 final int N = str.length(); in unescapeFieldStringValue() local
366 for (int i = 0; i < N; i++) { in unescapeFieldStringValue()
/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamObjectTest.java672 final int N = 3; in testRepeatedNestedCompat() local
673 all.nestedFieldRepeated = new Test.Nested[N]; in testRepeatedNestedCompat()
674 for (int i=0; i<N; i++) { in testRepeatedNestedCompat()

12