Home | History | Annotate | Download | only in helpers

Lines Matching refs:sensorType

25     public SensorNotSupportedException(int sensorType) {
26 super("Sensor '%s' of type %d is not supported.", getSensorName(sensorType), sensorType);
29 public SensorNotSupportedException(int sensorType, boolean wakeup) {
30 super("Sensor '%s' of type %d and %s is not supported.", getSensorName(sensorType),
31 sensorType, wakeup ? "wake-up" : "non wake-up");
34 private static String getSensorName(int sensorType) {
35 return String.format("%s (%d)", getSimpleSensorName(sensorType), sensorType);
39 private static String getSimpleSensorName(int sensorType) {
40 switch(sensorType) {