Home
last modified time | relevance | path

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

12

/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.cc461 DynamicVector<Sensor> *sensors) { in addSensor() argument
488 if (!sensors->push_back(std::move(sensor))) { in addSensor()
599 DynamicVector<Sensor> *sensors) { in findAndAddSensorsForType() argument
614 addSensor(seeHelper, sensorType, suid, attr, sensors); in findAndAddSensorsForType()
621 addSensor(seeHelper, calibratedType, suid, attr, sensors); in findAndAddSensorsForType()
643 sensors); in findAndAddSensorsForType()
662 void getBigImageSensors(DynamicVector<Sensor> *sensors) { in findAndAddSensorsForType() argument
663 CHRE_ASSERT(sensors); in findAndAddSensorsForType()
686 true /* skipAdditionalTypes */, sensors); in findAndAddSensorsForType()
746 bool PlatformSensor::getSensors(DynamicVector<Sensor> *sensors) { in getSensors() argument
[all …]
/system/chre/core/
Dsensor_request_manager.cc82 DynamicVector<Sensor> sensors; in init() local
83 sensors.reserve(8); // Avoid some initial reallocation churn in init()
84 if (!PlatformSensor::getSensors(&sensors)) { in init()
86 } else if (sensors.empty()) { in init()
89 for (size_t i = 0; i < sensors.size(); i++) { in init()
90 SensorType sensorType = sensors[i].getSensorType(); in init()
95 } else if (sensors[i].getMinInterval() == 0) { in init()
98 mSensorRequests[sensorIndex].setSensor(std::move(sensors[i])); in init()
/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()
1046 DynamicVector<Sensor> *sensors) { in getSensorsForSensorId() argument
1084 addSensor(sensorInfo, SNS_SMGR_CAL_SEL_FULL_CAL_V01, sensors); in getSensorsForSensorId()
1091 addSensor(sensorInfo, SNS_SMGR_CAL_SEL_FACTORY_CAL_V01, sensors); in getSensorsForSensorId()
1463 bool PlatformSensor::getSensors(DynamicVector<Sensor> *sensors) { in getSensors() argument
1464 CHRE_ASSERT(sensors); in getSensors()
1484 if (!getSensorsForSensorId(sensorId, sensors)) { in getSensors()
/system/linkerconfig/testdata/root/system/apex/com.android.vndk.vR/etc/
Dvndkcore.libraries.R.txt124 android.hardware.sensors@1.0.so
125 android.hardware.sensors@2.0.so
/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/private/
Dhwservice_contexts61 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
/system/sepolicy/prebuilts/api/30.0/private/
Dhwservice_contexts61 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/prebuilts/api/28.0/public/
Dattributes286 hal_attribute(sensors);
Dproperty_contexts267 ro.hardware.sensors u:object_r:exported_default_prop:s0 exact string
/system/sepolicy/vendor/
Dfile_contexts62 /(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@[0-9]\.[0-9]-service(\.multihal)? u:obje…
/system/sepolicy/prebuilts/api/29.0/public/
Dattributes283 hal_attribute(sensors);
Dproperty_contexts330 ro.hardware.sensors u:object_r:exported_default_prop:s0 exact string
/system/linkerconfig/testdata/golden_output/stage2/com.vendor.service1/
Dld.config.txt14 …:android.hardware.secure_element@1.2.so:android.hardware.sensors@1.0.so:android.hardware.sensors@2…
/system/linkerconfig/testdata/golden_output/product-enabled/com.vendor.service1/
Dld.config.txt14 …:android.hardware.secure_element@1.2.so:android.hardware.sensors@1.0.so:android.hardware.sensors@2…
/system/sepolicy/public/
Dattributes331 hal_attribute(sensors);
/system/sepolicy/prebuilts/api/30.0/public/
Dattributes331 hal_attribute(sensors);
/system/chre/platform/shared/idl/
Dhost_messages.fbs62 // TODO: list of connected sensors
/system/linkerconfig/testdata/golden_output/product-enabled/
Dld.config.txt472 …:android.hardware.secure_element@1.2.so:android.hardware.sensors@1.0.so:android.hardware.sensors@2…
626 …:android.hardware.secure_element@1.2.so:android.hardware.sensors@1.0.so:android.hardware.sensors@2…
/system/linkerconfig/testdata/golden_output/stage1/
Dld.config.txt309 …:android.hardware.secure_element@1.2.so:android.hardware.sensors@1.0.so:android.hardware.sensors@2…

12