[NAN] Propagate UID into client data.

Propagate UID into the core client data class. Originally was only stored
on the surface - at the ServiceImpl: used to check client/uid mapping on
incoming calls to validate that apps are not faking client numbers.

Other interfaces (e.g. ConnectivityManager) will access NAN state manager
directly (not through ServiceImpl). They will need to check credentials
(client/uid mappings) as well.

Bug: 26562610
Change-Id: Iacbe4f0df73d30138001242bedbc023287a1740a
5 files changed
tree: 62fd4c1f1f83f4f25f151896ee5d6e33349a85dd
  1. service/
  2. tests/