/aosp12/system/chre/apps/sensor_world/ |
H A D | sensor_world.cc | 66 .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 D | chre_cross_validator_sensor_manager.cc | 335 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 D | chre_api_sensor.cc | 36 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 D | JsonMetadataReader.java | 166 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 D | sensor_request_manager.h | 66 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 D | nanoapp_support_lib_dso.cc | 260 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 D | sensor.h | 634 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 D | chre_cross_validation_sensor.proto | 46 optional uint32 sensorIndex = 5; field 64 optional uint32 sensorIndex = 3; field
|
/aosp12/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | DeviceStateProviderImpl.java | 306 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 D | chre_cross_validator_sensor_manager.h | 401 bool getSensor(uint32_t sensorType, uint32_t sensorIndex, uint32_t *handle);
|
/aosp12/system/chre/core/ |
H A D | sensor_request_manager.cc | 142 uint8_t sensorIndex, in getSensorHandle() argument 150 (mSensors[i].getSensorIndex() == sensorIndex) && in getSensorHandle()
|