From c0e2e2b071df5cdff10193556163e2975f0b682c Mon Sep 17 00:00:00 2001 From: sqian Date: Wed, 27 Jun 2018 12:12:26 -0700 Subject: [PATCH] Fix missed refactor of serial Bug: 109822806 Test: run vts Change-Id: If88384699dbb4c2ddd1c580d2b35be38afd0f8e8 --- radio/1.2/vts/functional/radio_hidl_hal_api.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/radio/1.2/vts/functional/radio_hidl_hal_api.cpp b/radio/1.2/vts/functional/radio_hidl_hal_api.cpp index 212913d3ac..a9865e53de 100644 --- a/radio/1.2/vts/functional/radio_hidl_hal_api.cpp +++ b/radio/1.2/vts/functional/radio_hidl_hal_api.cpp @@ -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 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 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 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 res = radio_v1_2->getAvailableBandModes(serial); ASSERT_OK(res);