Fix missed refactor of serial

Bug: 109822806
Test: run vts
Change-Id: If88384699dbb4c2ddd1c580d2b35be38afd0f8e8
This commit is contained in:
sqian 2018-06-27 12:12:26 -07:00
parent 1e757749fb
commit c0e2e2b071

View file

@ -696,7 +696,7 @@ TEST_F(RadioHidlTest_v1_2, deactivateDataCall_1_2) {
* Test IRadio.getCellInfoList() for the response returned.
*/
TEST_F(RadioHidlTest_v1_2, getCellInfoList_1_2) {
int serial = GetRandomSerialNumber();
serial = GetRandomSerialNumber();
Return<void> res = radio_v1_2->getCellInfoList(serial);
ASSERT_OK(res);
@ -714,7 +714,7 @@ TEST_F(RadioHidlTest_v1_2, getCellInfoList_1_2) {
* Test IRadio.getVoiceRegistrationState() for the response returned.
*/
TEST_F(RadioHidlTest_v1_2, getVoiceRegistrationState) {
int serial = GetRandomSerialNumber();
serial = GetRandomSerialNumber();
Return<void> res = radio_v1_2->getVoiceRegistrationState(serial);
ASSERT_OK(res);
@ -732,7 +732,7 @@ TEST_F(RadioHidlTest_v1_2, getVoiceRegistrationState) {
* Test IRadio.getDataRegistrationState() for the response returned.
*/
TEST_F(RadioHidlTest_v1_2, getDataRegistrationState) {
int serial = GetRandomSerialNumber();
serial = GetRandomSerialNumber();
Return<void> res = radio_v1_2->getDataRegistrationState(serial);
ASSERT_OK(res);
@ -751,7 +751,7 @@ TEST_F(RadioHidlTest_v1_2, getDataRegistrationState) {
* Test IRadio.getAvailableBandModes() for the response returned.
*/
TEST_F(RadioHidlTest_v1_2, getAvailableBandModes) {
int serial = GetRandomSerialNumber();
serial = GetRandomSerialNumber();
Return<void> res = radio_v1_2->getAvailableBandModes(serial);
ASSERT_OK(res);