mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Merge cherrypicks of ['android-review.googlesource.com/3002896'] into 24Q2-release.
Change-Id: I197e8f5571e33a7055f1c32b0ebdd6c58a20fe56
This commit is contained in:
@@ -216,5 +216,12 @@ int main(int argc, char** argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
ProcessState::self()->setThreadPoolMaxThreadCount(1);
|
||||
ProcessState::self()->startThreadPool();
|
||||
return RUN_ALL_TESTS();
|
||||
// UWB HAL only allows 1 client, make sure framework
|
||||
// does not have UWB HAL open before running
|
||||
std::system("/system/bin/cmd uwb disable-uwb");
|
||||
sleep(3);
|
||||
auto status = RUN_ALL_TESTS();
|
||||
sleep(3);
|
||||
std::system("/system/bin/cmd uwb enable-uwb");
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user