Home
last modified time | relevance | path

Searched refs:var (Results 1 – 18 of 18) sorted by relevance

/cts/hostsidetests/securitybulletin/res/
DCVE-2019-2052.pac18 for(var i = 0;i < 0x1000;i++){
26 var evil_o = {};
27 var reg = /abc/y;
28 var num = {};
36 for(var i = 0;i < 0x100;i++){
DCVE-2019-2047.pac18 for(var i = 0;i<0x10000;i++){
22 for(var i = 0;i<0x10000;i++){
50 var map_manipulator = new Array(1.0,2.3);
56 var evil = new Array(1.1,2.2);
59 var x = new Array({});
DCVE-2019-2097.pac18 for (var i = 0; i < 0x10000; i++){
29 var double_arr = [1.1, 2.2];
30 var array = [[0.1],[0.1],[0.1]];
34 for(var i = 0; i < array.length; i++){
DCVE-2019-2045.pac33 var i = 'A'.repeat(2**28 - 16).indexOf("", 2**28);
41 var arr = [0.1, 0.2, 0.3, 0.4];
47 for (var j = 0; j < 100000; j++) {
48 var o = maxstring();
Dbug_139806216.pac18 var x = new ArrayBuffer(1);
Dbug_138441919.pac19 var p = new Promise(function() {});
DCVE-2019-2130.pac37 var object;
/cts/apps/CameraITS/tests/scene1/
Dtest_raw_sensitivity.py66 var = its.image.compute_image_variances(tile)[0]
69 (NAME, s, var))
83 var = var_image[IMG_STATS_GRID/2, IMG_STATS_GRID/2,
86 variances.append(var)
87 print "s=%d, e=%d, var=%e" % (s, e, var)
Dtest_raw_burst_sensitivity.py85 var = its.image.compute_image_variances(tile)[0]
88 "%s_s=%05d_var=%f.jpg" % (NAME, s, var))
94 var = var_image[IMG_STATS_GRID/2, IMG_STATS_GRID/2,
96 variances.append(var)
97 print "s=%d, e=%d, var=%e" % (s, e, var)
/cts/apps/CameraITS/tests/scene0/
Dtest_jitter.py51 var = sum([d*d for d in deltas_ms]) / len(deltas_ms) - avg * avg
55 print 'Variance:', var
68 emsg = 'var: %.4fms, TOL: %.2fms' % (var, MAX_VAR_FRAME_DELTA)
69 assert var < MAX_VAR_FRAME_DELTA, emsg
Dtest_gyro_bias.py72 var = numpy.var(samples)
74 assert var < VAR_THRESH, 'var: %.4f, TOL=%.3f' % (var, VAR_THRESH)
/cts/apps/CtsVerifier/jni/verifier/
Dcom_android_cts_verifier_camera_StatsImage.cpp51 float *var = new float[ngy*ngx*4]; in com_android_cts_verifier_camera_its_computeStatsImage() local
77 var[gy*ngx*4 + gx*4 + ch] = mSq - m*m; in com_android_cts_verifier_camera_its_computeStatsImage()
84 env->SetFloatArrayRegion(ret, ngx*ngy*4, ngx*ngy*4, (float*)var); in com_android_cts_verifier_camera_its_computeStatsImage()
86 delete [] var; in com_android_cts_verifier_camera_its_computeStatsImage()
/cts/tools/cts-media/
Dget_achievable_rates.py195 var = math.sqrt(p5/p95)
200 comment += ' variance:%.1f' % var
205 if var <= T or p5 / p95 > T ** 3:
206 c2 += ' v%d%%=%.1f' % (round(100 - 2 * P), var)
216 final = Final(comment, c2, var, quality)
217 if lastFinal and final.var > lastFinal.var * math.sqrt(1.3):
224 comment, c2, var, quality = lastFinal
/cts/apps/CameraITS/tools/
Ddng_noise_model.py178 np.var(tile(hp, tile_size), axis=(0, 1)).flatten()
181 for (mean, var) in zip(means_tiled, vars_tiled):
184 if mean + 2*math.sqrt(var) < max_signal_level:
185 samples_e.append([mean, var])
200 samples[pidx].extend([(s_int, mean, var) for (mean, var) in samples_s[pidx]])
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DStepSensorPermissionTestActivity.java238 float var = 0; in variance() local
240 var += (val - mean) * (val - mean); in variance()
242 return var / (mMagnitudes.size() - 1); in variance()
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java219 final ConditionVariable var = new ConditionVariable(); in expectNetworkBroadcast() local
229 var.open(); in expectNetworkBroadcast()
241 assertTrue(msg, var.block(TIMEOUT_MS)); in expectNetworkBroadcast()
/cts/hostsidetests/theme/
DREADME36 distribution is fine. From the console, set the ANDROID_SDK_ROOT env var:
/cts/apps/CameraITS/pymodules/its/
Dimage.py701 variances.append(numpy.var(img[:,:,i], dtype=numpy.float64))