wfd: update cts for API changes

Bug: 182979767
Test: atest CtsWifiTestCases
Change-Id: I831d98843909701da13faa571d152b293b368757
diff --git a/tests/tests/wifi/src/android/net/wifi/p2p/cts/WifiP2pWfdInfoTest.java b/tests/tests/wifi/src/android/net/wifi/p2p/cts/WifiP2pWfdInfoTest.java
index 24ed2cc..5ccc13d 100644
--- a/tests/tests/wifi/src/android/net/wifi/p2p/cts/WifiP2pWfdInfoTest.java
+++ b/tests/tests/wifi/src/android/net/wifi/p2p/cts/WifiP2pWfdInfoTest.java
@@ -92,8 +92,8 @@
         assumeTrue(BuildCompat.isAtLeastS());
         WifiP2pWfdInfo info = new WifiP2pWfdInfo();
 
-        info.setWfdR2Device(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE);
+        info.setR2DeviceType(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE);
         assertEquals(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE, info.getR2DeviceType());
-        assertTrue(info.isR2Enabled());
+        assertTrue(info.isR2Supported());
     }
 }