Searched refs:num_sample (Results 1 – 7 of 7) sorted by relevance
/hardware/google/camera/common/sensor_listener/ |
D | goog_sensor_environment.cc | 95 int num_sample, std::vector<int64_t>* event_timestamps, in GetLatestNSensorEvents() argument 102 if (num_sample < 0) { in GetLatestNSensorEvents() 107 std::max(0, static_cast<int>(event_buffer_.size()) - num_sample); in GetLatestNSensorEvents() 114 if (event_arrival_timestamps->size() >= num_sample) { in GetLatestNSensorEvents()
|
D | goog_sensor_motion.cc | 111 int num_sample, std::vector<int64_t>* event_timestamps, in GetLatestNSensorEvents() argument 121 if (num_sample < 0) { in GetLatestNSensorEvents() 126 std::max(0, static_cast<int>(event_buffer_.size()) - num_sample); in GetLatestNSensorEvents()
|
D | goog_sensor_sync.cc | 96 int num_sample, std::vector<int64_t>* latest_n_vsync_timestamps, in GetLatestNSamples() argument 110 if (num_sample < 0) { in GetLatestNSamples() 115 std::max(0, static_cast<int>(event_buffer_.size()) - num_sample); in GetLatestNSamples()
|
D | goog_sensor_environment.h | 105 int num_sample, std::vector<int64_t>* latest_n_timestamps,
|
D | goog_sensor_sync.h | 71 void GetLatestNSamples(int num_sample,
|
D | goog_sensor_motion.h | 129 int num_sample, std::vector<int64_t>* latest_n_timestamps,
|
/hardware/google/camera/common/sensor_listener/tests/ |
D | goog_gyro_test.cc | 139 int num_sample = gyro_timestamp_ns.size(); in CheckGyroSampleLatency() local 140 EXPECT_GT(num_sample, 0) << "Get zero gyro events"; in CheckGyroSampleLatency() 142 for (int i = 0; i < num_sample; ++i) { in CheckGyroSampleLatency() 153 static_cast<float>(num_sample) / 1000000.f; in CheckGyroSampleLatency() 156 static_cast<float>(num_latency_10ms) / static_cast<float>(num_sample); in CheckGyroSampleLatency() 158 static_cast<float>(num_latency_15ms) / static_cast<float>(num_sample); in CheckGyroSampleLatency()
|