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

Commit b5fd31a1 authored by Dan Shi's avatar Dan Shi
Browse files

Remove reference of VtsHalHidlTargetTestBase

All grahpics composer HAL tests have been converted to parameterized
gtest.

Bug: 147894326
Test: atest VtsHalGraphicsComposerV2_1TargetTest \
  VtsHalGraphicsComposerV2_2TargetTest \
  VtsHalGraphicsComposerV2_3TargetTest \
  VtsHalGraphicsComposerV2_4TargetTest

Change-Id: I84515a5698035d7ceb299a5cc140ecd7bb28fe84
parent f0d8a1a2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -23,14 +23,13 @@ cc_library_static {
        "TestCommandReader.cpp",
    ],
    static_libs: [
        "VtsHalHidlTargetTestBase",
        "android.hardware.graphics.composer@2.1",
        "android.hardware.graphics.mapper@2.0-vts",
        "android.hardware.graphics.mapper@3.0-vts",
        "android.hardware.graphics.mapper@4.0-vts",
        "libgtest",
    ],
    export_static_lib_headers: [
        "VtsHalHidlTargetTestBase",
        "android.hardware.graphics.composer@2.1",
        "android.hardware.graphics.mapper@2.0-vts",
        "android.hardware.graphics.mapper@3.0-vts",
+0 −7
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@

#include <composer-vts/2.1/ComposerVts.h>

#include <VtsHalHidlTargetTestBase.h>

namespace android {
namespace hardware {
namespace graphics {
@@ -25,11 +23,6 @@ namespace composer {
namespace V2_1 {
namespace vts {

Composer::Composer() : Composer(::testing::VtsHalHidlTargetTestBase::getService<IComposer>()) {}

Composer::Composer(const std::string& name)
    : Composer(::testing::VtsHalHidlTargetTestBase::getService<IComposer>(name)) {}

Composer::Composer(const sp<IComposer>& composer) : mComposer(composer) {
    // ASSERT_* can only be used in functions returning void.
    [this] {
+1 −2
Original line number Diff line number Diff line
@@ -26,11 +26,11 @@ cc_library_static {
        "libui",
    ],
    static_libs: [
        "VtsHalHidlTargetTestBase",
        "android.hardware.graphics.composer@2.1-vts",
        "android.hardware.graphics.composer@2.2",
        "android.hardware.graphics.mapper@2.1-vts",
        "libarect",
        "libgtest",
        "libmath",
        "libnativewindow",
        "librenderengine",
@@ -40,7 +40,6 @@ cc_library_static {
        "android.hardware.graphics.mapper@4.0-vts",
    ],
    export_static_lib_headers: [
        "VtsHalHidlTargetTestBase",
        "android.hardware.graphics.composer@2.1-vts",
        "android.hardware.graphics.composer@2.2",
        "android.hardware.graphics.mapper@2.1-vts",
+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

#include <composer-vts/2.2/ComposerVts.h>

#include <VtsHalHidlTargetTestBase.h>
#include <composer-command-buffer/2.2/ComposerCommandBuffer.h>
#include <hidl/HidlTransportUtils.h>

+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@
#include <unordered_set>
#include <vector>

#include <VtsHalHidlTargetTestBase.h>
#include <android/hardware/graphics/composer/2.2/IComposer.h>
#include <android/hardware/graphics/composer/2.2/IComposerClient.h>
#include <composer-command-buffer/2.2/ComposerCommandBuffer.h>
Loading