I don't think they're widely used yet, but there are iPad apps that police departments can use to test for marijuana impairment before administrating a THC test, similar to the "touch your nose, walk on this line" tests they use prior to pulling out a breathalyzer.
E.g. https://www.impairmentscience.com/research