Lines Matching refs:sensorInfo
1359 for (const auto &sensorInfo : sensorInfos) { in getSensorTypeFromSensorInfo() local
1360 if (suidsMatch(sensorInfo.suid, suid)) { in getSensorTypeFromSensorInfo()
1362 if (sensorInfo.client == client) { in getSensorTypeFromSensorInfo()
1363 return sensorInfo.sensorType; in getSensorTypeFromSensorInfo()
1365 otherType = sensorInfo.sensorType; in getSensorTypeFromSensorInfo()
1743 const SensorInfo *sensorInfo = getSensorInfo(request.sensorType); in makeRequest() local
1744 if (sensorInfo == nullptr) { in makeRequest()
1757 if (suidsMatch(sensorInfo->suid, mResamplerSuid.value())) { in makeRequest()
1760 request, sensorInfo->physicalSuid, &msg, &msgLen); in makeRequest()
1772 sendReq(sensorInfo->client, sensorInfo->suid, nullptr /* syncData */, in makeRequest()
1784 const SensorInfo *sensorInfo = getSensorInfo(sensorType); in flush() local
1785 if (sensorInfo == nullptr) { in flush()
1791 sendReq(sensorInfo->client, sensorInfo->suid, nullptr /* syncData */, in flush()
1966 for (const auto &sensorInfo : mSensorInfos) { in registerSensor() local
1967 if (suidsMatch(reqSuid, sensorInfo.suid)) { in registerSensor()
1969 if (sensorInfo.sensorType == sensorType) { in registerSensor()
1989 SensorInfo sensorInfo = { in registerSensor() local
1995 success = mSensorInfos.push_back(sensorInfo); in registerSensor()
2066 for (const auto &sensorInfo : mSensorInfos) { in getSensorInfo() local
2067 if (sensorInfo.sensorType == sensorType) { in getSensorInfo()
2068 return &sensorInfo; in getSensorInfo()