Home
last modified time | relevance | path

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

/system/chre/platform/slpi/see/
Dplatform_sensor_manager.cc186 bool getSensorTypeFromDataType(const char *dataType, bool calibrated, in getSensorTypeFromDataType() argument
189 if (strcmp(dataType, "accel") == 0) { in getSensorTypeFromDataType()
195 } else if (strcmp(dataType, "gyro") == 0) { in getSensorTypeFromDataType()
201 } else if (strcmp(dataType, "mag") == 0) { in getSensorTypeFromDataType()
207 } else if (strcmp(dataType, "pressure") == 0) { in getSensorTypeFromDataType()
209 } else if (strcmp(dataType, "ambient_light") == 0) { in getSensorTypeFromDataType()
211 } else if (strcmp(dataType, "proximity") == 0) { in getSensorTypeFromDataType()
213 } else if (strcmp(dataType, "motion_detect") == 0 || in getSensorTypeFromDataType()
214 strcmp(dataType, "amd") == 0) { in getSensorTypeFromDataType()
216 } else if (strcmp(dataType, "stationary_detect") == 0) { in getSensorTypeFromDataType()
[all …]
Dsee_helper.cc209 bool encodeSnsSuidReq(const char *dataType, UniquePtr<pb_byte_t> *msg, in encodeSnsSuidReq() argument
217 .buf = dataType, in encodeSnsSuidReq()
218 .bufLen = strlen(dataType), in encodeSnsSuidReq()
226 LOGE("pb_get_encoded_size failed for sns_suid_req: %s", dataType); in encodeSnsSuidReq()
1646 bool SeeHelper::findSuidSync(const char *dataType, in findSuidSync() argument
1659 if (encodeSnsSuidReq(dataType, &msg, &msgLen)) { in findSuidSync()
1672 sendReq(sns_suid_sensor_init_default, suids, dataType, in findSuidSync()
1685 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/include/chre/platform/slpi/see/
Dsee_helper.h184 bool findSuidSync(const char *dataType, DynamicVector<sns_std_suid> *suids,
193 bool findSuidSync(const char *dataType, DynamicVector<sns_std_suid> *suids,
196 return findSuidSync(dataType, suids, minNumSuids, maxRetries,
/system/media/audio_utils/include/audio_utils/spdif/
DFrameScanner.h35 FrameScanner(int dataType,