Home
last modified time | relevance | path

Searched refs:dataType (Results 1 – 7 of 7) sorted by relevance

/system/chre/platform/slpi/see/
Dplatform_sensor.cc72 SensorType getBigImageSensorTypeFromDataType(const char *dataType, in getBigImageSensorTypeFromDataType() argument
75 if (strcmp(dataType, "accel") == 0) { in getBigImageSensorTypeFromDataType()
81 } else if (strcmp(dataType, "gyro") == 0 && !calibrated) { in getBigImageSensorTypeFromDataType()
83 } else if (strcmp(dataType, "mag") == 0 && !calibrated) { in getBigImageSensorTypeFromDataType()
178 SensorType getSensorTypeFromDataType(const char *dataType, bool calibrated) { in getSensorTypeFromDataType() argument
180 if (strcmp(dataType, "accel") == 0) { in getSensorTypeFromDataType()
186 } else if (strcmp(dataType, "gyro") == 0) { in getSensorTypeFromDataType()
192 } else if (strcmp(dataType, "mag") == 0) { in getSensorTypeFromDataType()
198 } else if (strcmp(dataType, "pressure") == 0) { in getSensorTypeFromDataType()
200 } else if (strcmp(dataType, "ambient_light") == 0) { in getSensorTypeFromDataType()
[all …]
Dsee_helper.cc207 bool encodeSnsSuidReq(const char *dataType, in encodeSnsSuidReq() argument
215 .buf = dataType, in encodeSnsSuidReq()
216 .bufLen = strlen(dataType), in encodeSnsSuidReq()
224 LOGE("pb_get_encoded_size failed for sns_suid_req: %s", dataType); in encodeSnsSuidReq()
1620 bool SeeHelper::findSuidSync(const char *dataType, in findSuidSync() argument
1633 if (encodeSnsSuidReq(dataType, &msg, &msgLen)) { in findSuidSync()
1647 suids, dataType, in findSuidSync()
1660 dataType, suids->size(), minNumSuids); in findSuidSync()
/system/media/audio_utils/spdif/
DFrameScanner.cpp27 FrameScanner::FrameScanner(int dataType, in FrameScanner() argument
40 , mDataType(dataType) in FrameScanner()
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc153 SensorType getSensorTypeFromSensorId(uint8_t sensorId, uint8_t dataType, in getSensorTypeFromSensorId() argument
160 if (dataType == SNS_SMGR_DATA_TYPE_PRIMARY_V01) { in getSensorTypeFromSensorId()
197 } else if (dataType == SNS_SMGR_DATA_TYPE_SECONDARY_V01) { in getSensorTypeFromSensorId()
241 uint8_t getReportId(uint8_t sensorId, uint8_t dataType, uint8_t calType) { in getReportId() argument
243 sensorId, dataType, calType); in getReportId()
247 sensorId, dataType, calType); in getReportId()
331 sensor.dataType = sensorInfo.DataType; in addSensor()
1125 uint8_t getDecimationType(uint8_t sensorId, uint8_t dataType) { in getDecimationType() argument
1129 && dataType == SNS_SMGR_DATA_TYPE_PRIMARY_V01) { in getDecimationType()
1148 const SensorRequest& chreRequest, uint8_t sensorId, uint8_t dataType, in populateSensorRequest() argument
[all …]
/system/chre/platform/slpi/smgr/include/chre/target_platform/
Dplatform_sensor_base.h53 uint8_t dataType; variable
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Dsee_helper.h185 bool findSuidSync(const char *dataType, DynamicVector<sns_std_suid> *suids,
194 bool findSuidSync(const char *dataType, DynamicVector<sns_std_suid> *suids,
197 return findSuidSync(dataType, suids, minNumSuids, maxRetries,
/system/media/audio_utils/include/audio_utils/spdif/
DFrameScanner.h35 FrameScanner(int dataType,