It sounds like the person whose device is being searched could legally disable the data connection before the search.