Implement scanning for maximal/compatible device attributes.

Bug: 28824369

Change-Id: I3fb78f819193e19afcf890105a3ce08b70fb1a41
Test: Manual
3 files changed