mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "update vts setSimSlotMapping test cases to handle different MEP types Bug: 342543877 Test: atest PerInstance/RadioConfigTest#setSimSlotsMapping/0_android_hardware_radio_config_IRadioConfig_default" into android14-tests-dev am: 3d9d5d8530
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3206357 Change-Id: I352b2bd6a48871ef1dc1cd2d5dd59a99c821d289 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -194,7 +194,14 @@ TEST_P(RadioConfigTest, setSimSlotsMapping) {
|
||||
EXPECT_LT(logicalSlotId, slotPortMappingList.size());
|
||||
if (logicalSlotId >= 0 && logicalSlotId < slotPortMappingList.size()) {
|
||||
slotPortMappingList[logicalSlotId].physicalSlotId = i;
|
||||
slotPortMappingList[logicalSlotId].portId = j;
|
||||
if (radioRsp_config->simSlotStatus[i].supportedMepMode ==
|
||||
MultipleEnabledProfilesMode::MEP_A1 ||
|
||||
radioRsp_config->simSlotStatus[i].supportedMepMode ==
|
||||
MultipleEnabledProfilesMode::MEP_A2) {
|
||||
slotPortMappingList[logicalSlotId].portId = j + 1;
|
||||
} else {
|
||||
slotPortMappingList[logicalSlotId].portId = j;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user