WASHINGTON — The U.S. Supreme Court on Tuesday appeared reluctant to give police sweeping authority to search the full contents of smartphones without first obtaining a search warrant from a judge.

During arguments in two cases raising a modern-day privacy issue, justices seemed unnerved by the potential scope of such searches, even as they struggled to decide how they could be limited without hampering valid police investigations.