Home
last modified time | relevance | path

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

12

/system/chre/apps/sensor_world/
Dsensor_world.cc63 SensorState sensors[] = { variable
268 for (size_t i = 0; i < ARRAY_SIZE(sensors); i++) { in getSensorName()
269 if (sensors[i].handle == sensorHandle) { in getSensorName()
270 return sensors[i].info.sensorName; in getSensorName()
277 for (size_t i = 0; i < ARRAY_SIZE(sensors); i++) { in handleTimerEvent()
278 SensorState &sensor = sensors[i]; in handleTimerEvent()
310 for (size_t i = 0; i < ARRAY_SIZE(sensors); i++) { in nanoappStart()
311 SensorState &sensor = sensors[i]; in nanoappStart()
442 bool status = chreSensorConfigure(sensors[motionSensorIndex].handle, in nanoappHandleEvent()
446 LOGI("Requested %s: %s", sensors[motionSensorIndex].info.sensorName, in nanoappHandleEvent()
[all …]
/system/chre/platform/shared/
Dplatform_sensor_manager.cc58 DynamicVector<Sensor> sensors; in getSensors() local
64 } else if (!sensors.reserve(arraySize)) { in getSensors()
69 sensors.push_back(Sensor()); in getSensors()
70 sensors[i].initBase(sensor, i /* sensorHandle */); in getSensors()
80 return sensors; in getSensors()
/system/chre/platform/slpi/see/
Dplatform_sensor_manager.cc324 const SeeAttributes &attr, DynamicVector<Sensor> *sensors) { in addSensor() argument
343 if (!sensors->emplace_back()) { in addSensor()
349 sensors->back().initBase(sensorType, minInterval, sensorName, in addSensor()
351 sensors->back().init(); in addSensor()
471 DynamicVector<Sensor> *sensors) { in findAndAddSensorsForType() argument
486 addSensor(seeHelper, sensorType, targetGroupMask, suid, attr, sensors); in findAndAddSensorsForType()
504 sensors); in findAndAddSensorsForType()
530 tempAttr, sensors); in findAndAddSensorsForType()
621 DynamicVector<Sensor> *sensors) { in getBigImageSensors() argument
622 CHRE_ASSERT(sensors); in getBigImageSensors()
[all …]
/system/chre/platform/slpi/see/include/chre/target_platform/
Dplatform_sensor_manager_base.h58 void getBigImageSensors(DynamicVector<Sensor> *sensors);
/system/chre/pal/include/chre/pal/
Dsensor.h206 bool (*getSensors)(struct chreSensorInfo *const *sensors,
/system/chre/doc/
Dframework_testing.md42 attempts to samples from sensors and outputs to the log. It also offers a
43 break-it mode that randomly changes which sensors are being sampled in an
Dnanoapp_overview.md149 * `sensor_world`: Enables sensors and prints the samples it receives. This
151 which sensors it will enable. It also supports a “break it” mode which
152 stresses the system by enabling/disabling sensors frequently.
165 and reconfigures sensors.
Dporting_guide.md36 like sensors, the operating system, etc. To permit code reuse, the CHRE platform
115 desired optional feature areas, like sensors (potentially via their respective
153 support a desired nanoapp. CHRE feature areas include sensors, GNSS, audio, and
/system/chre/apps/power_test/common/idl/
Dchre_power_test.fbs110 /// All the various sensors that can be interacted with inside the nanoapp.
143 /// enables all sensors at their fastest sampling rate.
/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/prebuilts/api/31.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/30.0/private/
Dhwservice_contexts61 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/chre/chpp/
DREADME.md5 …g CHPP, CHRE can pull together various sources of information, including sensors, location, and au…
11 …rvice discovery, defines a number of services for the most commonly used sensors and peripherals, …
177 …tiation between traffic destined for different services / applications / sensors on a single link.…
/system/sepolicy/prebuilts/api/28.0/public/
Dattributes286 hal_attribute(sensors);
/system/sepolicy/prebuilts/api/29.0/public/
Dattributes283 hal_attribute(sensors);
/system/sepolicy/public/
Dattributes358 hal_attribute(sensors);
/system/sepolicy/vendor/
Dfile_contexts71 /(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@[0-9]\.[0-9]-service(\.multihal)? u:obje…
/system/sepolicy/prebuilts/api/30.0/public/
Dattributes331 hal_attribute(sensors);
/system/sepolicy/prebuilts/api/31.0/public/
Dattributes358 hal_attribute(sensors);
/system/chre/platform/shared/idl/
Dhost_messages.fbs73 // TODO: list of connected sensors

12