/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
StopMeasurementLogMessage.java | 31 private final ImmutableList<Measurement> measurements; field in class:StopMeasurementLogMessage 33 public StopMeasurementLogMessage(Iterable<Measurement> measurements) { 34 this.measurements = ImmutableList.copyOf(measurements); 37 public ImmutableList<Measurement> measurements() { method in class:StopMeasurementLogMessage 38 return measurements; 46 return Objects.hashCode(measurements); 55 return this.measurements.equals(that.measurements);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/ |
SimpleEstimationProblem.java | 26 * <p>This class <em>only</em> handles parameters and measurements 28 * anything by itself. It should either be used with measurements 32 * the various measurements models, the simplest way to use this class 50 /** Measurements. */ 51 private final List<WeightedMeasurement> measurements; field in class:SimpleEstimationProblem 54 * Build an empty instance without parameters nor measurements. 58 measurements = new ArrayList<WeightedMeasurement>(); 89 * Get the measurements of an estimation problem. 90 * @return measurements 93 return measurements.toArray(new WeightedMeasurement[measurements.size()]) [all...] |
GaussNewtonEstimator.java | 88 * model accurately fits the measurements. It only means no better 104 * values (square sum of the weighted residuals of considered measurements). 129 * values (square sum of the weighted residuals of considered measurements). 144 * measurements of the problem.</p> 180 for (int i = 0; i < measurements.length; ++i) { 181 if (! measurements [i].isIgnored()) { 183 double weight = measurements[i].getWeight(); 184 double residual = measurements[i].getResidual(); 188 grad[j] = measurements[i].getPartial(parameters[j]);
|
AbstractEstimator.java | 45 /** Array of measurements. */ 46 protected WeightedMeasurement[] measurements; field in class:AbstractEstimator 131 WeightedMeasurement wm = measurements[i]; 162 WeightedMeasurement wm = measurements[i]; 177 * measurements, then the RMS is <em>sqrt (c/n)</em>. 253 * or the number of degrees of freedom is not positive (number of measurements 288 measurements = problem.getMeasurements(); 292 rows = measurements.length;
|
/hardware/interfaces/gnss/1.0/default/ |
GnssMeasurement.cpp | 53 auto entry = legacyGnssData->measurements[i]; 61 gnssData.measurements[i] = { 128 auto entry = gpsData->measurements[i]; 129 gnssData.measurements[i].flags = entry.flags; 130 gnssData.measurements[i].svid = static_cast<int32_t>(entry.prn); 132 gnssData.measurements[i].constellation = GnssConstellationType::GPS; 134 gnssData.measurements[i].constellation = 138 gnssData.measurements[i].timeOffsetNs = entry.time_offset_ns; 139 gnssData.measurements[i].state = entry.state; 140 gnssData.measurements[i].receivedSvTimeInNs = entry.received_gps_tow_ns [all...] |
/external/ltp/testcases/kernel/security/integrity/ima/tests/ |
ima_measurements.sh | 25 # Description: This file verifies measurements are added to the measurement 58 # (Assumes SHA1 IMA measurements.) 63 cat /sys/kernel/security/ima/ascii_runtime_measurements > measurements 65 $(grep $hash measurements > /dev/null) 86 cat /sys/kernel/security/ima/ascii_runtime_measurements > measurements 87 $(grep $hash measurements > /dev/null) 116 cat /sys/kernel/security/ima/ascii_runtime_measurements > measurements 121 grep $hash measurements > /dev/null
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Trial.java | 43 private List<Measurement> measurements; field in class:Trial 50 this.measurements = Lists.newArrayList(); 58 this.measurements = Lists.newArrayList(builder.measurements); 77 public ImmutableList<Measurement> measurements() { method in class:Trial 78 return ImmutableList.copyOf(measurements); 90 && this.measurements.equals(that.measurements); 97 return Objects.hashCode(id, run, instrumentSpec, scenario, measurements); 106 .add("measurements", measurements 115 private final List<Measurement> measurements = Lists.newArrayList(); field in class:Trial.Builder [all...] |
Measurement.java | 39 Iterable<Measurement> measurements) { 40 return Multimaps.index(measurements, new Function<Measurement, String>() {
|
/hardware/interfaces/gnss/1.1/ |
IGnssMeasurementCallback.hal | 21 /** The callback interface to report measurements from the HAL. */ 64 * Complete set of GNSS Measurement data, same as 1.0 with additional enum in measurements. 68 vec<GnssMeasurement> measurements; 77 * @param data Contains a reading of GNSS measurements.
|
/packages/apps/DocumentsUI/app-perf-tests/src/com/android/documentsui/ |
FilesAppPerfTest.java | 65 long[] measurements = new long[NUM_MEASUREMENTS]; local 78 measurements[i] = LauncherActivity.measurement; 82 : KEY_FILES_WARM_START_PERFORMANCE_MEDIAN, measurements); 85 private void reportMetrics(String key, long[] measurements) { 87 Arrays.sort(measurements); 88 final long median = measurements[NUM_MEASUREMENTS / 2 - 1];
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
FilesActivityPerfTest.java | 82 final List<Long> measurements = new ArrayList<Long>(); local 106 measurements.add(System.currentTimeMillis() - mStartTime); 123 assertEquals(i + 1, measurements.size()); 129 assertEquals(NUM_MEASUREMENTS, measurements.size()); 132 status.putDouble(KEY_FILES_LISTED_PERFORMANCE_FIRST, measurements.get(0)); 134 final Long[] rawMeasurements = measurements.toArray(new Long[NUM_MEASUREMENTS]);
|
/cts/tests/tests/location/src/android/location/cts/ |
GnssMeasurementsEventTest.java | 52 Collection<GnssMeasurement> measurements = newEvent.getMeasurements(); local 53 assertEquals(2, measurements.size()); 54 Iterator<GnssMeasurement> iterator = measurements.iterator();
|
GnssPseudorangeVerificationTest.java | 34 * Test computing and verifying the pseudoranges based on the raw measurements 92 * It only performs sanity checks for the measurements received. 149 for (ArrayList<GnssMeasurement> measurements : measurementConstellationMap.values()) { 150 validatePseudorange(measurements, softAssert, timeInNs); 168 Collection<GnssMeasurement> measurements) { 170 for (GnssMeasurement measurement: measurements){ 180 private ArrayList<GnssMeasurement> filterMeasurements(Collection<GnssMeasurement> measurements) { 182 for (GnssMeasurement measurement: measurements){ 200 * measurements reported by the receiver according to http://cdn.intechopen.com/pdfs-wm/27712.pdf. 202 private void validatePseudorange(Collection<GnssMeasurement> measurements, [all...] |
/external/devlib/devlib/instrument/netstats/ |
__init__.py | 38 measurements = defaultdict(list) 41 measurements[package + '_tx'].append(tx) 42 measurements[package + '_rx'].append(rx) 43 return measurements 46 def write_measurements_csv(measurements, filepath): 47 headers = sorted(measurements.keys()) 48 columns = [measurements[h] for h in headers] 129 measurements = netstats_to_measurements(data) 130 write_measurements_csv(measurements, outfile)
|
/frameworks/base/location/java/android/location/ |
GnssMeasurementsEvent.java | 41 * Used for receiving GNSS satellite measurements from the GNSS engine. 48 * The status of the GNSS measurements event. 56 * The system does not support tracking of GNSS Measurements. 63 * GNSS Measurements are successfully being tracked, it will receive updates once they are 75 * The client is not allowed to register for GNSS Measurements in general or in the 88 * Reports the latest collected GNSS Measurements. 93 * Reports the latest status of the GNSS Measurements sub-system. 102 public GnssMeasurementsEvent(GnssClock clock, GnssMeasurement[] measurements) { 106 if (measurements == null || measurements.length == 0) [all...] |
GpsMeasurementsEvent.java | 39 * The system does not support tracking of GPS Measurements. This status will not change in the 45 * GPS Measurements are successfully being tracked, it will receive updates once they are 59 * Used for receiving GPS satellite measurements from the GPS engine. 69 * Returns the latest collected GPS Measurements. 74 * Returns the latest status of the GPS Measurements sub-system. 79 public GpsMeasurementsEvent(GpsClock clock, GpsMeasurement[] measurements) { 83 if (measurements == null || measurements.length == 0) { 85 "Parameter 'measurements' must not be null or empty."); 89 Collection<GpsMeasurement> measurementCollection = Arrays.asList(measurements); [all...] |
/external/autotest/client/site_tests/power_Idle/ |
power_Idle.py | 61 measurements = [] 63 measurements.append( 66 measurements += power_rapl.create_powercap() 68 measurements += power_rapl.create_rapl() 69 self._plog = power_status.PowerLogger(measurements, 106 def _publish_chromeperf_dashboard(self, measurements): 108 publish = {key: measurements[key] 109 for key in measurements.keys() if key.endswith('pwr')}
|
/tools/tradefederation/core/proto/ |
metric_measurement.proto | 23 // Represents what is the expected directionality of the measurements 26 // of the list of measurements has a desired pattern that we can refer too for 42 message Measurements { 55 // Represents a list of string measurements 60 // Represents a list of numeric measurements 65 // Represents a list of float measurements 70 // Represents the full metric: The measurements and its metadata 72 // The measurements 73 Measurements measurements = 1 [all...] |
/cts/apps/CtsVerifier/assets/scripts/ |
execute_power_tests.py | 81 measurements from the power monitor (through the driver) and then 102 # variation of the ampere measurements 104 # ampere measurements at baseline state to vary around the mean by 118 # measurements that must be below the specified maximum amperes 123 # SAMPLE_COUNT_NOMINAL denotes the typical number of measurements of amperes 126 # RATE_NOMINAL denotes the nominal frequency at which ampere measurements 326 def computeBaselineState(self, measurements): 329 measurements: List of floats containing ampere draw measurements 331 Must be atleast 100 measurements lon [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderDisplayer.java | 134 final int[] measurements = new int[numDisplayedFolders]; local 155 measurements[count] = Math.min(neededWidth, maxCellWidth); 158 measurements[count] = maxAllowedCellSize + extraWidth; 164 measurements[count] = neededWidth; 167 measurements[count - 1] += missingWidth; 170 measurements[count - 1] += extraWidth; 180 return measurements;
|
/external/autotest/client/site_tests/hardware_Usb30Throughput/ |
hardware_Usb30Throughput.py | 35 def run_once(self, measurements=5, size=1, min_speed=300.0): 37 @param measurements: (int) the number of measurements to do. 43 |measurements| the slower the test will run and the more 67 for measurement in range(measurements): 86 '(min_speed=%.2fMbit/sec)' % (num_failures, measurements,
|
/cts/tests/tests/os/src/android/os/health/cts/ |
HealthStatsTest.java | 131 // Measurements fields 132 Map<String,Long> measurements; local 137 measurements = readback.getMeasurements(MEASUREMENTS_0); 138 Assert.assertEquals(1, measurements.size()); 139 Assert.assertEquals(800L, measurements.get("Z").longValue()); 142 measurements = readback.getMeasurements(MEASUREMENTS_1); 144 Assert.assertEquals(2, measurements.size()); 145 Assert.assertEquals(900L, measurements.get("Y").longValue()); 146 Assert.assertEquals(901L, measurements.get("X").longValue()); 198 // Measurements [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
WorkerEventLog.java | 65 * Report the measurements and wait for it to be ack'd by the runner. Returns a message received 69 ShouldContinueMessage notifyMeasurementEnding(Iterable<Measurement> measurements) throws 71 writer.write(new StopMeasurementLogMessage(measurements));
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ConsoleOutput.java | 46 * Prints a brief summary of the results collected. It does not contain the measurements themselves 98 .putAll(Multimaps.index(trial.measurements(), new Function<Measurement, String>() { 106 Collection<Measurement> measurements = entry.getValue(); local 107 ImmutableSet<String> units = FluentIterable.from(measurements) 113 double[] weightedValues = new double[measurements.size()]; 115 for (Measurement measurement : measurements) { 135 numMeasurements += trial.measurements().size(); 140 stdout.printf("Collected %d measurements from:%n", numMeasurements);
|
/external/autotest/client/site_tests/audio_PlaybackPower/ |
audio_PlaybackPower.py | 58 measurements = [power_status.SystemPower( 62 power_logger = power_status.PowerLogger(measurements) 70 return keyval['result_' + measurements[0].domain + '_pwr']
|