Merge "Revert "Test that the Bluetooth Finder property is set."" into main am: 6857ff20a9

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3063862

Change-Id: I92ba2c562db7cc54b049c481df5b8f4e0a5ef975
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ted Wang 2024-04-26 06:32:46 +00:00 committed by Automerger Merge Worker
commit 77ee9366da

View file

@ -18,7 +18,6 @@
#include <aidl/Vintf.h> #include <aidl/Vintf.h>
#include <aidl/android/hardware/bluetooth/finder/IBluetoothFinder.h> #include <aidl/android/hardware/bluetooth/finder/IBluetoothFinder.h>
#include <android-base/logging.h> #include <android-base/logging.h>
#include <android-base/properties.h>
#include <android/binder_manager.h> #include <android/binder_manager.h>
#include <android/binder_process.h> #include <android/binder_process.h>
#include <binder/IServiceManager.h> #include <binder/IServiceManager.h>
@ -72,12 +71,6 @@ ScopedAStatus BluetoothFinderTest::getPoweredOffFinderMode(bool* status) {
return bluetooth_finder->getPoweredOffFinderMode(status); return bluetooth_finder->getPoweredOffFinderMode(status);
} }
TEST_P(BluetoothFinderTest, PropertyIsSet) {
ASSERT_EQ(
android::base::GetProperty("ro.bluetooth.finder.supported", "false"),
"true");
}
TEST_P(BluetoothFinderTest, SendEidsSingle) { TEST_P(BluetoothFinderTest, SendEidsSingle) {
ScopedAStatus status = sendEids(1); ScopedAStatus status = sendEids(1);
ASSERT_TRUE(status.isOk()); ASSERT_TRUE(status.isOk());