Home
last modified time | relevance | path

Searched refs:sensorIndex (Results 1 – 11 of 11) sorted by relevance

/aosp12/system/chre/apps/sensor_world/
H A Dsensor_world.cc66 .sensorIndex = 0,
76 .sensorIndex = 0,
86 .sensorIndex = 0,
96 .sensorIndex = 0,
106 .sensorIndex = 0,
116 .sensorIndex = 0,
126 .sensorIndex = 0,
136 .sensorIndex = 0,
146 .sensorIndex = 0,
156 .sensorIndex = 0,
[all …]
/aosp12/system/chre/apps/test/common/chre_cross_validator_sensor/src/
H A Dchre_cross_validator_sensor_manager.cc335 uint32_t sensorIndex = startSensorCommand.sensorIndex; in handleStartSensorMessage() local
338 if (!getSensor(sensorType, sensorIndex, &handle)) { in handleStartSensorMessage()
341 sensorType, sensorIndex); in handleStartSensorMessage()
345 sensorType, sensorIndex); in handleStartSensorMessage()
453 infoResponse.sensorIndex = i; in handleInfoMessage()
665 bool Manager::getSensor(uint32_t sensorType, uint32_t sensorIndex, in getSensor() argument
670 if (sensorIndex > UINT8_MAX) { in getSensor()
672 } else if (!supportsMultiSensor && sensorIndex != 0) { in getSensor()
675 success = chreSensorFind(sensorType, sensorIndex, handle); in getSensor()
/aosp12/system/chre/platform/shared/
H A Dchre_api_sensor.cc36 DLL_EXPORT bool chreSensorFind(uint8_t sensorType, uint8_t sensorIndex, in chreSensorFind() argument
42 .getSensorHandleForNanoapp(sensorType, sensorIndex, *nanoapp, handle); in chreSensorFind()
45 UNUSED_VAR(sensorIndex); in chreSensorFind()
/aosp12/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
H A DJsonMetadataReader.java166 for (String sensorIndex : metadataMapping.keySet()) { in readSensorsFromJson()
170 sensorIndex, in readSensorsFromJson()
171 SensorMetadata.buildFromJson(metadataMapping.getJSONObject(sensorIndex))); in readSensorsFromJson()
/aosp12/system/chre/core/include/chre/core/
H A Dsensor_request_manager.h66 bool getSensorHandle(uint8_t sensorType, uint8_t sensorIndex,
73 bool getSensorHandleForNanoapp(uint8_t sensorType, uint8_t sensorIndex, in getSensorHandleForNanoapp() argument
76 return getSensorHandle(sensorType, sensorIndex, in getSensorHandleForNanoapp()
/aosp12/system/chre/platform/shared/nanoapp/
H A Dnanoapp_support_lib_dso.cc260 bool chreSensorFind(uint8_t sensorType, uint8_t sensorIndex, uint32_t *handle) { in chreSensorFind() argument
263 return fptr(sensorType, sensorIndex, handle); in chreSensorFind()
264 } else if (sensorIndex == 0) { in chreSensorFind()
/aosp12/system/chre/chre_api/include/chre_api/chre/
H A Dsensor.h634 uint8_t sensorIndex; member
768 bool chreSensorFind(uint8_t sensorType, uint8_t sensorIndex, uint32_t *handle);
/aosp12/system/chre/apps/test/common/proto/
H A Dchre_cross_validation_sensor.proto46 optional uint32 sensorIndex = 5; field
64 optional uint32 sensorIndex = 3; field
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DDeviceStateProviderImpl.java306 for (int sensorIndex = 0; sensorIndex < sensors.size(); sensorIndex++) { in findSensor()
307 final Sensor sensor = sensors.get(sensorIndex); in findSensor()
/aosp12/system/chre/apps/test/common/chre_cross_validator_sensor/inc/
H A Dchre_cross_validator_sensor_manager.h401 bool getSensor(uint32_t sensorType, uint32_t sensorIndex, uint32_t *handle);
/aosp12/system/chre/core/
H A Dsensor_request_manager.cc142 uint8_t sensorIndex, in getSensorHandle() argument
150 (mSensors[i].getSensorIndex() == sensorIndex) && in getSensorHandle()