Home
last modified time | relevance | path

Searched refs:sample_period (Results 1 – 5 of 5) sorted by relevance

/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorManager.cpp95 int DynamicSensorManager::batch(int handle, nsecs_t sample_period, nsecs_t batch_period) { in batch() argument
101 [&sample_period, &batch_period] (sp<BaseSensorObject> s)->int { in batch()
102 return s->batch(sample_period, batch_period); in batch()
106 int DynamicSensorManager::setDelay(int handle, nsecs_t sample_period) { in setDelay() argument
107 return batch(handle, sample_period, 0); in setDelay()
DDynamicSensorManager.h59 int batch(int handle, nsecs_t sample_period, nsecs_t batch_period);
60 int setDelay(int handle, nsecs_t sample_period);
DDummyDynamicAccelDaemon.h49 virtual int batch(nsecs_t sample_period, nsecs_t batch_period);
/hardware/google/pixel/health/
DBatteryMetricsLogger.cpp31 int sample_period, int upload_period) in BatteryMetricsLogger() argument
34 kSamplePeriod(sample_period), in BatteryMetricsLogger()
36 kMaxSamples(upload_period / sample_period) { in BatteryMetricsLogger()
/hardware/google/pixel/health/include/pixelhealth/
DBatteryMetricsLogger.h43 int sample_period = TEN_MINUTES_SEC, int upload_period = ONE_DAY_SEC);