Searched refs:prevSensor (Results 1 – 2 of 2) sorted by relevance
355 const sensor_t& prevSensor = oldSensorList[j]; in sensorHandlesChanged() local356 if (prevSensor.handle == newSensor.handle) { in sensorHandlesChanged()358 if (!sensorIsEquivalent(prevSensor, newSensor)) { in sensorHandlesChanged()375 bool SensorDevice::sensorIsEquivalent(const sensor_t& prevSensor, const sensor_t& newSensor) { in sensorIsEquivalent() argument377 if (prevSensor.handle != newSensor.handle || in sensorIsEquivalent()378 (strcmp(prevSensor.vendor, newSensor.vendor) != 0) || in sensorIsEquivalent()379 (strcmp(prevSensor.stringType, newSensor.stringType) != 0) || in sensorIsEquivalent()380 (strcmp(prevSensor.requiredPermission, newSensor.requiredPermission) != 0) || in sensorIsEquivalent()381 (prevSensor.version != newSensor.version) || in sensorIsEquivalent()382 (prevSensor.type != newSensor.type) || in sensorIsEquivalent()[all …]
230 static bool sensorIsEquivalent(const sensor_t& prevSensor, const sensor_t& newSensor);