summaryrefslogtreecommitdiffstats
path: root/radio
diff options
context:
space:
mode:
authorjicheol.shin <jicheol.shin@lge.com>2020-01-29 12:14:38 +0900
committerJordan Liu <jminjie@google.com>2020-01-29 20:14:18 +0000
commite22a7bddfbbeb8f5a0aec265ee890eabd3303fce (patch)
treecf5ab252168766a31b94d977ec06ea57d6fbf024 /radio
parent27cfaa82f8439635bbaa9f469a74e7ccbc0cd919 (diff)
downloadplatform_hardware_interfaces-e22a7bddfbbeb8f5a0aec265ee890eabd3303fce.tar.gz
platform_hardware_interfaces-e22a7bddfbbeb8f5a0aec265ee890eabd3303fce.tar.bz2
platform_hardware_interfaces-e22a7bddfbbeb8f5a0aec265ee890eabd3303fce.zip
Fix issues for Japan model.
1. Docomo, Softbank, KDDI, and another Japan Operator request this. - During operation, the mobile device confirms the presence of the ICC and performs ICC outlier detection. If ICC disconnection is detected during operation, turn off the power within 5 seconds after detection, and perform power reset operation. 2. "setSimCardPower power down" - After "setSimCardPower power down", SIM set power down. and ME is wating for "remove sim card" event, but phsically detect pin is still connected, so "remove" event never be sent, and ME can't reboot. 3. Japan model can not "setSimCardPower power up" After "setSimCardPower power down", Japan model prepare for rebooting. so so VTS requests "setSimCardPower power up", they can't do this. Signed-off-by: Jicheol Shin <jicheol.shin@lge.com> Test: VTS Test: runc vts -m VtsHalRadioV1_1Target -t VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setSimCardPower_1_1(slot1)_32bit Test: runc vts -m VtsHalRadioV1_1Target -t VtsHalRadioV1_1Target#RadioHidlTest_v1_1.setSimCardPower_1_1(slot1)_64bit Bug ID : 147969063 Change-Id: I524a16d04a7783f605913fd3ead15d3c1fbbc78b
Diffstat (limited to 'radio')
-rw-r--r--radio/1.1/vts/functional/radio_hidl_hal_api.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/radio/1.1/vts/functional/radio_hidl_hal_api.cpp b/radio/1.1/vts/functional/radio_hidl_hal_api.cpp
index 75abbbf107..02dcbab20d 100644
--- a/radio/1.1/vts/functional/radio_hidl_hal_api.cpp
+++ b/radio/1.1/vts/functional/radio_hidl_hal_api.cpp
@@ -24,6 +24,9 @@ TEST_P(RadioHidlTest_v1_1, setSimCardPower_1_1) {
/* Record the sim card state for the testing environment */
CardState cardStateForTest = cardStatus.cardState;
+#if 0
+ /* This test has to be removed for Japan Model.
+ * After "setSimCardPower power down", Japan model can not "setSimCardPower power up" */
/* Test setSimCardPower power down */
serial = GetRandomSerialNumber();
radio_v1_1->setSimCardPower_1_1(serial, CardPowerState::POWER_DOWN);
@@ -46,6 +49,7 @@ TEST_P(RadioHidlTest_v1_1, setSimCardPower_1_1) {
}
EXPECT_EQ(CardState::ABSENT, cardStatus.cardState);
}
+#endif
/* Test setSimCardPower power up */
serial = GetRandomSerialNumber();