/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | qpisf_2s.cpp | 141 int16 i, j, tmp; in Dpisf_2s_46b() local 147 for (i = 0; i < 9; i++) in Dpisf_2s_46b() 149 isf_q[i] = dico1_isf[(indice[0] << 3) + indice[0] + i]; in Dpisf_2s_46b() 151 for (i = 0; i < 7; i++) in Dpisf_2s_46b() 153 isf_q[i + 9] = dico2_isf[(indice[1] << 3) - indice[1] + i]; in Dpisf_2s_46b() 156 for (i = 0; i < 3; i++) in Dpisf_2s_46b() 158 isf_q[i] += dico21_isf[indice[2] * 3 + i]; in Dpisf_2s_46b() 159 isf_q[i + 3] += dico22_isf[indice[3] * 3 + i]; in Dpisf_2s_46b() 160 isf_q[i + 6] += dico23_isf[indice[4] * 3 + i]; in Dpisf_2s_46b() 161 isf_q[i + 9] += dico24_isf[indice[5] * 3 + i]; in Dpisf_2s_46b() [all …]
|
D | isf_extrapolation.cpp | 124 int16 i, MaxCorr; in isf_extrapolation() local 129 for (i = 1; i < (M - 1); i++) in isf_extrapolation() 131 IsfDiff[i - 1] = sub_int16(HfIsf[i], HfIsf[i - 1]); in isf_extrapolation() 136 for (i = 3; i < (M - 1); i++) in isf_extrapolation() 138 L_tmp = mac_16by16_to_int32(L_tmp, IsfDiff[i - 1], INV_LENGTH); in isf_extrapolation() 146 for (i = 0; i < (M - 2); i++) in isf_extrapolation() 148 if (IsfDiff[i] > tmp) in isf_extrapolation() 150 tmp = IsfDiff[i]; in isf_extrapolation() 154 for (i = 0; i < (M - 2); i++) in isf_extrapolation() 156 IsfDiff[i] = shl_int16(IsfDiff[i], exp); in isf_extrapolation() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | qpisf_2s.c | 66 Word32 i, k, temp, min_err, distance; in Qpisf_2s_46b() local 70 for (i = 0; i < ORDER; i++) in Qpisf_2s_46b() 72 isf[i] = vo_sub(isf1[i], mean_isf[i]); in Qpisf_2s_46b() 73 isf[i] = vo_sub(isf[i], vo_mult(MU, past_isfq[i])); in Qpisf_2s_46b() 82 for (i = 0; i < 9; i++) in Qpisf_2s_46b() 84 isf_stage2[i] = vo_sub(isf[i], dico1_isf[i + surv1[k] * 9]); in Qpisf_2s_46b() 97 for (i = 0; i < 3; i++) in Qpisf_2s_46b() 99 indice[i + 2] = tmp_ind[i]; in Qpisf_2s_46b() 111 for (i = 0; i < 7; i++) in Qpisf_2s_46b() 113 isf_stage2[i] = vo_sub(isf[9 + i], dico2_isf[i + surv1[k] * 7]); in Qpisf_2s_46b() [all …]
|
D | qisf_ns.c | 41 Word16 i; in Qisf_ns() local 44 for (i = 0; i < ORDER; i++) in Qisf_ns() 46 isf_q[i] = sub(isf1[i], mean_isf_noise[i]); in Qisf_ns() 77 Word16 i; in Disf_ns() local 79 for (i = 0; i < 2; i++) in Disf_ns() 81 isf_q[i] = dico1_isf_noise[indice[0] * 2 + i]; in Disf_ns() 83 for (i = 0; i < 3; i++) in Disf_ns() 85 isf_q[i + 2] = dico2_isf_noise[indice[1] * 3 + i]; in Disf_ns() 87 for (i = 0; i < 3; i++) in Disf_ns() 89 isf_q[i + 5] = dico3_isf_noise[indice[2] * 3 + i]; in Disf_ns() [all …]
|
D | hp6k.c | 60 Word32 i, L_tmp; in Filt_6k_7k() local 63 for (i = lg - 1; i >= 0; i--) in Filt_6k_7k() 65 x[i + L_FIR - 1] = signal[i] >> 2; /* gain of filter = 4 */ in Filt_6k_7k() 67 for (i = 0; i < lg; i++) in Filt_6k_7k() 69 L_tmp = (x[i] + x[i+ 30]) * fir_6k_7k[0]; in Filt_6k_7k() 70 L_tmp += (x[i+1] + x[i + 29]) * fir_6k_7k[1]; in Filt_6k_7k() 71 L_tmp += (x[i+2] + x[i + 28]) * fir_6k_7k[2]; in Filt_6k_7k() 72 L_tmp += (x[i+3] + x[i + 27]) * fir_6k_7k[3]; in Filt_6k_7k() 73 L_tmp += (x[i+4] + x[i + 26]) * fir_6k_7k[4]; in Filt_6k_7k() 74 L_tmp += (x[i+5] + x[i + 25]) * fir_6k_7k[5]; in Filt_6k_7k() [all …]
|
D | dtx.c | 101 Word32 i; in dtx_enc_reset() local 112 for (i = 0; i < DTX_HIST_SIZE; i++) in dtx_enc_reset() 114 Copy(isf_init, &st->isf_hist[i * M], M); in dtx_enc_reset() 124 for (i = 0; i < 28; i++) in dtx_enc_reset() 126 st->D[i] = 0; in dtx_enc_reset() 129 for (i = 0; i < DTX_HIST_SIZE - 1; i++) in dtx_enc_reset() 131 st->sumD[i] = 0; in dtx_enc_reset() 165 Word32 i, j; in dtx_enc() local 175 for (i = 0; i < M; i++) in dtx_enc() 177 L_isf[i] = 0; in dtx_enc() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | omxVCM4P10_SATD_4x4.c | 77 OMX_INT i, j; in omxVCM4P10_SATD_4x4() local 93 for (i = 0; i < 4; i++) in omxVCM4P10_SATD_4x4() 95 d [j][i] = pSrcOrg [j * iStepOrg + i] - pSrcRef [j * iStepRef + i]; in omxVCM4P10_SATD_4x4() 102 for (i = 0; i < 4; i++) in omxVCM4P10_SATD_4x4() 104 m1[i][0] = d[i][0] + d[i][2]; /* a+c */ in omxVCM4P10_SATD_4x4() 105 m1[i][1] = d[i][1] + d[i][3]; /* b+d */ in omxVCM4P10_SATD_4x4() 106 m1[i][2] = d[i][0] - d[i][2]; /* a-c */ in omxVCM4P10_SATD_4x4() 107 m1[i][3] = d[i][1] - d[i][3]; /* b-d */ in omxVCM4P10_SATD_4x4() 109 m2[i][0] = m1[i][0] + m1[i][1]; /* a+b+c+d */ in omxVCM4P10_SATD_4x4() 110 m2[i][1] = m1[i][2] + m1[i][3]; /* a+b-c-d */ in omxVCM4P10_SATD_4x4() [all …]
|
D | omxVCM4P10_TransformQuant_LumaDC.c | 71 OMX_INT i, j; in omxVCM4P10_TransformQuant_LumaDC() local 83 for (i = 0; i < 4; i++) in omxVCM4P10_TransformQuant_LumaDC() 85 j = i * 4; in omxVCM4P10_TransformQuant_LumaDC() 87 m1[i][0] = pSrcDst[j + 0] + pSrcDst[j + 2]; /* a+c */ in omxVCM4P10_TransformQuant_LumaDC() 88 m1[i][1] = pSrcDst[j + 1] + pSrcDst[j + 3]; /* b+d */ in omxVCM4P10_TransformQuant_LumaDC() 89 m1[i][2] = pSrcDst[j + 0] - pSrcDst[j + 2]; /* a-c */ in omxVCM4P10_TransformQuant_LumaDC() 90 m1[i][3] = pSrcDst[j + 1] - pSrcDst[j + 3]; /* b-d */ in omxVCM4P10_TransformQuant_LumaDC() 92 m2[i][0] = m1[i][0] + m1[i][1]; /* a+b+c+d */ in omxVCM4P10_TransformQuant_LumaDC() 93 m2[i][1] = m1[i][2] + m1[i][3]; /* a+b-c-d */ in omxVCM4P10_TransformQuant_LumaDC() 94 m2[i][2] = m1[i][2] - m1[i][3]; /* a-b-c+d */ in omxVCM4P10_TransformQuant_LumaDC() [all …]
|
D | omxVCM4P10_InvTransformDequant_LumaDC.c | 72 OMX_INT i, j; in omxVCM4P10_InvTransformDequant_LumaDC() local 85 for (i = 0; i < 4; i++) in omxVCM4P10_InvTransformDequant_LumaDC() 87 j = i * 4; in omxVCM4P10_InvTransformDequant_LumaDC() 89 m1[i][0] = pSrc[j + 0] + pSrc[j + 2]; /* a+c */ in omxVCM4P10_InvTransformDequant_LumaDC() 90 m1[i][1] = pSrc[j + 1] + pSrc[j + 3]; /* b+d */ in omxVCM4P10_InvTransformDequant_LumaDC() 91 m1[i][2] = pSrc[j + 0] - pSrc[j + 2]; /* a-c */ in omxVCM4P10_InvTransformDequant_LumaDC() 92 m1[i][3] = pSrc[j + 1] - pSrc[j + 3]; /* b-d */ in omxVCM4P10_InvTransformDequant_LumaDC() 94 m2[i][0] = m1[i][0] + m1[i][1]; /* a+b+c+d */ in omxVCM4P10_InvTransformDequant_LumaDC() 95 m2[i][1] = m1[i][2] + m1[i][3]; /* a+b-c-d */ in omxVCM4P10_InvTransformDequant_LumaDC() 96 m2[i][2] = m1[i][2] - m1[i][3]; /* a-b-c+d */ in omxVCM4P10_InvTransformDequant_LumaDC() [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Tokenizer.java | 50 int i = 0; in tokenize() local 53 while (i < cursor) { in tokenize() 54 char c = text.charAt(i); in tokenize() 57 i++; in tokenize() 59 while (i < cursor && text.charAt(i) == ' ') { in tokenize() 60 i++; in tokenize() 79 i++; in tokenize() 81 while (i < cursor) { in tokenize() 82 c = text.charAt(i); in tokenize() 85 i++; in tokenize() [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | NewDatabasePerformanceTests.java | 58 Log.i(TAG, "Testing with WAL enabled"); in Log.i() 91 Log.i(TAG, "Setup for " + getClass().getSimpleName() + " took " in setUp() 101 Log.i(TAG, "Test " + getClass().getSimpleName() + " took " + duration + " ms"); in tearDown() 108 Log.i(TAG, "Test " + getClass().getSimpleName() + " write_bytes=" + testWriteBytes in tearDown() 164 for (int i = 0; i < DATASET_SIZE; i++) { in testRun() 165 String t = "t" + i; in testRun() 167 mDatabase.execSQL("INSERT INTO " + t + " VALUES(" + i + "," + i + ",'" in testRun() 168 + numberName(i) + "')"); in testRun() 183 for (int i = 0; i < DATASET_SIZE; i++) { in prepareForTest() 185 mStatements[i] = in prepareForTest() [all …]
|
/frameworks/ml/nn/common/operations/internal/optimized/ |
D | depthwiseconv_float.h | 42 for (int i = 0; i < 2; i++) { 43 filter[i] = vld1q_f32(filter_ptr + 4 * i); 50 for (int i = 0; i < 4; i++) { 51 input[i] = vld1q_f32(input_ptr + 4 * i); 56 for (int i = 0; i < 4; i++) { 57 acc[i] = vld1q_f32(acc_buffer_ptr + 4 * i); 65 for (int i = 0; i < 4; i++) { 66 vst1q_f32(acc_buffer_ptr + 4 * i, acc[i]); 74 for (int i = 0; i < 2; i++) { 75 input[i] = vld1q_f32(input_ptr + 4 * i); [all …]
|
D | depthwiseconv_uint8.h | 46 for (int i = 0; i < 2; i++) { 47 filter[i] = vaddq_s16(vreinterpretq_s16_u16(vmovl_u8(filter_u8.val[i])), 54 for (int i = 0; i < 2; i++) { 55 acc[i].val[0] = vld1q_s32(acc_buffer_ptr + 4 * i); 56 acc[i].val[1] = vld1q_s32(acc_buffer_ptr + 4 * i + 8); 66 for (int i = 0; i < 2; i++) { 67 acc[0].val[i] = vmlal_s16(acc[0].val[i], vget_low_s16(filter[i]), 68 vget_low_s16(input_dup2.val[i])); 69 acc[1].val[i] = vmlal_s16(acc[1].val[i], vget_high_s16(filter[i]), 70 vget_high_s16(input_dup2.val[i])); [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_alloc_copyPadded.java | 102 for (int i = 0; i < arr_len; i++) { in testAllocation_Byte3_1D() 103 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_1D() 105 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_1D() 134 for (int i = 0; i < arr_len; i++) { in testAllocation_Byte3_2D() 135 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_2D() 137 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_2D() 167 for (int i = 0; i < arr_len; i++) { in testAllocation_Byte3_3D() 168 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_3D() 170 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_3D() 189 for (int i = 0; i < arr_len; i++) { in testAllocation_Short3_1D() [all …]
|
D | UT_alloc_copy.java | 79 for (int i = 0; i < count; i++) { in allocation_copy1DRangeTo_Byte() 80 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Byte() 82 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte() 86 for (int i = count; i < arr_len; i++) { in allocation_copy1DRangeTo_Byte() 87 if (outArray[i] != 0) { in allocation_copy1DRangeTo_Byte() 89 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte() 108 for (int i = 0; i < arr_len; i++) { in allocation_copy1DRangeTo_Short() 109 inArray[i] = (short)random.nextInt(); in allocation_copy1DRangeTo_Short() 121 for (int i = 0; i < count; i++) { in allocation_copy1DRangeTo_Short() 122 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Short() [all …]
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_alloc_copyPadded.java | 99 for (int i = 0; i < arr_len; i++) { in testAllocation_Byte3_1D() 100 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_1D() 102 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_1D() 131 for (int i = 0; i < arr_len; i++) { in testAllocation_Byte3_2D() 132 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_2D() 134 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_2D() 164 for (int i = 0; i < arr_len; i++) { in testAllocation_Byte3_3D() 165 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_3D() 167 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_3D() 186 for (int i = 0; i < arr_len; i++) { in testAllocation_Short3_1D() [all …]
|
D | UT_alloc_copy.java | 75 for (int i = 0; i < count; i++) { in allocation_copy1DRangeTo_Byte() 76 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Byte() 78 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte() 82 for (int i = count; i < arr_len; i++) { in allocation_copy1DRangeTo_Byte() 83 if (outArray[i] != 0) { in allocation_copy1DRangeTo_Byte() 85 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte() 104 for (int i = 0; i < arr_len; i++) { in allocation_copy1DRangeTo_Short() 105 inArray[i] = (short)random.nextInt(); in allocation_copy1DRangeTo_Short() 117 for (int i = 0; i < count; i++) { in allocation_copy1DRangeTo_Short() 118 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Short() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_alloc_copyPadded.java | 100 for (int i = 0; i < arr_len; i++) { in testAllocation_Byte3_1D() 101 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_1D() 103 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_1D() 132 for (int i = 0; i < arr_len; i++) { in testAllocation_Byte3_2D() 133 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_2D() 135 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_2D() 165 for (int i = 0; i < arr_len; i++) { in testAllocation_Byte3_3D() 166 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_3D() 168 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_3D() 187 for (int i = 0; i < arr_len; i++) { in testAllocation_Short3_1D() [all …]
|
D | UT_alloc_copy.java | 77 for (int i = 0; i < count; i++) { in allocation_copy1DRangeTo_Byte() 78 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Byte() 80 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte() 84 for (int i = count; i < arr_len; i++) { in allocation_copy1DRangeTo_Byte() 85 if (outArray[i] != 0) { in allocation_copy1DRangeTo_Byte() 87 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte() 106 for (int i = 0; i < arr_len; i++) { in allocation_copy1DRangeTo_Short() 107 inArray[i] = (short)random.nextInt(); in allocation_copy1DRangeTo_Short() 119 for (int i = 0; i < count; i++) { in allocation_copy1DRangeTo_Short() 120 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Short() [all …]
|
/frameworks/base/core/java/android/util/ |
D | Spline.java | 99 for (int i = 1; i < x.length; i++) { in isStrictlyIncreasing() 100 float curr = x[i]; in isStrictlyIncreasing() 114 for (int i = 1; i < x.length; i++) { in isMonotonic() 115 float curr = x[i]; in isMonotonic() 140 for (int i = 0; i < n - 1; i++) { in MonotoneCubicSpline() 141 float h = x[i + 1] - x[i]; in MonotoneCubicSpline() 146 d[i] = (y[i + 1] - y[i]) / h; in MonotoneCubicSpline() 151 for (int i = 1; i < n - 1; i++) { in MonotoneCubicSpline() 152 m[i] = (d[i - 1] + d[i]) * 0.5f; in MonotoneCubicSpline() 157 for (int i = 0; i < n - 1; i++) { in MonotoneCubicSpline() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 83 for (int i = 0; i < 100; i++) { in testGetPixelsWithAlpha() 84 colors[i] = (0xFF << 24) | (i << 16) | (i << 8) | i; in testGetPixelsWithAlpha() 92 for (int i = 0; i < 100; i++) { in testGetPixelsWithAlpha() 93 int p = bm.getPixel(i % 10, i / 10); in testGetPixelsWithAlpha() 94 assertEquals("getPixels", p, pixels[i]); in testGetPixelsWithAlpha() 97 for (int i = 0; i < 100; i++) { in testGetPixelsWithAlpha() 98 int p = bm.getPixel(i % 10, i / 10); in testGetPixelsWithAlpha() 99 assertEquals("getPixel", p, colors[i]); in testGetPixelsWithAlpha() 101 ((0xFF << 24) | (i << 16) | (i << 8) | i)); in testGetPixelsWithAlpha() 109 for (int i = 0; i < 100; i++) { in testGetPixelsWithoutAlpha() [all …]
|
/frameworks/native/libs/math/include/math/ |
D | TVecHelpers.h | 64 for (size_t i = 0; i < lhs.size(); i++) { variable 65 lhs[i] += v[i]; 72 for (size_t i = 0; i < lhs.size(); i++) { variable 73 lhs[i] -= v[i]; 85 for (size_t i = 0; i < lhs.size(); i++) { variable 86 lhs[i] += v[i]; 92 for (size_t i = 0; i < lhs.size(); i++) { variable 93 lhs[i] -= v[i]; 145 for (size_t i = 0; i < lhs.size(); i++) { variable 146 lhs[i] *= v[i]; [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | int_lsf.cpp | 221 Word16 i; in Int_lsf() local 227 for (i = M - 1; i >= 0; i--) in Int_lsf() 229 if (*(lsf_old + i) < 0) in Int_lsf() 231 temp1 = ~(~(*(lsf_old + i)) >> 2); in Int_lsf() 235 temp1 = *(lsf_old + i) >> 2; in Int_lsf() 237 if (*(lsf_new + i) < 0) in Int_lsf() 239 temp2 = ~(~(*(lsf_new + i)) >> 2); in Int_lsf() 243 temp2 = *(lsf_new + i) >> 2; in Int_lsf() 245 *(lsf_out + i) = add((Word16)(*(lsf_old + i) - temp1), in Int_lsf() 253 for (i = M - 1; i >= 0; i--) in Int_lsf() [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | TestBenchMultipleInstance.c | 64 i32 i; in main() local 104 for (i = 1; i < (argc-1); i++) in main() 106 if ( strncmp(argv[i], "-N", 2) == 0 ) in main() 108 maxNumPics = (u32)atoi(argv[i]+2); in main() 111 else if ( strncmp(argv[i], "-O", 2) == 0 ) in main() 113 strcpy(outFileName, argv[i]+2); in main() 116 else if ( strcmp(argv[i], "-C") == 0 ) in main() 121 else if ( strcmp(argv[i], "-R") == 0 ) in main() 144 for (i = 0; i < instCount; i++) in main() 146 decoder[i] = (Decoder *)calloc(1, sizeof(Decoder)); in main() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelUidCpuFreqTimeReaderTest.java | 70 for (int i = 0; i < uids.length; ++i) { in testReadDelta() 72 times[i][j] = uids[i] * freqs[j] * 10; in testReadDelta() 79 for (int i = 0; i < uids.length; ++i) { in testReadDelta() 80 verify(mCallback).onUidCpuFreqTime(uids[i], times[i]); in testReadDelta() 87 for (int i = 0; i < uids.length; ++i) { in testReadDelta() 89 newTimes1[i][j] = (times[i][j] + uids[i] + freqs[j]) * 10; in testReadDelta() 96 for (int i = 0; i < uids.length; ++i) { in testReadDelta() 97 verify(mCallback).onUidCpuFreqTime(uids[i], subtract(newTimes1[i], times[i])); in testReadDelta() 112 for (int i = 0; i < uids.length; ++i) { in testReadDelta() 114 newTimes2[i][j] = (newTimes1[i][j] + uids[i] * freqs[j]) * 10; in testReadDelta() [all …]
|