Searched refs:sensorRequest (Results 1 – 4 of 4) sorted by relevance
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 1165 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/ |
D | sensor_request_manager.cc | 28 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/ |
D | chre_api_sensor.cc | 155 SensorRequest sensorRequest(nanoapp->getInstanceId(), sensorMode, in chreSensorConfigure() local 158 .setSensorRequest(nanoapp, sensorHandle, sensorRequest); in chreSensorConfigure()
|
/system/chre/core/include/chre/core/ |
D | sensor_request_manager.h | 71 const SensorRequest& sensorRequest);
|