Move deduceRestrictedCapability to libs/net and rename it am: e1687b57f2 am: 130727bc52

Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/net/+/1645151

Change-Id: I3758b69e23f2f1ff3fdd379f2fd643f0cad5a09e
diff --git a/staticlibs/testutils/Android.bp b/staticlibs/testutils/Android.bp
index bea5e5a..d4465dd 100644
--- a/staticlibs/testutils/Android.bp
+++ b/staticlibs/testutils/Android.bp
@@ -12,6 +12,10 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
 java_library {
     name: "net-tests-utils",
     srcs: [