U.S. Homeland Security Secretary Jeh Johnson and FBI Director James Comey told lawmakers on Thursday that they were preparing their agencies for the possibility of violence, both from unruly demonstrators and terrorists, at the upcoming Republican and Democratic nominating conventions.