mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "update vts setSimCardPower test cases to handle different MEP types Bug: 351698476 Test: VtsHalRadioTargetTest" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
03c103dee5
@@ -118,7 +118,14 @@ TEST_P(RadioSimTest, setSimCardPower) {
|
||||
EXPECT_EQ(CardStatus::STATE_PRESENT, slotStatus.cardState);
|
||||
if (CardStatus::STATE_PRESENT == slotStatus.cardState) {
|
||||
ASSERT_TRUE(slotStatus.portInfo[0].portActive);
|
||||
EXPECT_EQ(0, cardStatus.slotMap.portId);
|
||||
if (cardStatus.supportedMepMode == aidl::android::hardware::radio::config::
|
||||
MultipleEnabledProfilesMode::MEP_A1 ||
|
||||
cardStatus.supportedMepMode == aidl::android::hardware::radio::config::
|
||||
MultipleEnabledProfilesMode::MEP_A2) {
|
||||
EXPECT_EQ(1, cardStatus.slotMap.portId);
|
||||
} else {
|
||||
EXPECT_EQ(0, cardStatus.slotMap.portId);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user