diff options
author | Yuexi Ma <yuexima@google.com> | 2017-03-10 00:44:45 -0800 |
---|---|---|
committer | Yuexi Ma <yuexima@google.com> | 2017-03-10 21:14:48 +0000 |
commit | ed2bb4e8f851688c09f7639a9183b1285aa0967c (patch) | |
tree | 35d3b55697123e0b07ad556dc988899ae706fd41 | |
parent | 5e1e202bcc25d66890864ac8b73533945ba14d78 (diff) |
Change vts target base test class name
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I95f10ad7a66f261c9030357edd411fe6d94150e8
47 files changed, 95 insertions, 95 deletions
diff --git a/audio/effect/2.0/vts/functional/Android.bp b/audio/effect/2.0/vts/functional/Android.bp index 4d50201dd0..1bc3f39c09 100644 --- a/audio/effect/2.0/vts/functional/Android.bp +++ b/audio/effect/2.0/vts/functional/Android.bp @@ -28,7 +28,7 @@ cc_test { "libutils", "android.hardware.audio.effect@2.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/audio/effect/2.0/vts/functional/VtsHalAudioEffectV2_0TargetTest.cpp b/audio/effect/2.0/vts/functional/VtsHalAudioEffectV2_0TargetTest.cpp index 6c5b9806c3..063243b4f7 100644 --- a/audio/effect/2.0/vts/functional/VtsHalAudioEffectV2_0TargetTest.cpp +++ b/audio/effect/2.0/vts/functional/VtsHalAudioEffectV2_0TargetTest.cpp @@ -21,7 +21,7 @@ #include <android/hardware/audio/effect/2.0/IEffectsFactory.h> #include <android/hardware/audio/effect/2.0/types.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> using ::android::hardware::audio::common::V2_0::Uuid; using ::android::hardware::audio::effect::V2_0::EffectDescriptor; @@ -35,10 +35,10 @@ using ::android::hardware::hidl_vec; using ::android::sp; // The main test class for Audio Effect HIDL HAL. -class AudioEffectHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class AudioEffectHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { - effectsFactory = ::testing::VtsHalHidlTargetBaseTest::getService<IEffectsFactory>(); + effectsFactory = ::testing::VtsHalHidlTargetTestBase::getService<IEffectsFactory>(); ASSERT_NE(effectsFactory, nullptr); } diff --git a/biometrics/fingerprint/2.1/vts/functional/Android.bp b/biometrics/fingerprint/2.1/vts/functional/Android.bp index 729282d656..27b71577ab 100644 --- a/biometrics/fingerprint/2.1/vts/functional/Android.bp +++ b/biometrics/fingerprint/2.1/vts/functional/Android.bp @@ -27,7 +27,7 @@ cc_test { "libutils", "android.hardware.biometrics.fingerprint@2.1", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/biometrics/fingerprint/2.1/vts/functional/VtsHalBiometricsFingerprintV2_1TargetTest.cpp b/biometrics/fingerprint/2.1/vts/functional/VtsHalBiometricsFingerprintV2_1TargetTest.cpp index 17bc247688..c07c3e32b4 100644 --- a/biometrics/fingerprint/2.1/vts/functional/VtsHalBiometricsFingerprintV2_1TargetTest.cpp +++ b/biometrics/fingerprint/2.1/vts/functional/VtsHalBiometricsFingerprintV2_1TargetTest.cpp @@ -22,7 +22,7 @@ #include <android/hardware/biometrics/fingerprint/2.1/IBiometricsFingerprintClientCallback.h> #include <hidl/HidlSupport.h> #include <hidl/HidlTransportSupport.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> using android::Condition; using android::hardware::biometrics::fingerprint::V2_1::IBiometricsFingerprint; @@ -35,7 +35,7 @@ using android::hardware::Return; using android::Mutex; using android::sp; -class FingerprintHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class FingerprintHidlTest : public ::testing::VtsHalHidlTargetTestBase { protected: class MyCallback : public IBiometricsFingerprintClientCallback { @@ -123,7 +123,7 @@ public: FingerprintHidlTest (): mCallbackCalled(false) {} virtual void SetUp() override { - mService = ::testing::VtsHalHidlTargetBaseTest::getService<IBiometricsFingerprint>(SERVICE_NAME); + mService = ::testing::VtsHalHidlTargetTestBase::getService<IBiometricsFingerprint>(SERVICE_NAME); ASSERT_NE(mService, nullptr); clearErr(); diff --git a/boot/1.0/vts/functional/Android.bp b/boot/1.0/vts/functional/Android.bp index e77eb5c1f7..5b14f54dd7 100644 --- a/boot/1.0/vts/functional/Android.bp +++ b/boot/1.0/vts/functional/Android.bp @@ -27,7 +27,7 @@ cc_test { "libutils", "android.hardware.boot@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp b/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp index 49eefb122a..9789ee6be2 100644 --- a/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp +++ b/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp @@ -21,7 +21,7 @@ #include <android/hardware/boot/1.0/IBootControl.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> using ::android::hardware::boot::V1_0::IBootControl; using ::android::hardware::boot::V1_0::CommandResult; @@ -32,10 +32,10 @@ using ::android::hardware::Return; using ::android::sp; // The main test class for the Boot HIDL HAL. -class BootHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class BootHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { - boot = ::testing::VtsHalHidlTargetBaseTest::getService<IBootControl>(); + boot = ::testing::VtsHalHidlTargetTestBase::getService<IBootControl>(); ASSERT_NE(boot, nullptr); } diff --git a/broadcastradio/1.0/vts/functional/Android.bp b/broadcastradio/1.0/vts/functional/Android.bp index 190dfa1f02..cf52f497aa 100644 --- a/broadcastradio/1.0/vts/functional/Android.bp +++ b/broadcastradio/1.0/vts/functional/Android.bp @@ -28,7 +28,7 @@ cc_test { "libutils", "android.hardware.broadcastradio@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/broadcastradio/1.0/vts/functional/VtsHalBroadcastradioV1_0TargetTest.cpp b/broadcastradio/1.0/vts/functional/VtsHalBroadcastradioV1_0TargetTest.cpp index 9d56164adf..74911f0e25 100644 --- a/broadcastradio/1.0/vts/functional/VtsHalBroadcastradioV1_0TargetTest.cpp +++ b/broadcastradio/1.0/vts/functional/VtsHalBroadcastradioV1_0TargetTest.cpp @@ -15,7 +15,7 @@ */ #define LOG_TAG "BroadcastRadioHidlHalTest" -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <android-base/logging.h> #include <cutils/native_handle.h> #include <cutils/properties.h> @@ -51,11 +51,11 @@ using ::android::hardware::broadcastradio::V1_0::MetaData; // The main test class for Broadcast Radio HIDL HAL. -class BroadcastRadioHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class BroadcastRadioHidlTest : public ::testing::VtsHalHidlTargetTestBase { protected: virtual void SetUp() override { sp<IBroadcastRadioFactory> factory = - ::testing::VtsHalHidlTargetBaseTest::getService<IBroadcastRadioFactory>(); + ::testing::VtsHalHidlTargetTestBase::getService<IBroadcastRadioFactory>(); if (factory != 0) { factory->connectModule(Class::AM_FM, [&](Result retval, const ::android::sp<IBroadcastRadio>& result) { diff --git a/broadcastradio/1.1/vts/functional/Android.bp b/broadcastradio/1.1/vts/functional/Android.bp index 172e6840f4..a4c0849cf2 100644 --- a/broadcastradio/1.1/vts/functional/Android.bp +++ b/broadcastradio/1.1/vts/functional/Android.bp @@ -29,7 +29,7 @@ cc_test { "android.hardware.broadcastradio@1.0", "android.hardware.broadcastradio@1.1", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/broadcastradio/1.1/vts/functional/VtsHalBroadcastradioV1_1TargetTest.cpp b/broadcastradio/1.1/vts/functional/VtsHalBroadcastradioV1_1TargetTest.cpp index b980d31938..aad01f6cb4 100644 --- a/broadcastradio/1.1/vts/functional/VtsHalBroadcastradioV1_1TargetTest.cpp +++ b/broadcastradio/1.1/vts/functional/VtsHalBroadcastradioV1_1TargetTest.cpp @@ -15,7 +15,7 @@ */ #define LOG_TAG "BroadcastRadioHidlHalTest" -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <android-base/logging.h> #include <cutils/native_handle.h> #include <cutils/properties.h> @@ -52,10 +52,10 @@ using ::android::hardware::broadcastradio::V1_1::Result; // The main test class for Broadcast Radio HIDL HAL. -class BroadcastRadioHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class BroadcastRadioHidlTest : public ::testing::VtsHalHidlTargetTestBase { protected: virtual void SetUp() override { - auto factory = ::testing::VtsHalHidlTargetBaseTest::getService<IBroadcastRadioFactory>(); + auto factory = ::testing::VtsHalHidlTargetTestBase::getService<IBroadcastRadioFactory>(); if (factory != 0) { factory->connectModule(Class::AM_FM, [&](Result retval, const ::android::sp<IBroadcastRadio>& result) { diff --git a/camera/provider/2.4/vts/functional/Android.bp b/camera/provider/2.4/vts/functional/Android.bp index 3e5d996117..f1215b8594 100644 --- a/camera/provider/2.4/vts/functional/Android.bp +++ b/camera/provider/2.4/vts/functional/Android.bp @@ -29,7 +29,7 @@ cc_test { "libcamera_metadata", "libui" ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/camera/provider/2.4/vts/functional/VtsHalCameraProviderV2_4TargetTest.cpp b/camera/provider/2.4/vts/functional/VtsHalCameraProviderV2_4TargetTest.cpp index 846d9a455a..ce195f86f0 100644 --- a/camera/provider/2.4/vts/functional/VtsHalCameraProviderV2_4TargetTest.cpp +++ b/camera/provider/2.4/vts/functional/VtsHalCameraProviderV2_4TargetTest.cpp @@ -19,7 +19,7 @@ #include <android/hardware/camera/device/3.2/ICameraDevice.h> #include <android/log.h> #include <ui/GraphicBuffer.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <regex> #include "system/camera_metadata.h" #include <hardware/gralloc.h> @@ -131,7 +131,7 @@ private: void CameraHidlEnvironment::SetUp() { // TODO: test the binderized mode - mProvider = ::testing::VtsHalHidlTargetBaseTest::getService<ICameraProvider>(CAMERA_PASSTHROUGH_SERVICE_NAME); + mProvider = ::testing::VtsHalHidlTargetTestBase::getService<ICameraProvider>(CAMERA_PASSTHROUGH_SERVICE_NAME); // TODO: handle the device doesn't have any camera case ALOGI_IF(mProvider, "provider is not nullptr, %p", mProvider.get()); ASSERT_NE(mProvider, nullptr); @@ -142,7 +142,7 @@ void CameraHidlEnvironment::TearDown() { } // The main test class for camera HIDL HAL. -class CameraHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class CameraHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override {} virtual void TearDown() override {} diff --git a/contexthub/1.0/vts/functional/Android.bp b/contexthub/1.0/vts/functional/Android.bp index 69aad309d7..c35386d1c3 100644 --- a/contexthub/1.0/vts/functional/Android.bp +++ b/contexthub/1.0/vts/functional/Android.bp @@ -25,7 +25,7 @@ cc_test { "libutils", "android.hardware.contexthub@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/contexthub/1.0/vts/functional/VtsHalContexthubV1_0TargetTest.cpp b/contexthub/1.0/vts/functional/VtsHalContexthubV1_0TargetTest.cpp index 40a05e6b27..765857f8c2 100644 --- a/contexthub/1.0/vts/functional/VtsHalContexthubV1_0TargetTest.cpp +++ b/contexthub/1.0/vts/functional/VtsHalContexthubV1_0TargetTest.cpp @@ -21,7 +21,7 @@ #include <android/hardware/contexthub/1.0/IContexthubCallback.h> #include <android/hardware/contexthub/1.0/types.h> #include <android/log.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <cinttypes> #include <future> @@ -78,7 +78,7 @@ std::vector<uint32_t> getHubIds() { static std::vector<uint32_t> hubIds; if (hubIds.size() == 0) { - sp<IContexthub> hubApi = ::testing::VtsHalHidlTargetBaseTest::getService<IContexthub>(); + sp<IContexthub> hubApi = ::testing::VtsHalHidlTargetTestBase::getService<IContexthub>(); if (hubApi != nullptr) { for (ContextHub hub : getHubsSync(hubApi)) { @@ -93,10 +93,10 @@ std::vector<uint32_t> getHubIds() { // Base test fixture that initializes the HAL and makes the context hub API // handle available -class ContexthubHidlTestBase : public ::testing::VtsHalHidlTargetBaseTest { +class ContexthubHidlTestBase : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { - hubApi = ::testing::VtsHalHidlTargetBaseTest::getService<IContexthub>(); + hubApi = ::testing::VtsHalHidlTargetTestBase::getService<IContexthub>(); ASSERT_NE(hubApi, nullptr); // getHubs() must be called at least once for proper initialization of the diff --git a/gatekeeper/1.0/vts/functional/Android.bp b/gatekeeper/1.0/vts/functional/Android.bp index 5ece33688b..70cb615835 100644 --- a/gatekeeper/1.0/vts/functional/Android.bp +++ b/gatekeeper/1.0/vts/functional/Android.bp @@ -28,7 +28,7 @@ cc_test { "libutils", "android.hardware.gatekeeper@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp b/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp index 8d6f72633b..391dea0352 100644 --- a/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp +++ b/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp @@ -30,7 +30,7 @@ #include <android/hardware/gatekeeper/1.0/IGatekeeper.h> #include <android/hardware/gatekeeper/1.0/types.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> using ::android::hardware::hidl_string; using ::android::hardware::hidl_vec; @@ -76,7 +76,7 @@ static const hw_auth_token_t *toAuthToken(GatekeeperResponse &rsp) { } // The main test class for Gatekeeper HIDL HAL. -class GatekeeperHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class GatekeeperHidlTest : public ::testing::VtsHalHidlTargetTestBase { protected: void setUid(uint32_t uid) { uid_ = uid; } @@ -187,7 +187,7 @@ class GatekeeperHidlTest : public ::testing::VtsHalHidlTargetBaseTest { GatekeeperHidlTest() : uid_(0) {} virtual void SetUp() override { GatekeeperResponse rsp; - gatekeeper_ = ::testing::VtsHalHidlTargetBaseTest::getService<IGatekeeper>(); + gatekeeper_ = ::testing::VtsHalHidlTargetTestBase::getService<IGatekeeper>(); ASSERT_NE(nullptr, gatekeeper_.get()); doDeleteAllUsers(rsp); } diff --git a/gnss/1.0/vts/functional/Android.bp b/gnss/1.0/vts/functional/Android.bp index b273b20ca0..6d9605962f 100644 --- a/gnss/1.0/vts/functional/Android.bp +++ b/gnss/1.0/vts/functional/Android.bp @@ -28,7 +28,7 @@ cc_test { "libnativehelper", "libutils", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/gnss/1.0/vts/functional/VtsHalGnssV1_0TargetTest.cpp b/gnss/1.0/vts/functional/VtsHalGnssV1_0TargetTest.cpp index b81381391b..8f131cf969 100644 --- a/gnss/1.0/vts/functional/VtsHalGnssV1_0TargetTest.cpp +++ b/gnss/1.0/vts/functional/VtsHalGnssV1_0TargetTest.cpp @@ -18,7 +18,7 @@ #include <android/hardware/gnss/1.0/IGnss.h> #include <android/log.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <chrono> #include <condition_variable> @@ -36,7 +36,7 @@ using android::sp; #define TIMEOUT_SECONDS 5 // for basic commands/responses // The main test class for GNSS HAL. -class GnssHalTest : public ::testing::VtsHalHidlTargetBaseTest { +class GnssHalTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { /* TODO(b/35678469): Setup the init.rc for VTS such that there's a @@ -45,7 +45,7 @@ class GnssHalTest : public ::testing::VtsHalHidlTargetBaseTest { * callbacks trigger. */ - gnss_hal_ = ::testing::VtsHalHidlTargetBaseTest::getService<IGnss>(); + gnss_hal_ = ::testing::VtsHalHidlTargetTestBase::getService<IGnss>(); ASSERT_NE(gnss_hal_, nullptr); gnss_cb_ = new GnssCallback(*this); diff --git a/graphics/allocator/2.0/vts/functional/Android.bp b/graphics/allocator/2.0/vts/functional/Android.bp index 392103b9ad..fb77ab322a 100644 --- a/graphics/allocator/2.0/vts/functional/Android.bp +++ b/graphics/allocator/2.0/vts/functional/Android.bp @@ -22,7 +22,7 @@ cc_library_static { "android.hardware.graphics.allocator@2.0", ], static_libs: [ - "VtsHalHidlTargetBaseTest", + "VtsHalHidlTargetTestBase", ], cflags: [ "-Wall", @@ -50,7 +50,7 @@ cc_test { ], static_libs: [ "libVtsHalGraphicsAllocatorTestUtils", - "VtsHalHidlTargetBaseTest", + "VtsHalHidlTargetTestBase", ], cflags: [ "-Wall", diff --git a/graphics/allocator/2.0/vts/functional/VtsHalGraphicsAllocatorTestUtils.cpp b/graphics/allocator/2.0/vts/functional/VtsHalGraphicsAllocatorTestUtils.cpp index 141743bad2..0dc43be640 100644 --- a/graphics/allocator/2.0/vts/functional/VtsHalGraphicsAllocatorTestUtils.cpp +++ b/graphics/allocator/2.0/vts/functional/VtsHalGraphicsAllocatorTestUtils.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include "VtsHalGraphicsAllocatorTestUtils.h" @@ -28,7 +28,7 @@ namespace tests { Allocator::Allocator() { init(); } void Allocator::init() { - mAllocator = ::testing::VtsHalHidlTargetBaseTest::getService<IAllocator>(); + mAllocator = ::testing::VtsHalHidlTargetTestBase::getService<IAllocator>(); ASSERT_NE(nullptr, mAllocator.get()) << "failed to get allocator service"; std::vector<IAllocator::Capability> capabilities = getCapabilities(); diff --git a/graphics/allocator/2.0/vts/functional/VtsHalGraphicsAllocatorV2_0TargetTest.cpp b/graphics/allocator/2.0/vts/functional/VtsHalGraphicsAllocatorV2_0TargetTest.cpp index 2e3ed73cf4..b1c764fc90 100644 --- a/graphics/allocator/2.0/vts/functional/VtsHalGraphicsAllocatorV2_0TargetTest.cpp +++ b/graphics/allocator/2.0/vts/functional/VtsHalGraphicsAllocatorV2_0TargetTest.cpp @@ -17,7 +17,7 @@ #define LOG_TAG "graphics_allocator_hidl_hal_test" #include <android-base/logging.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include "VtsHalGraphicsAllocatorTestUtils.h" @@ -40,7 +40,7 @@ using android::hardware::graphics::common::V1_0::PixelFormat; } \ } while (0) -class GraphicsAllocatorHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class GraphicsAllocatorHidlTest : public ::testing::VtsHalHidlTargetTestBase { protected: void SetUp() override { ASSERT_NO_FATAL_FAILURE(mAllocator = std::make_unique<Allocator>()); diff --git a/graphics/composer/2.1/vts/functional/Android.bp b/graphics/composer/2.1/vts/functional/Android.bp index 890cc057c1..8e1f925c17 100644 --- a/graphics/composer/2.1/vts/functional/Android.bp +++ b/graphics/composer/2.1/vts/functional/Android.bp @@ -20,7 +20,7 @@ cc_library_static { srcs: ["VtsHalGraphicsComposerTestUtils.cpp"], shared_libs: ["android.hardware.graphics.composer@2.1"], static_libs: [ - "VtsHalHidlTargetBaseTest", + "VtsHalHidlTargetTestBase", ], cflags: [ "-Wall", @@ -55,7 +55,7 @@ cc_test { "libVtsHalGraphicsAllocatorTestUtils", "libVtsHalGraphicsComposerTestUtils", "libVtsHalGraphicsMapperTestUtils", - "VtsHalHidlTargetBaseTest", + "VtsHalHidlTargetTestBase", ], cflags: [ "-Wall", diff --git a/graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerTestUtils.cpp b/graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerTestUtils.cpp index 5b6a10823a..33cf84c37e 100644 --- a/graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerTestUtils.cpp +++ b/graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerTestUtils.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include "VtsHalGraphicsComposerTestUtils.h" @@ -28,7 +28,7 @@ namespace tests { Composer::Composer() { init(); } void Composer::init() { - mComposer = ::testing::VtsHalHidlTargetBaseTest::getService<IComposer>(); + mComposer = ::testing::VtsHalHidlTargetTestBase::getService<IComposer>(); ASSERT_NE(nullptr, mComposer.get()) << "failed to get composer service"; std::vector<IComposer::Capability> capabilities = getCapabilities(); diff --git a/graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerV2_1TargetTest.cpp b/graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerV2_1TargetTest.cpp index 0390c88e52..0da3a33194 100644 --- a/graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerV2_1TargetTest.cpp +++ b/graphics/composer/2.1/vts/functional/VtsHalGraphicsComposerV2_1TargetTest.cpp @@ -22,7 +22,7 @@ #include "VtsHalGraphicsComposerTestUtils.h" #include "VtsHalGraphicsMapperTestUtils.h" -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <unistd.h> #include <algorithm> @@ -134,7 +134,7 @@ class GraphicsComposerCallback : public IComposerCallback { int mInvalidVsyncCount = 0; }; -class GraphicsComposerHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class GraphicsComposerHidlTest : public ::testing::VtsHalHidlTargetTestBase { protected: void SetUp() override { ASSERT_NO_FATAL_FAILURE(mComposer = std::make_unique<Composer>()); diff --git a/graphics/mapper/2.0/vts/functional/Android.bp b/graphics/mapper/2.0/vts/functional/Android.bp index 5b31fe5d95..e26f087213 100644 --- a/graphics/mapper/2.0/vts/functional/Android.bp +++ b/graphics/mapper/2.0/vts/functional/Android.bp @@ -23,7 +23,7 @@ cc_library_static { "android.hardware.graphics.mapper@2.0", ], static_libs: [ - "VtsHalHidlTargetBaseTest", + "VtsHalHidlTargetTestBase", "libVtsHalGraphicsAllocatorTestUtils", ], cflags: [ @@ -56,7 +56,7 @@ cc_test { static_libs: [ "libVtsHalGraphicsAllocatorTestUtils", "libVtsHalGraphicsMapperTestUtils", - "VtsHalHidlTargetBaseTest", + "VtsHalHidlTargetTestBase", ], cflags: [ "-Wall", diff --git a/graphics/mapper/2.0/vts/functional/VtsHalGraphicsMapperTestUtils.cpp b/graphics/mapper/2.0/vts/functional/VtsHalGraphicsMapperTestUtils.cpp index fc2658772c..f6a26ac80e 100644 --- a/graphics/mapper/2.0/vts/functional/VtsHalGraphicsMapperTestUtils.cpp +++ b/graphics/mapper/2.0/vts/functional/VtsHalGraphicsMapperTestUtils.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include "VtsHalGraphicsMapperTestUtils.h" @@ -32,7 +32,7 @@ using android::hardware::graphics::allocator::V2_0::Error; Mapper::Mapper() { init(); } void Mapper::init() { - mMapper = ::testing::VtsHalHidlTargetBaseTest::getService<IMapper>(); + mMapper = ::testing::VtsHalHidlTargetTestBase::getService<IMapper>(); ASSERT_NE(nullptr, mMapper.get()) << "failed to get mapper service"; ASSERT_FALSE(mMapper->isRemote()) << "mapper is not in passthrough mode"; } diff --git a/graphics/mapper/2.0/vts/functional/VtsHalGraphicsMapperV2_0TargetTest.cpp b/graphics/mapper/2.0/vts/functional/VtsHalGraphicsMapperV2_0TargetTest.cpp index bd8315eaa9..92d74d5009 100644 --- a/graphics/mapper/2.0/vts/functional/VtsHalGraphicsMapperV2_0TargetTest.cpp +++ b/graphics/mapper/2.0/vts/functional/VtsHalGraphicsMapperV2_0TargetTest.cpp @@ -17,7 +17,7 @@ #define LOG_TAG "graphics_mapper_hidl_hal_test" #include <android-base/logging.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <sync/sync.h> #include "VtsHalGraphicsMapperTestUtils.h" @@ -32,7 +32,7 @@ namespace { using namespace android::hardware::graphics::allocator::V2_0; using namespace android::hardware::graphics::allocator::V2_0::tests; -class GraphicsMapperHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class GraphicsMapperHidlTest : public ::testing::VtsHalHidlTargetTestBase { protected: void SetUp() override { ASSERT_NO_FATAL_FAILURE(mAllocator = std::make_unique<Allocator>()); diff --git a/light/2.0/vts/functional/Android.bp b/light/2.0/vts/functional/Android.bp index 90f80df04c..0558ff2755 100644 --- a/light/2.0/vts/functional/Android.bp +++ b/light/2.0/vts/functional/Android.bp @@ -25,7 +25,7 @@ cc_test { "libutils", "android.hardware.light@2.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/light/2.0/vts/functional/VtsHalLightV2_0TargetTest.cpp b/light/2.0/vts/functional/VtsHalLightV2_0TargetTest.cpp index 50b6d5f457..3405422af1 100644 --- a/light/2.0/vts/functional/VtsHalLightV2_0TargetTest.cpp +++ b/light/2.0/vts/functional/VtsHalLightV2_0TargetTest.cpp @@ -19,7 +19,7 @@ #include <android-base/logging.h> #include <android/hardware/light/2.0/ILight.h> #include <android/hardware/light/2.0/types.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <set> #include <unistd.h> @@ -72,10 +72,10 @@ const static std::set<Type> kAllTypes = { Type::WIFI }; -class LightHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class LightHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { - light = ::testing::VtsHalHidlTargetBaseTest::getService<ILight>(); + light = ::testing::VtsHalHidlTargetTestBase::getService<ILight>(); ASSERT_NE(light, nullptr); LOG(INFO) << "Test is remote " << light->isRemote(); diff --git a/memtrack/1.0/vts/functional/Android.bp b/memtrack/1.0/vts/functional/Android.bp index 0eba82e896..71e61114f7 100644 --- a/memtrack/1.0/vts/functional/Android.bp +++ b/memtrack/1.0/vts/functional/Android.bp @@ -27,7 +27,7 @@ cc_test { "libutils", "android.hardware.memtrack@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/memtrack/1.0/vts/functional/VtsHalMemtrackV1_0TargetTest.cpp b/memtrack/1.0/vts/functional/VtsHalMemtrackV1_0TargetTest.cpp index 1113f425a8..e3fb941109 100644 --- a/memtrack/1.0/vts/functional/VtsHalMemtrackV1_0TargetTest.cpp +++ b/memtrack/1.0/vts/functional/VtsHalMemtrackV1_0TargetTest.cpp @@ -18,7 +18,7 @@ #include <android-base/logging.h> #include <android/hardware/memtrack/1.0/IMemtrack.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <algorithm> #include <vector> @@ -34,10 +34,10 @@ using ::android::sp; using std::vector; using std::count_if; -class MemtrackHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class MemtrackHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { - memtrack = ::testing::VtsHalHidlTargetBaseTest::getService<IMemtrack>(); + memtrack = ::testing::VtsHalHidlTargetTestBase::getService<IMemtrack>(); ASSERT_NE(memtrack, nullptr); } diff --git a/power/1.0/vts/functional/Android.bp b/power/1.0/vts/functional/Android.bp index 161dacd4ef..5ab1eb4c94 100644 --- a/power/1.0/vts/functional/Android.bp +++ b/power/1.0/vts/functional/Android.bp @@ -28,7 +28,7 @@ cc_test { "libutils", "android.hardware.power@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp b/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp index 9309a5f95e..cd1a261227 100644 --- a/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp +++ b/power/1.0/vts/functional/VtsHalPowerV1_0TargetTest.cpp @@ -22,7 +22,7 @@ #include <android-base/unique_fd.h> #include <android/hardware/power/1.0/IPower.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <algorithm> @@ -43,10 +43,10 @@ using std::vector; #define AVAILABLE_GOVERNORS_PATH \ "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors" -class PowerHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class PowerHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { - power = ::testing::VtsHalHidlTargetBaseTest::getService<IPower>(); + power = ::testing::VtsHalHidlTargetTestBase::getService<IPower>(); ASSERT_NE(power, nullptr); } diff --git a/sensors/1.0/vts/functional/Android.bp b/sensors/1.0/vts/functional/Android.bp index f43557ae44..af149ba049 100644 --- a/sensors/1.0/vts/functional/Android.bp +++ b/sensors/1.0/vts/functional/Android.bp @@ -25,7 +25,7 @@ cc_test { "liblog", "libutils", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp b/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp index 2937a43549..1298e161e2 100644 --- a/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp +++ b/sensors/1.0/vts/functional/VtsHalSensorsV1_0TargetTest.cpp @@ -20,7 +20,7 @@ #include <android/hardware/sensors/1.0/types.h> #include <android/log.h> #include <cutils/ashmem.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <hardware/sensors.h> // for sensor type strings #include <algorithm> @@ -80,7 +80,7 @@ class SensorsHidlEnvironment : public ::testing::Environment { }; void SensorsHidlEnvironment::SetUp() { - sensors = ::testing::VtsHalHidlTargetBaseTest::getService<ISensors>(); + sensors = ::testing::VtsHalHidlTargetTestBase::getService<ISensors>(); ALOGI_IF(sensors, "sensors is not nullptr, %p", sensors.get()); ASSERT_NE(sensors, nullptr); @@ -309,7 +309,7 @@ SensorsTestSharedMemory* SensorsTestSharedMemory::create(SharedMemType type, siz } // The main test class for SENSORS HIDL HAL. -class SensorsHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class SensorsHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { } diff --git a/soundtrigger/2.0/vts/functional/Android.bp b/soundtrigger/2.0/vts/functional/Android.bp index b8ca2f9fb3..8f0cc4eb14 100644 --- a/soundtrigger/2.0/vts/functional/Android.bp +++ b/soundtrigger/2.0/vts/functional/Android.bp @@ -28,7 +28,7 @@ cc_test { "libutils", "android.hardware.soundtrigger@2.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/soundtrigger/2.0/vts/functional/VtsHalSoundtriggerV2_0TargetTest.cpp b/soundtrigger/2.0/vts/functional/VtsHalSoundtriggerV2_0TargetTest.cpp index fcc989f8c9..0ef4063e87 100644 --- a/soundtrigger/2.0/vts/functional/VtsHalSoundtriggerV2_0TargetTest.cpp +++ b/soundtrigger/2.0/vts/functional/VtsHalSoundtriggerV2_0TargetTest.cpp @@ -28,7 +28,7 @@ #include <android/hardware/soundtrigger/2.0/ISoundTriggerHw.h> #include <android/hardware/soundtrigger/2.0/types.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #define SHORT_TIMEOUT_PERIOD (1) @@ -86,10 +86,10 @@ class Monitor { }; // The main test class for Sound Trigger HIDL HAL. -class SoundTriggerHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class SoundTriggerHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { - mSoundTriggerHal = ::testing::VtsHalHidlTargetBaseTest::getService<ISoundTriggerHw>("sound_trigger.primary"); + mSoundTriggerHal = ::testing::VtsHalHidlTargetTestBase::getService<ISoundTriggerHw>("sound_trigger.primary"); ASSERT_NE(nullptr, mSoundTriggerHal.get()); mCallback = new SoundTriggerHwCallback(*this); ASSERT_NE(nullptr, mCallback.get()); diff --git a/thermal/1.0/vts/functional/Android.bp b/thermal/1.0/vts/functional/Android.bp index 95fbea84f5..9046882166 100644 --- a/thermal/1.0/vts/functional/Android.bp +++ b/thermal/1.0/vts/functional/Android.bp @@ -28,7 +28,7 @@ cc_test { "libutils", "android.hardware.thermal@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/thermal/1.0/vts/functional/VtsHalThermalV1_0TargetTest.cpp b/thermal/1.0/vts/functional/VtsHalThermalV1_0TargetTest.cpp index 6feec73b67..3989c94bcf 100644 --- a/thermal/1.0/vts/functional/VtsHalThermalV1_0TargetTest.cpp +++ b/thermal/1.0/vts/functional/VtsHalThermalV1_0TargetTest.cpp @@ -24,7 +24,7 @@ #include <android-base/logging.h> #include <android/hardware/thermal/1.0/IThermal.h> #include <android/hardware/thermal/1.0/types.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <unistd.h> using ::android::hardware::hidl_string; @@ -46,10 +46,10 @@ using ::android::sp; #define MAX_FAN_SPEED 20000 // The main test class for THERMAL HIDL HAL. -class ThermalHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class ThermalHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { - thermal_ = ::testing::VtsHalHidlTargetBaseTest::getService<IThermal>(); + thermal_ = ::testing::VtsHalHidlTargetTestBase::getService<IThermal>(); ASSERT_NE(thermal_, nullptr); baseSize_ = 0; names_.clear(); diff --git a/tv/input/1.0/vts/functional/Android.bp b/tv/input/1.0/vts/functional/Android.bp index 57fb35e700..c86242978a 100644 --- a/tv/input/1.0/vts/functional/Android.bp +++ b/tv/input/1.0/vts/functional/Android.bp @@ -28,7 +28,7 @@ cc_test { "libutils", "android.hardware.tv.input@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/tv/input/1.0/vts/functional/VtsHalTvInputV1_0TargetTest.cpp b/tv/input/1.0/vts/functional/VtsHalTvInputV1_0TargetTest.cpp index 6757df1e04..0d5110e837 100644 --- a/tv/input/1.0/vts/functional/VtsHalTvInputV1_0TargetTest.cpp +++ b/tv/input/1.0/vts/functional/VtsHalTvInputV1_0TargetTest.cpp @@ -21,7 +21,7 @@ #include <android/hardware/tv/input/1.0/ITvInput.h> #include <android/hardware/tv/input/1.0/ITvInputCallback.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <utils/KeyedVector.h> #include <mutex> #include <vector> @@ -43,10 +43,10 @@ using ::android::sp; #define DEFAULT_ID INT32_MIN /* The main test class for TV Input HIDL HAL. */ -class TvInputHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class TvInputHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { - tv_input_ = ::testing::VtsHalHidlTargetBaseTest::getService<ITvInput>(); + tv_input_ = ::testing::VtsHalHidlTargetTestBase::getService<ITvInput>(); ASSERT_NE(tv_input_, nullptr); tv_input_callback_ = new TvInputCallback(*this); ASSERT_NE(tv_input_callback_, nullptr); diff --git a/usb/1.0/vts/functional/Android.bp b/usb/1.0/vts/functional/Android.bp index 1bca694bb0..7438bc74fa 100644 --- a/usb/1.0/vts/functional/Android.bp +++ b/usb/1.0/vts/functional/Android.bp @@ -28,7 +28,7 @@ cc_test { "libutils", "android.hardware.usb@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp b/usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp index 9d59fe2d65..54db8c2bf1 100644 --- a/usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp +++ b/usb/1.0/vts/functional/VtsHalUsbV1_0TargetTest.cpp @@ -21,7 +21,7 @@ #include <android/hardware/usb/1.0/IUsbCallback.h> #include <android/hardware/usb/1.0/types.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <stdlib.h> #include <chrono> #include <condition_variable> @@ -50,7 +50,7 @@ using ::android::sp; #define USB_SERVICE_NAME "usb_hal" // The main test class for the USB hidl HAL -class UsbHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class UsbHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: // Callback class for the USB HIDL hal. // Usb Hal will call this object upon role switch or port query. @@ -97,7 +97,7 @@ class UsbHidlTest : public ::testing::VtsHalHidlTargetBaseTest { virtual void SetUp() override { ALOGI("Setup"); - usb = ::testing::VtsHalHidlTargetBaseTest::getService<IUsb>(USB_SERVICE_NAME); + usb = ::testing::VtsHalHidlTargetTestBase::getService<IUsb>(USB_SERVICE_NAME); ASSERT_NE(usb, nullptr); usb_cb_2 = new UsbCallback(*this, 2); diff --git a/vibrator/1.0/vts/functional/Android.bp b/vibrator/1.0/vts/functional/Android.bp index 07fdeea72b..9e25def1a6 100644 --- a/vibrator/1.0/vts/functional/Android.bp +++ b/vibrator/1.0/vts/functional/Android.bp @@ -25,7 +25,7 @@ cc_test { "libutils", "android.hardware.vibrator@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/vibrator/1.0/vts/functional/VtsHalVibratorV1_0TargetTest.cpp b/vibrator/1.0/vts/functional/VtsHalVibratorV1_0TargetTest.cpp index c9541fe52b..a978f2c3e0 100644 --- a/vibrator/1.0/vts/functional/VtsHalVibratorV1_0TargetTest.cpp +++ b/vibrator/1.0/vts/functional/VtsHalVibratorV1_0TargetTest.cpp @@ -19,7 +19,7 @@ #include <android-base/logging.h> #include <android/hardware/vibrator/1.0/IVibrator.h> #include <android/hardware/vibrator/1.0/types.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <unistd.h> using ::android::hardware::vibrator::V1_0::IVibrator; @@ -29,10 +29,10 @@ using ::android::hardware::Void; using ::android::sp; // The main test class for VIBRATOR HIDL HAL. -class VibratorHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class VibratorHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: virtual void SetUp() override { - vibrator = ::testing::VtsHalHidlTargetBaseTest::getService<IVibrator>(); + vibrator = ::testing::VtsHalHidlTargetTestBase::getService<IVibrator>(); ASSERT_NE(vibrator, nullptr); } diff --git a/vr/1.0/vts/functional/Android.bp b/vr/1.0/vts/functional/Android.bp index 5c077eaa49..5d5a99a1cc 100644 --- a/vr/1.0/vts/functional/Android.bp +++ b/vr/1.0/vts/functional/Android.bp @@ -24,7 +24,7 @@ cc_test { "libutils", "android.hardware.vr@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/vr/1.0/vts/functional/VtsHalVrV1_0TargetTest.cpp b/vr/1.0/vts/functional/VtsHalVrV1_0TargetTest.cpp index 6a7b07803e..a9837318de 100644 --- a/vr/1.0/vts/functional/VtsHalVrV1_0TargetTest.cpp +++ b/vr/1.0/vts/functional/VtsHalVrV1_0TargetTest.cpp @@ -18,7 +18,7 @@ #include <android-base/logging.h> #include <android/hardware/vr/1.0/IVr.h> #include <android/log.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> #include <hardware/vr.h> using ::android::hardware::vr::V1_0::IVr; @@ -27,10 +27,10 @@ using ::android::hardware::Void; using ::android::sp; // The main test class for VR HIDL HAL. -class VrHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class VrHidlTest : public ::testing::VtsHalHidlTargetTestBase { public: void SetUp() override { - vr = ::testing::VtsHalHidlTargetBaseTest::getService<IVr>(); + vr = ::testing::VtsHalHidlTargetTestBase::getService<IVr>(); ASSERT_NE(vr, nullptr); } |