summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bbf39eb)
raw | patch | inline | side by side (parent: bbf39eb)
author | Sanket Padawe <sanketpadawe@google.com> | |
Tue, 18 Apr 2017 00:05:01 +0000 (17:05 -0700) | ||
committer | Sanket Padawe <sanketpadawe@google.com> | |
Fri, 21 Apr 2017 16:58:19 +0000 (16:58 +0000) |
Bug: 35800570
Test: vts
Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e
Merged-in: I93e78c46971158cd14666931b527d8e268e0a39e
Test: vts
Change-Id: I93e78c46971158cd14666931b527d8e268e0a39e
Merged-in: I93e78c46971158cd14666931b527d8e268e0a39e
radio/1.0/IRadioResponse.hal | patch | blob | history | |
radio/1.0/vts/functional/radio_hidl_hal_misc.cpp | patch | blob | history |
index 2ba210b55873949deb25d336a875c113e4e30bfe..fdb5c4e23fd09acbb424e0848b3925b66cc89b18 100644 (file)
* RadioError:NONE
* RadioError:RADIO_NOT_AVAILABLE
* RadioError:REQUEST_NOT_SUPPORTED
- * RadioError:SIM_ABSENT
* RadioError:INVALID_ARGUMENTS
*/
oneway setSimCardPowerResponse(RadioResponseInfo info);
diff --git a/radio/1.0/vts/functional/radio_hidl_hal_misc.cpp b/radio/1.0/vts/functional/radio_hidl_hal_misc.cpp
index 2e0a10f00c33985e063ceb71329174e43e89c732..5515b8d28e28d9aa777626befff045e7613707a4 100644 (file)
EXPECT_EQ(serial, radioRsp->rspInfo.serial);
if (cardStatus.cardState == CardState::ABSENT) {
- ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::SIM_ABSENT);
+ ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE ||
+ radioRsp->rspInfo.error == RadioError::REQUEST_NOT_SUPPORTED);
}
}
\ No newline at end of file