The case we're talking about was search after arrest.
If immunity [to a warrantless search] is to be conceived of as a rule, there is one exception that has been established as firmly as the rule itself. The government may search the person of the accused when legally arrested to discover and seize the fruit or evidences of crime.
also (cited in Harris v US):
The right without a search warrant contemporaneously to search persons lawfully arrested while committing crime and to search the place where the arrest is made in order to find and seize things connected with the crime as its fruits or as the means by which it was committed, as well as weapons and other things of effect an escape from custody is not to be doubted.
Officer safety is one of three motivations for search incident to arrest I've read about; two more are evidence collection (as above), and mitigating the risk that evidence that could later be collected via warrant might be destroyed.
Terry stops, on the other hand, are motivated solely by officer safety.
I said rooted in officer safety, not solely because, ;-).
Even if the search happens AFTER the arrest (assuming it's lawful, without that there is no internal link to a legal search), the court is still going to look at whether the seized item was taken incident to the arrest. That's why trunk's can't be searched unless there is a "particularized" reason, i.e. drugs, contraband, other evidence of the specific crime for which the offender was arrested for.
Under that line of reasoning, it's pretty likely courts would be ok with thumbing through the offender's call history to find other possible offenders for the related crime.
Not saying it's right, but that's how the law is evolving on evidence collection. Truth is, we need much deeper analysis on the technology at hand, but our courts are OLDDDDDDDD. Not saying octogenarians can't make effective re: technology, but it certainly hasn't bore out that way yet.
The case we're talking about was search after arrest.
If immunity [to a warrantless search] is to be conceived of as a rule, there is one exception that has been established as firmly as the rule itself. The government may search the person of the accused when legally arrested to discover and seize the fruit or evidences of crime.
also (cited in Harris v US):
The right without a search warrant contemporaneously to search persons lawfully arrested while committing crime and to search the place where the arrest is made in order to find and seize things connected with the crime as its fruits or as the means by which it was committed, as well as weapons and other things of effect an escape from custody is not to be doubted.
Officer safety is one of three motivations for search incident to arrest I've read about; two more are evidence collection (as above), and mitigating the risk that evidence that could later be collected via warrant might be destroyed.
Terry stops, on the other hand, are motivated solely by officer safety.