/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 | 426 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/ |
D | sensor_request_manager.cc | 66 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/ |
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() 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/ |
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/prebuilts/api/29.0/private/ |
D | hwservice_contexts | 57 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
|
/system/sepolicy/private/ |
D | hwservice_contexts | 57 android.hardware.sensors::ISensors u:object_r:hal_sensors_hwservice:s0
|
/system/sepolicy/vendor/ |
D | file_contexts | 52 /(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/ |
D | attributes | 283 hal_attribute(sensors);
|
D | property_contexts | 319 ro.hardware.sensors u:object_r:exported_default_prop:s0 exact string
|
/system/sepolicy/public/ |
D | attributes | 283 hal_attribute(sensors);
|
D | property_contexts | 319 ro.hardware.sensors u:object_r:exported_default_prop:s0 exact string
|
/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/chre/platform/shared/idl/ |
D | host_messages.fbs | 62 // TODO: list of connected sensors
|
/system/core/libmeminfo/testdata1/ |
D | smaps | 12437 …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
|