Home
last modified time | relevance | path

Searched refs:sensorRequest (Results 1 – 4 of 4) sorted by relevance

/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc1165 sns_smgr_buffering_req_msg_v01 *sensorRequest) { in populateSensorRequest() argument
1168 memset(sensorRequest, 0, sizeof(*sensorRequest)); in populateSensorRequest()
1187 sensorRequest->ReportId = getReportId(sensorId, dataType, calType); in populateSensorRequest()
1188 sensorRequest->Action = getSmgrRequestActionForMode(request.getMode()); in populateSensorRequest()
1196 sensorRequest->ReportRate = intervalToSmgrQ16ReportRate(batchInterval); in populateSensorRequest()
1197 sensorRequest->Item_len = 1; // One sensor per request if possible. in populateSensorRequest()
1198 sensorRequest->Item[0].SensorId = sensorId; in populateSensorRequest()
1199 sensorRequest->Item[0].DataType = dataType; in populateSensorRequest()
1200 sensorRequest->Item[0].Decimation = getDecimationType(sensorId, dataType); in populateSensorRequest()
1201 sensorRequest->Item[0].Calibration = calType; in populateSensorRequest()
[all …]
/system/chre/core/
Dsensor_request_manager.cc28 const SensorRequest& sensorRequest) { in isSensorRequestValid() argument
30 sensorRequest.getMode()); in isSensorRequestValid()
31 bool isRequestOneShot = sensorModeIsOneShot(sensorRequest.getMode()); in isSensorRequestValid()
32 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid()
117 uint32_t sensorHandle, const SensorRequest& sensorRequest) { in setSensorRequest() argument
136 if (!isSensorRequestValid(sensor, sensorRequest)) { in setSensorRequest()
147 if (sensorRequest.getMode() == SensorMode::Off) { in setSensorRequest()
175 success = requests.add(sensorRequest, &requestChanged); in setSensorRequest()
199 success = requests.update(requestIndex, sensorRequest, &requestChanged); in setSensorRequest()
494 const SensorRequest& sensorRequest = requests[i]; in find() local
[all …]
/system/chre/platform/shared/
Dchre_api_sensor.cc155 SensorRequest sensorRequest(nanoapp->getInstanceId(), sensorMode, in chreSensorConfigure() local
158 .setSensorRequest(nanoapp, sensorHandle, sensorRequest); in chreSensorConfigure()
/system/chre/core/include/chre/core/
Dsensor_request_manager.h71 const SensorRequest& sensorRequest);