/system/chre/apps/sensor_world/ |
D | sensor_world.cc | 64 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/ |
D | platform_sensor.cc | 37 bool PlatformSensor::getSensors(DynamicVector<Sensor> *sensors) { in getSensors() argument 38 CHRE_ASSERT(sensors); in getSensors()
|
/system/chre/platform/slpi/see/ |
D | platform_sensor.cc | 461 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/ |
D | sensor_request_manager.cc | 82 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/ |
D | platform_sensor.h | 63 static bool getSensors(DynamicVector<Sensor> *sensors);
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 328 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/ |
D | vndkcore.libraries.R.txt | 124 android.hardware.sensors@1.0.so 125 android.hardware.sensors@2.0.so
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | hwservice_contexts | 35 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | hwservice_contexts | 37 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | hwservice_contexts | 47 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
|
/system/sepolicy/private/ |
D | hwservice_contexts | 61 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | hwservice_contexts | 61 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | hwservice_contexts | 57 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | attributes | 286 hal_attribute(sensors);
|
D | property_contexts | 267 ro.hardware.sensors u:object_r:exported_default_prop:s0 exact string
|
/system/sepolicy/vendor/ |
D | file_contexts | 62 /(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@[0-9]\.[0-9]-service(\.multihal)? u:obje…
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | attributes | 283 hal_attribute(sensors);
|
D | property_contexts | 330 ro.hardware.sensors u:object_r:exported_default_prop:s0 exact string
|
/system/linkerconfig/testdata/golden_output/stage2/com.vendor.service1/ |
D | ld.config.txt | 14 …: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/ |
D | ld.config.txt | 14 …:android.hardware.secure_element@1.2.so:android.hardware.sensors@1.0.so:android.hardware.sensors@2…
|
/system/sepolicy/public/ |
D | attributes | 331 hal_attribute(sensors);
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | attributes | 331 hal_attribute(sensors);
|
/system/chre/platform/shared/idl/ |
D | host_messages.fbs | 62 // TODO: list of connected sensors
|
/system/linkerconfig/testdata/golden_output/product-enabled/ |
D | ld.config.txt | 472 …: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/ |
D | ld.config.txt | 309 …:android.hardware.secure_element@1.2.so:android.hardware.sensors@1.0.so:android.hardware.sensors@2…
|