diff --git a/audio/effect/2.0/vts/functional/audio_effect_hidl_hal_test.cpp b/audio/effect/2.0/vts/functional/audio_effect_hidl_hal_test.cpp index 9b7d0cf5f3..145d4c32f4 100644 --- a/audio/effect/2.0/vts/functional/audio_effect_hidl_hal_test.cpp +++ b/audio/effect/2.0/vts/functional/audio_effect_hidl_hal_test.cpp @@ -38,8 +38,7 @@ using ::android::sp; class AudioEffectHidlTest : public ::testing::Test { public: virtual void SetUp() override { - // currently test passthrough mode only - effectsFactory = IEffectsFactory::getService("audio_effects_factory", true); + effectsFactory = IEffectsFactory::getService("audio_effects_factory"); ASSERT_NE(effectsFactory, nullptr); } diff --git a/camera/provider/2.4/vts/functional/camera_hidl_hal_test.cpp b/camera/provider/2.4/vts/functional/camera_hidl_hal_test.cpp index 0eb291c125..0186371068 100644 --- a/camera/provider/2.4/vts/functional/camera_hidl_hal_test.cpp +++ b/camera/provider/2.4/vts/functional/camera_hidl_hal_test.cpp @@ -95,7 +95,7 @@ private: void CameraHidlEnvironment::SetUp() { // TODO: test the binderized mode - mProvider = ICameraProvider::getService(CAMERA_PASSTHROUGH_SERVICE_NAME, true); + mProvider = ICameraProvider::getService(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); diff --git a/gatekeeper/1.0/vts/functional/gatekeeper_hidl_hal_test.cpp b/gatekeeper/1.0/vts/functional/gatekeeper_hidl_hal_test.cpp index 09690f8355..67b448222b 100644 --- a/gatekeeper/1.0/vts/functional/gatekeeper_hidl_hal_test.cpp +++ b/gatekeeper/1.0/vts/functional/gatekeeper_hidl_hal_test.cpp @@ -187,7 +187,7 @@ class GatekeeperHidlTest : public ::testing::Test { GatekeeperHidlTest() : uid_(0) {} virtual void SetUp() override { GatekeeperResponse rsp; - gatekeeper_ = IGatekeeper::getService("gatekeeper", false); + gatekeeper_ = IGatekeeper::getService("gatekeeper"); ASSERT_NE(nullptr, gatekeeper_.get()); doDeleteAllUsers(rsp); } diff --git a/thermal/1.0/vts/functional/thermal_hidl_hal_test.cpp b/thermal/1.0/vts/functional/thermal_hidl_hal_test.cpp index d922169182..3c887c8986 100644 --- a/thermal/1.0/vts/functional/thermal_hidl_hal_test.cpp +++ b/thermal/1.0/vts/functional/thermal_hidl_hal_test.cpp @@ -50,7 +50,7 @@ using ::android::sp; class ThermalHidlTest : public ::testing::Test { public: virtual void SetUp() override { - thermal_ = IThermal::getService(THERMAL_SERVICE_NAME, false); + thermal_ = IThermal::getService(THERMAL_SERVICE_NAME); ASSERT_NE(thermal_, nullptr); baseSize_ = 0; names_.clear(); diff --git a/vibrator/1.0/vts/functional/vibrator_hidl_hal_test.cpp b/vibrator/1.0/vts/functional/vibrator_hidl_hal_test.cpp index 782a7636a1..435b002cd9 100644 --- a/vibrator/1.0/vts/functional/vibrator_hidl_hal_test.cpp +++ b/vibrator/1.0/vts/functional/vibrator_hidl_hal_test.cpp @@ -32,7 +32,7 @@ using ::android::sp; class VibratorHidlTest : public ::testing::Test { public: virtual void SetUp() override { - vibrator = IVibrator::getService(false); + vibrator = IVibrator::getService(); ASSERT_NE(vibrator, nullptr); } diff --git a/vr/1.0/vts/functional/vr_hidl_hal_test.cpp b/vr/1.0/vts/functional/vr_hidl_hal_test.cpp index 85ecbdc8d2..7e85337001 100644 --- a/vr/1.0/vts/functional/vr_hidl_hal_test.cpp +++ b/vr/1.0/vts/functional/vr_hidl_hal_test.cpp @@ -32,8 +32,7 @@ using ::android::sp; class VrHidlTest : public ::testing::Test { public: void SetUp() override { - // currently test passthrough mode only - vr = IVr::getService(VR_SERVICE_NAME, true); + vr = IVr::getService(VR_SERVICE_NAME); ASSERT_NE(vr, nullptr); ASSERT_TRUE(!vr->isRemote()); }