commit | 9bf75a333436424b981f129be92696330eefba27 | [log] [tgz] |
---|---|---|
author | Weilin Xu <xuweilin@google.com> | Fri Dec 13 16:37:21 2024 -0800 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri Dec 13 16:37:21 2024 -0800 |
tree | 582db85f2c371dfafe0c29e0ca875444cd93a3ad | |
parent | 0919701cc506b4b6939cac65c7fd296c7b71a416 [diff] |
Fix tuning race condition in broadcast radio VTS Reset tuner callback in broadcast radio VTS DAB/HD tuning test to address race condition between tuning operation and the program info updates before the operation. Bug: 384062869 Flag: EXEMPT bugfix Test: atest VtsHalBroadcastradioAidlTargetTest Merged-In: Ib53c8be9b6b6eca5a2b947e109f3cc0a26ea9ae2 Change-Id: Ib53c8be9b6b6eca5a2b947e109f3cc0a26ea9ae2
diff --git a/broadcastradio/aidl/vts/src/VtsHalBroadcastradioAidlTargetTest.cpp b/broadcastradio/aidl/vts/src/VtsHalBroadcastradioAidlTargetTest.cpp index ee0c639..3da19cc 100644 --- a/broadcastradio/aidl/vts/src/VtsHalBroadcastradioAidlTargetTest.cpp +++ b/broadcastradio/aidl/vts/src/VtsHalBroadcastradioAidlTargetTest.cpp
@@ -736,6 +736,7 @@ } // try tuning + mCallback->reset(); auto result = mModule->tune(hdSel); // expect a failure if it's not supported @@ -812,7 +813,7 @@ } // try tuning - + mCallback->reset(); auto result = mModule->tune(sel); // expect a failure if it's not supported