cancel_all_detection_work
cancel_all_detection_work(display);
if (cancel_all_detection_work(display))