Searched refs:sensorRequest (Results 1 – 4 of 4) sorted by relevance
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 1150 sns_smgr_buffering_req_msg_v01 *sensorRequest) { in populateSensorRequest() argument 1153 memset(sensorRequest, 0, sizeof(*sensorRequest)); in populateSensorRequest() 1172 sensorRequest->ReportId = getReportId(sensorId, dataType, calType); in populateSensorRequest() 1173 sensorRequest->Action = getSmgrRequestActionForMode(request.getMode()); in populateSensorRequest() 1181 sensorRequest->ReportRate = intervalToSmgrQ16ReportRate(batchInterval); in populateSensorRequest() 1182 sensorRequest->Item_len = 1; // One sensor per request if possible. in populateSensorRequest() 1183 sensorRequest->Item[0].SensorId = sensorId; in populateSensorRequest() 1184 sensorRequest->Item[0].DataType = dataType; in populateSensorRequest() 1185 sensorRequest->Item[0].Decimation = getDecimationType(sensorId, dataType); in populateSensorRequest() 1186 sensorRequest->Item[0].Calibration = calType; in populateSensorRequest() [all …]
|
/system/chre/core/ |
D | sensor_request_manager.cc | 34 const SensorRequest& sensorRequest) { in isSensorRequestValid() argument 36 sensorRequest.getMode()); in isSensorRequestValid() 37 bool isRequestOneShot = sensorModeIsOneShot(sensorRequest.getMode()); in isSensorRequestValid() 38 uint64_t requestedInterval = sensorRequest.getInterval().toRawNanoseconds(); in isSensorRequestValid() 124 uint32_t sensorHandle, const SensorRequest& sensorRequest) { in setSensorRequest() argument 143 if (!isSensorRequestValid(sensor, sensorRequest)) { in setSensorRequest() 154 if (sensorRequest.getMode() == SensorMode::Off) { in setSensorRequest() 184 success = requests.add(sensorRequest, &requestChanged); in setSensorRequest() 207 success = requests.update(requestIndex, sensorRequest, &requestChanged); in setSensorRequest() 540 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 | 78 const SensorRequest& sensorRequest);
|