The Indian government is teaming up with Chinese tech giant Huawei to search imported smartphones and communications devices for signs of malware and spyware. However, some Indians are nervous because of Huawei’s close ties to the People’s Liberation Army and fear that the firm could be complicit in cyberattacks.