Implement queryOffloadCapability

Test screenshot: https://screenshot.googleplex.com/8TKTuwjmwMQnNVz

Test: TH and MainlineTestApp
Bug: 272150669
Ignore-AOSP-First: nearby_not_in_aosp_yet
Change-Id: If3b7a2e87368606fb3ba497790c458580a3ac9ec
6 files changed