/cts/tests/tests/location/src/android/location/cts/ |
GnssMeasurementTest.java | 25 GnssMeasurement measurement = new GnssMeasurement(); local 26 measurement.describeContents(); 30 GnssMeasurement measurement = new GnssMeasurement(); local 31 measurement.reset(); 34 private static void setTestValues(GnssMeasurement measurement) { 35 measurement.setAccumulatedDeltaRangeMeters(1.0); 36 measurement.setAccumulatedDeltaRangeState(2); 37 measurement.setAccumulatedDeltaRangeUncertaintyMeters(3.0); 38 measurement.setCarrierCycles(4); 39 measurement.setCarrierFrequencyHz(5.0f) 78 GnssMeasurement measurement = new GnssMeasurement(); local 88 GnssMeasurement measurement = new GnssMeasurement(); local 96 GnssMeasurement measurement = new GnssMeasurement(); local [all...] |
TestMeasurementUtil.java | 107 * Check if pseudorange rate uncertainty in Gnss Measurement is in the expected range. 110 * @param measurement GnssMeasurement 111 * @return true if this measurement has prr uncertainty in a range indicative of carrier phase 113 public static boolean gnssMeasurementHasCarrierPhasePrr(GnssMeasurement measurement) { 114 return (measurement.getPseudorangeRateUncertaintyMetersPerSecond() < 150 * Assert all mandatory fields in Gnss Measurement are in expected range. 153 * @param measurement GnssMeasurement 157 public static void assertAllGnssMeasurementMandatoryFields(GnssMeasurement measurement, 160 verifySvid(measurement, softAssert, timeInNs); 161 verifyReceivedSatelliteVehicleTimeInNs(measurement, softAssert, timeInNs) [all...] |
GnssMeasurementValuesTest.java | 121 for (GnssMeasurement measurement : event.getMeasurements()) { 122 TestMeasurementUtil.assertAllGnssMeasurementMandatoryFields(measurement, 125 TestMeasurementUtil.gnssMeasurementHasCarrierPhasePrr(measurement);
|
GnssMeasurementWhenNoLocationTest.java | 124 // Wait for two measurement events - this is better than waiting for a location calculation 136 Log.i(TAG, "Number of GPS measurement events received = " + events.size()); 160 for (GnssMeasurement measurement : gpsMeasurements) { 161 gpsPrns[i] = measurement.getSvid(); 168 softAssert.assertTrue("GPS measurement satellite count check: ", 177 for (GnssMeasurement measurement : gpsMeasurements) { 178 TestMeasurementUtil.assertAllGnssMeasurementMandatoryFields(measurement,
|
/frameworks/base/media/mca/filterfw/native/core/ |
statistics.h | 53 void Add(float measurement) { 54 value_ = n_++ ? gain_ * measurement + (1.0f - gain_) * value_ : measurement;
|
/external/webrtc/webrtc/test/testsupport/ |
perf_test.cc | 22 std::string ResultsToString(const std::string& measurement, 41 stream << "RESULT " << measurement << modifier << ": " << trace << "= " 46 void PrintResultsImpl(const std::string& measurement, 54 printf("%s", ResultsToString(measurement, modifier, trace, values, 63 void PrintResult(const std::string& measurement, 71 PrintResultsImpl(measurement, modifier, trace, value_stream.str(), "", "", 76 const std::string& measurement, 84 output += ResultsToString(measurement, modifier, trace, 89 void PrintResult(const std::string& measurement, 95 PrintResultsImpl(measurement, modifier, trace, value, "", "", units [all...] |
perf_test.h | 24 // post-processing. |measurement| is a description of the quantity being 26 // will be appended directly to the name of the |measurement|, e.g. 33 // produced for various builds, using the combined |measurement| + |modifier| 36 void PrintResult(const std::string& measurement, 44 const std::string& measurement, 53 void PrintResult(const std::string& measurement, 61 const std::string& measurement, 70 // standard deviation (or other error metric) of the measurement. 71 void PrintResultMeanAndError(const std::string& measurement, 79 const std::string& measurement, [all...] |
/external/skia/tools/VisualBench/ |
VisualInteractiveModule.h | 28 bool timingFinished(Benchmark*, int loops, double measurement) override;
|
VisualLightweightBenchModule.h | 31 bool timingFinished(Benchmark*, int loops, double measurement) override;
|
VisualStreamTimingModule.h | 34 virtual bool timingFinished(Benchmark*, int loops, double measurement)=0;
|
/external/webrtc/webrtc/system_wrappers/source/ |
rtp_to_ntp.cc | 67 RtcpMeasurement measurement; local 68 measurement.ntp_secs = ntp_secs; 69 measurement.ntp_frac = ntp_frac; 70 measurement.rtp_timestamp = rtp_timestamp; 74 if (measurement.ntp_secs == (*it).ntp_secs && 75 measurement.ntp_frac == (*it).ntp_frac) { 86 rtcp_list->push_front(measurement);
|
/frameworks/base/location/java/android/location/ |
GpsMeasurement.java | 24 * A class representing a GPS satellite measurement, containing raw and computed information. 92 * The measurement does not present any indication of 'loss of lock'. 107 * The measurement has been indicated to use multi-path. 112 * The measurement has been indicated not tu use multi-path. 117 * The state of GPS receiver the measurement is invalid or unknown. 186 public void set(GpsMeasurement measurement) { 187 mFlags = measurement.mFlags; 188 mPrn = measurement.mPrn; 189 mTimeOffsetInNs = measurement.mTimeOffsetInNs; 190 mState = measurement.mState [all...] |
GnssMeasurement.java | 28 * A class representing a GNSS satellite measurement, containing raw and computed information. 75 * The measurement shows signs of multi-path. 80 * The measurement shows no signs of multi-path. 87 /** This GNSS measurement's tracking state is invalid or unknown. */ 89 /** This GNSS measurement's tracking state has code lock. */ 91 /** This GNSS measurement's tracking state has bit sync. */ 93 /** This GNSS measurement's tracking state has sub-frame sync. */ 95 /** This GNSS measurement's tracking state has time-of-week decoded. */ 97 /** This GNSS measurement's tracking state contains millisecond ambiguity. */ 99 /** This GNSS measurement's tracking state has symbol sync. * [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/ |
timeline_based_page_test.py | 13 Timeline Based Measurement benchmarks. This class will be removed after 21 def measurement(self): member in class:TimelineBasedPageTest 26 # Measurement is done explicitly in story_runner for timeline based page
|
/external/chromium-trace/catapult/telemetry/telemetry/page/ |
page_test_unittest.py | 80 measurement = PageTestForBlank() 82 measurement, story_set, options=self._options) 88 measurement = PageTestQueryParams() 90 measurement, story_set, options=self._options) 95 measurement = PageTestThatFails() 97 measurement, story_set, options=self._options) 116 measurement = PageTestForReplay() 126 measurement, story_set, options=self._options) 137 measurement, story_set, options=self._options) 145 measurement, story_set, options=self._options [all...] |
/external/opencv3/samples/cpp/ |
kalman.cpp | 19 " Measurement is the real point angle + gaussian noise.\n" 37 Mat measurement = Mat::zeros(1, 1, CV_32F); local 63 randn( measurement, Scalar::all(0), Scalar::all(KF.measurementNoiseCov.at<float>(0))); 65 // generate measurement 66 measurement += KF.measurementMatrix*state; 68 double measAngle = measurement.at<float>(0); 86 KF.correct(measurement);
|
/external/opencv3/samples/python2/ |
kalman.py | 6 Measurement is the real point angle + gaussian noise. 50 measurement = kalman.measurementNoiseCov * np.random.randn(1, 1) variable 52 # generate measurement 53 measurement = np.dot(kalman.measurementMatrix, state) + measurement variable 55 measurement_angle = measurement[0, 0] 75 kalman.correct(measurement)
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
NetworkDiagnostics.java | 112 public class Measurement { 151 // measurement even began, fixup the start time to reflect as much. 161 private final Map<InetAddress, Measurement> mIcmpChecks = new HashMap<>(); 162 private final Map<Pair<InetAddress, InetAddress>, Measurement> mExplicitSourceIcmpChecks = 164 private final Map<InetAddress, Measurement> mDnsUdpChecks = new HashMap<>(); 226 Measurement measurement = new Measurement(); local 227 measurement.thread = new Thread(new IcmpCheck(target, measurement)); 238 Measurement measurement = new Measurement(); local 248 Measurement measurement = new Measurement(); local [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
page_test_test_case.py | 48 def RunMeasurement(self, measurement, ps, 50 """Runs a measurement against a pageset, returning the rows its outputs.""" 62 if isinstance(measurement, page_test.PageTest): 63 measurement.CustomizeBrowserOptions(options.browser_options) 70 story_runner.Run(measurement, ps, options, results) 100 measurement = BuggyMeasurement() 102 self.RunMeasurement(measurement, ps, options=options)
|
/external/chromium-trace/catapult/telemetry/telemetry/util/ |
perf_tests_results_helper.py | 95 def PrintPerfResult(measurement, trace, values, units, 106 measurement: A description of the quantity being measured, e.g. "vm_peak". 130 assert '/' not in measurement 136 _EscapePerfResult(measurement), 139 # measurement is enough clear to describe the result. 152 _EscapePerfResult(measurement), 159 output += '\nAvg %s: %f%s' % (measurement, avg, units) 161 output += '\nSd %s: %f%s' % (measurement, sd, units)
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
ArbitraryMeasurmentInstrumentTest.java | 22 import com.google.caliper.model.Measurement; 44 Measurement measurement = Iterables.getOnlyElement( local 46 Measurement expected = new Measurement.Builder() 51 assertEquals(expected, measurement);
|
/frameworks/base/packages/DocumentsUI/app-perf-tests/src/com/android/documentsui/ |
LauncherActivity.java | 35 public static long measurement = -1; field in class:LauncherActivity 59 measurement = System.currentTimeMillis() - mStartTime;
|
/cts/tests/tests/media/src/android/media/cts/ |
VisualizerTest.java | 221 // 3 - check measurement mode MEASUREMENT_MODE_NONE 224 //Test case 3.0: test setting NONE measurement mode 253 // 4 - check measurement mode MEASUREMENT_MODE_PEAK_RMS 256 //Test case 4.0: test setting peak / RMS measurement mode 284 //Test case 4.1: test measurement of peak / RMS 322 // make sure we're playing long enough so the measurement is valid 333 MeasurementPeakRms measurement = new MeasurementPeakRms(); local 334 status = mVisualizer.getMeasurementPeakRms(measurement); 340 Log.i("VisTest", "peak="+measurement.mPeak+" rms="+measurement.mRms) 405 MeasurementPeakRms measurement = new MeasurementPeakRms(); local [all...] |
/external/autotest/client/site_tests/hardware_Usb30Throughput/ |
hardware_Usb30Throughput.py | 38 For the test to fail at least one measurement needs to be 67 for measurement in range(measurements): 69 key = 'Mbit_per_sec_measurement_%d' % measurement 71 logging.debug('xfer rate (measurement %d) %.2f (min=%.2f)', 72 measurement, xfer_rate, min_speed)
|
/external/ceres-solver/examples/ |
curve_fitting.c | 130 double* measurement = (double*) user_data; local 131 double x = measurement[0]; 132 double y = measurement[1]; 172 &data[2 * i], /* Points to the (x,y) measurement */
|