Home
last modified time | relevance | path

Searched refs:Sensor (Results 1 – 12 of 12) sorted by relevance

/system/chre/core/
Dsensor.cc23 Mutex Sensor::mSamplingStatusMutex;
25 Sensor::Sensor(Sensor &&other) in Sensor() function in chre::Sensor
30 Sensor &Sensor::operator=(Sensor &&other) { in operator =()
50 Sensor::~Sensor() { in ~Sensor()
58 void Sensor::init() { in init()
69 void Sensor::populateSensorInfo(struct chreSensorInfo *info, in populateSensorInfo()
86 void Sensor::clearPendingFlushRequest() { in clearPendingFlushRequest()
91 void Sensor::cancelPendingFlushRequestTimer() { in cancelPendingFlushRequestTimer()
99 void Sensor::setLastEvent(ChreSensorData *event) { in setLastEvent()
110 bool Sensor::getSamplingStatus(struct chreSensorSamplingStatus *status) const { in getSamplingStatus()
[all …]
Dsensor_request_manager.cc33 bool isSensorRequestValid(const Sensor &sensor, in isSensorRequestValid()
64 Sensor *sensor = in updateLastEvent()
174 Sensor &sensor = mSensors[sensorHandle]; in setSensorRequest()
302 Sensor &sensor = mSensors[sensorHandle]; in removeAllRequests()
322 Sensor *SensorRequestManager::getSensor(uint32_t sensorHandle) { in getSensor()
323 Sensor *sensorPtr = nullptr; in getSensor()
363 Sensor &sensor = mSensors[sensorHandle]; in configureBiasEvents()
485 Sensor &sensor = mSensors[sensorHandle]; in handleSensorDataEvent()
511 Sensor *sensor = in handleSamplingStatusUpdate()
539 Sensor *sensor = in handleBiasEvent()
[all …]
/system/chre/platform/include/chre/platform/
Dplatform_sensor_manager.h60 DynamicVector<Sensor> getSensors();
85 bool configureSensor(Sensor &sensor, const SensorRequest &request);
109 bool configureBiasEvents(const Sensor &sensor, bool enable,
124 bool getThreeAxisBias(const Sensor &sensor,
140 bool flush(const Sensor &sensor, uint32_t *flushRequestId);
/system/chre/core/include/chre/core/
Dsensor.h38 class Sensor : public PlatformSensor {
47 Sensor() : mFlushRequestPending(false) {} in Sensor() function
49 Sensor(Sensor &&other);
50 Sensor &operator=(Sensor &&other);
52 ~Sensor();
Dsensor_request_manager.h139 Sensor *getSensor(uint32_t sensorHandle);
336 DynamicVector<Sensor> mSensors;
365 bool doMakeFlushRequest(Sensor &sensor);
375 bool removeAllRequests(Sensor &sensor);
388 bool removeRequest(Sensor &sensor, size_t removeIndex, bool *requestChanged);
400 bool addRequest(Sensor &sensor, const SensorRequest &request,
416 bool updateRequest(Sensor &sensor, size_t updateIndex,
502 bool configurePlatformSensor(Sensor &sensor,
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorSensor.java19 import android.hardware.Sensor;
94 private List<Sensor> mSensorList = new ArrayList<Sensor>();
98 private Sensor mSensor;
137 List<Sensor> sensorList = mSensorManager.getSensorList(apSensorType); in ChreCrossValidatorSensor()
140 for (Sensor sensor : sensorList) { in ChreCrossValidatorSensor()
332 if (mSensor.getType() == Sensor.REPORTING_MODE_CONTINUOUS) { in getAwaitDataTimeoutInMs()
340 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
394 map.put(Sensor.TYPE_ACCELEROMETER, new CrossValidatorSensorConfig(3, 0.01f)); in makeSensorTypeToInfoMap()
395 map.put(Sensor.TYPE_GYROSCOPE, new CrossValidatorSensorConfig(3, 0.01f)); in makeSensorTypeToInfoMap()
396 map.put(Sensor.TYPE_MAGNETIC_FIELD, new CrossValidatorSensorConfig(3, 0.05f)); in makeSensorTypeToInfoMap()
[all …]
DApSensorDatapoint.java18 import android.hardware.Sensor;
24 public Sensor sensor;
/system/chre/platform/shared/sensor_pal/
Dplatform_sensor_manager.cc57 DynamicVector<Sensor> PlatformSensorManager::getSensors() { in getSensors()
58 DynamicVector<Sensor> sensors; in getSensors()
69 sensors.push_back(Sensor()); in getSensors()
83 bool PlatformSensorManager::configureSensor(Sensor &sensor, in configureSensor()
96 bool PlatformSensorManager::configureBiasEvents(const Sensor &sensor, in configureBiasEvents()
108 const Sensor &sensor, struct chreSensorThreeAxisData *bias) const { in getThreeAxisBias()
116 bool PlatformSensorManager::flush(const Sensor &sensor, in flush()
/system/chre/platform/slpi/see/include/chre/target_platform/
Dplatform_sensor_manager_base.h42 SeeHelper &getSeeHelperForSensor(const Sensor &sensor);
44 const SeeHelper &getSeeHelperForSensor(const Sensor &sensor) const { in getSeeHelperForSensor()
58 void getBigImageSensors(DynamicVector<Sensor> *sensors);
/system/chre/platform/slpi/see/
Dplatform_sensor_manager.cc87 bool isBigImageSensor(const Sensor &sensor) { in isBigImageSensor()
246 Sensor *sensor = getSensorRequestManager().getSensor(sensorHandle); in mergeUpdatedStatus()
324 const SeeAttributes &attr, DynamicVector<Sensor> *sensors) { in addSensor()
471 DynamicVector<Sensor> *sensors) { in findAndAddSensorsForType()
546 Sensor *sensor, uint32_t sensorHandle, in findAndAddSensorsForType()
607 const Sensor &sensor) { in getSeeHelperForSensor()
621 DynamicVector<Sensor> *sensors) { in getBigImageSensors()
654 DynamicVector<Sensor> PlatformSensorManager::getSensors() { in getSensors()
655 DynamicVector<Sensor> sensors; in getSensors()
710 bool PlatformSensorManager::configureSensor(Sensor &sensor, in configureSensor()
[all …]
/system/chre/apps/test/common/proto/
Dchre_cross_validation_sensor.proto38 * apSensorType values defined in Sensor class of
39 * android/frameworks/base/core/java/android/hardware/Sensor.java
54 // The sensor name given by android.hardware.Sensor#getSensorName()
/system/chre/platform/tinysys/
DREADME.md5 Within tinysys, SCP refers to the Sensor-hub Control Processor, which is where