Add VTS test for new settings enums

Bug: 215574482
Test: Run VTS
Change-Id: Idc817611156c0f0efd7562c176e9765266576fa0
This commit is contained in:
Anthony
2022-01-20 20:49:10 +00:00
parent 88c6269a58
commit a6b6500609

View File

@@ -300,6 +300,14 @@ TEST_P(ContextHubAidl, TestOnMicrophoneSettingChanged) {
testSettingChanged(Setting::MICROPHONE);
}
TEST_P(ContextHubAidl, TestOnBtMainSettingChanged) {
testSettingChanged(Setting::BT_MAIN);
}
TEST_P(ContextHubAidl, TestOnBtScanningSettingChanged) {
testSettingChanged(Setting::BT_SCANNING);
}
std::vector<std::tuple<std::string, int32_t>> generateContextHubMapping() {
std::vector<std::tuple<std::string, int32_t>> tuples;
auto contextHubAidlNames = android::getAidlHalInstanceNames(IContextHub::descriptor);