/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationVerifier.java | 118 double mean = computeMean(deltas); in assertMeanAndStdev() local 119 double stdev = computeStdev(mean, deltas); in assertMeanAndStdev() 122 if (mean < minMean) { in assertMeanAndStdev() 123 fail(provider + " provider mean too small: " + mean in assertMeanAndStdev() 135 mCb.log(provider + " provider mean: " + mean); in assertMeanAndStdev() 147 private double computeStdev(double mean, List<Long> deltas) { in computeStdev() argument 150 double diff = d - mean; in computeStdev()
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_gyro_bias.py | 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) 73 assert(samples.mean() < MEAN_THRESH)
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_tonemap_sequence.py | 49 means.append(tile.mean(0).mean(0)) 58 means.append(tile.mean(0).mean(0))
|
D | test_crop_region_raw.py | 118 img = img.reshape(h/2,2,w/2,2,3).mean(3).mean(1) 139 diff_yuv = numpy.fabs((imgs2["yuv_full"] - imgs2["yuv_crop"])).mean() 140 diff_raw = numpy.fabs((imgs2["raw_full"] - imgs2["raw_crop"])).mean()
|
D | test_dng_noise_model.py | 85 mean = tile.mean() 91 var_expected[ch].append(s * mean + o)
|
D | test_param_noise_reduction.py | 98 rgb_snrs = [numpy.mean(r_snrs), numpy.mean(g_snrs), numpy.mean(b_snrs)]
|
D | test_reprocess_noise_reduction.py | 118 rgb_snrs = [numpy.mean(r_snrs), 119 numpy.mean(g_snrs), 120 numpy.mean(b_snrs)]
|
D | test_post_raw_sensitivity_boost.py | 153 mean = sum(vals) / len(vals) 154 print "%s channel vals %s mean %f"%(rgb_str[rgb], vals, mean) 156 ratio = vals[step] / mean
|
D | test_burst_sameness_manual.py | 74 img_mean = imgs.mean(0)
|
D | test_ev_compensation_advanced.py | 93 avg_diff = abs(numpy.array(luma_diffs)).mean()
|
D | test_crop_regions.py | 93 diff = numpy.fabs(tile_full - tile_crop).mean()
|
/cts/apps/CtsVerifier/jni/verifier/ |
D | com_android_cts_verifier_camera_StatsImage.cpp | 45 float *mean = new float[ngy*ngx*4]; in com_android_cts_verifier_camera_its_computeStatsImage() local 69 mean[gy*ngx*4 + gx*4 + ch] = m; in com_android_cts_verifier_camera_its_computeStatsImage() 76 env->SetFloatArrayRegion(ret, 0, ngx*ngy*4, (float*)mean); in com_android_cts_verifier_camera_its_computeStatsImage() 78 delete [] mean; in com_android_cts_verifier_camera_its_computeStatsImage()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
D | MagnitudeVerification.java | 98 float mean = mSum / mCount; in verify() local 99 boolean failed = Math.abs(mean - mExpected) > mThreshold; in verify() 102 stats.addValue(SensorStats.MAGNITUDE_KEY, mean); in verify() 106 mean, mExpected, mThreshold)); in verify()
|
/cts/apps/CameraITS/tests/inprog/scene2/ |
D | test_dng_tags.py | 81 cm_scale = cm.mean(1).mean(0) / cm_ref.mean(1).mean(0)
|
/cts/apps/CameraITS/tests/dng_noise_model/ |
D | dng_noise_model.py | 155 np.mean(tile(p, tile_size), axis=(0, 1)).flatten() 159 for (mean, var) in zip(means_tiled, vars_tiled): 162 if mean + 2*math.sqrt(var) < max_signal_level: 163 samples_e.append([mean, var]) 175 samples.extend([(round(s), mean, var) for (mean, var) in samples_s])
|
/cts/apps/CameraITS/tests/scene5/ |
D | test_lens_shading_and_color_uniformity.py | 95 center_y = numpy.mean(img_y[top:bottom, left:right]) 96 center_r_g = numpy.mean(r_g[top:bottom, left:right]) 97 center_b_g = numpy.mean(b_g[top:bottom, left:right]) 148 block_y = numpy.mean(img_y[top:bottom, left:right]) 149 block_r_g = numpy.mean(r_g[top:bottom, left:right]) 150 block_b_g = numpy.mean(b_g[top:bottom, left:right])
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | WavAnalyzer.java | 84 coeffOfVar[i] = Util.std(powerAtFreq) / Util.mean(powerAtFreq); in isConsistent() 86 if (Util.mean(coeffOfVar) > 1.0) { in isConsistent() 107 if (Util.mean(dB) - Util.mean(noiseDB) < Common.SIGNAL_MIN_STRENGTH_DB_ABOVE_NOISE) { in responsePassesHifiTest() 119 if (Util.mean(responseInRange) < threshold) { in responsePassesHifiTest()
|
D | Util.java | 24 public static double mean(double[] data) { in mean() method in Util 25 Mean mean = new Mean(); in mean() local 26 return mean.evaluate(data); in mean()
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_sensor_fusion.py | 401 X0 = (X-X.mean(0)) / numpy.sqrt(((X-X.mean(0))**2.0).sum()) 402 Y0 = (Y-Y.mean(0)) / numpy.sqrt(((Y-Y.mean(0))**2.0).sum())
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 92 double mean = getMean(collection); in getVariance() local 95 double difference = mean - value.doubleValue(); in getVariance()
|
/cts/apps/CameraITS/tests/inprog/ |
D | test_burst_sameness_auto.py | 81 img_mean = imgs.mean(0)
|
D | test_burst_sameness_fullres_auto.py | 75 img_mean = imgs.mean(0)
|
/cts/apps/CameraITS/tests/scene3/ |
D | test_edge_enhancement.py | 71 ret["sharpness"] = numpy.mean(sharpness_list)
|
D | test_reprocess_edge_enhancement.py | 77 ret["sharpness"] = numpy.mean(sharpness_list)
|
/cts/suite/audio_quality/test_description/processing/ |
D | check_spectrum_playback.py | 55 spectrumMean = np.mean(spectrum)
|