Searched refs:prevSensor (Results 1 – 2 of 2) sorted by relevance
286 const sensor_t& prevSensor = oldSensorList[j]; in sensorHandlesChanged() local287 if (prevSensor.handle == newSensor.handle) { in sensorHandlesChanged()289 if (!sensorIsEquivalent(prevSensor, newSensor)) { in sensorHandlesChanged()306 bool SensorDevice::sensorIsEquivalent(const sensor_t& prevSensor, const sensor_t& newSensor) { in sensorIsEquivalent() argument308 if (prevSensor.handle != newSensor.handle || in sensorIsEquivalent()309 (strcmp(prevSensor.vendor, newSensor.vendor) != 0) || in sensorIsEquivalent()310 (strcmp(prevSensor.stringType, newSensor.stringType) != 0) || in sensorIsEquivalent()311 (strcmp(prevSensor.requiredPermission, newSensor.requiredPermission) != 0) || in sensorIsEquivalent()312 (prevSensor.version != newSensor.version) || in sensorIsEquivalent()313 (prevSensor.type != newSensor.type) || in sensorIsEquivalent()[all …]
197 static bool sensorIsEquivalent(const sensor_t& prevSensor, const sensor_t& newSensor);