Update LE Audio profile names to match spec and implementation
Bug: 217448211
Test: atest CtsBluetoothTestCases
Change-Id: I728d8d3ccd2980f98a62568a92203e32ac9c0fa4
diff --git a/tests/tests/bluetooth/src/android/bluetooth/cts/TestUtils.java b/tests/tests/bluetooth/src/android/bluetooth/cts/TestUtils.java
index 34bc0a3..9206f31 100644
--- a/tests/tests/bluetooth/src/android/bluetooth/cts/TestUtils.java
+++ b/tests/tests/bluetooth/src/android/bluetooth/cts/TestUtils.java
@@ -88,14 +88,14 @@
case BluetoothProfile.HID_HOST:
return BluetoothProperties.isProfileHidHostEnabled().orElse(false);
case BluetoothProfile.LE_AUDIO:
- return BluetoothProperties.isProfileBapUnicastServerEnabled().orElse(false);
+ return BluetoothProperties.isProfileBapUnicastClientEnabled().orElse(false);
case BluetoothProfile.LE_AUDIO_BROADCAST:
return BluetoothProperties.isProfileBapBroadcastSourceEnabled().orElse(false);
case BluetoothProfile.LE_AUDIO_BROADCAST_ASSISTANT:
return BluetoothProperties.isProfileBapBroadcastAssistEnabled().orElse(false);
// Hidden profile
// case BluetoothProfile.LE_CALL_CONTROL:
- // return BluetoothProperties.isProfileTbsServerEnabled().orElse(false);
+ // return BluetoothProperties.isProfileCcpServerEnabled().orElse(false);
case BluetoothProfile.MAP:
return BluetoothProperties.isProfileMapServerEnabled().orElse(false);
case BluetoothProfile.MAP_CLIENT:
@@ -115,7 +115,7 @@
case BluetoothProfile.SAP:
return BluetoothProperties.isProfileSapServerEnabled().orElse(false);
case BluetoothProfile.VOLUME_CONTROL:
- return BluetoothProperties.isProfileVcServerEnabled().orElse(false);
+ return BluetoothProperties.isProfileVcpControllerEnabled().orElse(false);
default:
return false;
}