Searched refs:sensorRequest (Results 1 – 4 of 4) sorted by relevance
/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() 111 uint32_t sensorHandle, const SensorRequest& sensorRequest) { in setSensorRequest() argument 130 if (!isSensorRequestValid(sensor, sensorRequest)) { in setSensorRequest() 140 if (sensorRequest.getMode() == SensorMode::Off) { in setSensorRequest() 161 success = requests.add(sensorRequest, &requestChanged); in setSensorRequest() 177 success = requests.update(requestIndex, sensorRequest, &requestChanged); in setSensorRequest() 322 const SensorRequest& sensorRequest = requests[i]; in find() local [all …]
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 1075 sns_smgr_buffering_req_msg_v01 *sensorRequest) { in populateSensorRequest() argument 1078 memset(sensorRequest, 0, sizeof(*sensorRequest)); in populateSensorRequest() 1097 sensorRequest->ReportId = getReportId(sensorId, dataType, calType); in populateSensorRequest() 1098 sensorRequest->Action = getSmgrRequestActionForMode(request.getMode()); in populateSensorRequest() 1106 sensorRequest->ReportRate = intervalToSmgrQ16ReportRate(batchInterval); in populateSensorRequest() 1107 sensorRequest->Item_len = 1; // One sensor per request if possible. in populateSensorRequest() 1108 sensorRequest->Item[0].SensorId = sensorId; in populateSensorRequest() 1109 sensorRequest->Item[0].DataType = dataType; in populateSensorRequest() 1110 sensorRequest->Item[0].Decimation = getDecimationType(sensorId, dataType); in populateSensorRequest() 1111 sensorRequest->Item[0].Calibration = calType; in populateSensorRequest() [all …]
|
/system/chre/platform/shared/ |
D | chre_api_sensor.cc | 71 SensorRequest sensorRequest(nanoapp, sensorMode, Nanoseconds(interval), in chreSensorConfigure() local 74 .setSensorRequest(nanoapp, sensorHandle, sensorRequest); in chreSensorConfigure()
|
/system/chre/core/include/chre/core/ |
D | sensor_request_manager.h | 68 const SensorRequest& sensorRequest);
|