Well - actually - in China, I don't believe there is anything remotely illegal about having your home searched by authorities... kind of standard operating procedure in such a communist nation.
I believe it was company security, not the authorities.