Lines Matching refs:descriptor
30 def __init__(self, descriptor): argument
33 self.descriptor = descriptor
145 "public final class %sSensorIndex {\n" % theSensors.descriptor + \
146 " private %sSensorIndex() {}\n" % theSensors.descriptor
157 theSensors.descriptor.upper(),
159 self.adjustSensorId(theSensors.descriptor.upper(), str(theSensor.id))
162 def adjustSensorId(self, descriptor, sensorId): argument
164 return "DIAGNOSTIC_SENSOR_%s_%s" % (descriptor, sensorId.upper())
170 return "%sSensorIndex.%s," % (theSensors.descriptor,sensorName)
202 intSensors = SensorList(descriptor="Integer")
203 floatSensors = SensorList(descriptor="Float")