Searched refs:typeString (Results 1 – 2 of 2) sorted by relevance
85 final String typeString = intent.getStringExtra(EXTRA_EVENT_TYPE); in newEvent() local86 if (typeString == null) { in newEvent()90 final DeviceEventType type = DeviceEventType.valueOf(typeString); in newEvent()
722 private static int lightTypeFromString(String typeString) { in lightTypeFromString() argument723 switch (typeString.toUpperCase()) { in lightTypeFromString()729 throw new RuntimeException("Unknown light type specified: " + typeString); in lightTypeFromString()