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

Commit f4742196 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unused functions"

parents 1eab571c 3ba20e6b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -48,8 +48,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
@@ -49,8 +49,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;