wfd: create new API to get the R2 device type

Bug: 178993242
Test: atest FrameworksWifiApiTests
Change-Id: Ia610340fcdf7f6ae60d4d80897051c8f0b32935e
3 files changed