Home
last modified time | relevance | path

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

/system/chre/apps/sensor_world/
Dsensor_world.cc70 const uint8_t sensorIndex; member
82 .sensorIndex = 0,
92 .sensorIndex = 0,
102 .sensorIndex = 0,
112 .sensorIndex = 0,
122 .sensorIndex = 0,
132 .sensorIndex = 0,
142 .sensorIndex = 0,
152 .sensorIndex = 0,
162 .sensorIndex = 0,
[all …]
/system/chre/apps/test/common/chre_cross_validator_sensor/src/
Dchre_cross_validator_sensor_manager.cc343 uint32_t sensorIndex = startSensorCommand.sensorIndex; in handleStartSensorMessage() local
346 if (!getSensor(sensorType, sensorIndex, &handle)) { in handleStartSensorMessage()
349 sensorType, sensorIndex); in handleStartSensorMessage()
353 sensorType, sensorIndex); in handleStartSensorMessage()
461 infoResponse.sensorIndex = i; in handleInfoMessage()
650 bool Manager::getSensor(uint32_t sensorType, uint32_t sensorIndex, in getSensor() argument
655 if (sensorIndex > UINT8_MAX) { in getSensor()
657 } else if (!supportsMultiSensor && sensorIndex != 0) { in getSensor()
660 success = chreSensorFind(sensorType, sensorIndex, handle); in getSensor()
/system/chre/platform/shared/
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()
/system/chre/core/include/chre/core/
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()
/system/chre/chre_api/legacy/v1_6/chre/
Dsensor.h634 uint8_t sensorIndex; member
768 bool chreSensorFind(uint8_t sensorType, uint8_t sensorIndex, uint32_t *handle);
/system/chre/chre_api/legacy/v1_7/chre/
Dsensor.h634 uint8_t sensorIndex; member
768 bool chreSensorFind(uint8_t sensorType, uint8_t sensorIndex, uint32_t *handle);
/system/chre/chre_api/include/chre_api/chre/
Dsensor.h634 uint8_t sensorIndex; member
771 bool chreSensorFind(uint8_t sensorType, uint8_t sensorIndex, uint32_t *handle);
/system/chre/chre_api/legacy/v1_5/chre/
Dsensor.h634 uint8_t sensorIndex; member
768 bool chreSensorFind(uint8_t sensorType, uint8_t sensorIndex, uint32_t *handle);
/system/chre/apps/test/common/proto/
Dchre_cross_validation_sensor.proto46 optional uint32 sensorIndex = 5; field
64 optional uint32 sensorIndex = 3; field
/system/chre/apps/test/common/chre_api_test/src/
Dchre_api_test_service.cc168 response.sensorIndex = sensorInfo.sensorIndex; in validateInputAndCallChreGetSensorInfo()
178 response.unusedFlags, response.minInterval, response.sensorIndex); in validateInputAndCallChreGetSensorInfo()
/system/chre/platform/shared/nanoapp/
Dnanoapp_support_lib_dso.cc399 bool chreSensorFind(uint8_t sensorType, uint8_t sensorIndex, uint32_t *handle) { in chreSensorFind() argument
402 return fptr(sensorType, sensorIndex, handle); in chreSensorFind()
403 } else if (sensorIndex == 0) { in chreSensorFind()
/system/chre/apps/test/common/chre_cross_validator_sensor/inc/
Dchre_cross_validator_sensor_manager.h389 bool getSensor(uint32_t sensorType, uint32_t sensorIndex, uint32_t *handle);
/system/chre/platform/linux/
Dpal_sensor.cc49 .sensorIndex = CHRE_SENSOR_INDEX_DEFAULT,
/system/chre/core/
Dsensor_request_manager.cc144 uint8_t sensorIndex, in getSensorHandle() argument
152 (mSensors[i].getSensorIndex() == sensorIndex) && in getSensorHandle()
/system/chre/apps/test/common/chre_api_test/rpc/
Dchre_api_test.proto220 uint32 sensorIndex = 10; field