Remove tests that are duplicated in CTS.

Also adds a requireNonNull check for the extras in NetworkProviderInfo.

Bug: 274133298
Test: sharedconnectivity cts tests
Change-Id: If50bedf4f764f0850f259c9001f50aca7c8e96b5
8 files changed