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
tree: 1b25b187ecfd2477198bb5d8b2923f3fcafa5b50
  1. staticlibs/