mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Remove unused functions
Test: Compile
Bug: 63760809
Change-Id: I582c259ca0787a701d434eea9592c9e8d7351f08
Merged-In: I582c259ca0787a701d434eea9592c9e8d7351f08
(cherry picked from commit 3ba20e6b6b)
This commit is contained in:
@@ -43,8 +43,6 @@ void RadioHidlTest::SetUp() {
|
||||
EXPECT_EQ(CardState::ABSENT, cardStatus.cardState);
|
||||
}
|
||||
|
||||
void RadioHidlTest::TearDown() {}
|
||||
|
||||
void RadioHidlTest::notify() {
|
||||
std::unique_lock<std::mutex> lock(mtx);
|
||||
count++;
|
||||
|
||||
@@ -521,8 +521,6 @@ class RadioHidlTest : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override;
|
||||
|
||||
virtual void TearDown() override;
|
||||
|
||||
/* Used as a mechanism to inform the test about data/event callback */
|
||||
void notify();
|
||||
|
||||
|
||||
@@ -44,8 +44,6 @@ void RadioHidlTest_v1_1::SetUp() {
|
||||
EXPECT_EQ(CardState::ABSENT, cardStatus.cardState);
|
||||
}
|
||||
|
||||
void RadioHidlTest_v1_1::TearDown() {}
|
||||
|
||||
void RadioHidlTest_v1_1::notify() {
|
||||
std::unique_lock<std::mutex> lock(mtx);
|
||||
count++;
|
||||
|
||||
@@ -544,20 +544,12 @@ class RadioHidlTest_v1_1 : public ::testing::VtsHalHidlTargetTestBase {
|
||||
public:
|
||||
virtual void SetUp() override;
|
||||
|
||||
virtual void TearDown() override;
|
||||
|
||||
/* Used as a mechanism to inform the test about data/event callback */
|
||||
void notify();
|
||||
|
||||
/* Test code calls this function to wait for response */
|
||||
std::cv_status wait(int sec = TIMEOUT_PERIOD);
|
||||
|
||||
/* Used for checking General Errors */
|
||||
bool CheckGeneralError();
|
||||
|
||||
/* Used for checking OEM Errors */
|
||||
bool CheckOEMError();
|
||||
|
||||
sp<::android::hardware::radio::V1_1::IRadio> radio_v1_1;
|
||||
sp<RadioResponse_v1_1> radioRsp_v1_1;
|
||||
sp<RadioIndication_v1_1> radioInd_v1_1;
|
||||
|
||||
Reference in New Issue
Block a user