API Review: support* methods should be supports*
To compliance with API review guideline, change support* methods name to
supports* with s at the end.
Bug: 261021330
Test: atest CtsBluetoothTestCases:android.bluetooth.cts.BluetoothHapClientTest
Tag: #feature
Change-Id: I796d9a5bda2ab544c10676fb370ccf9d984288f5
diff --git a/tests/tests/bluetooth/src/android/bluetooth/cts/BluetoothHapClientTest.java b/tests/tests/bluetooth/src/android/bluetooth/cts/BluetoothHapClientTest.java
index 1406f78..c80c5b1 100644
--- a/tests/tests/bluetooth/src/android/bluetooth/cts/BluetoothHapClientTest.java
+++ b/tests/tests/bluetooth/src/android/bluetooth/cts/BluetoothHapClientTest.java
@@ -495,7 +495,7 @@
}
@Test
- public void testSupportSynchronizedPresets() {
+ public void testSupportsSynchronizedPresets() {
if (shouldSkipTest()) {
return;
}
@@ -508,11 +508,11 @@
assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext));
// Verify returns false if bluetooth is not enabled
- assertFalse(mBluetoothHapClient.supportSynchronizedPresets(testDevice));
+ assertFalse(mBluetoothHapClient.supportsSynchronizedPresets(testDevice));
}
@Test
- public void testSupportIndependentPresets() {
+ public void testSupportsIndependentPresets() {
if (shouldSkipTest()) {
return;
}
@@ -525,11 +525,11 @@
assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext));
// Verify returns false if bluetooth is not enabled
- assertFalse(mBluetoothHapClient.supportIndependentPresets(testDevice));
+ assertFalse(mBluetoothHapClient.supportsIndependentPresets(testDevice));
}
@Test
- public void testSupportDynamicPresets() {
+ public void testSupportsDynamicPresets() {
if (shouldSkipTest()) {
return;
}
@@ -542,11 +542,11 @@
assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext));
// Verify returns false if bluetooth is not enabled
- assertFalse(mBluetoothHapClient.supportDynamicPresets(testDevice));
+ assertFalse(mBluetoothHapClient.supportsDynamicPresets(testDevice));
}
@Test
- public void testSupportWritablePresets() {
+ public void testSupportsWritablePresets() {
if (shouldSkipTest()) {
return;
}
@@ -559,7 +559,7 @@
assertTrue(BTAdapterUtils.disableAdapter(mAdapter, mContext));
// Verify returns false if bluetooth is not enabled
- assertFalse(mBluetoothHapClient.supportWritablePresets(testDevice));
+ assertFalse(mBluetoothHapClient.supportsWritablePresets(testDevice));
}
private boolean shouldSkipTest() {