Merge the 2021-02-05 SPL branch from AOSP-Partner

* security-aosp-pi-release:
  Check permission before sending batch scan result
  Check if advertiserId value matches valid advertiser
  Pass whether the local device is an atv device to the native layer to determine whether to include pairing dialogs for justworks and encryption only LE pairing

Change-Id: I4682bf8a75e7e290e5254227ac35927b0d48e596