Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 910a238c authored by sqian's avatar sqian
Browse files

Remove unused functions

Test: Compile
Bug: 63760809
Change-Id: I582c259ca0787a701d434eea9592c9e8d7351f08
Merged-In: I582c259ca0787a701d434eea9592c9e8d7351f08
(cherry picked from commit 3ba20e6b)
parent 12517de5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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++;
+0 −2
Original line number Diff line number Diff line
@@ -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();

+0 −2
Original line number Diff line number Diff line
@@ -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++;
+0 −8
Original line number Diff line number Diff line
@@ -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;