Add device check and extract a base class for Fast Pair test cases.

To end-to-end test Mainline Fast Pair with two phones. We need one
of the phone with custom ROM for provider simulator. This change
add device check in the base class and extract common codes into
the base. More detail about ROM requirements:
https://docs.google.com/document/d/1OJcpqJfjOH_t2dCYbDzDPv_UHqdbzO8TPTayk5e6so8/edit?usp=sharing&resourcekey=0-1E8EWmq_1lbOZX4v3rmJ7A

Test: atest -v CtsNearbyMultiDevicesTestSuite
Bug: 214015364
Ignore-AOSP-First: nearby_not_in_aosp_yet
Change-Id: I412e8158bf82648859ca6de40866c7dbb494ac8b
4 files changed