/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorVerificationHelper.java | 163 * Verify that the means matches the expected measurement. 169 * "mean" which is the computed means for each value of the sensor. 175 double[] means = SensorCtsHelper.getMeans(events); local 176 result.putValue("means", means); 182 if (means.length > 1) { 186 for (int i = 0; i < means.length && !failed; i++) { 187 if (Math.abs(means[i] - expected[i]) > threshold[i]) { 190 meanSb.append(String.format("%.2f", means[i])); 191 if (i != means.length - 1) meanSb.append(", ") 262 double[] means = SensorCtsHelper.getMeans(events); local [all...] |
SensorCtsHelperTest.java | 62 double[] means = SensorCtsHelper.getMeans(getSensorEvents(timestamps, values)); local 63 assertEquals(1, means.length); 64 assertEquals(2.0, means[0], 0.00001); 69 means = SensorCtsHelper.getMeans( 71 assertEquals(3, means.length); 72 assertEquals(2.0, means[0], 0.00001); 73 assertEquals(3.0, means[1], 0.00001); 74 assertEquals(6.0, means[2], 0.00001);
|
SensorCtsHelper.java | 72 double[] means = new double[events[0].values.length]; local 74 for (int i = 0; i < means.length; i++) { 75 means[i] += event.values[i]; 78 for (int i = 0; i < means.length; i++) { 79 means[i] /= events.length; 81 return means; 90 double[] means = getMeans(events); local 91 double[] variances = new double[means.length]; 92 for (int i = 0; i < means.length; i++) { 95 double diff = event.values[i] - means[i] [all...] |
SensorVerificationHelperTest.java | 141 double[] means = (double[]) result.getValue("means"); local 142 assertEquals(2.0, means[0], 0.01); 143 assertEquals(3.0, means[1], 0.01); 144 assertEquals(6.0, means[2], 0.01); 218 assertNotNull(result.getValue("means")); 255 double[] means = (double[]) result.getValue("stddevs"); local 256 assertEquals(Math.sqrt(2.0), means[0], 0.01); 257 assertEquals(Math.sqrt(2.0), means[1], 0.01); 258 assertEquals(Math.sqrt(8.0), means[2], 0.01) [all...] |
/pdk/apps/CameraITS/tests/ |
test_param_exposure_time.py | 66 for means in [r_means, g_means, b_means]: 67 for i in range(len(means)-1): 68 assert(means[i+1] - means[i] > THRESHOLD_MIN_DIFF)
|
test_param_sensitivity.py | 66 for means in [r_means, g_means, b_means]: 67 for i in range(len(means)-1): 68 assert(means[i+1] - means[i] > THRESHOLD_MIN_DIFF)
|
/external/srec/srec/clib/ |
swimodel.c | 386 hmmstates[i].means = mean_ptr; 407 static PINLINE prdata Gaussian_Grand_Density_Swimodel(const preprocessed *data, const featdata *means) 426 diff = *(means++) - *(dvec++); 452 meanptr = spd->means;
|
/external/srec/srec/include/ |
swimodel.h | 37 const featdata *means; /* pointer to block of means for the set member in struct:__anon29255
|
/dalvik/vm/mterp/armv5te/ |
OP_FILL_ARRAY_DATA.S | 11 cmp r0, #0 @ 0 means an exception is thrown
|
/dalvik/vm/mterp/mips/ |
OP_FILL_ARRAY_DATA.S | 12 # 0 means an exception is thrown
|
/hardware/ti/omap4xxx/hwc/ |
Android.mk | 19 # LOG_NDEBUG=0 means verbose logging enabled
|
/external/opencv/ml/src/ |
mlem.cpp | 48 * means - calculated by the EM algorithm set of gaussians' means. 68 Symbol ' means transposition. 74 means = weights = probs = inv_eigen_values = log_weight_div_det = 0; 81 means = weights = probs = inv_eigen_values = log_weight_div_det = 0; 98 cvReleaseMat( &means ); 142 if( !params.means ) 166 if( params.means ) 168 const CvMat* m = params.means; 226 dims = means->cols [all...] |
/external/valgrind/main/exp-bbv/tests/amd64-linux/ |
fldcw_check.S | 13 # It is encoded as "d9 /5" which means
|
/external/valgrind/main/exp-bbv/tests/x86/ |
fldcw_check.S | 13 # It is encoded as "d9 /5" which means
|
/packages/providers/ContactsProvider/ |
Android.mk | 17 # leaving out code which is tested by other means (e.g. static libraries) that 24 # leaving out code which is tested by other means (e.g. static libraries) that
|
/external/chromium_org/third_party/markupsafe/ |
__init__.py | 54 Operations on a markup string are markup aware which means that all
|
/pdk/apps/CameraITS/pymodules/its/ |
image.py | 266 means = [] 269 means.append(numpy.mean(img[:,:,i], dtype=numpy.float64)) 270 return means
|
/external/chromium/chrome/common/extensions/docs/examples/api/tabs/screenshot/ |
screenshot.js | 21 // Passing the above test means this is the event we were waiting for.
|
/external/chromium_org/chrome/browser/resources/gaia_auth/ |
offline.js | 51 // Email is present, which means that unsuccessful login attempt has been
|
/external/chromium_org/third_party/mesa/src/docs/OLD/ |
MESA_trace.spec | 32 Provides the application with means to enable and disable logging
|
/external/mesa3d/docs/OLD/ |
MESA_trace.spec | 32 Provides the application with means to enable and disable logging
|
/external/chromium_org/tools/gyp/test/lib/ |
TestCommon.py | 481 the command. A value of None means 485 the command. A value of None means 489 command. A value of None means don't 508 the command. A value of None means 512 the command. A value of None means 516 command. A value of None means don't 556 # skip=1 means skip this function when showing where this
|
/external/llvm/test/MC/ARM/ |
eh-directive-text-section-multiple-func.s | 51 @ 0xB0B0B080, which means compact model 0 is used (0x80) and the rest of the
|
eh-directive-text-section.s | 65 @ 0xB0B0B080, which means compact model 0 is used (0x80) and the rest of the
|
/build/tools/droiddoc/templates-sdk/ |
sample.cs | 67 # else, this means it's offline docs,
|