Home
last modified time | relevance | path

Searched refs:sensors (Results 1 – 20 of 20) sorted by relevance

/system/chre/apps/sensor_world/
Dsensor_world.cc64 SensorState sensors[] = { variable
220 for (size_t i = 0; i < ARRAY_SIZE(sensors); i++) { in handleTimerEvent()
221 SensorState& sensor = sensors[i]; in handleTimerEvent()
253 for (size_t i = 0; i < ARRAY_SIZE(sensors); i++) { in nanoappStart()
254 SensorState& sensor = sensors[i]; in nanoappStart()
381 bool status = chreSensorConfigure(sensors[motionSensorIndex].handle, in nanoappHandleEvent()
385 LOGI("Requested %s: %s", sensors[motionSensorIndex].info.sensorName, in nanoappHandleEvent()
390 if (sensors[statusIndex].isInitialized && reading.isNear == 0) { in nanoappHandleEvent()
392 bool success = chreGetSensorSamplingStatus(sensors[statusIndex].handle, in nanoappHandleEvent()
395 sensors[statusIndex].info.sensorName, success, status.enabled, in nanoappHandleEvent()
[all …]
/system/chre/platform/linux/
Dplatform_sensor.cc37 bool PlatformSensor::getSensors(DynamicVector<Sensor> *sensors) { in getSensors() argument
38 CHRE_ASSERT(sensors); in getSensors()
/system/chre/platform/slpi/see/
Dplatform_sensor.cc426 DynamicVector<Sensor> *sensors) { in addSensor() argument
447 if (!sensors->push_back(std::move(sensor))) { in addSensor()
551 DynamicVector<Sensor> *sensors) { in findAndAddSensorsForType() argument
566 addSensor(seeHelper, sensorType, suid, attr, sensors); in findAndAddSensorsForType()
573 addSensor(seeHelper, calibratedType, suid, attr, sensors); in findAndAddSensorsForType()
588 sensors); in findAndAddSensorsForType()
607 void getBigImageSensors(DynamicVector<Sensor> *sensors) { in getBigImageSensors() argument
608 CHRE_ASSERT(sensors); in getBigImageSensors()
631 true /* skipAdditionalTypes */, sensors); in getBigImageSensors()
691 bool PlatformSensor::getSensors(DynamicVector<Sensor> *sensors) { in getSensors() argument
[all …]
/system/chre/core/
Dsensor_request_manager.cc66 DynamicVector<Sensor> sensors; in SensorRequestManager() local
67 sensors.reserve(8); // Avoid some initial reallocation churn in SensorRequestManager()
68 if (!PlatformSensor::getSensors(&sensors)) { in SensorRequestManager()
70 } else if (sensors.empty()) { in SensorRequestManager()
73 for (size_t i = 0; i < sensors.size(); i++) { in SensorRequestManager()
74 SensorType sensorType = sensors[i].getSensorType(); in SensorRequestManager()
79 } else if (sensors[i].getMinInterval() == 0) { in SensorRequestManager()
82 mSensorRequests[sensorIndex].setSensor(std::move(sensors[i])); in SensorRequestManager()
/system/chre/platform/include/chre/platform/
Dplatform_sensor.h63 static bool getSensors(DynamicVector<Sensor> *sensors);
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc328 uint8_t calType, DynamicVector<Sensor> *sensors) { in addSensor() argument
353 if (!sensors->push_back(std::move(sensor))) { in addSensor()
1061 DynamicVector<Sensor> *sensors) { in getSensorsForSensorId() argument
1099 addSensor(sensorInfo, SNS_SMGR_CAL_SEL_FULL_CAL_V01, sensors); in getSensorsForSensorId()
1106 addSensor(sensorInfo, SNS_SMGR_CAL_SEL_FACTORY_CAL_V01, sensors); in getSensorsForSensorId()
1478 bool PlatformSensor::getSensors(DynamicVector<Sensor> *sensors) { in getSensors() argument
1479 CHRE_ASSERT(sensors); in getSensors()
1499 if (!getSensorsForSensorId(sensorId, sensors)) { in getSensors()
/system/sepolicy/prebuilts/api/26.0/private/
Dhwservice_contexts35 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
/system/sepolicy/prebuilts/api/27.0/private/
Dhwservice_contexts37 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
/system/sepolicy/prebuilts/api/28.0/private/
Dhwservice_contexts47 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
/system/sepolicy/prebuilts/api/29.0/private/
Dhwservice_contexts57 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
/system/sepolicy/private/
Dhwservice_contexts57 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
/system/sepolicy/vendor/
Dfile_contexts52 /(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@[0-9]\.[0-9]-service u:object_r:hal_sens…
/system/sepolicy/prebuilts/api/29.0/public/
Dattributes283 hal_attribute(sensors);
Dproperty_contexts319 ro.hardware.sensors u:object_r:exported_default_prop:s0 exact string
/system/sepolicy/public/
Dattributes283 hal_attribute(sensors);
Dproperty_contexts319 ro.hardware.sensors u:object_r:exported_default_prop:s0 exact string
/system/sepolicy/prebuilts/api/28.0/public/
Dattributes286 hal_attribute(sensors);
Dproperty_contexts267 ro.hardware.sensors u:object_r:exported_default_prop:s0 exact string
/system/chre/platform/shared/idl/
Dhost_messages.fbs62 // TODO: list of connected sensors
/system/core/libmeminfo/testdata1/
Dsmaps12437 …6df000 r--p 00000000 fe:00 1211 /system/lib64/android.hardware.sensors@1.0.so
12457 …6f1000 r-xp 0000d000 fe:00 1211 /system/lib64/android.hardware.sensors@1.0.so
12477 …6f2000 rw-p 0001f000 fe:00 1211 /system/lib64/android.hardware.sensors@1.0.so
12497 …6f4000 r--p 00020000 fe:00 1211 /system/lib64/android.hardware.sensors@1.0.so