HomeSort by relevance Sort by last modified time
    Searched full:sampling_period_ns (Results 1 - 13 of 13) sorted by null

  /device/google/contexthub/sensorhal/
sensors.h 43 int batch(int handle, int64_t sampling_period_ns,
63 int64_t sampling_period_ns,
sensors.cpp 109 int64_t sampling_period_ns,
114 int64_t sampling_period_ns_clamped = sampling_period_ns;
122 if ((sampling_period_ns/1000) < sensor.minDelay) {
124 } else if ((sampling_period_ns/1000) > sensor.maxDelay) {
172 int64_t sampling_period_ns,
176 handle, sampling_period_ns, max_report_latency_ns);
hubconnection.cpp     [all...]
hubconnection.h 55 void queueBatch(int handle, nsecs_t sampling_period_ns,
  /docs/source.android.com/src/devices/sensors/
report-modes.jd 31 <p>Events are generated at a constant rate defined by the <a href="hal-interface.html#sampling_period_ns">sampling_period_ns</a> parameter passed to the <code>batch</code> function. Example sensors using the continuous
39 <p>The <a href="hal-interface.html#sampling_period_ns">sampling_period_ns</a>
42 sampling_period_ns nanoseconds elapsed since the last event, even if the value
44 <code>sampling_period_ns</code> has elapsed since the last event.</p>
47 <li> We activate the step counter with <code>sampling_period_ns = 10 * 10^9</code> (10 seconds). </li>
60 <p>The <code>sampling_period_ns</code> and <code>max_report_latency_ns</code>
hal-interface.jd 88 int64_t sampling_period_ns,
91 <p>Sets a sensor?s parameters, including <a href="#sampling_period_ns">sampling frequency</a> and <a href="#max_report_latency_ns">maximum report latency</a>. This function can be called while the sensor is activated, in which case it
97 <p><code>sampling_period_ns</code> is the sampling period at which the sensor should run, in
98 nanoseconds. See <a href="#sampling_period_ns">sampling_period_ns</a> for more details.</p>
102 <h3 id="sampling_period_ns">sampling_period_ns</h3>
103 <p>What the <code>sampling_period_ns</code> parameter means depends on the specified sensor's
106 <li> Continuous: <code>sampling_period_ns</code> is the sampling rate, meaning the rate at which
108 <li> On-change: <code>sampling_period_ns</code> limits the sampling rate of events, meanin
    [all...]
versioning.jd 56 <code>sampling_period_ns</code> parameter.</p>
170 <code>sensor_handle,</code> or negative <code>sampling_period_ns </code>or
sensor-stack.jd 59 <li> The <a href="hal-interface.html#sampling_period_ns">sampling frequency</a> will be the maximum of the requested sampling frequencies, meaning some
sensor-types.jd 467 <p><code>sampling_period_ns</code> has no impact on step detectors.</p>
    [all...]
  /device/google/dragon/sensor_hub/
cros_ec_sensors.cpp 162 long frequency = enabled ? 1e12 / info->sampling_period_ns : 0;
199 int64_t sampling_period_ns,
207 if (nanoseconds_to_microseconds(sampling_period_ns) >
209 info->sampling_period_ns = microseconds_to_nanoseconds(info->sensor_data.maxDelay);
210 else if (nanoseconds_to_microseconds(sampling_period_ns) <
212 info->sampling_period_ns = microseconds_to_nanoseconds(info->sensor_data.minDelay);
214 info->sampling_period_ns = sampling_period_ns;
221 if (info->max_report_latency_ns < max(sampling_period_ns, info->sampling_period_ns)) {
    [all...]
cros_ec_sensors.h 93 int64_t sampling_period_ns; member in struct:cros_ec_sensor_info
sensors.cpp 678 int64_t sampling_period_ns,
681 return mSensor->batch(handle, sampling_period_ns,
  /hardware/libhardware/include/hardware/
sensors.h     [all...]

Completed in 505 milliseconds