content: I'm pretty sure the 4th Amendment doesn't apply at the border.  You know they are going to search your phone and laptop so why have anything on there you don't want them to see?    Edit: I feel I should make it clear I don't think they should be allowed to search your electronic devices.  I'm trying to say you know they are going to do it so plan accordingly.