There are occasions where a professor can spot academic integrity offenses in their classroom. It is his discretion to report it to the appropriate authority or department.
The school department that handles infractions like that is the Academic Integrity department.