Loading flags/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ java_aconfig_library { visibility: [ "//cts/tests/tests/bluetooth:__subpackages__", "//packages/modules/Bluetooth/android/app", "//packages/modules/Bluetooth/framework/tests/util", "//packages/modules/Bluetooth/service:__subpackages__", ], apex_available: [ Loading framework/tests/util/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ java_library { static_libs: [ "PlatformProperties", "androidx.test.ext.truth", "bluetooth_flags_java_lib", "compatibility-device-util-axt", "junit", ], Loading framework/tests/util/src/android/bluetooth/cts/TestUtils.java +5 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.bluetooth.cts; import static com.android.bluetooth.flags.Flags.leaudioBroadcastFeatureSupport; import static com.google.common.truth.Truth.assertThat; import android.bluetooth.BluetoothAdapter; Loading Loading @@ -95,10 +96,12 @@ public class TestUtils extends android.bluetooth.test_utils.TestUtils { return BluetoothProperties.isProfileBapUnicastClientEnabled().orElse(false); } case BluetoothProfile.LE_AUDIO_BROADCAST -> { return BluetoothProperties.isProfileBapBroadcastSourceEnabled().orElse(false); return leaudioBroadcastFeatureSupport() && BluetoothProperties.isProfileBapBroadcastSourceEnabled().orElse(false); } case BluetoothProfile.LE_AUDIO_BROADCAST_ASSISTANT -> { return BluetoothProperties.isProfileBapBroadcastAssistEnabled().orElse(false); return leaudioBroadcastFeatureSupport() && BluetoothProperties.isProfileBapBroadcastAssistEnabled().orElse(false); } // Hidden profile // case BluetoothProfile.LE_CALL_CONTROL: Loading Loading
flags/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ java_aconfig_library { visibility: [ "//cts/tests/tests/bluetooth:__subpackages__", "//packages/modules/Bluetooth/android/app", "//packages/modules/Bluetooth/framework/tests/util", "//packages/modules/Bluetooth/service:__subpackages__", ], apex_available: [ Loading
framework/tests/util/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ java_library { static_libs: [ "PlatformProperties", "androidx.test.ext.truth", "bluetooth_flags_java_lib", "compatibility-device-util-axt", "junit", ], Loading
framework/tests/util/src/android/bluetooth/cts/TestUtils.java +5 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package android.bluetooth.cts; import static com.android.bluetooth.flags.Flags.leaudioBroadcastFeatureSupport; import static com.google.common.truth.Truth.assertThat; import android.bluetooth.BluetoothAdapter; Loading Loading @@ -95,10 +96,12 @@ public class TestUtils extends android.bluetooth.test_utils.TestUtils { return BluetoothProperties.isProfileBapUnicastClientEnabled().orElse(false); } case BluetoothProfile.LE_AUDIO_BROADCAST -> { return BluetoothProperties.isProfileBapBroadcastSourceEnabled().orElse(false); return leaudioBroadcastFeatureSupport() && BluetoothProperties.isProfileBapBroadcastSourceEnabled().orElse(false); } case BluetoothProfile.LE_AUDIO_BROADCAST_ASSISTANT -> { return BluetoothProperties.isProfileBapBroadcastAssistEnabled().orElse(false); return leaudioBroadcastFeatureSupport() && BluetoothProperties.isProfileBapBroadcastAssistEnabled().orElse(false); } // Hidden profile // case BluetoothProfile.LE_CALL_CONTROL: Loading