Home
last modified time | relevance | path

Searched refs:measurements (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/location/java/android/location/
DGpsMeasurementsEvent.java82 public GpsMeasurementsEvent(GpsClock clock, GpsMeasurement[] measurements) { in GpsMeasurementsEvent() argument
86 if (measurements == null || measurements.length == 0) { in GpsMeasurementsEvent()
92 Collection<GpsMeasurement> measurementCollection = Arrays.asList(measurements); in GpsMeasurementsEvent()
DGnssMeasurementsEvent.java122 public GnssMeasurementsEvent(GnssClock clock, GnssMeasurement[] measurements) { in GnssMeasurementsEvent() argument
126 if (measurements == null || measurements.length == 0) { in GnssMeasurementsEvent()
129 Collection<GnssMeasurement> measurementCollection = Arrays.asList(measurements); in GnssMeasurementsEvent()
/frameworks/base/services/core/jni/gnss/
DGnssMeasurementCallback.h62 JNIEnv* env, const std::vector<hardware::gnss::GnssMeasurement>& measurements);
92 jobjectArray translateAllGnssMeasurements(JNIEnv* env, const T* measurements, size_t count);
139 translateAllGnssMeasurements(env, data.measurements.data(), count); in translateAndSetGnssData()
153 return data.measurements.size(); in getMeasurementCount()
207 const T* measurements, in translateAllGnssMeasurements() argument
218 translateSingleGnssMeasurement(measurements[i], object); in translateAllGnssMeasurements()
DGnssMeasurementCallback.cpp290 jobjectArray measurementArray = translateAllGnssMeasurements(env, data.measurements); in translateAndSetGnssData()
416 JNIEnv* env, const std::vector<GnssMeasurement>& measurements) { in translateAllGnssMeasurements() argument
417 if (measurements.size() == 0) { in translateAllGnssMeasurements()
422 env->NewObjectArray(measurements.size(), class_gnssMeasurement, in translateAllGnssMeasurements()
425 for (uint16_t i = 0; i < measurements.size(); ++i) { in translateAllGnssMeasurements()
427 translateSingleGnssMeasurement(env, measurements[i], object); in translateAllGnssMeasurements()
/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp642 int32_t measurements[2]; in android_media_visualizer_native_getPeakRms() local
645 2, measurements)); in android_media_visualizer_native_getPeakRms()
648 env->SetIntField(jPeakRmsObj, fields.fidPeak, measurements[MEASUREMENT_IDX_PEAK]); in android_media_visualizer_native_getPeakRms()
649 env->SetIntField(jPeakRmsObj, fields.fidRms, measurements[MEASUREMENT_IDX_RMS]); in android_media_visualizer_native_getPeakRms()
DVisualizer.h134 status_t getIntMeasurements(uint32_t type, uint32_t number, int32_t *measurements);
DVisualizer.cpp243 status_t Visualizer::getIntMeasurements(uint32_t type, uint32_t number, int32_t *measurements) { in getIntMeasurements() argument
269 &replySize, measurements); in getIntMeasurements()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp274 vector<meas> measurements; variable
448 measurements.push_back(meas); in main()
449 measPtr = &measurements[measurements.size() - 1]; in main()
595 printOverlapLine(indent, *it, measurements[it in main()
604 printOverlapLine(indent, *it, measurements[it in main()
613 printOverlapLine(indent, *it, measurements[it in main()
/frameworks/base/core/proto/android/server/
Dpowerstatsservice.proto67 * represents measurements taken directly from on-device energy meters.
240 * Energy measurements:
/frameworks/opt/telephony/proto/src/
Dtelephony.proto2215 // measurements for other RATs