Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b487494 authored by Shreshta Manu's avatar Shreshta Manu Committed by Android (Google) Code Review
Browse files

Merge "Disable UWB before starting VtsHalUwbTargetTest" into 24D1-dev

parents 6507376f d1e6b6a5
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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;
}